@zeniai/web-cockpit-ui 1.14.97-qa → 1.14.98-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-DSdNOxQ9-Cve45-FP.js +21 -0
- package/dist/assets/{AIPerformancePage-4v4Fkm9f-CpEaAXB6.js → AIPerformancePage-TtdFArUl-j0kjTnVR.js} +108 -108
- package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-DzX4-2vb.js → AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js} +19 -19
- package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-WMmhBBTN.js → AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js} +54 -54
- package/dist/assets/{AccountRow-BM3xLbeh-CkaHX5cA.js → AccountRow-COxNWv3J-Dkf6Savq.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-CweVbsOn.js → AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js} +30 -30
- package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +6 -0
- package/dist/assets/{AddToWalletPage-OJBvAKUj-C4_vhGK0.js → AddToWalletPage-CXhBOHda-b2nCfyTx.js} +13 -13
- package/dist/assets/{AgingReportsPage-n-UKn3Ei-CUIQ2hVl.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js} +10 -10
- package/dist/assets/{AllUserItems-BsvKEVcx-lWN_YCkV.js → AllUserItems-Cd2jEIM9-DycIVbwH.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-Duu2uAEr-C_ltQoSn.js → ApAgingDetailPage-BCBhgQDY-m3orWzJK.js} +5 -5
- package/dist/assets/{AppBasePage-DoCF494Z-Da8oOnmR.js → AppBasePage-BRcQ7IPJ-DssY-F_Q.js} +16 -16
- package/dist/assets/{AppDrawerContent-DM1t0oLS-DcvMiTTX.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-DalFgYOv.js → ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js} +6 -6
- package/dist/assets/{ArAgingChart-CsFDVdeO-Dxvbr92R.js → ArAgingChart-BvAQf_dB-CCF75Uiv.js} +4 -4
- package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +46 -0
- package/dist/assets/{AttachmentView-B0d42oAf-DLojBuaF.js → AttachmentView-e6OZT5St-CRHdzPSa.js} +6 -6
- package/dist/assets/{BankAccountSection-Bgdk93V0-OiEcgwUp.js → BankAccountSection-DWKYMZid-XH_pxLOm.js} +7 -7
- package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-Diplm4EJ.js → BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js} +16 -16
- package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +241 -0
- package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +84 -0
- package/dist/assets/{BillPaySetUpPage-DRCjyEfB-BwNvkIBF.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CdYb74V7-Hvn0Zx0R.js → BillingSettingsPage-35KDGxi0-Ct237R_x.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-JLRt5jBO.js → BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js} +1 -1
- package/dist/assets/{BoxItem-WOrvBzns-C2HR99if.js → BoxItem-BGDuiQll-BzndiGjI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CbqJIVpz-DDL3zyKh.js → BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js} +10 -10
- package/dist/assets/{CardNumberSubText-DBOH0_yP-RteuDDE7.js → CardNumberSubText-COHmqgEx-BK8P_Xt5.js} +8 -8
- package/dist/assets/{CashbackDetailPage-D-kXy6LW-DQIhS9dG.js → CashbackDetailPage-DvA_0POP-D_6kuYkj.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-BwxXeP8t.js → ChargeCardDetailPage-DF69jsTG-COjz_Wle.js} +244 -244
- package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +412 -0
- package/dist/assets/{ChargeCardListTable-EGkwcy7i-BslVZQTH.js → ChargeCardListTable-BEYWfP5G-1q8VKxw1.js} +67 -67
- package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +534 -0
- package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-B94MoxdV.js → ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-CdwuqWvx.js → ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-BHYT0eg1.js → CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js} +17 -17
- package/dist/assets/{CollapsableReportTable-xkNXkjfh-C4fPtgFw.js → CollapsableReportTable-Bju2JSCg-BqWf1iHn.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BtUBatbQ-Dqym6ecM.js → CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js} +30 -30
- package/dist/assets/{CompanyPassportCard-BOxM716U-BuYpv_IQ.js → CompanyPassportCard-ClihOV6I-659ckUvl.js} +7 -7
- package/dist/assets/{CompanyPassportPage-DzE7sm8S-B6uOWYjR.js → CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js} +40 -40
- package/dist/assets/{CompleteProfile-BjGSPASa-C-SekPbe.js → CompleteProfile-C88rpvIR-CPwa_ZcH.js} +3 -3
- package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-Dh8vXIxB.js → CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js} +20 -20
- package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +227 -0
- package/dist/assets/{CurrencySelectField-AjAWhg6e-Eqrjeqk5.js → CurrencySelectField-9MMlAXHh-7T5GvQvy.js} +4 -4
- package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-aWM2Ir-Z.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js} +15 -15
- package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CvN9Jrdy-DuDNyyOP.js → CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js} +4 -4
- package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +202 -0
- package/dist/assets/{Dashboard-_o0Ftdv8-C8xZMg4n.js → Dashboard-Zq5BpBhF-C6unAaBQ.js} +55 -55
- package/dist/assets/{DashboardReportPage-Cu5wqWkj-CbPCJVeu.js → DashboardReportPage-Pie-FQ1e-CpPHLX-r.js} +20 -20
- package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-MpTXf9zM.js → DepositAccTransactionItem-C6o7UraM-ERw30shi.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-fKCleTPc.js → DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-B-HhXSdH.js → DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js} +1 -1
- package/dist/assets/{DownloadOverlay-c57lEf_V-s3fTRYjJ.js → DownloadOverlay-smXqu_-_-DbNqWY1P.js} +39 -39
- package/dist/assets/{DrawerPage-inbhWwND-BXcay5_9.js → DrawerPage-C-NGhaFc-Bdiyy2BL.js} +18 -18
- package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +865 -0
- package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +18 -0
- package/dist/assets/{EntitySummarySection-CHgrPo86-CzG-_BY7.js → EntitySummarySection-D7ui3VxW-BWyvfwWL.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-1st1eoKk.js → ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js} +27 -27
- package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-THbf8Vnw.js → ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js} +63 -63
- package/dist/assets/{ExpressPayPage-CIp_R6ZQ-cs4dOpKa.js → ExpressPayPage-ddPMg7wE-Tlo0T7f7.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-qsUO3mUu-DF4yFb7P.js → FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js} +3 -3
- package/dist/assets/{FollowStepsSection-ebmR-eLP-DjjyPWl7.js → FollowStepsSection-WUNvyjJh-Bpyevbi9.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-9V-xoqvs-Dr_0Sl1U.js → GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js} +14 -14
- package/dist/assets/{InformationCardStack-DnB7TmOk-DUfCbiw0.js → InformationCardStack-cYN7bwE3-B7UR3-b4.js} +8 -8
- package/dist/assets/{InsightsCardStack-BBczCYEz-C7aeJZwT.js → InsightsCardStack-CAuhoPST-MWY5O8lc.js} +12 -12
- package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-B4RJ2uIA.js → IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-BOfMVpiR.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-kIajgPZt-D61ceEqI.js → InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js} +26 -26
- package/dist/assets/{InviteFormPage-XsnZcAvb-BvtcZ_89.js → InviteFormPage-a7CtHDQi-gCSqizmu.js} +24 -24
- package/dist/assets/{InvitePageListView-HfsehyxK-D8xsgZY9.js → InvitePageListView-D0flsJMi-CW5tcQ7p.js} +78 -78
- package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-DUrq1x_3.js → InvoiceUploadSection-D6gMuygS-CT-0_4kq.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-xbfFhV0O-Cj6BbItj.js → IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CB_KH7v5-DxYlmu7D.js → LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-CTr4nBdf.js → LabeledAddressValueField-D-0wb98p-CSTw9NrL.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-BIzidcju.js → LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js} +4 -4
- package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-mUPdI7Ad.js → LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js} +7 -7
- package/dist/assets/{LabeledText-yhm8qxrA-vCsbkcLE.js → LabeledText-BJi28Cmu-KVGobttz.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BJTUh2FG.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js} +23 -23
- package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-Dgxm7I9J.js → LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js} +25 -25
- package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +98 -0
- package/dist/assets/{LockCardPage-DaVzuRMw-CnTFUbry.js → LockCardPage-4ihNCAhG-Zb-UDpxz.js} +21 -21
- package/dist/assets/{LowBalancePopup-Dd9HLWlh-gcMfj24v.js → LowBalancePopup-YdUL24Wb-PfAaWR1_.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-q-iiCtPe.js → MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-Bx92291D-CyS-tk36.js → MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js} +4 -4
- package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +21 -0
- package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-BLkHFwVd.js → MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-B0h6C04K.js → MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-CkA2RGi3.js → MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js} +10 -10
- package/dist/assets/{NavBarWithPicker-aXn2QYh1-D_CWGVEz.js → NavBarWithPicker-C7xr7tTs-CsJWjiOL.js} +5 -5
- package/dist/assets/{NavigationArrow-JLUXaIrz-B7EVHrI2.js → NavigationArrow-rBOsZ92g-CvJ7c17R.js} +8 -8
- package/dist/assets/{NavigationDots-B0_dDbgu-CFZagPOV.js → NavigationDots-CautbD-g-AEb3JA6J.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B_019EtP-CsFXTgsg.js → NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js} +12 -12
- package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +26 -0
- package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +8 -0
- package/dist/assets/{NotFoundPage-BEya4LS2-BJjPiPIQ.js → NotFoundPage-D-nIKeoL-DS39BiNV.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-C9SjRKCu-DGlHcshq.js → NotificationSettingsPage-DP3xTLvr-C8krffT3.js} +23 -23
- package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +1 -0
- package/dist/assets/{NotificationsPage-FJHx_WBG-DgLTiy0T.js → NotificationsPage-DkDGBzhT-B-IU27Zt.js} +49 -49
- package/dist/assets/{OpExByVendorPage-Dxk68R6U-DdpbGAZs.js → OpExByVendorPage-CtcdC3f9-DjyRt_lN.js} +12 -12
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-BmuFuX61.js → OverlayContainerPage-Daz3A7cI-D0iblwqz.js} +1 -1
- package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-s9EEHxoG-B1Y9jQbA.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js} +8 -8
- package/dist/assets/{PeoplePage-DN5VtG7Q-1M0QHDlz.js → PeoplePage-DCI7v6ru-BQGxB0UL.js} +29 -29
- package/dist/assets/Preview-D56XCw0A.js +1 -0
- package/dist/assets/{ProductsCarousel-6gthLCkf-BWrWrJUL.js → ProductsCarousel-Dqm1bC2_-C9nhPtyf.js} +8 -8
- package/dist/assets/{PromoBaseCards-CzPzj69A-C1q5ihB2.js → PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js} +6 -6
- package/dist/assets/{QBOConnectionDialog-BFy0lMZd-BkWnfDHf.js → QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js} +6 -6
- package/dist/assets/{QBOSetupSection-DcLYyQ5m-B5Os9bOC.js → QBOSetupSection-HhIe91hw-09HBN8uJ.js} +16 -16
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +32 -0
- package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +243 -0
- package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-MweW-4DO-CMYyia2y.js → ReimbursementPromoPage-BZoZAydM-_dTEqW97.js} +10 -10
- package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-CtOsTEWl.js → ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-27f2MmSl.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js} +1 -1
- package/dist/assets/{ReloadCard-9KpQCrce-DN4r5hT-.js → ReloadCard-BMn_7fNI-DobUmKfH.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BPliEsuo-CmKeZZbG.js → ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js} +8 -8
- package/dist/assets/{ReportsPage-h2DAaQfK-CbE6jqoD.js → ReportsPage-C4HDLBDq-nmW__s9z.js} +14 -14
- package/dist/assets/{RevenueChart-DY2s_upY-WoF2sAvI.js → RevenueChart-q15U89i8-DTxTOafZ.js} +2 -2
- package/dist/assets/{ReviewDetailsPage-BiYxRnvA-CBiHyEqk.js → ReviewDetailsPage-4mhC2jOb-D75AxfOq.js} +20 -20
- package/dist/assets/{ReviewOverlay-BvPN7IKD-D3oRKOju.js → ReviewOverlay-Co22Cju1-u5iV88jr.js} +12 -12
- package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-Bo3K9iaU.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DebosLND-CZ8MFP_N.js → ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-6ceLm8iU.js → ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js} +36 -36
- package/dist/assets/ScreenRoutes-BRmamOlw.js +201 -0
- package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-Bi3VI7hN.js → SetUpAccountSection-AZk8_IC3-BgRTrYL7.js} +8 -8
- package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +480 -0
- package/dist/assets/{SignInScreen-xSTOtEpZ.js → SignInScreen-DJh1xRdL.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +785 -0
- package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +246 -0
- package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +31 -0
- package/dist/assets/{StatementsPage-DVR5LhTi-DSGHS9Ki.js → StatementsPage-CBIa00EK-BjIWTE3I.js} +3 -3
- package/dist/assets/{StatusSwitcher-Cy5ITFgi-0cTJJtF0.js → StatusSwitcher-Blc3-MDg-B12KNYTc.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DhsES2OW-m-ce65D6.js → SubTabSwitcher-3oir5lzq-Cmzice7W.js} +4 -4
- package/dist/assets/{SummaryCard-Byv4Hw8Q-Bwkpu24g.js → SummaryCard-DO09QLUp-DPmkfJxO.js} +1 -1
- package/dist/assets/{TaskManagementPage-CVXMOPf2-Dj56mspp.js → TaskManagementPage-C_EZJRtM-P8DErI3a.js} +42 -42
- package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +64 -0
- package/dist/assets/{TimeframeSwitcher-BK-qliOX-ClICCmUP.js → TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +31 -0
- package/dist/assets/{TopExCard-o4Q3ze1b-DtPXCUdp.js → TopExCard-Cn8iW3fO-DMUR1qBk.js} +12 -12
- package/dist/assets/{TopExDetailPage-BsCwwwDi-wFH0rcwn.js → TopExDetailPage-BS8qCkLq-Cq17vLoi.js} +12 -12
- package/dist/assets/{TransactionDetailPage-rpCG65yC-CSnR3Ukp.js → TransactionDetailPage-CUeVImfA-D9txujQI.js} +36 -36
- package/dist/assets/{TransactionList-YI4oZaim-BNe9KuEQ.js → TransactionList-CnjoEn7K-D2hvg7ek.js} +15 -15
- package/dist/assets/{TransactionListBig-D_Jw9Ip2-B9g4IUd7.js → TransactionListBig-xVKV1MCm-GtEvft_N.js} +12 -12
- package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +80 -0
- package/dist/assets/{TransferDrawerPage-BnEVH7Mc-DX9bFdaO.js → TransferDrawerPage-uBmvyc-P-CFJl7D9L.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BnjOV5zI.js → TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-C6D3bF2f-Ci0jhUVu.js → TreasuryPromoPage-DymCO6nN-Dc1dLp52.js} +14 -14
- package/dist/assets/{TreasuryStatementsPage-BE54gWl6-CI8n3B5p.js → TreasuryStatementsPage-YEgI38zU-DOHp07qg.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-Draz_l3Z.js → TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js} +3 -3
- package/dist/assets/{TrendChart-BI4Tz813-BAnL14wu.js → TrendChart-Dzc9yPKs-Blv6Qzrf.js} +4 -4
- package/dist/assets/{TrendWithTransactions-BicIDSlC-C7MC_PA1.js → TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-DCMB0DYi.js → UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CZUyjeh5-BXjLciPL.js → UnitIntegrationPage-EaVWz4pX-CbKtqluY.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +38 -0
- package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +1 -0
- package/dist/assets/{VendorDetailPage-CLFKkF8I-Bp6iAqiQ.js → VendorDetailPage-C_B_CmoV-DZeP35Np.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-CtI8BHQ6.js → VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-C6MnbIan-BivIxmzp.js → VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js} +60 -60
- package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Cze5LPGB.js → VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CVh1n81R-KpYWigij.js → VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js} +5 -5
- package/dist/assets/{VerifyDevice-BHocExfO-CwHem-So.js → VerifyDevice-Cu9P83rS-BlGa7yZF.js} +7 -7
- package/dist/assets/{VideoPlayer-9rYRtSLf-DQLpaLZE.js → VideoPlayer-Dml6r7Q7-CtFMcnbA.js} +2 -2
- package/dist/assets/{VideoPopup-D1o92dj6-pqLJzdXX.js → VideoPopup-B7E5ZfFp-BvZy2q4i.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CzufXgaN-C2dHRi6W.js → WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-DYyI3UYD.js → ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-DcMdPWox.js → ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js} +10 -10
- package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-Dotnyt9B.js → ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-D2niJExq.js → ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js} +1 -1
- package/dist/assets/{ZeniCopyright-CztmWsFm-H9omyc8d.js → ZeniCopyright-CDfvakjf-8KnokS3w.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-DxB3ARKz.js → ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6YdFVXu.js → add-to-wallet-DgdBD8_G-Bp_adk0W.js} +1 -1
- package/dist/assets/{analytics-DP4t3Pvl.js → analytics-GoB8GGlk.js} +1 -1
- package/dist/assets/{analyticsHelper-D4lKCWjQ-B-wZ4oH3.js → analyticsHelper-C164AjRf-tG0aq5YR.js} +1 -1
- package/dist/assets/analyticsHelper-OMYXGOV0.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B0Djnnq_.js → arrow-south-east-round-PEovUgvH-BlptIYjS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-D68LcCX2.js → auto-transfer-rule-mbafm5D3-DNmdc0t7.js} +1 -1
- package/dist/assets/{chartTypes-BPPSjkhb-BtU1dRiX.js → chartTypes-DQ1OffIu-Bo_aesHa.js} +1 -1
- package/dist/assets/{commonDimensions-Ds75pRzR-CtGrNWAH.js → commonDimensions-j5_IHOmP-jvW6K-um.js} +1 -1
- package/dist/assets/{constants-kbx9whap.js → constants-DTxI1rHn.js} +1 -1
- package/dist/assets/{core-CBymMU6x.js → core-cG0U1y2d.js} +2 -2
- package/dist/assets/{dash.all.min-BALkicwi.js → dash.all.min-CKz_ZRDI.js} +1 -1
- package/dist/assets/{detailCommon-DdZdfmYT-BRAdodjU.js → detailCommon-BdYIBs8o-CJ5ceH6M.js} +6 -6
- package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +1 -0
- package/dist/assets/{empty-DSFatrf0.js → empty-DAIP1XxB.js} +1 -1
- package/dist/assets/empty-D_oWKko5.js +1 -0
- package/dist/assets/epic-4bGyY7Fz.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CcnP1Mgt.js → gift-box-Cmt9OgIZ-CTtI5cXz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CUWIryFn.js → graphic-no-data-l-DU4J8fDt-PUQeicgl.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BJnsDnCG.js → graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-knekKUs7.js → handshake-BPg58FML-BXfsCAUf.js} +1 -1
- package/dist/assets/{empty-CvBQFZBN.js → index-BMQnSjFr.js} +1 -1
- package/dist/assets/{index-D9zkGC9B.js → index-BqrFe7eC.js} +1 -1
- package/dist/assets/{index-uZV8M_AO.js → index-CO_Updpp.js} +4424 -4416
- package/dist/assets/{index-frek1-on.js → index-CpulHfxu.js} +1 -1
- package/dist/assets/index-D4nV_3XK.js +1 -0
- package/dist/assets/{index-BxjA4a5B.js → index-DVGnYxP0.js} +1 -1
- package/dist/assets/{index-t4orGi4S.js → index-uRSEmDsl.js} +1 -1
- package/dist/assets/{lexical-CmdNRU7n.js → lexical-CUq6kk0g.js} +1 -1
- package/dist/assets/{liveblocks-GlEiSPeI.js → liveblocks-BOlC_Koo.js} +1 -1
- package/dist/assets/{lottie-CBgZHwli.js → lottie-DQ5EyuJ6.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +1 -0
- package/dist/assets/{mui-0an3sj0x.js → mui-ByF8ZmHV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BBk9EC3A.js → page-detail-CWX5S47F-C2KjOx45.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-C5Myz-XF.js → radio-default-CiSgisfh-B7-vB3nP.js} +1 -1
- package/dist/assets/{react-BBz2ZJU4.js → react-B1eYDq6e.js} +3 -3
- package/dist/assets/{react-DFeWd6RH.js → react-B20ZDkLv.js} +2 -2
- package/dist/assets/{react-HGxWu6DA.js → react-B3-oq61_.js} +2 -2
- package/dist/assets/{react-B5nMiO6o.js → react-BU_tzuye.js} +1 -1
- package/dist/assets/{react-CzdhBOak.js → react-CeCukAHo.js} +1 -1
- package/dist/assets/{react-D4nAWD3E.js → react-D74rpLXu.js} +1 -1
- package/dist/assets/{react-BoXueK1O.js → react-iY_JqSpg.js} +2 -2
- package/dist/assets/{react-D9E37yvm.js → react-osFWCkxJ.js} +2 -2
- package/dist/assets/{recharts-YmjXe7Hc.js → recharts-C9z9JCsM.js} +1 -1
- package/dist/assets/{sentry-DBL0vpYV.js → sentry-DdXOXL3j.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-BTDJ5sGc.js → shield-DOlUxcFf-hMFlex27.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +1 -0
- package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +1 -0
- package/dist/assets/{uploadAttachment-B4ddYCCL-CAA2Hylg.js → uploadAttachment-DiJJciQx-DORmL_G6.js} +27 -27
- package/dist/assets/{uploadReceipts-CPw64UYa-CqYUQW_x.js → uploadReceipts-CPw64UYa-CIYZXcqS.js} +1 -1
- package/dist/assets/{url-Cu1N4ZsY.js → url-DnfeNFje.js} +1 -1
- package/dist/assets/{url-BhkSeX_h.js → url-PLN9h9fH.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BDVexwt4.js → useLongPress-GCK2COYQ-aie8BHVS.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BMT__nj-.js → usp-line-BBd1wKwW-nbZRH-xL.js} +1 -1
- package/dist/assets/{utils-C6VMCny4.js → utils-BMrfBn9K.js} +1 -1
- package/dist/assets/{zeni-epic-state-EnVSjANH.js → zeni-epic-state-BiQIJCwr.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BRWOdhMx-CHW4Y4oA.js +0 -21
- package/dist/assets/AccountInfoPage-Ca_vKG58-Ck55n_mz.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq-uvZlRTJb.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-njcuq535.js +0 -6
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-BxYWpi7f.js +0 -46
- package/dist/assets/BankAccountWarningSection-DMRmF2yM-B4qHDBYu.js +0 -51
- package/dist/assets/BillDetailPage-BG7FhHEq-CfxlpdIE.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-BXzjYi7t.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-l7GsIqqs.js +0 -235
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-BRhKMOSj.js +0 -84
- package/dist/assets/ChargeCardListPage-130ILwkr-CpoDSUvy.js +0 -412
- package/dist/assets/ChargeCardPromoPage-BwqrXrY--CRkcpsfe.js +0 -222
- package/dist/assets/ConfettiBurst-1rYKpbAj-Bd_yylF7.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-BGJkHg58.js +0 -224
- package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-xIXhat36.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-CXZImNkS.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-DC1N045b.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-BRK0kxfQ.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-DRAJtWei.js +0 -12
- package/dist/assets/EditPeoplePage-DJthuIP4-CYsD3t6G.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-Dq3ebm9k.js +0 -865
- package/dist/assets/EntityDetailPage-DbTiF9Hs-Dc_lF-AM.js +0 -18
- package/dist/assets/InsightsSection-BTXj5WUe-DRPj9Z-N.js +0 -27
- package/dist/assets/InvitePeoplePage-DrBtwpMH-ClaPxkWo.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-NjrNn7ZZ.js +0 -16
- package/dist/assets/LabeledDocumentField-C73vQNgq-DBxPjoOu.js +0 -41
- package/dist/assets/LinkJETransactionPage-C0onrP5t-BQSRDFgK.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-Bmz6YzE7.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Csth74dK.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-yvP4uEq5.js +0 -1
- package/dist/assets/MailingDetailsSection-D-tnK244-NJGCqaax.js +0 -21
- package/dist/assets/Menu-0YHUdU0n-BLlGw9kk.js +0 -17
- package/dist/assets/NoDataChart-DLKHNXD4-DyUiEC5E.js +0 -26
- package/dist/assets/NoDataTable-BMD2qygC-gv0yHuam.js +0 -8
- package/dist/assets/NotificationsListConfig-OCeJNw1G-rhlSI2K3.js +0 -1
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-hY2BUMAV.js +0 -107
- package/dist/assets/Preview-kmcYPPXG.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-BQKJNpxr.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-Cq_QuHRI.js +0 -237
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-DXpkFB8a.js +0 -314
- package/dist/assets/RoleWithToolTip-aW95rpRe-DvIFlyHc.js +0 -22
- package/dist/assets/ScreenRoutes-Vn-jiple.js +0 -201
- package/dist/assets/SignIn-DQBJB5ad-Cb2pZSrY.js +0 -448
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DFU9SYkm.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-BsJa486B.js +0 -754
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-Be-FWQnM.js +0 -230
- package/dist/assets/StatementItem-hcBoe79o-CO-KeIZz.js +0 -31
- package/dist/assets/TimeRangeSwitcher-jct2_5PE-CCFccPp8.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-K7uZZKEZ.js +0 -31
- package/dist/assets/TransactionListPage-B2yWm7eA-DL_P3UOL.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-B7k5Rxuh.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-B5rvljLP.js +0 -38
- package/dist/assets/Vendor2FAPopup-C_PmEAQ7-BJo1CtrY.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-HWJ4xqP6.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-Cw2mdwEx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-DAcuL4kr.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-Qp9CkTCW.js +0 -14
- package/dist/assets/analyticsHelper-BQyen1Zp.js +0 -1
- package/dist/assets/downloadPdf-B8UMaJCC--cwzlyu5.js +0 -1
- package/dist/assets/epic-q1aO5VtE.js +0 -2
- package/dist/assets/index-CKooINZU.js +0 -1
- package/dist/assets/index-CPqC-aUr.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-C5wM4whm.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-APaqby99.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-rEC43j1Y.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-D3n1ZN_S.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-XrIKo0nh.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DEpGdNWt.js +0 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-j2ZyVm5M.js +0 -1
- package/dist/assets/toChartData-CMi2WgAy-CD5sB8aU.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-C9OUxvx1.js +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import{aw as W,q as f,aO as Y,V as e,fp as ee,bA as ie,n as B,aN as C,ae as m,F as I,o as l,aq as le,c as se,f as M,aR as U,am as oe,y as te,p as b,cB as re,aS as ae,b9 as ne,d as de}from"./index-CO_Updpp.js";import{a as g}from"./sentry-DdXOXL3j.js";import{n as s}from"./mui-ByF8ZmHV.js";import{Fw as ce,bS as pe,Fx as me}from"./zeni-epic-state-BiQIJCwr.js";import{f as xe}from"./VideoPopup-B7E5ZfFp-BvZy2q4i.js";import{M as $}from"./usp-line-BBd1wKwW-nbZRH-xL.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./VideoPlayer-Dml6r7Q7-CtFMcnbA.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]="0bc8442e-17f6-43b3-98b8-aea86550a8b5",i._sentryDebugIdIdentifier="sentry-dbid-0bc8442e-17f6-43b3-98b8-aea86550a8b5")}catch{}})();const A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new te(de[5],44)},ge=s.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=s.div`
|
|
8
|
+
padding: ${i=>i.windowSize==="small"?`${l.sp0} ${l.sp3}`:`${l.sp0} ${l.sp8}`};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,we=s(se)`
|
|
11
|
+
max-width: 600px;
|
|
12
|
+
margin: auto;
|
|
13
|
+
padding: ${l.sp7} ${l.sp0};
|
|
14
|
+
color: ${i=>i.theme.colors.primary};
|
|
15
|
+
`,ye=s(le)`
|
|
16
|
+
max-width: 600px;
|
|
17
|
+
margin: auto;
|
|
18
|
+
padding: ${l.sp5} ${l.sp0};
|
|
19
|
+
color: ${i=>i.theme.colors.primary};
|
|
20
|
+
`,L=s.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=s.div``,x=s.img``,R=s.div`
|
|
27
|
+
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
`,F=s.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
|
+
`,V=s.div`
|
|
39
|
+
margin-left: ${i=>i.windowSize==="small"?l.sp0:l.sp6};
|
|
40
|
+
margin-bottom: ${i=>i.windowSize==="small"?l.sp4:l.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=s.div`
|
|
46
|
+
border-radius: ${l.sp12};
|
|
47
|
+
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
48
|
+
padding: ${i=>i.windowSize==="small"?`${l.sp2} ${l.sp4} ${l.sp2} ${l.sp0}`:`${l.sp3} ${l.sp5} ${l.sp3} ${l.sp0}`};
|
|
49
|
+
background: ${i=>i.theme.colors.grey5};
|
|
50
|
+
position: relative;
|
|
51
|
+
margin-bottom: ${l.sp3};
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
text-align: start;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
`,u=s(ne)`
|
|
57
|
+
color: ${i=>i.theme.colors.champion};
|
|
58
|
+
`,w=s(ae)`
|
|
59
|
+
color: ${i=>i.theme.colors.champion};
|
|
60
|
+
`,y=s(U)`
|
|
61
|
+
color: ${i=>i.theme.colors.champion};
|
|
62
|
+
`,j=s(re)`
|
|
63
|
+
color: ${i=>i.theme.colors.champion};
|
|
64
|
+
`,d=s.div``,c=s.div`
|
|
65
|
+
padding-left: ${l.sp3};
|
|
66
|
+
`,E=s($)`
|
|
67
|
+
color: ${b.graphColor16Dark};
|
|
68
|
+
`,_=s($)`
|
|
69
|
+
color: ${b.graphColor09Dark};
|
|
70
|
+
`,q=s($)`
|
|
71
|
+
color: ${b.graphColor28Dark};
|
|
72
|
+
`,fe=s(oe)`
|
|
73
|
+
margin: ${l.sp3} auto;
|
|
74
|
+
max-width: 719px;
|
|
75
|
+
color: ${i=>i.theme.colors.hero};
|
|
76
|
+
`,be=s.div`
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
`,$e=s(U)`
|
|
82
|
+
margin: ${i=>i.windowSize==="small"?l.sp1:`auto ${l.sp5}`};
|
|
83
|
+
color: ${i=>i.theme.colors.grey1};
|
|
84
|
+
`,t=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ve=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:N,onButtonClick:O,onBackClick:H,onSetupBillPaySuccess:z,onClickMenuIcon:Z})=>{const h=W(),a=f(),{billPayTermsDetails:p}=i,[J,K]=g.useState(!1),[Q,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const X=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},G=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!G,T=P?t.setupNonAccessableUsersPromoText:t.promoText;return e.jsxs(ge,{children:[J===!0?e.jsx(xe,{onCancelClick:()=>{K(!1)},videoUrl:N}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:t.title,onBackClick:H,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:Z,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(be,{windowSize:a,children:[e.jsx(B,{variant:"secondary",label:t.scheduleDemoButton,onClick:X,"data-testid":C("billpay-schedule-demo-button")}),e.jsx($e,{windowSize:a,children:t.orText}),e.jsx(B,{variant:"primary",label:t.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:O,"data-testid":C("billpay-setup-button")})]}),e.jsxs(fe,{children:[t.terms.terms1,e.jsx(m,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(m,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(m,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(m,{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(F,{windowSize:o,children:e.jsx(V,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(q,{})}),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(_,{})}),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,{})}),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(R,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(q,{})}),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(_,{})}),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,{})}),e.jsxs(c,{children:[e.jsx(w,{children:t.aiPoweredText.bold}),e.jsx(u,{children:t.aiPoweredText.regular})]})]})]}),e.jsx(F,{windowSize:o,children:e.jsx(V,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ve as default};
|
package/dist/assets/{BillPaySetUpPage-DRCjyEfB-BwNvkIBF.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as De,q as Oe,aO as E,a9 as $e,cC as Re,F as Ue,aT as X,V as t,f7 as He,p as ze,aN as Le,y as u,bA as Ne,A as qe,ac as Me,fq as H,dN as Ge,fr as Je,bv as Ze,dD as Ke,bR as Xe,fs as Ye,aP as Qe,o as L,ft as et,d as a,al as tt,bI as it}from"./index-CO_Updpp.js";import{a as m}from"./sentry-DdXOXL3j.js";import{n as b}from"./mui-ByF8ZmHV.js";import{bJ as nt}from"./zeni-epic-state-BiQIJCwr.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="9d5886c8-ba9f-4f5c-a35c-b4d7bc9fcbd9",e._sentryDebugIdIdentifier="sentry-dbid-9d5886c8-ba9f-4f5c-a35c-b4d7bc9fcbd9")}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)},Y="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 A=De(),i=Oe(),[k,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:Ae,plaidConnectionDetails:_,allBankAccounts:ke,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:j,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,O=_.update_account.updateStatus,B=E(f),J=E(P.fetchState),Z=E(D.fetchState),K=E(O.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),k&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Z==="In-Progress"&&D.fetchState==="Completed"||K==="In-Progress"&&O.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,Z,D.fetchState,K,O.fetchState]);const je=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(U=>U.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(U=>U.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((F,{name:o})=>{o!=null&&F!=null&&Re(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:Ve,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=Ve,{billPaySetup:l}=Fe.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Ee=$?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",V=A.mode==="light"?new X(A.colors.brandColorJadeLight):new X(A.colors.brandColorJadeDark),_e=()=>{!k&&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(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("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:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:A.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),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:Q(Y),onSubmit:je,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{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:V},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:ke,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:j.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:V},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(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!R&&j.length>0?t.jsx(Qe,{formId:Q(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!R,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -39,4 +39,4 @@ import{d as $e,q as De,aN as W,a8 as Oe,cB as Re,F as Ue,aS as Q,V as t,f6 as He
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[
|
|
42
|
+
`,z=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}))}}}},Q=e=>`${e}_form`;export{Ct as default,Q as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as we,q as be,a9 as Ce,cC as Pe,aT as j,F as xe,V as t,y as P,bA as Ie,A as Ae,ac as ve,bv as ke,cD as je,aP as Te,o as s,hG as $e,eV as De,eW as Ve,d as x,al as Be,gP as Ee,p as ze,M as Le}from"./index-CO_Updpp.js";import{a as F}from"./sentry-DdXOXL3j.js";import{n as r}from"./mui-ByF8ZmHV.js";import{F as Oe,r as W,o as Me}from"./PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js";import{F as _e}from"./SetUpAccountSection-AZk8_IC3-BgRTrYL7.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="c0048821-8079-4e87-96c2-2176b84c9572",e._sentryDebugIdIdentifier="sentry-dbid-c0048821-8079-4e87-96c2-2176b84c9572")}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 Le("standardSemiBold","largeSemiBold")},H="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:K,stripeKey:q,googleAPIKey:N,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:R(i),values:R(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,k=De(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:k,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==k.selectedOption&&(u={...u,country:k})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&re(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 B=b.mode==="light"?new j(b.colors.brandColorJadeLight):new j(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=xe.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:W(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(L).name}),color:new j(B)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=F.useState(!1);return t.jsxs(He,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(Re,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Je,{children:t.jsx("form",{id:U(H),onSubmit:pe,children:t.jsxs(Ke,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(ke,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),qe(o,l.headers.billingAddress,ce,N,d)]})})})}),je(f.formState.dirtyFields)?t.jsx(Te,{formId:U(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(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:q,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},R=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:$e(n,e.subscriptionBillingAddress)[n]}},We=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -6,13 +6,13 @@ import{d as we,q as be,a8 as Ce,cB as Pe,aS as j,F as xe,V as t,y as P,bz as Ie,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,He=r.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,
|
|
15
|
+
`,Re=r(Be)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -20,7 +20,7 @@ import{d as we,q as be,a8 as Ce,cB as Pe,aS as j,F as xe,V as t,y as P,bz as Ie,
|
|
|
20
20
|
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${s.sp3};
|
|
22
22
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
-
`,
|
|
23
|
+
`,Ue=r.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
width: 100%;
|
|
26
26
|
height: calc(100vh - 110px);
|
|
@@ -28,17 +28,17 @@ import{d as we,q as be,a8 as Ce,cB as Pe,aS as j,F as xe,V as t,y as P,bz as Ie,
|
|
|
28
28
|
justify-content: center;
|
|
29
29
|
align-items: center;
|
|
30
30
|
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
-
`,
|
|
31
|
+
`,Ke=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,
|
|
34
|
+
`,qe=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Ee,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
37
|
`,Ge=r.div`
|
|
38
38
|
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
|
-
color: ${e=>e.isError===!0?
|
|
41
|
+
color: ${e=>e.isError===!0?ze.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
42
|
`,Je=r.div`
|
|
43
43
|
flex: 1;
|
|
44
|
-
`,
|
|
44
|
+
`,U=e=>`${e}_form`;export{lt as default,U as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as b,
|
|
1
|
+
import{V as b,cn as V,co as W,cp as M,k1 as q,aW as z,F as G}from"./index-CO_Updpp.js";import{a as g}from"./sentry-DdXOXL3j.js";import{Gd as K}from"./zeni-epic-state-BiQIJCwr.js";import{u as Q}from"./ReviewOverlay-Co22Cju1-u5iV88jr.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./mui-ByF8ZmHV.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="d7de3e1d-3575-441b-ab76-55536cd5b8c8",e._sentryDebugIdIdentifier="sentry-dbid-d7de3e1d-3575-441b-ab76-55536cd5b8c8")}catch{}})();const{common:s,spendManagement:{billPay:x}}=G.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:f,currentSubTab:_}=e,u=i==="review",[C,y]=g.useState(!1),[n,v]=g.useState(P(e,u)),[p,k]=g.useState(u),[B,E]=g.useState(0),[w,j]=g.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});g.useEffect(()=>(u&&(I=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(I),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&v(P(e,!1)),()=>{clearInterval(I)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{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,f,_),y(!0)},F={onOkClick:d=>{y(!1),r.trackBillPayBulkPopupConfirm(i,f,_,X(e)),l("reject",d)},onCancelClick:()=>{y(!1)}},{title:N,description:A}=H(m,h,R,p),T=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,f,_),l(i)},U={label:T?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:T?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={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:D,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:w.title}),descriptionComponent:b.jsx(W,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:T}})]})},P=(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:z("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&K(t.reviewErrors[0].reviewErrorCode),subTitle:J(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??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=q([...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)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:f,is:_,do_:u,does:C}=s.texts,y=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_>",y?f:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},J=(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,X as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as l,V as s,
|
|
1
|
+
import{q as l,V as s,aN as b,o as e}from"./index-CO_Updpp.js";import{n as a}from"./mui-ByF8ZmHV.js";import{o as p}from"./commonDimensions-j5_IHOmP-jvW6K-um.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="d3d9c2a5-170a-4ff5-95b4-8c9e6350bc7f",o._sentryDebugIdIdentifier="sentry-dbid-d3d9c2a5-170a-4ff5-95b4-8c9e6350bc7f")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as ft,aV as ve,aL as Ie,g5 as yt,n as ht,bz as gt,aM as xt,cC as St,cm as wt,cn as bt,co as Ct,m as Dt,ab as Tt,aO as vt,o,y as L,al as Oe,F as Ve,g6 as It,ft as ke,eU as kt,D as $t,L as jt,ak as Fe,a as Nt,B as Pt,c as $}from"./index-uZV8M_AO.js";import{a as O}from"./sentry-DBL0vpYV.js";import{n as d}from"./mui-0an3sj0x.js";import{EH as Lt,bi as G}from"./zeni-epic-state-EnVSjANH.js";import{S as Ot,s as Vt}from"./CompanyOfficerDetailsSection-BtUBatbQ-Dqym6ecM.js";import"./liveblocks-GlEiSPeI.js";import"./core-CBymMU6x.js";import"./recharts-YmjXe7Hc.js";import"./lottie-CBgZHwli.js";import"./analytics-DP4t3Pvl.js";import"./lexical-CmdNRU7n.js";import"./utils-C6VMCny4.js";import"./LabeledAddressValueField-Bt41wdNQ-CTr4nBdf.js";import"./LabeledCreatableSingleSelectField-fycRE7PX-BIzidcju.js";import"./LabeledDocumentField-C73vQNgq-DBxPjoOu.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]="720b06ae-a0bf-4799-bf77-25afbe430f76",e._sentryDebugIdIdentifier="sentry-dbid-720b06ae-a0bf-4799-bf77-25afbe430f76")}catch{}})();const x={width:new L(343,580,726),titleWidth:new L(343,580,726,826),subTitlePaddingTop:new L(12,$[3]),subTitlePaddingBottom:new L($[3],$[3]),verificationDetailsRowGap:new L(12,$[5],$[5]),termsPaddingLeftRight:new L($[0],$[3])},Ft={stepTitle:new Nt("h6Regular","h5Regular")},$e="businessVerificationPage",C="companyDetails",D="companyOfficerDetails",{commonSetUp:{businessVerification:i},common:{settings:_t,currency:je,footer:Ne,strings:{empty:Bt}}}=Ve.getLocalizedStrings(),xa=({businessVerificationDetails:e,allNationalityCountries:T,verficationDetailsFetchState:j,isRefreshingViewInBackground:_,filesEndPoint:r,authParams:B,productType:y,allIndustries:A,companyTitles:E,maxInsuredAmount:p,isDisabled:N,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,isTreasuryTransferInitiated:q=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Be,onBackClick:V,onGetOtp:Ae,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Qe})=>{const Xe=ct(),m=dt(),{updateStatus:R,companyView:F,companyDetailsLocalData:l,companyOfficerLocalData:w}=e,Je=Te(R.fetchState),U=F?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=U==="unit"?a.jsxs(qt,{children:[i.terms.term1,a.jsx(W,{href:i.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.consent}),i.terms.term2,a.jsx(W,{href:i.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.depositTerms}),i.terms.term3,a.jsx(W,{href:i.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.privacy}),i.terms.term4,a.jsx(W,{href:i.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:i.terms.tos}),i.terms.term5]}):i.terms.termsForStripe,[Ye,Q]=O.useState(!1),[M,oe]=O.useState("save"),[X,Ze]=O.useState(!1),u=mt({mode:"all",reValidateMode:"onChange",defaultValues:At(e,A,E,T)}),{isValid:He}=u.formState,J=F?.company.company.companyBillPayInfo,K=F?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?K?.companyVerificationStatus:J?.companyVerificationStatus,v=Object.values(w).findIndex(t=>t?.isSelectedForVerification===!0),I=`Officer_${v<0?1:v+1}`,et=()=>{const t=w[I],s=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,b=t?.firstName,k=t?.lastName,me=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,pe=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,be=ee?.firstName,Ce=ee?.lastName,De=ee?.email;s!=null&&f!=null&&b!=null&&k!=null&&c!=null&&me!=null&&pe!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&be!=null&&Ce!=null&&De!=null&&g?.trackBusinessVerificationSend({email:s,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:k,companyRole:me,phone:pe,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,n?"Settings":void 0)},tt=()=>{const t=w[I],s=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,b=s?.email??"",k=!!s?.firstName&&!!s?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&u.trigger(`${D}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!k?((!s?.firstName||!s?.lastName)&&u.trigger(`${C}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=w[I],s=l?.primaryContactLocalData,c=t?.email,f=s?.email;if(c){if(!f)return(s?.firstName||s?.lastName)&&u.trigger(`${C}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return u.trigger(`${D}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=u.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&w[I]?.isPhoneVerified!==!0){u.setError(`${D}.${v}.phone`,{type:"custom"});return}const t=ut(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),s=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Lt(t.concat(s)).fetchState!=="In-Progress"&&He&&(et(),Re?.(I),q===!0&&Qe?.())}),st=async(t,s)=>{t.includes(C)?Ue?.(s[C]):t.includes(D)&&We?.(s[D])},nt=O.useCallback(pt((t,s)=>{st(t,s)},300),[]);O.useEffect(()=>{const t=u.watch((s,{name:c})=>{c!=null&&s!=null&&ft(()=>nt(c,s))});return()=>{t.unsubscribe()}});const le=Te(e.companyDetailsLocalData?.addressStatus);O.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${C}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,re,u]);const ce=F?.companyOfficers.slice(0,10).sort((t,s)=>t.user.createTime?.isAfter(s.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),rt=ce?.map(t=>t.role),ot={onOkClick:()=>{Q(!1),V();const t=[],s=F?.company.company.incInfo.fileIds??[];u.getValues(`${C}.fileIds`).forEach(c=>{s.includes(c)||t.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];u.getValues(`${D}.${f}.fileIds`).forEach(k=>{b.includes(k)||t.push(k)})}),t.length!==0&&Me?.(t)},onCancelClick:()=>{Q(!1)}},lt=ve(Ie(p),p,je.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed"?a.jsxs(Ht,{children:[a.jsxs(ea,{children:[a.jsx(yt,{}),a.jsx(ta,{windowSize:m,children:q===!0?i.submittedTitleWithTransfer:i.submittedTitle}),a.jsx(Zt,{isReadonly:!1,children:q===!0?i.submittedDescriptionWithTransfer.replace("__amount__",ve(Ie(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,je.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):i.submittedDescription})]}),a.jsx(ht,{label:i.submittedButton,onClick:()=>{V(),te?.()},variant:"primary"})]}):a.jsxs(Et,{isSettings:n,children:[a.jsx(gt,{title:h&&S===!0?Bt:i.header,backgroundColor:Xe.colors.grey5,style:{zIndex:X?1:4},onBackClick:()=>{St(u.formState.dirtyFields)?Q(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?a.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{V(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?a.jsx(wt,{titleComponent:a.jsx(Ct,{children:i.discardTitle}),descriptionComponent:a.jsx(bt,{children:i.discardDescription}),primaryButtonText:i.discard,secondaryButtonText:i.cancel,action:ot}):null,a.jsxs(Ut,{windowSize:m,children:[(!h||S===!1)&&a.jsx(Rt,{windowSize:m,children:n?_t.infoText.businessVerification:i.title}),j==="In-Progress"||j==="Not-Started"?a.jsx(Mt,{children:a.jsx(Dt,{size:"ExtraLarge",start:!0})}):a.jsx(Tt,{...u,children:a.jsxs("form",{id:Pe($e),onSubmit:it,children:[h&&S===!0&&a.jsxs(zt,{children:[a.jsxs(Qt,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:Z?i.businessVerificationDetails:de?i.verifyBusinessDetails:i.verifyBusinessDetailsWithoutTransfer}),!Z&&a.jsx(Jt,{children:a.jsxs(Kt,{children:[a.jsx(Le,{}),de&&a.jsx(Le,{}),a.jsx(Yt,{})]})})]}),a.jsx(_e,{isReadonly:Z,children:i.verifyBusinessDetailsDescription})]}),a.jsxs(Wt,{children:[a.jsx(Ot,{companyOfficerData:w,allNationalityCountries:T,allOfficers:Y??[],sectionId:D,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:N,filesEndPoint:r,authParams:B,isPopupOpen:X,openPopup:Ze,onGetOtp:Ae,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Vt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:C,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":N,fileProps:{authParams:B,filesEndPoint:r,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Be,connectedAccountProvider:U,allIndustries:A})]}),y==="zeni_accounts"?a.jsx(Gt,{windowSize:m,children:i.threadText.replace("__amount__",lt)}):null]})})]}),j==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":J?.businessVerificationStatus?.code!=="pending_review"&&J?.businessVerificationStatus?.code!=="verified")?a.jsx(vt,{formId:Pe($e),primaryBtn:{label:S?Ne.submit:i.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:N!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?Ne.back:i.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)V();else{const t=w[I],s=l?.primaryContactLocalData;M!=="save"&&oe("save");const c=t?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:s?.firstName,lastName:s?.lastName,email:s?.email},y,n?"Settings":void 0),Ge?.(I))}}},helperText:Ke,style:{padding:`12px ${o.sp3}`,zIndex:X?0:4}}):null]})},At=(e,T,j,_)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:B,companyView:y}=e,A=Ve.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[C]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:T?.map(p=>p.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:A.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(i.sourceOfFundOptions)}},[D]:Object.values(B).map((p,N)=>{const n=p,h=It(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${N+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:kt(n?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:j?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:ke(!0,n?.userFiles??[],h),back:ke(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&N===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},Pe=e=>`${e}_form`,Et=d.div`
|
|
1
|
+
import{f as ct,q as dt,aO as De,V as a,ae as W,a9 as mt,cQ as ut,ay as pt,cC as ft,aW as ve,aM as Ie,g6 as yt,n as ht,bA as gt,aN as xt,cD as St,cn as wt,co as bt,cp as Ct,A as Tt,ac as Dt,aP as vt,o,y as O,am as Ve,F as Le,g7 as It,fu as $e,eV as $t,c as kt,_ as Nt,al as Fe,M as jt,a as Pt,d as k}from"./index-CO_Updpp.js";import{a as V}from"./sentry-DdXOXL3j.js";import{n as d}from"./mui-ByF8ZmHV.js";import{EN as Ot,bi as G}from"./zeni-epic-state-BiQIJCwr.js";import{S as Vt,s as Lt}from"./CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./LabeledAddressValueField-D-0wb98p-CSTw9NrL.js";import"./LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js";import"./LabeledDocumentField-Bo6fnkUs-BetKwcOR.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]="6c526d8b-4043-49d9-a16d-a9b91107b685",e._sentryDebugIdIdentifier="sentry-dbid-6c526d8b-4043-49d9-a16d-a9b91107b685")}catch{}})();const x={width:new O(343,580,726),titleWidth:new O(343,580,726,826),subTitlePaddingTop:new O(12,k[3]),subTitlePaddingBottom:new O(k[3],k[3]),verificationDetailsRowGap:new O(12,k[5],k[5]),termsPaddingLeftRight:new O(k[0],k[3])},Ft={stepTitle:new jt("h6Regular","h5Regular")},ke="businessVerificationPage",C="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:i},common:{settings:At,currency:Ne,footer:je,strings:{empty:_t}}}=Le.getLocalizedStrings(),xa=({businessVerificationDetails:e,allNationalityCountries:D,verficationDetailsFetchState:N,isRefreshingViewInBackground:A,filesEndPoint:r,authParams:_,productType:y,allIndustries:B,companyTitles:E,maxInsuredAmount:p,isDisabled:j,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,isTreasuryTransferInitiated:q=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:L,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Qe})=>{const Xe=ct(),m=dt(),{updateStatus:R,companyView:F,companyDetailsLocalData:l,companyOfficerLocalData:w}=e,Je=De(R.fetchState),M=F?.company.company.featuresActivationInfo.connectedAccountProvider,Ke=M==="unit"?a.jsxs(qt,{children:[i.terms.term1,a.jsx(W,{href:i.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.consent}),i.terms.term2,a.jsx(W,{href:i.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.depositTerms}),i.terms.term3,a.jsx(W,{href:i.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:i.terms.privacy}),i.terms.term4,a.jsx(W,{href:i.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:i.terms.tos}),i.terms.term5]}):i.terms.termsForStripe,[Ye,Q]=V.useState(!1),[U,oe]=V.useState("save"),[X,Ze]=V.useState(!1),u=mt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,B,E,D)}),{isValid:He}=u.formState,J=F?.company.company.companyBillPayInfo,K=F?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?K?.companyVerificationStatus:J?.companyVerificationStatus,v=Object.values(w).findIndex(t=>t?.isSelectedForVerification===!0),I=`Officer_${v<0?1:v+1}`,et=()=>{const t=w[I],s=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,b=t?.firstName,$=t?.lastName,me=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,pe=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,be=ee?.firstName,Ce=ee?.lastName,Te=ee?.email;s!=null&&f!=null&&b!=null&&$!=null&&c!=null&&me!=null&&pe!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&be!=null&&Ce!=null&&Te!=null&&g?.trackBusinessVerificationSend({email:s,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:$,companyRole:me,phone:pe,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:Te},y,n?"Settings":void 0)},tt=()=>{const t=w[I],s=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,b=s?.email??"",$=!!s?.firstName&&!!s?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&u.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!$?((!s?.firstName||!s?.lastName)&&u.trigger(`${C}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=w[I],s=l?.primaryContactLocalData,c=t?.email,f=s?.email;if(c){if(!f)return(s?.firstName||s?.lastName)&&u.trigger(`${C}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return u.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=u.handleSubmit(()=>{if(U!=="verification"&&oe("verification"),M==="unit"&&w[I]?.isPhoneVerified!==!0){u.setError(`${T}.${v}.phone`,{type:"custom"});return}const t=ut(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),s=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Ot(t.concat(s)).fetchState!=="In-Progress"&&He&&(et(),Re?.(I),q===!0&&Qe?.())}),st=async(t,s)=>{t.includes(C)?Me?.(s[C]):t.includes(T)&&We?.(s[T])},nt=V.useCallback(pt((t,s)=>{st(t,s)},300),[]);V.useEffect(()=>{const t=u.watch((s,{name:c})=>{c!=null&&s!=null&&ft(()=>nt(c,s))});return()=>{t.unsubscribe()}});const le=De(e.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${C}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,re,u]);const ce=F?.companyOfficers.slice(0,10).sort((t,s)=>t.user.createTime?.isAfter(s.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),rt=ce?.map(t=>t.role),ot={onOkClick:()=>{Q(!1),L();const t=[],s=F?.company.company.incInfo.fileIds??[];u.getValues(`${C}.fileIds`).forEach(c=>{s.includes(c)||t.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];u.getValues(`${T}.${f}.fileIds`).forEach($=>{b.includes($)||t.push($)})}),t.length!==0&&Ue?.(t)},onCancelClick:()=>{Q(!1)}},lt=ve(Ie(p),p,Ne.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed"?a.jsxs(Ht,{children:[a.jsxs(ea,{children:[a.jsx(yt,{}),a.jsx(ta,{windowSize:m,children:q===!0?i.submittedTitleWithTransfer:i.submittedTitle}),a.jsx(Zt,{isReadonly:!1,children:q===!0?i.submittedDescriptionWithTransfer.replace("__amount__",ve(Ie(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,Ne.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):i.submittedDescription})]}),a.jsx(ht,{label:i.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):a.jsxs(Et,{isSettings:n,children:[a.jsx(gt,{title:h&&S===!0?_t:i.header,backgroundColor:Xe.colors.grey5,style:{zIndex:X?1:4},onBackClick:()=>{St(u.formState.dirtyFields)?Q(!0):L()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?a.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?a.jsx(wt,{titleComponent:a.jsx(Ct,{children:i.discardTitle}),descriptionComponent:a.jsx(bt,{children:i.discardDescription}),primaryButtonText:i.discard,secondaryButtonText:i.cancel,action:ot}):null,a.jsxs(Mt,{windowSize:m,children:[(!h||S===!1)&&a.jsx(Rt,{windowSize:m,children:n?At.infoText.businessVerification:i.title}),N==="In-Progress"||N==="Not-Started"?a.jsx(Ut,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(Dt,{...u,children:a.jsxs("form",{id:Pe(ke),onSubmit:it,children:[h&&S===!0&&a.jsxs(zt,{children:[a.jsxs(Qt,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:Z?i.businessVerificationDetails:de?i.verifyBusinessDetails:i.verifyBusinessDetailsWithoutTransfer}),!Z&&a.jsx(Jt,{children:a.jsxs(Kt,{children:[a.jsx(Oe,{}),de&&a.jsx(Oe,{}),a.jsx(Yt,{})]})})]}),a.jsx(Ae,{isReadonly:Z,children:i.verifyBusinessDetailsDescription})]}),a.jsxs(Wt,{children:[a.jsx(Vt,{companyOfficerData:w,allNationalityCountries:D,allOfficers:Y??[],sectionId:T,isRefreshingViewInBackground:A,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:j,filesEndPoint:r,authParams:_,isPopupOpen:X,openPopup:Ze,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Lt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:A},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:C,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":j,fileProps:{authParams:_,filesEndPoint:r,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:M,allIndustries:B})]}),y==="zeni_accounts"?a.jsx(Gt,{windowSize:m,children:i.threadText.replace("__amount__",lt)}):null]})})]}),N==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":J?.businessVerificationStatus?.code!=="pending_review"&&J?.businessVerificationStatus?.code!=="verified")?a.jsx(vt,{formId:Pe(ke),primaryBtn:{label:S?je.submit:i.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:j!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?je.back:i.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)L();else{const t=w[I],s=l?.primaryContactLocalData;U!=="save"&&oe("save");const c=t?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:s?.firstName,lastName:s?.lastName,email:s?.email},y,n?"Settings":void 0),Ge?.(I))}}},helperText:Ke,style:{padding:`12px ${o.sp3}`,zIndex:X?0:4}}):null]})},Bt=(e,D,N,A)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:_,companyView:y}=e,B=Le.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[C]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:D?.map(p=>p.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:B.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(i.sourceOfFundOptions)}},[T]:Object.values(_).map((p,j)=>{const n=p,h=It(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${j+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:$t(n?.nationalityCountryCode,A.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:N?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:$e(!0,n?.userFiles??[],h),back:$e(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&j===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},Pe=e=>`${e}_form`,Et=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -21,7 +21,7 @@ import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as
|
|
|
21
21
|
padding-top: ${e=>x.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
22
|
padding-bottom: ${e=>x.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
23
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,
|
|
24
|
+
`,Mt=d.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
height: 100%;
|
|
@@ -30,7 +30,7 @@ import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as
|
|
|
30
30
|
align-items: center;
|
|
31
31
|
padding-bottom: ${o.sp9};
|
|
32
32
|
row-gap: ${e=>x.verificationDetailsRowGap.valuePx(e.windowSize)};
|
|
33
|
-
`,
|
|
33
|
+
`,Ut=d.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
width: 100%;
|
|
36
36
|
height: calc(100vh - 110px);
|
|
@@ -42,13 +42,13 @@ import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as
|
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${o.sp11};
|
|
45
|
-
`,Gt=d(
|
|
45
|
+
`,Gt=d(Ve)`
|
|
46
46
|
margin-top: ${o.sp2};
|
|
47
47
|
padding: ${o.sp2} ${o.sp2};
|
|
48
48
|
text-align: center;
|
|
49
49
|
color: ${e=>e.theme.colors.grey1};
|
|
50
50
|
width: ${e=>x.width.valuePx(e.windowSize)};
|
|
51
|
-
`,qt=d(
|
|
51
|
+
`,qt=d(Ve)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -70,7 +70,7 @@ import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as
|
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
gap: ${o.sp3};
|
|
73
|
-
`,
|
|
73
|
+
`,Oe=d.div`
|
|
74
74
|
flex: 1;
|
|
75
75
|
height: 2px;
|
|
76
76
|
background-color: ${e=>e.theme.colors.primary};
|
|
@@ -102,11 +102,11 @@ import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as
|
|
|
102
102
|
transform: translateX(0%);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
`,
|
|
105
|
+
`,Ae=d(Fe)`
|
|
106
106
|
color: ${e=>e.theme.colors.hero};
|
|
107
107
|
margin-top: ${e=>e.isReadonly?o.sp0:o.sp3};
|
|
108
108
|
white-space: pre-line;
|
|
109
|
-
`,Zt=d(
|
|
109
|
+
`,Zt=d(Ae)`
|
|
110
110
|
margin-top: ${o.sp0};
|
|
111
111
|
text-align: center;
|
|
112
112
|
`,Ht=d.div`
|
|
@@ -122,11 +122,11 @@ import{d as ct,q as dt,aN as Te,V as a,ad as W,a8 as mt,cP as ut,ax as pt,cB as
|
|
|
122
122
|
align-items: center;
|
|
123
123
|
justify-content: center;
|
|
124
124
|
gap: ${o.sp3};
|
|
125
|
-
`,ta=d(
|
|
125
|
+
`,ta=d(kt)`
|
|
126
126
|
color: ${e=>e.theme.colors.primary};
|
|
127
127
|
white-space: pre-line;
|
|
128
128
|
text-align: center;
|
|
129
|
-
`,aa=d(
|
|
129
|
+
`,aa=d(Nt)`
|
|
130
130
|
cursor: pointer;
|
|
131
131
|
color: ${e=>e.theme.colors.hero};
|
|
132
132
|
width: ${o.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as f,V as r,F as y,b as w,o as a,M as b,a as x}from"./index-CO_Updpp.js";import{n as o}from"./mui-ByF8ZmHV.js";import{a as c}from"./sentry-DdXOXL3j.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]="3503917e-4845-48d4-9bde-153d4e735a19",e._sentryDebugIdIdentifier="sentry-dbid-3503917e-4845-48d4-9bde-153d4e735a19")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},M=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),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,m=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${m}`,children:[h,r.jsx(H,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},v=o(x)`
|
|
2
2
|
${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
@@ -7,15 +7,15 @@ import{q as m,V as r,F as y,b as w,o as s,a as b,B as x}from"./index-uZV8M_AO.js
|
|
|
7
7
|
white-space: nowrap;
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
|
-
gap: ${
|
|
10
|
+
gap: ${a.sp1};
|
|
11
11
|
`,H=o.span`
|
|
12
|
-
height: ${
|
|
13
|
-
width: ${
|
|
12
|
+
height: ${a.sp1};
|
|
13
|
+
width: ${a.sp1};
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey1};
|
|
15
15
|
border-radius: 50%;
|
|
16
|
-
margin: ${
|
|
16
|
+
margin: ${a.sp0} ${a.sp1};
|
|
17
17
|
`,u=o($)`
|
|
18
|
-
width: ${
|
|
19
|
-
height: ${
|
|
18
|
+
width: ${a.sp3};
|
|
19
|
+
height: ${a.sp3};
|
|
20
20
|
color: ${e=>e.theme.colors.hero};
|
|
21
|
-
`;export{j};
|
|
21
|
+
`;export{M as j};
|