@zeniai/web-cockpit-ui 1.15.13-qa → 1.15.14-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-BlujuoRH-Dd5Jdtmf.js → ACHDetailsPage-BOZmOJHO-CTkTIAbj.js} +3 -3
- package/dist/assets/{AIPerformancePage-DfgPUakC-ZgXRgVKD.js → AIPerformancePage-ZVCJizP9-lO42v2Da.js} +103 -103
- package/dist/assets/AccountInfoPage-DF6IU0EG-Dri9KZDQ.js +18 -0
- package/dist/assets/{AccountInfoPageContent-CTvsml8u-BgWKlEhB.js → AccountInfoPageContent-D0wuuzMd-CYUOf7Yy.js} +16 -16
- package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-YxipIVg7.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-D6WT5Co_-Caf4DPub.js → AccountReconDetailsDrawerPage-DbHX6rPG-C26CYTpl.js} +8 -8
- package/dist/assets/{AccountRow-FmhkZVL4-B4hjOMzk.js → AccountRow-Bk_25FCy-D6n4Wyn2.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-B5Mri6qW-cjKgMtIm.js → AccountsPromoCardStack-DAXRwY1f-RsUU3rub.js} +29 -29
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CnD6PCyg.js +6 -0
- package/dist/assets/{AddToWalletPage-fBplELoj-DIi5wnhQ.js → AddToWalletPage-CzziHgi7-CkYda4Rq.js} +21 -21
- package/dist/assets/{AgingReportsPage-CgeLN6Su-CYUQwEno.js → AgingReportsPage-Bdi3krKK-CkVmkoJN.js} +5 -5
- package/dist/assets/{AllUserItems-vOFCgjs7-CZxF22QA.js → AllUserItems-XWDuiug6-BJAl8j2p.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CaM_AzrU-DKImzj6b.js +46 -0
- package/dist/assets/{AppBasePage-DrIjva6e-CIH4lORb.js → AppBasePage-B7_L4R6d-C9IdAuSh.js} +9 -9
- package/dist/assets/{AppDrawerContent-Co1DpiWD-C1aJG4Zb.js → AppDrawerContent-DSX1364T-B5p_fokJ.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-CtFbj7lh.js +47 -0
- package/dist/assets/{ArAgingChart-B2zTJJgb-CxGZOD7f.js → ArAgingChart-M7KUNA4G-B-NjvlhZ.js} +1 -1
- package/dist/assets/ArAgingDetailPage-7lby5mXn-Dx6TaWmh.js +46 -0
- package/dist/assets/{AttachmentView-vlVaH4YF-B4GAfoTh.js → AttachmentView-Bsa0u92o-C5Ith7Dl.js} +9 -9
- package/dist/assets/{BankAccountSection-CDKiTWgn-BmAeSXp7.js → BankAccountSection-BkOlwayA-BzRDpgU5.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-tSnRJm3S-B1s5Qbs5.js → BankAccountWarningSection-uMOXLH0B-oIIZXk5D.js} +6 -6
- package/dist/assets/{BankConnectionsSettingsPage-O_L8CHJf-r9FaHN_N.js → BankConnectionsSettingsPage-C_YytTke-D0UJIore.js} +37 -37
- package/dist/assets/{BillDetailPage-DR3JefXf-DQcSQBQN.js → BillDetailPage-DvU5_Rsp-BboSjxSV.js} +9 -9
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-ChvhrNL4.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-yFoEpHK8-DvqKTU1y.js → BillPayApprovalRulesPage-CA9eufjt-vJvDNiXo.js} +18 -18
- package/dist/assets/{BillPayPromoPage-DZkA_0AV-B7Z2nWn1.js → BillPayPromoPage-DsXPWKAf-y7kYOpnD.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-B2j-es9G-BzaThv8U.js → BillPaySetUpPage-CeMhzZ_3-CRMj2J_Q.js} +4 -4
- package/dist/assets/BillingSettingsPage-BygJjDSp-BaaSCOrk.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B2LDJ9-N-Bk0TD_dk.js → BillsBulkReviewDrawerPage-WrR46NRa-CIbrXxhM.js} +1 -1
- package/dist/assets/{BoxItem-B0bHU_KA-Dy4QmdXc.js → BoxItem-C0M4PSXY-C-i-BYiZ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DZ27apcr-BQW590Mb.js → BusinessVerificationPage-C63pUk4d-D7ADEeIx.js} +15 -15
- package/dist/assets/{CardNumberSubText-CpqumrS--CXxxAA8f.js → CardNumberSubText-B4dAoYDE-B-faaYZL.js} +8 -8
- package/dist/assets/{CashbackDetailPage-C3oNmfln-Cu2JEVGt.js → CashbackDetailPage-B6xvn-y3-yUoVzYGM.js} +20 -20
- package/dist/assets/ChargeCardDetailPage-eJJ4MEE6-C0LSLa5V.js +1467 -0
- package/dist/assets/{ChargeCardListPage-B_PxtkQX-BnMys8lA.js → ChargeCardListPage-BYI2HIjA-8seyP4-1.js} +22 -22
- package/dist/assets/{ChargeCardListTable-kp0WwIZo-Cm-Owd6-.js → ChargeCardListTable-DAVYmKCK-COsfkC8-.js} +45 -45
- package/dist/assets/{ChargeCardPaymentHistoryPage-D1l3Qgr_-DI6gSbof.js → ChargeCardPaymentHistoryPage-BX5HtOxd-DIJQAhYy.js} +26 -26
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-CdXkhoNK.js +222 -0
- package/dist/assets/ChargeCardSetupPage-DG1eKhYR-GcD8Xbgo.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-a5u9wGDg-Brg2gDI9.js → ChargeCardStatementsPage-CvtZtuVC-D5_HpJbR.js} +9 -9
- package/dist/assets/{CheckDepositDrawerPage-_DvlXSse-B_BucfsH.js → CheckDepositDrawerPage-BdacGDpy-NH0B7hCl.js} +18 -18
- package/dist/assets/{CollapsableReportTable-DgteU0nB-Cxehs4Kl.js → CollapsableReportTable-UADp1m_8-0iD5_esu.js} +41 -41
- package/dist/assets/{CompanyOfficerDetailsSection-DG1ZQ-UL-DV2WNNsF.js → CompanyOfficerDetailsSection-CaAR0Wvk-xuxahQFB.js} +29 -29
- package/dist/assets/{CompanyPassportCard-JfMVwFHV-yhZW8SN7.js → CompanyPassportCard-BJN2GEVm-BAPQ7zZ1.js} +7 -7
- package/dist/assets/{CompanyPassportPage-2j8z-oge-BKw2EluX.js → CompanyPassportPage-D2ALJDF_-rREFezcB.js} +35 -35
- package/dist/assets/{CompleteProfile-Cm8XlcS3-tX4c8EKJ.js → CompleteProfile-C8X8Z3C2-C4M22bfo.js} +2 -2
- package/dist/assets/ConfettiBurst-DxHzdDPp-DbSVEJuf.js +1 -0
- package/dist/assets/ConstrainedInnerElement-BeIpAPjB-o1dQwSVr.js +5 -0
- package/dist/assets/{CreateOrEditVendorPage-BxSAnKo6-D4OGgB6l.js → CreateOrEditVendorPage-y-COpdhs-Vjb6QXyJ.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-a2j9Vyid-A-8aAfdw.js → CreditCardPaymentDrawerPage-CntYJJ8v-DG1CtNGi.js} +14 -14
- package/dist/assets/{CurrencySelectField-CbBlYqRB-C0JlTtQx.js → CurrencySelectField-Dn-hE2az-FKP6XCyG.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CG508vOx-DfM0MC9z.js → CustomerOnboardingActivationPage-B9MZHJVc-E8apuJFB.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-B417jal6.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BszHZi0e-4lgjtzgv.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DP4PpY7E.js} +12 -12
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-KOMcZLiU.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DM-gDkp1-DzvdKtNr.js → CustomerOnboardingPage-1LvpVpHC-CqEiTKL-.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-BryLMJRG-IKtHrSqJ.js → CustomerOnboardingProductSuitePage-DMYHMJXg-CZpT_ybG.js} +6 -6
- package/dist/assets/{Dashboard-BRm1rkFD-CRrn0mlI.js → Dashboard-CCV0_aCP-DgaReFiA.js} +1 -1
- package/dist/assets/{DashboardReportPage-rtbUwJSW-DlJn5Hkl.js → DashboardReportPage-CmoH9Vrc-rbpJkvEW.js} +29 -29
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DVTdlTEZ-BGfu-u_U.js → DashboardSidebarBackgroundAnimation-hw3einS7-B0933NPk.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BbKLxsPR-WtW7LWPm.js → DepositAccTransactionItem-DgdkYGjP-Cn-RreCN.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-0AV-fx2Z-CWuRJMem.js → DepositAccTransactionListPage-CF0WJn9M-Du5Uwrua.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-BKumlfKE-CU_KFPsO.js → DomesticWireDetailsPage-B12tNa6e-D84j30Sh.js} +2 -2
- package/dist/assets/{DownloadOverlay-C6GFjg2N-dHGiNNT4.js → DownloadOverlay-Dt9yt4Fz-CZwt4xVi.js} +18 -18
- package/dist/assets/{DrawerPage-BjfQ_wvz-BAoek7CI.js → DrawerPage-Clki97FA-CKaiaKnY.js} +12 -12
- package/dist/assets/EditPeoplePage-CKS_aEZm-BLkXTTsd.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-D5cPRveU-XVZs5ANF.js → EditReimbursementDetailPage-CXy2ZWfZ-CZqOBA94.js} +36 -36
- package/dist/assets/EntityDetailPage-B3TQ5hCP-xkG_PJz4.js +18 -0
- package/dist/assets/EntitySummarySection-D_YLsP_P-DnjHmEt2.js +151 -0
- package/dist/assets/{ExpenseAutomationOverviewPage-D9JnRKeQ-DcgUsBHj.js → ExpenseAutomationOverviewPage-4z3yzHEA-DHRMbZ6T.js} +23 -23
- package/dist/assets/ExpenseAutomationPage-BJ4H_c2z-_vJX_cQS.js +1700 -0
- package/dist/assets/{ExpressPayPage-iL1BYLic-DNZMOaZn.js → ExpressPayPage-CTBD4y1v-NypzcPst.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-CFz7RpI6-DGwrwI6h.js → FeaturePreviewPage-CYuTQWpP-B7pk5shZ.js} +2 -2
- package/dist/assets/{FollowStepsSection-Crd9GwnW-C67UFUxv.js → FollowStepsSection-BrpI2HyW-DjU7Bj21.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-xUatsnwu-B_jOR6kE.js → GlobalReviewListPage-BcvxLqIL-CWsSxlvQ.js} +16 -16
- package/dist/assets/{InformationCardStack-CgSYiHdK-TXOis1xL.js → InformationCardStack-CU4Moqky-DbD2DWow.js} +4 -4
- package/dist/assets/{InsightsCardStack-dkuf5D9A-Bi0NlGwc.js → InsightsCardStack-D8UQiuXZ-BsOtVtjF.js} +8 -8
- package/dist/assets/{InsightsSection-CUk29Ace-Bs7LOW5A.js → InsightsSection-C3X6ZNEt-Dpfjh86q.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-As-313jz-gWQZcbmC.js → IntegrationsSettingsPage-CsLv00HW-40iwxCCz.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-CqMsBHlO-hyhi_VT_.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-DjSCCsjb.js} +28 -28
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-C883JmDe.js +65 -0
- package/dist/assets/{InviteFormPage-D7yOmbjN-DRh2E_al.js → InviteFormPage-B3KmRWXd-CA_rBrtH.js} +27 -27
- package/dist/assets/{InvitePageListView-CUeSQD7S-DqLMS2jC.js → InvitePageListView-DfpJBZru-C-jbSwOL.js} +43 -43
- package/dist/assets/InvitePeoplePage-C5Qgk24s-oyDKpik2.js +12 -0
- package/dist/assets/{InvoiceUploadSection-fjn4uF_l-CtGULxDA.js → InvoiceUploadSection-BO1i-e_D-BbCUnOdb.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-B30u11O2-BbnI_a88.js → IssueChargeCardPage-mPsxt52d-D9F3L6UU.js} +28 -28
- package/dist/assets/{LabeledAddressValue-CJZ_1zh1-DgOJaHiW.js → LabeledAddressValue-C4fnQSyi-DMq7zZU4.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D6dEaI69-BamQLjwy.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DqtbWhaH-DCCVcSia.js → LabeledControlledCheckBoxField-B1QdZmvd-C7yRnNIt.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-t7lnpz15-D8FuO5XK.js → LabeledCountryMultiSelectField-XeBih_-f-j0Io7uqC.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-DSrFEwMO-BKreuFG-.js → LabeledCreatableSingleSelectField-BPX2Nrlf-CpM2CK18.js} +6 -6
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-DrkrUAxI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-IohlqRi7-BIeZ8HiN.js → LabeledDropDownFormattedTextField-A-rgip1E-yZVcOc80.js} +7 -7
- package/dist/assets/{LabeledMultiSelectField-CveBXp8L-VcfEoi4D.js → LabeledMultiSelectField-Di9Wnifv-Bms3kN_s.js} +3 -3
- package/dist/assets/{LabeledText-C9CoADG4-kebiAoiw.js → LabeledText-38fqkkE--D6H2xkOy.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-mzAsluz6.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-CTkTJ07P.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-B-0ZfQFs-DQJ7lIYd.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-Cs6KyXMg.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-CLo-jbfZ-BP0AwRKd.js → LinkJETransactionPage-66mQ4nrK-cIqp9Xxp.js} +9 -9
- package/dist/assets/{LockCardPage-CmWzTH0n-BFlTHvg4.js → LockCardPage-BCqN4K17--IT5TUT0.js} +43 -43
- package/dist/assets/{LowBalancePopup-BUAKDPHL-B-KZGBlT.js → LowBalancePopup-BPk1-eAb-D_kd3qTx.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-Cq8k80JE.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DnFKtq_b.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BEZ904x4.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BGSpNBaK-CW6IvAZN.js → MagicLinkSuccessPage-CphaJa4k-DULBLAf5.js} +2 -2
- package/dist/assets/{MagicLinkTitleSection-BKIOmha4-DeepZ9HN.js → MagicLinkTitleSection-77rxhjLm-CO0H-7bF.js} +8 -8
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Bt66H1X1.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-B3HEwRST-gjCWp3eD.js → MyBankConnectionsSettingsPage-z0tHaSl1-Ctot5bNh.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-Cy_JIUO5-CYi0CFHo.js → MyPendingActivationChargeCardListPage-CwGYwufd-DusBmTPf.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-D4XR8lj4-Dp3XDCA2.js → MyProfileSettingsPage-8yBXAre6-BxgUU9tS.js} +9 -9
- package/dist/assets/NavBarWithPicker-C3LVyiC9-DNxUvw98.js +30 -0
- package/dist/assets/{NavigationArrow-C1HvrCIx-eBcwRB_h.js → NavigationArrow-NuJEpE7O-DkE8Jq2l.js} +5 -5
- package/dist/assets/{NavigationDots-Ttv3r4BR-BmNd3gQF.js → NavigationDots-C7Na64B9-BQCsm-PU.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-rrVa4Iiv-BIwnJ-_Z.js → NewGlobalMerchantPage-Cus6zYV_-D7RK-O2G.js} +39 -39
- package/dist/assets/NoDataChart-B3s_7m2n-6UR_W8KE.js +26 -0
- package/dist/assets/NoDataTable-CMpypnTw-DQkMwHu9.js +8 -0
- package/dist/assets/{NotFoundPage-C-RS1j9W-DQWzTEg5.js → NotFoundPage-RjXioqc8-D0YYrGvp.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-Bt94GV9--BVC4OLZo.js → NotificationSettingsPage-DrDW_LU_-CoIFciaQ.js} +30 -30
- package/dist/assets/{NotificationsListConfig-CbWdzORJ-MhsBqOYT.js → NotificationsListConfig-C6_ap0JT-B7HvA4xZ.js} +1 -1
- package/dist/assets/{NotificationsPage-kZGgGVaC-zvIXXIC-.js → NotificationsPage-DOM-Gf5P-CLjwV-Lp.js} +17 -17
- package/dist/assets/{OpExByVendorPage-BSoM5hsv-Bb8IrTkh.js → OpExByVendorPage-CTuBB827-C5GnWYFy.js} +11 -11
- package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bhrq7EM_.js → OverlayContainerPage-D4QU0p4o-CaOVtIUy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C181kEf--TKHh2C5l.js → PandLWithForecastPage-BXaENYdR-C9QORNqG.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DqDvhQwH-CYm2Hw3U.js → PaymentAccountSetupBillingAddressSection-DSnQX90O-BNyF-R2t.js} +6 -6
- package/dist/assets/{PeoplePage-ByvK4lsu-vcFsHNs3.js → PeoplePage-BlyVVthI-BvlkSarj.js} +29 -29
- package/dist/assets/{Preview-B0RnB2Yn.js → Preview-1YaMlOZx.js} +1 -1
- package/dist/assets/{ProductsCarousel-CCLEQfr4-I7QWzOtX.js → ProductsCarousel-CAcPH--E-CypMj_aV.js} +8 -8
- package/dist/assets/{PromoBaseCards-BESaQCrl-CNjEFCSA.js → PromoBaseCards-BVwZMVeE-z_DbgbjQ.js} +12 -12
- package/dist/assets/{QBOConnectionDialog-BhmH5aji-CFc8C6Qx.js → QBOConnectionDialog-C3OYyhYO-BwQj_jEn.js} +5 -5
- package/dist/assets/QBOSetupSection-DQjol-D0-sxxCB5FU.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Dr8oEiGp.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CCo730ny-SbXFn_0A.js → ReimbursementApprovalRulesPage-Cx0gs7sS-BPzyINOc.js} +14 -14
- package/dist/assets/{ReimbursementDetailPage-D8G3Aoci-bE7GSifH.js → ReimbursementDetailPage-Cs_rmkS8-CDIuQvBq.js} +8 -8
- package/dist/assets/ReimbursementPromoPage-CCFl0kQK-DrE0eENq.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-KRQIL0VK-7SnWIfaP.js → ReimbursementSetUpPage-lf3xTVFh-Bme_YQP5.js} +14 -14
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B77ypxnc-C-JnzSc1.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-BXkXcGS3.js} +1 -1
- package/dist/assets/{ReloadCard-0KQtayY--Bl87L1FQ.js → ReloadCard-V_tv6YLR-COjEvLaN.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-wrUJSIfk-2LsgXwby.js → ReportTableViewSelector-CWEvGn8L-DJHNnxty.js} +7 -7
- package/dist/assets/{ReportsPage-D-r0S90r-lHJmVa6A.js → ReportsPage-BJOH1wgv-BdRcuTXJ.js} +9 -9
- package/dist/assets/{RevenueChart-4kIDtnAc-CuxrvYRm.js → RevenueChart-C_tSBw_N-BYRoGv9-.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-BqIBTewY-DCDTcOA3.js → ReviewDetailsPage-CScPf4w3-y6nDHfDS.js} +17 -17
- package/dist/assets/{ReviewOverlay-DjazNKfI-BvB_z9vd.js → ReviewOverlay-BQVwPzKa-BObyNWD7.js} +27 -27
- package/dist/assets/RoleWithToolTip-GCV_l8Ly-CXlGB2I2.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Cgqgn7nk-CcoeiAn4.js +37 -0
- package/dist/assets/ScheduleDetailsPage-D1EJbzxN-Cq8TagJn.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-Dnapx3YK-B3LHOpVc.js → ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js} +53 -53
- package/dist/assets/{ScreenRoutes-Bw_CLYj-.js → ScreenRoutes-B0ae_HKZ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D7Nf4cYj-D_9hYtq8.js → SetUpAccountSection-AVL_16HQ-5LWynyPp.js} +6 -6
- package/dist/assets/{SignIn-Cl1If8Mq-ChOhS8Cq.js → SignIn-BLUwTp1l-DezfyWtW.js} +24 -24
- package/dist/assets/SignInScreen-3zG8eu4e.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-B8AdQD7w-2SnG46U-.js → SpendManagementListViewPage-DJbNFHvP-B8BL4nbi.js} +16 -16
- package/dist/assets/{SpendManagementPerTabPage-BJxGbUNp-DBWLG06i.js → SpendManagementPerTabPage-J5pIRm-Q-DcJo9Q94.js} +35 -35
- package/dist/assets/{SpendManagementSection-CJ-vMwcf-CkjKdsg7.js → SpendManagementSection-DZaP5ai6-brwNtSLw.js} +25 -25
- package/dist/assets/StatementItem-D2Fx65LN-DIl2HCYS.js +31 -0
- package/dist/assets/{StatementsPage-BaDmSL9L-CUCTBhjX.js → StatementsPage-BCh51lDW-BlH-XzL8.js} +3 -3
- package/dist/assets/{StatusSwitcher-BZ2svcz0-BuztCmym.js → StatusSwitcher-C5ZrzI8Y-BU_eEikH.js} +4 -4
- package/dist/assets/{SubTabSwitcher-C3216C6m-Dl7lU-_D.js → SubTabSwitcher-BXZxKeq9-D-owiWdX.js} +1 -1
- package/dist/assets/{SummaryCard-CSkw4qa9-Bd0y6BWn.js → SummaryCard-194UToy6-BHlsJtk1.js} +1 -1
- package/dist/assets/TaskManagementPage-zcxDUo0t-xKHoHXew.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C9jo91ZR-uL_SpSuM.js → TimeRangeSwitcher-Bsv7zQmN-BpGkJwVm.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-453JT8qD-BpIL1ddE.js → TimeframeSwitcher-DtxsNy1Z-2NM_x6iy.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-CkiICrjF-Ca-cPuHv.js → TimeframeSwitcherWithToggle-B5bFhbvL-I--dN0nD.js} +2 -2
- package/dist/assets/{TopExCard-Qae08TpE-CJNE7KqM.js → TopExCard-CBua66Cj-BJvS6xJO.js} +6 -6
- package/dist/assets/{TopExDetailPage-BpwMO-8K-BBtgOSB1.js → TopExDetailPage-DtMA-XMp-xn5xDKk9.js} +14 -14
- package/dist/assets/TransactionActivityLogPage-C3BPL8hi-CA_HOoFB.js +195 -0
- package/dist/assets/TransactionDetailPage-CeKaduBe-BQ8y5vaC.js +903 -0
- package/dist/assets/TransactionList-CSx8ZCZ--C1_8IqfL.js +153 -0
- package/dist/assets/{TransactionListBig-B6-3iOkU-euksbchR.js → TransactionListBig-B4cNQY2d-DerU8Hj9.js} +41 -41
- package/dist/assets/TransactionListPage-DHr64V-b-CrCMOxVS.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BJzVtpnF-C5UXCtBB.js → TransactionVendorDetailPage-DsxI8U5b-D1fN8ld2.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DCxNnGwu-CqUkcOyj.js → TransferDrawerPage-C91TQwZi-DM1mVvlx.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-DfIkj3v1-CgYmBgC-.js → TreasuryOverviewPage-BoBn_gtF-DBcXx8Ip.js} +46 -46
- package/dist/assets/{TreasuryPromoPage-BBdOyiO--AbQPyk6J.js → TreasuryPromoPage-CQ-VYEQC-G8WxsccX.js} +23 -23
- package/dist/assets/{TreasuryStatementsPage-NgiurO36-BX47gTKN.js → TreasuryStatementsPage-taTRE54D-F5NQNl6B.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DcI8sKk8-_uuJ4o58.js → TreasuryTaxLetterPage-Cxhr51TD-tMoEVMoJ.js} +4 -4
- package/dist/assets/{TrendChart-DVp0Led--BygMKz23.js → TrendChart-DATgAEKG-DyojY-Xn.js} +5 -5
- package/dist/assets/{TrendWithTransactions-C5Zfe4RN-Dl9T676s.js → TrendWithTransactions-DqPFuOvC-CC97f1Ct.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-DKQj6Y2Z-CoDcx3gH.js → UncategorizedAccountsMappingPage-BQjXazj4-CJhXrmDs.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-DzP4Z8GG-DXvLno6N.js → UnitIntegrationPage-BiRGRtpI-BcDsBpFu.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BGFTh8Ed-37xDqOmK.js → UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js} +4 -4
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-DRH1-U3Y.js +1 -0
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BuHGP8HY.js +1 -0
- package/dist/assets/VendorDetailPage-DY4iaLtz-BCpMBYhZ.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-2vvRJbsc.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Bw_Igktf-B-WbIArD.js → VendorFiling1099EditablePage-Dep7O8Uz-D-aakTeI.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CCCVS8n7-CKlRdVUB.js → VendorFirstReviewPage-CJQIZn8g-CYXImF6f.js} +33 -33
- package/dist/assets/{VendorInternationalWireDetailsPage-DsBGMjtN-Bfva6Pym.js → VendorInternationalWireDetailsPage-CJG5RIa2-I232damR.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-BiiacAMT.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Bd1rg5Tw-CL7IEwEP.js → VendorsAccountsSection-D65ewlO6-qVucxRZa.js} +3 -3
- package/dist/assets/{VerifyDevice-B52Vuja4-UTWR3Ig3.js → VerifyDevice-B1_jgwgY-Ch7QTXrL.js} +11 -11
- package/dist/assets/{VideoPlayer-Cfh9VY-B-ufbtxIAv.js → VideoPlayer-vWSXteQ6-3WYEiLtc.js} +2 -2
- package/dist/assets/{VideoPopup-BLRMOVnP-fkReY2U7.js → VideoPopup-CdsmU6H4-DhRBOj6Y.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CnUUMlFZ-BeDBXJT0.js → WarningsDrawerPage-CjgOsD00-jsNE65_x.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-DrBVs3G5-Th6GazP4.js → ZeniAccountDetailPage-DiLnoonB-DlTvBibz.js} +27 -27
- package/dist/assets/{ZeniAccountListViewPage-C3WwakQr-DfevQgF9.js → ZeniAccountListViewPage-YfPsO8ls-zJTfihep.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-CxRUkBZQ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DYAVwX1I-Bfs8WOV7.js → ZeniAccountPromoPage-cEfW88p8-BqXYqpjk.js} +24 -24
- package/dist/assets/{ZeniAccountSetupPage-D4y3RRC0-CePwWlun.js → ZeniAccountSetupPage-B20DHYex-Cr26cRx5.js} +2 -2
- package/dist/assets/ZeniCopyright-BROHmszx-BdOjLSgU.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-DZZrrFXf-B042YBIr.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DsgRUVgA.js → add-to-wallet-DgdBD8_G-BTS0au4y.js} +1 -1
- package/dist/assets/{analytics-CSlaNB19.js → analytics-CiM00cgl.js} +1 -1
- package/dist/assets/analyticsHelper-CYVcHgk4.js +1 -0
- package/dist/assets/{analyticsHelper-C35dM-yG-DEMSy98E.js → analyticsHelper-FJ-cS8qS-BuiSmKz8.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-yHNADvS4.js → arrow-south-east-round-PEovUgvH-D3YhHzhy.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Ccdjr6D8.js → auto-transfer-rule-mbafm5D3-TWGQh9DI.js} +1 -1
- package/dist/assets/chartTypes-DJdbX13L-kAvAG8Kn.js +1 -0
- package/dist/assets/{commonDimensions-Pu55v5lV-z8x_VKwC.js → commonDimensions-BpYNnQtf-ywoc-6eN.js} +1 -1
- package/dist/assets/{commonTypes-BElGElM--CDiTtN3P.js → commonTypes-BVbA7QjV-BQLFb0kw.js} +1 -1
- package/dist/assets/{constants-D-PeI_mM.js → constants-B0jEPb-7.js} +1 -1
- package/dist/assets/{core-CqdPXR9B.js → core-C99WDMlL.js} +1 -1
- package/dist/assets/{dash.all.min-DbcV3v7u.js → dash.all.min-0Hz96YMr.js} +1 -1
- package/dist/assets/{detailCommon-CM8F8nQy-BxwdCC90.js → detailCommon-BRja9H93-DkTefmWX.js} +4 -4
- package/dist/assets/downloadPdf-WDHjFv79-CcJ5DqX0.js +1 -0
- package/dist/assets/empty-C_JxotMu.js +1 -0
- package/dist/assets/{empty-DTh_Ij2M.js → empty-Dxj4kD7e.js} +1 -1
- package/dist/assets/epic-D-wOw91K.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Bn-y1hvl.js → gift-box-Cmt9OgIZ-5rTUYVv5.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-a_iKaRv1.js → graphic-no-data-l-DU4J8fDt-CfThc3hK.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js → graphic-no-data-net-burn-l-CzmycA0m-BgtCb-Eb.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DqlUuE7u.js → handshake-BPg58FML-BTJKo4cA.js} +1 -1
- package/dist/assets/{index-DzUx431K.js → index-8lR-flGE.js} +1 -1
- package/dist/assets/index-B3gry9uw.js +1 -0
- package/dist/assets/{empty-DPq645sP.js → index-B66qV-7m.js} +1 -1
- package/dist/assets/index-B90BaOpo.js +1 -0
- package/dist/assets/{index-BTSZX0gU.js → index-BQLbHD9f.js} +1 -1
- package/dist/assets/{index-Bs6vtzGR.js → index-BaUtwdgr.js} +1 -1
- package/dist/assets/{index-D-WiwijD.js → index-Kp9YkIA7.js} +4979 -4728
- package/dist/assets/{lexical-D6mU3oV8.js → lexical-DuSFg2Qn.js} +1 -1
- package/dist/assets/{liveblocks-DXNKZvWw.js → liveblocks-BRWAYUb6.js} +1 -1
- package/dist/assets/{lottie-BGCmjFH9.js → lottie-CRJfZNkb.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-4ruPPd2Y-D4RWIi7y.js → mapLoadingInProgressToTreeNode-C_5Bb47i-BdPvIdOh.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B77EOrVX-C6RHHI_E.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-6AgiwAWE.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DbVBrfUp-Bv0PlGyX.js → mapSpacerToTreeNode-DvdWKHfX-3Q13yFIC.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-x9jQgIsR.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DA60r528-6g96AE00.js → mapTimeframeBalancesToTreeNode-AkxvYRty-mSVf73T7.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BPlARaPh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-B0t-DE03.js} +1 -1
- package/dist/assets/{mui-CooLgaJO.js → mui-NI7j5KJX.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D0SYshoo.js → page-detail-CWX5S47F-q5tz_pV-.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-d6QWM0fH.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-aKay5Aup.js → radio-default-CiSgisfh-Pj_E6175.js} +1 -1
- package/dist/assets/{react-DHuOianZ.js → react-B650luWj.js} +1 -1
- package/dist/assets/{react-MtwZeeNV.js → react-CO1rZiqV.js} +2 -2
- package/dist/assets/{react-BOYN8kx1.js → react-CU2liPLj.js} +1 -1
- package/dist/assets/{react-_XrYtXDi.js → react-Dg8USaCb.js} +2 -2
- package/dist/assets/{react-BBgs2Til.js → react-DudL36ZJ.js} +1 -1
- package/dist/assets/{react-B3adtom7.js → react-MZHrw8FG.js} +1 -1
- package/dist/assets/{react-CrELMTJL.js → react-VfFVTNIz.js} +1 -1
- package/dist/assets/{react-CEyM_Slo.js → react-bPRJrhZm.js} +1 -1
- package/dist/assets/{recharts-DHPcYqKb.js → recharts-CK-XmmGv.js} +1 -1
- package/dist/assets/{sentry-Dlcq8VjX.js → sentry-D0RHYOS9.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D8h0VGFI.js → shield-DOlUxcFf-BO3UIhm7.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C_hxgNjb.js +1 -0
- package/dist/assets/toChartData-B3ouXKAd-QkHWiAxq.js +1 -0
- package/dist/assets/{uploadAttachment-n14_2p7o-CBuTNS1x.js → uploadAttachment-DNNG-CMy-CV5ASbU8.js} +15 -15
- package/dist/assets/uploadReceipts-Dge0cNF1-DEL-YE5n.js +1 -0
- package/dist/assets/{url-CfIahVCp.js → url-BH27ZDzK.js} +1 -1
- package/dist/assets/{url-d3WjAGv6.js → url-CC9EPZhq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B0lPuhDh.js → useLongPress-GCK2COYQ-779sx01-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CZ22OQAj.js → usp-line-BBd1wKwW-Be4fJkJI.js} +1 -1
- package/dist/assets/{utils-CXbV7y1T.js → utils-z9KEKf_W.js} +1 -1
- package/dist/assets/{zeni-epic-state-pmiItBju.js → zeni-epic-state-Bk1TvHP-.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-BYwGsz6J-Ch1FHntj.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DeYVMh3B-D6y6Bwr0.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-Bs4dQyRL-Ctl6nn7e.js +0 -6
- package/dist/assets/ApAgingDetailPage-CF5WKuOc-G76Jhct9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-tYbxBThK-Cxpify_d.js +0 -47
- package/dist/assets/ArAgingDetailPage-0nCr6crv-Devrv-ey.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-2w8HO-NU-DEj9c-_Y.js +0 -27
- package/dist/assets/BillingSettingsPage-ayQNGWSW-12xUM18b.js +0 -44
- package/dist/assets/ChargeCardDetailPage-C9XhHqSo-BkvxAWzR.js +0 -1462
- package/dist/assets/ChargeCardPromoPage-DcmgTF8u-D_3YTdIj.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BX9fPIf_-CyjwQIJA.js +0 -36
- package/dist/assets/ConfettiBurst-BtmMysff-DSGDjDAM.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-DKOxICFF.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Cg8ti5NY-CNRxBWCb.js +0 -66
- package/dist/assets/EditPeoplePage-59PeI1Ul-7BEtuzGE.js +0 -55
- package/dist/assets/EntityDetailPage-CiO1dOzo-D_qDJTqi.js +0 -18
- package/dist/assets/EntitySummarySection-DBQxz0Ak-DIU4nLDs.js +0 -149
- package/dist/assets/ExpenseAutomationPage-isWf-Yjm-mtyufb1k.js +0 -1650
- package/dist/assets/InternationalWireVerificationPage-BJ9-Rvqo-BTBmsMoP.js +0 -65
- package/dist/assets/InvitePeoplePage-BY6iz4UW-_LkKTuEm.js +0 -12
- package/dist/assets/LabeledAddressValueField-3BEuHr_a-BjZNJRNs.js +0 -45
- package/dist/assets/LabeledDocumentField-CYvUm3Rk-DVDWNVjk.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-CJomAHzE.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-nKGmJ40l.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-DeZUaaBL.js +0 -1
- package/dist/assets/MailingDetailsSection-BwgWy_VZ-BUG7NCIc.js +0 -21
- package/dist/assets/NavBarWithPicker-Brxnh3kz-BA6BmzeV.js +0 -30
- package/dist/assets/NoDataChart--T7v827k-N1NjmdMu.js +0 -26
- package/dist/assets/NoDataTable-cJmfr934-B94qPxg7.js +0 -8
- package/dist/assets/QBOSetupSection-BevEEFTb-BnGksb95.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dklp8fND-UoScHaM0.js +0 -32
- package/dist/assets/ReimbursementPromoPage-B8BSm0-k-DoAB3kjA.js +0 -84
- package/dist/assets/RoleWithToolTip-CjvIxkPO-i8Jvb-Om.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DBfwlnR1-a5rKuO2E.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CLEKOymC-D9OGnjW_.js +0 -37
- package/dist/assets/SignInScreen-DnCtQXMH.js +0 -1
- package/dist/assets/StatementItem-CCXoBC0x-DV-yA8w8.js +0 -31
- package/dist/assets/TaskManagementPage-BO9Fcar1-D43wwO7_.js +0 -508
- package/dist/assets/TransactionDetailPage-CF5tZCkv-DaE0IPlE.js +0 -912
- package/dist/assets/TransactionList-BuFcrTEd-CDNpioP2.js +0 -147
- package/dist/assets/TransactionListPage-cSSv81G2-XuOtx5cl.js +0 -35
- package/dist/assets/Vendor2FAPopup-CyeLsWVA-BnnYCOfU.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-DwT4LvSy.js +0 -1
- package/dist/assets/VendorDetailPage-CrEIBnBt-C7KZBHYF.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-CKzqrsaT.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-DLR6ZPyB.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CP2pkywN-Ca5ooSBr.js +0 -14
- package/dist/assets/ZeniCopyright-DxhdQ6XJ-BBelv_tx.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-COT3DDGF-BEmS_Buf.js +0 -63
- package/dist/assets/analyticsHelper-CoCMocx4.js +0 -1
- package/dist/assets/chartTypes-BDwrrz9S-Xt8nSCss.js +0 -1
- package/dist/assets/downloadPdf-BF8--IAB-CLiDzBIR.js +0 -1
- package/dist/assets/epic-96Yt9tV8.js +0 -2
- package/dist/assets/index-DQJyhSzl.js +0 -1
- package/dist/assets/index-DeNk0spl.js +0 -1
- package/dist/assets/index-DfNzwEf5.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-5SdDjuyL.js +0 -1
- package/dist/assets/toCOABalancesWithID-C8uaUoxX-BzCEqBIC.js +0 -1
- package/dist/assets/toChartData-CTG-a8va-BrvbSe1U.js +0 -1
- package/dist/assets/uploadReceipts-DJRtId-4-CsfBPoke.js +0 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import{y as O,u as L,J as M,F as U,a9 as W,aQ as G,aJ as J,cF as Q,V as o,bC as X,ac as H,aR as K,o as c,g9 as Y}from"./index-Kp9YkIA7.js";import{a as T}from"./sentry-D0RHYOS9.js";import{n as h}from"./mui-NI7j5KJX.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-BrpI2HyW-DjU7Bj21.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./zeni-epic-state-Bk1TvHP-.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="04f6c195-eedf-4602-9f9f-aecdf6ff95d6",e._sentryDebugIdIdentifier="sentry-dbid-04f6c195-eedf-4602-9f9f-aecdf6ff95d6")}catch{}})();const C="billPayApprovalRuleDetailPage",k="lowerBound",E="upperBound",w="steps",b="applyToExistingBills",le={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:y=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const P=M(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,g=ae(e,l==="approval_create"&&!n),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(u?.fetchState),{upperBound:D}=g,{allApprovalRules:d,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{N()}),z=async(i,p)=>{r(p)};return T.useEffect(()=>{const i=x.watch((p,{name:$})=>{if($!=null&&p!=null){const q=J(p);Q(()=>z($,q))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&u?.fetchState==="Completed"&&I()},[B,u?.fetchState,I]),o.jsxs(se,{children:[o.jsx(X,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsxs(H,{...x,children:[o.jsx(ne,{children:o.jsx("form",{id:j(C),onSubmit:V,children:o.jsxs(ie,{children:[o.jsx(Z,{label:{label:A?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:k,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:i=>n?!0:i!=null&&i>v},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:y,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(de,{}),o.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:g[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),o.jsx(K,{formId:j(C),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&d.length===0?null:o.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:P==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(P)},separatorStyle:{marginRight:c.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[b]:[b],[w]:te(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),_(e.allAttributes),_(e.filteredAttributes),r??[])??[],[k]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,r,s)=>s&&s.length>0?s.map((n,y)=>({stepIndex:y,stepType:{selectedOption:n.action,allOptions:R},actors:{allUsers:l,selectedUsers:oe(e,n.actors),allNonUsers:r,selectedNonUsers:re(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(r=>r.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(r=>r.subType===a.value)>-1),j=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
+
`,ie=h.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
12
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
13
|
+
border-radius: ${c.sp2};
|
|
14
|
+
`,ne=h.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
height: 100%;
|
|
18
|
+
overflow-y: auto;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
`,de=h.div`
|
|
22
|
+
display: flex;
|
|
23
|
+
flex: 1;
|
|
24
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
25
|
+
min-height: 1px;
|
|
26
|
+
max-height: 1px;
|
|
27
|
+
`;export{le as D,Ae as default,j as uniqueFormName,Ie as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as W,F as S,V as t,
|
|
1
|
+
import{J as W,F as S,V as t,bC as G,T as O,aP as y,y as r,al as M,o as i,aN as P,bT as z,cp as V,cq as q,cr as F,c$ as J,u as l,b9 as K,O as T,b8 as Q,p as j,c_ as X,bt as Y,b as Z}from"./index-Kp9YkIA7.js";import{n as o}from"./mui-NI7j5KJX.js";import{a as ee}from"./sentry-D0RHYOS9.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./zeni-epic-state-Bk1TvHP-.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.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]="ca256c1a-03e2-41c9-a042-8a680c891c65",e._sentryDebugIdIdentifier="sentry-dbid-ca256c1a-03e2-41c9-a042-8a680c891c65")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},N={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:f,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,U=()=>{h(!0)},E={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(I,{$isDisabled:!0,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:U,"data-testid":y("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(z,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{f(x)},"data-testid":y("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(R,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(R,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},H))})}),v?t.jsx(V,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:E}):null]})},oe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -14,7 +14,7 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
14
14
|
border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
`,ie=o(
|
|
17
|
+
`,ie=o(K)`
|
|
18
18
|
display: flex;
|
|
19
19
|
position: relative;
|
|
20
20
|
align-items: center;
|
|
@@ -117,7 +117,7 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
117
117
|
height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
118
118
|
top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
|
|
119
119
|
left: -${i.sp6};
|
|
120
|
-
${
|
|
120
|
+
${Z.standardMedium.css};
|
|
121
121
|
text-align: center;
|
|
122
122
|
color: ${e=>e.theme.colors.grey1};
|
|
123
123
|
border: 2px solid ${e=>e.theme.colors.grey1};
|
|
@@ -141,7 +141,7 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
141
141
|
`,ue=o.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
gap: ${i.sp5};
|
|
144
|
-
`,I=o(
|
|
144
|
+
`,I=o(X)`
|
|
145
145
|
width: ${i.sp3};
|
|
146
146
|
height: ${i.sp3};
|
|
147
147
|
cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
|
|
@@ -153,7 +153,7 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
153
153
|
`,D=o.span`
|
|
154
154
|
display: inline-flex;
|
|
155
155
|
cursor: not-allowed;
|
|
156
|
-
`,
|
|
156
|
+
`,C=o(Y)`
|
|
157
157
|
width: ${i.sp3};
|
|
158
158
|
height: ${i.sp3};
|
|
159
159
|
cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
|
|
@@ -162,11 +162,11 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
162
162
|
&:hover {
|
|
163
163
|
color: ${e=>e.$isDisabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
164
164
|
}
|
|
165
|
-
`,he=o(
|
|
165
|
+
`,he=o(Q)`
|
|
166
166
|
width: ${i.sp4};
|
|
167
167
|
height: ${i.sp4};
|
|
168
168
|
color: ${e=>e.theme.colors.hero};
|
|
169
|
-
`,
|
|
169
|
+
`,B=o.span`
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
171
|
`,A=o.div`
|
|
172
172
|
display: inherit;
|
|
@@ -175,13 +175,13 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
175
175
|
${e=>`${N.amount.style(e.windowSize)}`};
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
word-break: break-word;
|
|
178
|
-
`,
|
|
178
|
+
`,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const f=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:f,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(O,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:f,onClick:()=>{w()},"data-testid":y("add-approval-rule-bill-pay"),children:[t.jsx(ye,{}),t.jsx(be,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
min-height: 100%;
|
|
181
181
|
flex-direction: column;
|
|
182
182
|
width: 100%;
|
|
183
183
|
background-color: ${e=>e.theme.colors.grey4};
|
|
184
|
-
`,
|
|
184
|
+
`,xe=o.div`
|
|
185
185
|
display: flex;
|
|
186
186
|
justify-content: flex-start;
|
|
187
187
|
height: 100%;
|
|
@@ -197,13 +197,13 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
197
197
|
align-items: center;
|
|
198
198
|
gap: ${i.sp3};
|
|
199
199
|
background-color: ${e=>e.theme.colors.grey4};
|
|
200
|
-
`,
|
|
200
|
+
`,ge=o(M)`
|
|
201
201
|
color: ${e=>e.theme.colors.hero};
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: center;
|
|
204
|
-
width: ${e=>
|
|
205
|
-
padding-top: ${e=>
|
|
206
|
-
padding-bottom: ${e=>
|
|
204
|
+
width: ${e=>b.titleWidth.valuePx(e.windowSize)};
|
|
205
|
+
padding-top: ${e=>b.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
206
|
+
padding-bottom: ${e=>b.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
207
207
|
`,$e=o(M)`
|
|
208
208
|
cursor: pointer;
|
|
209
209
|
display: flex;
|
|
@@ -211,9 +211,9 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
211
211
|
justify-content: center;
|
|
212
212
|
align-items: center;
|
|
213
213
|
padding: ${i.sp3} ${i.sp4};
|
|
214
|
-
gap: ${e=>
|
|
214
|
+
gap: ${e=>b.addApprovalGap.valuePx(e.windowSize)};
|
|
215
215
|
|
|
216
|
-
width: ${e=>
|
|
216
|
+
width: ${e=>b.width.valuePx(e.windowSize)};
|
|
217
217
|
height: ${i.sp8};
|
|
218
218
|
|
|
219
219
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -233,9 +233,9 @@ import{J as W,F as S,V as t,bB as F,T as G,aP as b,y as r,al as M,o as i,aN as z
|
|
|
233
233
|
border-color: ${e=>e.theme.colors.primary};
|
|
234
234
|
}
|
|
235
235
|
margin-bottom: ${i.sp6};
|
|
236
|
-
`,
|
|
236
|
+
`,ye=o(J)`
|
|
237
237
|
width: ${i.sp3};
|
|
238
238
|
height: ${i.sp3};
|
|
239
|
-
`,
|
|
239
|
+
`,be=o.div`
|
|
240
240
|
color: ${e=>e.theme.colors.hero};
|
|
241
|
-
`;export{
|
|
241
|
+
`;export{Ce as default};
|
package/dist/assets/{BillPayPromoPage-DZkA_0AV-B7Z2nWn1.js → BillPayPromoPage-DsXPWKAf-y7kYOpnD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as
|
|
1
|
+
import{aw as X,J as f,aQ as Y,V as e,fv as ee,bC as ie,r as B,aP as C,ae as m,F as I,o as s,aq as se,R as le,d as M,aT as U,am as oe,y as re,p as $,cE as te,aU as ae,ba as ne,u as de}from"./index-Kp9YkIA7.js";import{a as g}from"./sentry-D0RHYOS9.js";import{n as l}from"./mui-NI7j5KJX.js";import{FA as ce,bS as pe,FB as me}from"./zeni-epic-state-Bk1TvHP-.js";import{C as xe}from"./VideoPopup-CdsmU6H4-DhRBOj6Y.js";import{M as b}from"./usp-line-BBd1wKwW-Be4fJkJI.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";import"./VideoPlayer-vWSXteQ6-3WYEiLtc.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]="48955b32-1d0d-47cc-bac5-867d33815233",i._sentryDebugIdIdentifier="sentry-dbid-48955b32-1d0d-47cc-bac5-867d33815233")}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 re(de[5],44)},ge=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -23,11 +23,11 @@ import{aw as W,J as f,aQ as Y,V as e,fr as ee,bB as ie,r as B,aP as C,ae as m,F
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,je=l.div``,x=l.img``,
|
|
26
|
+
`,je=l.div``,x=l.img``,R=l.div`
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,V=l.div`
|
|
31
31
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -65,9 +65,9 @@ import{aw as W,J as f,aQ as Y,V as e,fr as ee,bB as ie,r as B,aP as C,ae as m,F
|
|
|
65
65
|
padding-left: ${s.sp3};
|
|
66
66
|
`,F=l(b)`
|
|
67
67
|
color: ${$.graphColor16Dark};
|
|
68
|
-
`,
|
|
68
|
+
`,_=l(b)`
|
|
69
69
|
color: ${$.graphColor09Dark};
|
|
70
|
-
`,
|
|
70
|
+
`,Z=l(b)`
|
|
71
71
|
color: ${$.graphColor28Dark};
|
|
72
72
|
`,fe=l(oe)`
|
|
73
73
|
margin: ${s.sp3} auto;
|
|
@@ -81,4 +81,4 @@ import{aw as W,J as f,aQ as Y,V as e,fr as ee,bB as ie,r as B,aP as C,ae as m,F
|
|
|
81
81
|
`,be=l(U)`
|
|
82
82
|
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:
|
|
84
|
+
`,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:H,onButtonClick:J,onBackClick:O,onSetupBillPaySuccess:z,onClickMenuIcon:Q})=>{const h=X(),a=f(),{billPayTermsDetails:p}=i,[q,G]=g.useState(!1),[K,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const N=()=>{o?.trackBillPayPromoScheduleDemo(),v(!0)},W=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!W,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[q===!0?e.jsx(xe,{onCancelClick:()=>{G(!1)},videoUrl:H}):null,K===!0?e.jsx(ee,{onCancelClick:()=>{v(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:O,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:Q,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(B,{variant:"secondary",label:r.scheduleDemoButton,onClick:N,"data-testid":C("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:r.orText}),e.jsx(B,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:J,"data-testid":C("billpay-setup-button")})]}),e.jsxs(fe,{children:[r.terms.terms1,e.jsx(m,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(m,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(m,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(m,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(V,{windowSize:o,children:e.jsx(E,{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(Z,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(F,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.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(Z,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.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:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(F,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(V,{windowSize:o,children:e.jsx(E,{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{Ee as default};
|
package/dist/assets/{BillPaySetUpPage-B2j-es9G-BzaThv8U.js → BillPaySetUpPage-CeMhzZ_3-CRMj2J_Q.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as $e,J as De,aQ as W,a9 as Oe,cF as Re,F as Ue,aV as Z,V as t,fd as ze,p as He,aP as Le,y as u,bC as Ne,T as qe,ac as Me,fw as z,dQ as Ge,fx as Je,bw as Qe,dG as Ke,bT as Ze,fy as Ye,aR as Xe,o as L,fz as et,u as a,al as tt,bK as it}from"./index-Kp9YkIA7.js";import{a as m}from"./sentry-D0RHYOS9.js";import{n as b}from"./mui-NI7j5KJX.js";import{bJ as nt}from"./zeni-epic-state-Bk1TvHP-.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.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]="4487f2a0-f14d-417b-8866-b27c7689896c",e._sentryDebugIdIdentifier="sentry-dbid-4487f2a0-f14d-417b-8866-b27c7689896c")}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",E="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:N,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=$e(),i=De(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,$=_.link_account.updateStatus,D=_.update_account.updateStatus,B=W(f),J=W(P.fetchState),Q=W($.fetchState),K=W(D.fetchState),w=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&$.fetchState==="Completed"||K==="In-Progress"&&D.fetchState==="Completed")&&w.reset(H(e))},[B,f,w,e,Q,$.fetchState,K,D.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[E];if(x.includes(E)){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:je,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Fe.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,We=O?r.setupVerifiedSubTitle:l.setupSubTitle,Ee=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new Z(k.colors.brandColorJadeLight):new Z(k.colors.brandColorJadeDark),_e=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:He.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:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:We}),Ee?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:X(Y),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(z,{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:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:E,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(z,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(z,{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:j},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(Ze,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Xe,{formId:X(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:O&&!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;
|
|
@@ -6,14 +6,14 @@ import{g as $e,J as De,aQ as F,a9 as Oe,cE as Re,F as Ue,aV as X,V as t,f9 as He
|
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
7
|
height: 100vh;
|
|
8
8
|
overflow-y: auto;
|
|
9
|
-
`,
|
|
9
|
+
`,ct=b(it)`
|
|
10
10
|
width: ${L.sp3};
|
|
11
11
|
height: ${L.sp3};
|
|
12
12
|
color: ${e=>e.theme.colors.hero};
|
|
13
13
|
&:hover {
|
|
14
14
|
color: ${e=>e.theme.colors.primary};
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,st=b(tt)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -39,4 +39,4 @@ import{g as $e,J as De,aQ as F,a9 as Oe,cE as Re,F as Ue,aV as X,V as t,f9 as He
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,
|
|
42
|
+
`,H=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[E]:{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}))}}}},X=e=>`${e}_form`;export{Ct as default,X as uniqueName};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{d as be,J as we,a9 as Ce,cF as Pe,aV as k,F as xe,V as t,y as P,bC as Ie,T as Ae,ac as ve,bw as je,cG as ke,aR as $e,o as a,hO as Te,e$ as Ve,f0 as De,u as x,al as Oe,gX as Be,p as Ee,O as ze}from"./index-Kp9YkIA7.js";import{a as R}from"./sentry-D0RHYOS9.js";import{n as r}from"./mui-NI7j5KJX.js";import{M as Le,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-DSnQX90O-BNyF-R2t.js";import{F as _e}from"./SetUpAccountSection-AVL_16HQ-5LWynyPp.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./zeni-epic-state-Bk1TvHP-.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";import"./commonTypes-BVbA7QjV-BQLFb0kw.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]="50bd2efb-2935-4e65-95b9-fd233f099c12",e._sentryDebugIdIdentifier="sentry-dbid-50bd2efb-2935-4e65-95b9-fd233f099c12")}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])},Re={title:new ze("standardSemiBold","largeSemiBold")},F="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:G,onUpdateAccountClick:q,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:se,onBillingAddressSave:ae,onAddressEditHandler:re})=>{const w=be(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{ae(G)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,s)=>{const g=s[I];if(c.includes(n)&&s[n]!=null){const v=f.getValues(`${n}`).country;let u=s[n];if(c.includes(`${n}.street`)&&s[n].street!=null){const{addressValue:b}=s[n].street,j=Ve(b?.country);u={street:s[n].street??l.strings.empty,city:b?.locality??l.strings.empty,state:b?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:b?.countryCode??l.strings.empty,postalCode:b?.postalCode??l.strings.empty,secondaryInfo:s[n].secondaryInfo,suite:s[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&q(g.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=f.watch((s,{name:g})=>{g!=null&&s!=null&&Pe(()=>me(g,s))});return()=>{c.unsubscribe()}});const O=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,E=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,C=Le(S.header,S.titleText,S.protectedCardNo,h);let M;E&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:E===!0,icon:{element:t.jsx("img",{src:W(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(z).name}),color:new k(O)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=R.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(He,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(qe,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Je,{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:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:O},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:a.sp2,paddingBottom:a.sp2,height:a.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:a.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:se,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},H=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]:Te(n,e.subscriptionBillingAddress)[n]}},We=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
height: 100%;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
+
`,Fe=r.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
min-height: 100%;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
width: 100%;
|
|
14
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
+
`,He=r(Oe)`
|
|
16
|
+
color: ${e=>e.theme.colors.hero};
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
width: ${e=>p.titleWidth.valuePx(e.windowSize)};
|
|
20
|
+
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
|
+
padding-bottom: ${a.sp3};
|
|
22
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
+
`,Ue=r.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: calc(100vh - 110px);
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
+
`,Je=r.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
`,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
|
|
35
|
+
margin-top: ${a.sp3};
|
|
36
|
+
margin-bottom: ${a.sp4};
|
|
37
|
+
`,Ge=r.div`
|
|
38
|
+
${e=>`${Re.title.style(e.windowSize)}`};
|
|
39
|
+
margin-bottom: ${a.sp3};
|
|
40
|
+
margin-top: ${a.sp4};
|
|
41
|
+
color: ${e=>e.isError===!0?Ee.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
+
`,qe=r.div`
|
|
43
|
+
flex: 1;
|
|
44
|
+
`,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as b,cp as V,cq as q,cr as M,kb as W,aY as Y,F as z}from"./index-Kp9YkIA7.js";import{a as f}from"./sentry-D0RHYOS9.js";import{Gh as G}from"./zeni-epic-state-Bk1TvHP-.js";import{u as K}from"./ReviewOverlay-BQVwPzKa-BObyNWD7.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./mui-NI7j5KJX.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.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]="131dec7a-34ea-4ef8-a4e0-cb0d0538195c",e._sentryDebugIdIdentifier="sentry-dbid-131dec7a-34ea-4ef8-a4e0-cb0d0538195c")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[h,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,y=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(y);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(m,y,R,p),P=e.fetchState==="Completed"&&y===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,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:h.title}),descriptionComponent:b.jsx(q,{children:h.description}),primaryButtonText:h.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:h.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&y===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:Y("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(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=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?I.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},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{J as l,V as s,aP as b,o as e}from"./index-
|
|
1
|
+
import{J as l,V as s,aP as b,o as e}from"./index-Kp9YkIA7.js";import{n as a}from"./mui-NI7j5KJX.js";import{o as p}from"./commonDimensions-BpYNnQtf-ywoc-6eN.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]="854d6bf5-b36f-4547-bc59-6ed6dca2aba2",o._sentryDebugIdIdentifier="sentry-dbid-854d6bf5-b36f-4547-bc59-6ed6dca2aba2")}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,11 +1,11 @@
|
|
|
1
|
-
import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as ft,aY as Oe,aO as ve,g8 as yt,r as ht,bB as gt,aP as xt,cF as St,co as wt,cp as bt,cq as Ct,T as Dt,ac as Tt,aR as Ot,o as r,y as F,am as Pe,F as Ve,g9 as vt,fw as Ie,eX as It,M as $t,x as kt,al as Le,a as Nt,d as jt,u as $}from"./index-D-WiwijD.js";import{a as P}from"./sentry-Dlcq8VjX.js";import{n as d}from"./mui-CooLgaJO.js";import{EN as Ft,bi as G}from"./zeni-epic-state-pmiItBju.js";import{n as Pt,z as Vt}from"./CompanyOfficerDetailsSection-DG1ZQ-UL-DV2WNNsF.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./LabeledAddressValueField-3BEuHr_a-BjZNJRNs.js";import"./LabeledCountryMultiSelectField-t7lnpz15-D8FuO5XK.js";import"./LabeledCreatableSingleSelectField-DSrFEwMO-BKreuFG-.js";import"./LabeledDocumentField-CYvUm3Rk-DVDWNVjk.js";import"./LabeledMultiSelectField-CveBXp8L-VcfEoi4D.js";import"./commonTypes-BElGElM--CDiTtN3P.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]="a5692227-9b94-40df-a467-50edba732ae3",e._sentryDebugIdIdentifier="sentry-dbid-a5692227-9b94-40df-a467-50edba732ae3")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,$[3]),subTitlePaddingBottom:new F($[3],$[3]),verificationDetailsRowGap:new F(12,$[5],$[5]),termsPaddingLeftRight:new F($[0],$[3])},Lt={stepTitle:new Nt("h6Regular","h5Regular")},$e="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:At,currency:ke,footer:Ne,strings:{empty:_t}}}=Ve.getLocalizedStrings(),ba=({businessVerificationDetails:e,allNationalityCountries:S,verficationDetailsFetchState:k,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:V,companyTitles:E,maxInsuredAmount:u,isDisabled:N,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!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:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Je})=>{const Xe=ct(),p=dt(),{updateStatus:R,companyView:A,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Qe=Te(R.fetchState),U=A?.company.company.featuresActivationInfo.connectedAccountProvider,Ye=U==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ke,J]=P.useState(!1),[M,re]=P.useState("save"),[X,Ze]=P.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,V,E,S)}),{isValid:He}=m.formState,Q=A?.company.company.companyBillPayInfo,Y=A?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?Y?.companyVerificationStatus:Q?.companyVerificationStatus,O=Object.values(b).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${O<0?1:O+1}`,et=()=>{const t=b[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=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;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=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:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${T}.${O<0?0:O}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.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||K!=null&&K?.length>0)return m.trigger(`${T}.${O<0?0:O}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&b[v]?.isPhoneVerified!==!0){m.setError(`${T}.${O}.phone`,{type:"custom"});return}const t=ut(Object.values(b).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Ft(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Je?.())}),st=async(t,n)=>{t.includes(D)?Ue?.(n[D]):t.includes(T)&&We?.(n[T])},nt=P.useCallback(mt((t,n)=>{st(t,n)},300),[]);P.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Te(e.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=A?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{J(!1),L();const t=[],n=A?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${T}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Me?.(t)},onCancelClick:()=>{J(!1)}},lt=Oe(ve(u),u,ke.currencySymbol).toUpperCase(),Z=j?.code==="pending_review"||j?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&j?.code==="pending_review"&&Qe==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Oe(ve(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,ke.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):i.jsxs(Et,{isSettings:o,children:[i.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Xe.colors.grey5,style:{zIndex:X?1:4},onBackClick:()=>{St(m.formState.dirtyFields)?J(!0):L()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?i.jsx(wt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Ut,{windowSize:p,children:[(!h||w===!1)&&i.jsx(Rt,{windowSize:p,children:o?At.infoText.businessVerification:a.title}),k==="In-Progress"||k==="Not-Started"?i.jsx(Mt,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Tt,{...m,children:i.jsxs("form",{id:je($e),onSubmit:it,children:[h&&w===!0&&i.jsxs(zt,{children:[i.jsxs(Jt,{windowSize:p,children:[i.jsx(Xt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Qt,{children:i.jsxs(Yt,{children:[i.jsx(Fe,{}),de&&i.jsx(Fe,{}),i.jsx(Kt,{})]})})]}),i.jsx(Ae,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(Pt,{companyOfficerData:b,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:N,filesEndPoint:s,authParams:B,isPopupOpen:X,openPopup:Ze,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Vt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":N,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:U,allIndustries:V,allNationalityCountries:S})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),k==="Completed"&&(y==="zeni_treasury"?Y?.companyVerificationStatus?.code!=="pending_review"&&Y?.companyVerificationStatus?.code!=="verified":Q?.businessVerificationStatus?.code!=="pending_review"&&Q?.businessVerificationStatus?.code!=="verified")?i.jsx(Ot,{formId:je($e),primaryBtn:{label:w?Ne.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:N!=null},containerStyle:{width:p==="small"?x.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?x.width.valuePx(p):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(p),paddingRight:x.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?Ne.back:a.saveDetailsButton,style:{width:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)L();else{const t=b[v],n=l?.primaryContactLocalData;M!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(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:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Ye,style:{padding:`12px ${r.sp3}`,zIndex:X?0:4}}):null]})},Bt=(e,S,k,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,V=Ve.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:S?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:V.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:V.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[T]:Object.values(B).map((u,N)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${N+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:k?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&N===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},je=e=>`${e}_form`,Et=d.div`
|
|
1
|
+
import{d as ct,J as dt,aQ as Oe,V as i,ae as W,a9 as pt,cV as ut,ay as mt,cF as ft,aY as Te,aO as ve,gc as yt,r as ht,bC as gt,aP as xt,cG as St,cp as wt,cq as bt,cr as Ct,T as Dt,ac as Ot,aR as Tt,o as r,y as V,am as je,F as Fe,gd as vt,fA as Ie,e$ as It,R as kt,x as Nt,al as Ae,O as $t,a as Pt,u as k}from"./index-Kp9YkIA7.js";import{a as j}from"./sentry-D0RHYOS9.js";import{n as d}from"./mui-NI7j5KJX.js";import{ER as Vt,bi as G}from"./zeni-epic-state-Bk1TvHP-.js";import{n as jt,z as Ft}from"./CompanyOfficerDetailsSection-CaAR0Wvk-xuxahQFB.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";import"./LabeledAddressValueField-D6dEaI69-BamQLjwy.js";import"./LabeledCountryMultiSelectField-XeBih_-f-j0Io7uqC.js";import"./LabeledCreatableSingleSelectField-BPX2Nrlf-CpM2CK18.js";import"./LabeledDocumentField-Bjg8sNsg-DrkrUAxI.js";import"./LabeledMultiSelectField-Di9Wnifv-Bms3kN_s.js";import"./commonTypes-BVbA7QjV-BQLFb0kw.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]="7c5d2a11-6983-4b4f-ac40-38bfdc8aea6c",e._sentryDebugIdIdentifier="sentry-dbid-7c5d2a11-6983-4b4f-ac40-38bfdc8aea6c")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,k[3]),subTitlePaddingBottom:new V(k[3],k[3]),verificationDetailsRowGap:new V(12,k[5],k[5]),termsPaddingLeftRight:new V(k[0],k[3])},At={stepTitle:new $t("h6Regular","h5Regular")},ke="businessVerificationPage",D="companyDetails",O="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:Lt,currency:Ne,footer:$e,strings:{empty:_t}}}=Fe.getLocalizedStrings(),ba=({businessVerificationDetails:e,allNationalityCountries:S,verficationDetailsFetchState:N,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:F,companyTitles:z,maxInsuredAmount:u,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Je})=>{const Ke=ct(),p=dt(),{updateStatus:R,companyView:L,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Qe=Oe(R.fetchState),U=L?.company.company.featuresActivationInfo.connectedAccountProvider,Xe=U==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ye,J]=j.useState(!1),[M,re]=j.useState("save"),[K,Ze]=j.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,F,z,S)}),{isValid:He}=m.formState,Q=L?.company.company.companyBillPayInfo,X=L?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?X?.companyVerificationStatus:Q?.companyVerificationStatus,T=Object.values(b).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${T<0?1:T+1}`,et=()=>{const t=b[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=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;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=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:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${O}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.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 m.trigger(`${O}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&b[v]?.isPhoneVerified!==!0){m.setError(`${O}.${T}.phone`,{type:"custom"});return}const t=ut(Object.values(b).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Je?.())}),st=async(t,n)=>{t.includes(D)?Ue?.(n[D]):t.includes(O)&&We?.(n[O])},nt=j.useCallback(mt((t,n)=>{st(t,n)},300),[]);j.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Oe(e.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=L?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{J(!1),A();const t=[],n=L?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${O}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Me?.(t)},onCancelClick:()=>{J(!1)}},lt=Te(ve(u),u,Ne.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Qe==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Te(ve(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,Ne.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]}):i.jsxs(zt,{isSettings:o,children:[i.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Ke.colors.grey5,style:{zIndex:K?1:4},onBackClick:()=>{St(m.formState.dirtyFields)?J(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?i.jsx(wt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Ut,{windowSize:p,children:[(!h||w===!1)&&i.jsx(Rt,{windowSize:p,children:o?Lt.infoText.businessVerification:a.title}),N==="In-Progress"||N==="Not-Started"?i.jsx(Mt,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Ot,{...m,children:i.jsxs("form",{id:Pe(ke),onSubmit:it,children:[h&&w===!0&&i.jsxs(Et,{children:[i.jsxs(Jt,{windowSize:p,children:[i.jsx(Kt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Qt,{children:i.jsxs(Xt,{children:[i.jsx(Ve,{}),de&&i.jsx(Ve,{}),i.jsx(Yt,{})]})})]}),i.jsx(Le,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(jt,{companyOfficerData:b,allNationalityCountries:S,allOfficers:Y??[],sectionId:O,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:s,authParams:B,isPopupOpen:K,openPopup:Ze,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Ft,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:U,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),N==="Completed"&&(y==="zeni_treasury"?X?.companyVerificationStatus?.code!=="pending_review"&&X?.companyVerificationStatus?.code!=="verified":Q?.businessVerificationStatus?.code!=="pending_review"&&Q?.businessVerificationStatus?.code!=="verified")?i.jsx(Tt,{formId:Pe(ke),primaryBtn:{label:w?$e.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:p==="small"?x.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?x.width.valuePx(p):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(p),paddingRight:x.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:a.saveDetailsButton,style:{width:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const t=b[v],n=l?.primaryContactLocalData;M!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(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:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Xe,style:{padding:`12px ${r.sp3}`,zIndex:K?0:4}}):null]})},Bt=(e,S,N,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,F=Fe.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:S?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[O]:Object.values(B).map((u,$)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:N?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=e=>`${e}_form`,zt=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
row-gap: ${r.sp3};
|
|
7
7
|
background-color: ${e=>e.isSettings?"unset":e.theme.colors.grey5};
|
|
8
|
-
`,
|
|
8
|
+
`,Et=d.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -13,7 +13,7 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
13
13
|
gap: ${r.sp1};
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-bottom: ${r.sp3};
|
|
16
|
-
`,Rt=d(
|
|
16
|
+
`,Rt=d(Ae)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -42,13 +42,13 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${r.sp11};
|
|
45
|
-
`,Gt=d(
|
|
45
|
+
`,Gt=d(je)`
|
|
46
46
|
margin-top: ${r.sp2};
|
|
47
47
|
padding: ${r.sp2} ${r.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(je)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -57,8 +57,8 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
gap: ${r.sp3};
|
|
59
59
|
width: 100%;
|
|
60
|
-
`,
|
|
61
|
-
${e=>`${
|
|
60
|
+
`,Kt=d(Pt)`
|
|
61
|
+
${e=>`${At.stepTitle.style(e.windowSize)}`};
|
|
62
62
|
color: ${e=>e.theme.colors.primary};
|
|
63
63
|
text-align: left;
|
|
64
64
|
`,Qt=d.div`
|
|
@@ -66,16 +66,16 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
66
66
|
align-items: center;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
gap: ${r.sp2};
|
|
69
|
-
`,
|
|
69
|
+
`,Xt=d.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
gap: ${r.sp3};
|
|
73
|
-
`,
|
|
73
|
+
`,Ve=d.div`
|
|
74
74
|
flex: 1;
|
|
75
75
|
height: 2px;
|
|
76
76
|
background-color: ${e=>e.theme.colors.primary};
|
|
77
77
|
border-radius: ${r.sp2};
|
|
78
|
-
`,
|
|
78
|
+
`,Yt=d.div`
|
|
79
79
|
flex: 1;
|
|
80
80
|
height: 2px;
|
|
81
81
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -102,11 +102,11 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
102
102
|
transform: translateX(0%);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
`,
|
|
105
|
+
`,Le=d(Ae)`
|
|
106
106
|
color: ${e=>e.theme.colors.hero};
|
|
107
107
|
margin-top: ${e=>e.isReadonly?r.sp0:r.sp3};
|
|
108
108
|
white-space: pre-line;
|
|
109
|
-
`,Zt=d(
|
|
109
|
+
`,Zt=d(Le)`
|
|
110
110
|
margin-top: ${r.sp0};
|
|
111
111
|
text-align: center;
|
|
112
112
|
`,Ht=d.div`
|
|
@@ -122,11 +122,11 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
122
122
|
align-items: center;
|
|
123
123
|
justify-content: center;
|
|
124
124
|
gap: ${r.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: ${r.sp4};
|
|
@@ -135,4 +135,4 @@ import{g as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cU as ut,ay as mt,cE as
|
|
|
135
135
|
&:hover {
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
}
|
|
138
|
-
`;export{ba as default,
|
|
138
|
+
`;export{ba as default,Pe as uniqueName};
|