@zeniai/web-cockpit-ui 1.15.8-qa → 1.15.9-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-BVkQ4K87-2mUod8Ze.js +21 -0
- package/dist/assets/{AIPerformancePage-nAXYlFHx-D8t7UfO6.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
- package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C6fN_njt-HYk5LymM.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-xGH31FUE.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
- package/dist/assets/{AccountRow-C0plHrDu-BHbrjlQa.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
- package/dist/assets/{AccountsPromoCardStack-BCRuoijH-BiUfxCis.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
- package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
- package/dist/assets/{AddToWalletPage-CKPw3FXG-1yjoUpl3.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
- package/dist/assets/{AgingReportsPage-BLYXtrbx-ChP2VVRq.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
- package/dist/assets/{AllUserItems-CIuKSRs--BSTdrFJx.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
- package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
- package/dist/assets/{AppBasePage-zQkWIZIS-J73aeT5P.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
- package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-Cn6qw6gU.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
- package/dist/assets/{ArAgingChart-Dv9GPrlk-BDO04yvC.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-vW-JcTgF-CdtFinK-.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
- package/dist/assets/{AttachmentView-CHgDKLit-CNDwc0Eo.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
- package/dist/assets/{BankAccountSection-danXlJW--CGFGOQdm.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
- package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-DBmd09rV.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
- package/dist/assets/{BillDetailPage-BD2IX-iP-QIATdRex.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-JKxreggo.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-DrTI5_46.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
- package/dist/assets/{BillPayPromoPage-C7PX-EVL-DDmbTE9O.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-Czno3Zre-BE6uTwDe.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
- package/dist/assets/{BillingSettingsPage-DwBAvbyP-BOeTv55Y.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
- package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
- package/dist/assets/{BoxItem-CQn8-mlp-BpjhTACd.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Pj_43PYG-BBfAZpRu.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
- package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
- package/dist/assets/{CashbackDetailPage-BPGA9iT0-pfH6WY-d.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-draAZn9S-BLHAWsUD.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
- package/dist/assets/{ChargeCardListPage-gsG1eX_i-DncsEeIV.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DVFpdT9f-D6Qv1C8v.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
- package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-KYpdTWjw.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
- package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-63DpNOd1.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-BSLQYECC.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-D2wZXg2E.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
- package/dist/assets/{CollapsableReportTable-D9EGRkFb-rtyJvli3.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
- package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
- package/dist/assets/{CompanyPassportCard--3g9aidd-DEP92iFu.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
- package/dist/assets/{CompanyPassportPage-BhF3zWN0-D1AeDDw0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
- package/dist/assets/{CompleteProfile-iee5HgiC-DWDz1H5n.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
- package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-DUgUVqol.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-BQoH4AnG.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
- package/dist/assets/{CurrencySelectField-CcU9PAOW-UhjAv5pw.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-BfLZrVA_.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CP969grW-DSt_mh2c.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-KXFyyrbX.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
- package/dist/assets/{Dashboard-CKSEolZn-KkJW27CG.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
- package/dist/assets/{DashboardReportPage-JLORU_HF-Cpq1a7z1.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-AvtdKUwZ.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BCChPgpu.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-DBkE3G1h.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
- package/dist/assets/{DownloadOverlay-D7AI3CGS-BSXz1TYL.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
- package/dist/assets/{DrawerPage-BiQurb8Q-CwosoM_H.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
- package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-C2zvDGNE.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
- package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
- package/dist/assets/{EntitySummarySection-dbyZ3ZMD-DIUFVdBF.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-D_hqg6CV.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
- package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-ozrsfKpW.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
- package/dist/assets/{ExpressPayPage-CaBFl4M3-CpnlRAIb.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
- package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
- package/dist/assets/{FollowStepsSection-BGZ3rzSO-DZqA0Ls-.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-DIiVT0qf-C1h-R-9P.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
- package/dist/assets/{InformationCardStack-BZIU9Bwm-BPjI_Aqf.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
- package/dist/assets/{InsightsCardStack-BZ6yws_x-l5SDGStI.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
- package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-D0GHOz8k.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-D4jFazij.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
- package/dist/assets/{InviteFormPage-C-_fbwpS-Dc7fjvDO.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
- package/dist/assets/{InvitePageListView-DX3LFpcZ-x0SBH5kb.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
- package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
- package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BSax9G6t-li0Yc8Qz.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
- package/dist/assets/{LabeledAddressValue-kz4tRnLH-fkTasFZL.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D950JjHi-CobscTGb.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--D8QByb_Y.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
- package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
- package/dist/assets/{LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
- package/dist/assets/{LabeledText-D0g7m29R-cxnm614T.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
- package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
- package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
- package/dist/assets/{LockCardPage-XgZwsozn-DcNxXIWb.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
- package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-hreLPWO1.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
- package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-D0Sufsix.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
- package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
- package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
- package/dist/assets/{NavigationArrow-BuPVGh38-XNHRi9o5.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
- package/dist/assets/{NavigationDots-CLd0nZZT-CV65Lnrl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DrYC7XeB.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
- package/dist/assets/{NoDataChart-VrW0gNeK-D9AHc7Vl.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
- package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
- package/dist/assets/{NotFoundPage-CvuhMeh3-DqU44v-s.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-612cyOPa-B2Br4UTC.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
- package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
- package/dist/assets/{NotificationsPage-DOq8YY_K-DXXt11Bj.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
- package/dist/assets/{OpExByVendorPage-JhAQyVWO-CFIAoogA.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
- package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B8WG6VDM-DheE6AGf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
- package/dist/assets/{PeoplePage-BJui-Wgk-ZqLOzULs.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
- package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
- package/dist/assets/{ProductsCarousel-CGhEa82h-DIdMDRd_.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
- package/dist/assets/{PromoBaseCards-1PF_kyGP-BRJ2sUha.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BVpU5kvg-HDDG_kF6.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
- package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-zXLIrPpr.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-ClYVlFhQ.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
- package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-BjjCmbcS.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-DF7X2SfJ.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
- package/dist/assets/{ReloadCard-crbWeOPP-CXnI4BBC.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-KXoOW677-VB10UJ6e.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
- package/dist/assets/{ReportsPage-C3Jj54B2-BeGQBjYf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
- package/dist/assets/{RevenueChart-B2lwdex1-Cn6eIKBB.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BzJuymlx-De8jeqFq.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
- package/dist/assets/{ReviewOverlay-CXHcM5J8-CWmuYC1c.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
- package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-4LVdyrEA.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-MEIZsagy-Bs57M6oJ.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
- package/dist/assets/{ScreenRoutes-Br3O3Bv3.js → ScreenRoutes-esZWtP8Y.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Drp97o6h-CUmuMQTP.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
- package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
- package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-DsXDsMNB.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CDT-okI2.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
- package/dist/assets/{SpendManagementSection-WqBeexgm-FC3yMOoP.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
- package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
- package/dist/assets/{StatementsPage-ProqQbaP-Bwe3MvOf.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
- package/dist/assets/{StatusSwitcher-CWQs9lpu-vdzoI5uC.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
- package/dist/assets/{SubTabSwitcher-B2uBojsp-BscSJfWm.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
- package/dist/assets/{SummaryCard-Dcd_VUph-CtvPqFVw.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
- package/dist/assets/{TaskManagementPage-BM9VR6Lt-96HNn42p.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
- package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-C7Lz4In0.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
- package/dist/assets/{TimeframeSwitcher--oC4RNb6-9wGsnDTh.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-IGT58opJ.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
- package/dist/assets/{TopExCard-DQ50kCvS-ChFGt_1f.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
- package/dist/assets/{TopExDetailPage-iwv1KNmn-D2goxRJ1.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
- package/dist/assets/{TransactionDetailPage-dcUFs9xb-D1c2i9oL.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
- package/dist/assets/{TransactionList-1g-61_2b-BsVHB-dP.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
- package/dist/assets/{TransactionListBig-CSrLWjaV-DmreU3Pg.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
- package/dist/assets/{TransactionListPage-CKkWpoxH-DwZxceId.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Da7F6NI9.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
- package/dist/assets/{TransferDrawerPage-nyepeege-C5aOIw_t.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-CkaOtstB-Cb7VOc7Q.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-B55rqmLO-B6nyli4-.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
- package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
- package/dist/assets/{TrendChart-BsSVNJm5-C5P4NUjk.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-BzXjBs-h.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CEtqPMTy-CkFNHSgJ.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BPoFrkoj-CrkNrLcq.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
- package/dist/assets/{VendorDetailPage-C0qX459r-DAL6sRtd.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
- package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-DUD0rine.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-BgMJtPzx.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
- package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DKjAmytq.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
- package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-BmGEajTn.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
- package/dist/assets/{VerifyDevice-B23jU0_c-Y4SYDFq4.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
- package/dist/assets/{VideoPlayer-CylTUX4X-DSxfswME.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
- package/dist/assets/{VideoPopup-C9x0ntQ5-BVA3i-oV.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DrjxA1t_-BoFSpSiS.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-CIWx2G2v.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-C79um01B.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-B2My929b.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-BE975QGg-D-DppFIe.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
- package/dist/assets/{ZeniCopyright-eB9rNuZ3-cNG8Rw7j.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
- package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
- package/dist/assets/{analyticsHelper-CLY1vV_E-BwSnChaf.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
- package/dist/assets/{analyticsHelper-fz25hsmq.js → analyticsHelper-CM3pI6rO.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
- package/dist/assets/{chartTypes-BjaXr-A2-D3DBmfud.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
- package/dist/assets/{commonDimensions-C0X17W9N-CR9paNIq.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
- package/dist/assets/{commonTypes-BN7Uh_8W-BM1Dtb_1.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
- package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
- package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
- package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
- package/dist/assets/{detailCommon-D9PsnkY1-D9_PN47h.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
- package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
- package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
- package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
- package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
- package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
- package/dist/assets/{index-e-SZUuyN.js → index-AqGiWrum.js} +4262 -4259
- package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
- package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
- package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
- package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
- package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
- package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
- package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
- package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
- package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
- package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
- package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
- package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
- package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
- package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
- package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
- package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
- package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
- package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
- package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
- package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
- package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
- package/dist/assets/{uploadAttachment-BLADYUsp-CuyJL9Ae.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
- package/dist/assets/{uploadReceipts-CLN2DLHQ-BcmoXhPJ.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
- package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
- package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
- package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
- package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-C4kSZtcW-CRAncXjZ.js +0 -21
- package/dist/assets/AccountInfoPage-BgYgT10O-BPubXPU8.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DRmaVRzS-Dz8UCOQu.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-HjaseCvO.js +0 -6
- package/dist/assets/ApAgingDetailPage-DeqICFKW-BGrGI80f.js +0 -46
- package/dist/assets/AppDrawerContent-OIrm7j-k-CAl-h4tc.js +0 -91
- package/dist/assets/BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js +0 -51
- package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-Btjur5rB.js +0 -1
- package/dist/assets/CardNumberSubText-2Tw37MOu-Na5odSIe.js +0 -21
- package/dist/assets/ChargeCardPromoPage-DIxy-YcS-CPRuhZCR.js +0 -222
- package/dist/assets/ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-DlPVcAtZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-CBl7xIv9.js +0 -66
- package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-DgEcVBWB.js +0 -66
- package/dist/assets/EditPeoplePage-DkLTV485-DSmYd3gF.js +0 -55
- package/dist/assets/EntityDetailPage-ougFUO1M-D5lOJcsX.js +0 -18
- package/dist/assets/FeaturePreviewPage-BY7VDaUB-BlOtvf2P.js +0 -11
- package/dist/assets/InsightsSection-CdlmvyOs-CSbQ6jxV.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-CzF6c2rU.js +0 -65
- package/dist/assets/InvitePeoplePage-DOfw4ntH-Bnv1S2jS.js +0 -12
- package/dist/assets/InvoiceUploadSection-7NLq2wUY-D1Ujr_CT.js +0 -140
- package/dist/assets/LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-8L8nXgg2.js +0 -59
- package/dist/assets/LinkJETransactionPage-DQUYzOEN-CAqtea48.js +0 -98
- package/dist/assets/LowBalancePopup-ChBTdcM2-BRhnRaDc.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-Caq0ps9o.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-Cl_8tBOk.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-oQ1LN-Ng.js +0 -1
- package/dist/assets/MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-BmwV3pjH.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BHZrydBY-B_909T6y.js +0 -85
- package/dist/assets/NavBarWithPicker-DfM5Vi5g-BWJESbaI.js +0 -30
- package/dist/assets/NoDataTable-CZaHTbXi-cbckRR4v.js +0 -8
- package/dist/assets/NotificationsListConfig-CrNHxW9v-KkWyZsCx.js +0 -1
- package/dist/assets/OverlayContainerPage-CEiw6dk7-D-uaIGKT.js +0 -11
- package/dist/assets/QBOSetupSection-QpfgbXqT-DygUgRVU.js +0 -79
- package/dist/assets/ReimbursementDetailPage-BntmMmsa-DBIHpTWQ.js +0 -314
- package/dist/assets/ReimbursementPromoPage--ddzF7ri-C8Whx13o.js +0 -84
- package/dist/assets/RoleWithToolTip-q4rQTPKj-DnZtHqjj.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-RHoI8Wq9.js +0 -37
- package/dist/assets/SignIn-YqQXhCUb-DTchfIMW.js +0 -491
- package/dist/assets/SignInScreen-BEl-iT5I.js +0 -1
- package/dist/assets/StatementItem-DNtPyOiC-Cwms937J.js +0 -31
- package/dist/assets/TreasuryStatementsPage-DA72LRB2-BCFMT-Wb.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-BvK8_LPp.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-19i7WD8j.js +0 -38
- package/dist/assets/VendorACHDetailsPage-_UmamDKx-DnLhvKeC.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-D6ans18-.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-CGNH7X2x.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-Jh4OQT7x.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb-D5scnWJV.js +0 -63
- package/dist/assets/downloadPdf-DE7Hd8jE-BAK9xguG.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-CE09aSrt.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-hu7JWeUA.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-DtuP5OpB.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-BgK_pIe_.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-H65zpMKu.js +0 -1
- package/dist/assets/toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js +0 -1
- package/dist/assets/toChartData-D5QdTlGa-DLv4zZlP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Q as L,F as v,V as t,bB as N,T as M,aP as S,y as r,al as j,o,aN as P,co as E,cp as H,cq as U,c_ as V,u as l,b9 as F,a as k,b8 as G,p as z,cZ as q,bt as J,b as Z}from"./index-AqGiWrum.js";import{n as i}from"./mui-C_Pjuwl5.js";import{a as K}from"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="5a284ce9-8f94-4238-b575-d15a22a1bd0a",e._sentryDebugIdIdentifier="sentry-dbid-5a284ce9-8f94-4238-b575-d15a22a1bd0a")}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)},A={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeMedium")},O=({showDeleteBtn:e=!1,isLastSection:h=!1,approvalRule:d,onEditRuleClick:b,onDeleteRuleClick:w})=>{const[x,g]=K.useState(!1),n=L(),{range:u}=d.criteria[0],{steps:$,approvalRuleId:m}=d,a=v.getLocalizedStrings().commonSetUp.approval,y=()=>{g(!0)},D={onOkClick:()=>{g(!1),w?.(m)},onCancelClick:()=>{g(!1)}};return t.jsxs(Q,{windowSize:n,isLastSection:h,children:[t.jsxs(X,{windowSize:n,children:[t.jsxs(se,{children:[t.jsxs(B,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(Y,{children:[t.jsx(T,{}),t.jsx(ee,{}),t.jsx(T,{})]}),u.max==null?t.jsx(de,{}):t.jsx(B,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e&&t.jsx(ae,{onClick:y,"data-testid":S("delete-approval-rule-bill-pay",d.approvalRuleId)}),t.jsx(pe,{onClick:()=>{b(m)},"data-testid":S("edit-approval-rule-bill-pay",d.approvalRuleId)})]})]}),t.jsx(te,{windowSize:n,children:t.jsx(oe,{isSingleStep:$.length===1,windowSize:n,children:$.map((c,W)=>t.jsxs(ie,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[c.action==="require_approval"?t.jsx(re,{children:a.requireText}):t.jsx(le,{children:a.notifyText}),c.nonUserActors!=null&&c.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(C,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),c.operator!="is"?t.jsx(R,{className:"operator",children:c.operator}):null]},`${p.subType}_${_}`)),c.actors.map(p=>t.jsxs(C,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),c.operator!="is"?t.jsx(R,{className:"operator",children:c.operator}):null]},p.userId))]},W))})}),x?t.jsx(E,{titleComponent:t.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(H,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:D}):null]})},Q=i.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 L,O as v,V as t,bC as M,T as N,aQ as S,y as r,al as j,o,aO as P,cp a
|
|
|
14
14
|
border-color: ${e=>e.theme.colors.primary};
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
`,
|
|
17
|
+
`,X=i(F)`
|
|
18
18
|
display: flex;
|
|
19
19
|
position: relative;
|
|
20
20
|
align-items: center;
|
|
@@ -22,7 +22,7 @@ import{J as L,O as v,V as t,bC as M,T as N,aQ as S,y as r,al as j,o,aO as P,cp a
|
|
|
22
22
|
text-align: center;
|
|
23
23
|
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
24
24
|
gap: ${o.sp2};
|
|
25
|
-
`,
|
|
25
|
+
`,Y=i.div`
|
|
26
26
|
align-items: center;
|
|
27
27
|
display: flex;
|
|
28
28
|
justify-content: center;
|
|
@@ -117,7 +117,7 @@ import{J as L,O as v,V as t,bC as M,T as N,aQ as S,y as r,al as j,o,aO as P,cp a
|
|
|
117
117
|
height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
118
118
|
top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
|
|
119
119
|
left: -${o.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};
|
|
@@ -170,7 +170,7 @@ import{J as L,O as v,V as t,bC as M,T as N,aQ as S,y as r,al as j,o,aO as P,cp a
|
|
|
170
170
|
${e=>`${A.amount.style(e.windowSize)}`};
|
|
171
171
|
color: ${e=>e.theme.colors.primary};
|
|
172
172
|
word-break: break-word;
|
|
173
|
-
`,f={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])},Re=({approvalView:e,onBackClick:h,onEditRuleClick:d,onDeleteRuleClick:b})=>{const w=L(),{fetchState:x,deleteStatus:g}=e,n=v.getLocalizedStrings().commonSetUp.approval,u=v.getLocalizedStrings().spendManagement.billPay.billPayApproval,$=g.fetchState,m=e.listeningToPusherEvent;return t.jsxs(ce,{children:[t.jsx(
|
|
173
|
+
`,f={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])},Re=({approvalView:e,onBackClick:h,onEditRuleClick:d,onDeleteRuleClick:b})=>{const w=L(),{fetchState:x,deleteStatus:g}=e,n=v.getLocalizedStrings().commonSetUp.approval,u=v.getLocalizedStrings().spendManagement.billPay.billPayApproval,$=g.fetchState,m=e.listeningToPusherEvent;return t.jsxs(ce,{children:[t.jsx(N,{title:n.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{h()},source:"BillPayApprovalRulesPage"}),t.jsxs(he,{children:[t.jsx(me,{windowSize:w,children:u.approvalPageSubTitle}),x==="In-Progress"||x==="Not-Started"||$==="In-Progress"||m===!0?t.jsxs(ue,{children:[t.jsx(M,{size:m===!0?"Large":"ExtraLarge",start:!0}),m===!0&&t.jsx(we,{windowSize:w,children:n.updatingApprovalRules.replace("__entity__","bills")})]}):x==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,y)=>t.jsx(O,{showDeleteBtn:y!==0,approvalRule:a,isLastSection:y===e.allApprovalRules.length-1,onEditRuleClick:d,onDeleteRuleClick:b},a.approvalRuleId)),t.jsxs(xe,{windowSize:w,onClick:()=>{d()},"data-testid":S("add-approval-rule-bill-pay"),children:[t.jsx(ge,{}),t.jsx($e,{children:n.addApprovalText})]})]}):null]})]})},ce=i.div`
|
|
174
174
|
display: flex;
|
|
175
175
|
min-height: 100%;
|
|
176
176
|
flex-direction: column;
|
package/dist/assets/{BillPayPromoPage-C7PX-EVL-DDmbTE9O.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aw as W,Q as j,aQ as Y,V as e,fr as ee,bB as ie,r as B,aP as C,ae as m,F as I,o as s,aq as se,M as le,g as M,aT as U,am as oe,y as re,p as $,cD as te,aU as ae,ba as ne,u as de}from"./index-AqGiWrum.js";import{a as g}from"./sentry-CTKU7CLc.js";import{n as l}from"./mui-C_Pjuwl5.js";import{Fw as ce,bS as pe,Fx as me}from"./zeni-epic-state-Cl3KIlic.js";import{f as xe}from"./VideoPopup-Cni9gWLX-Db1l5e36.js";import{M as b}from"./usp-line-BBd1wKwW-DQyOXy13.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./VideoPlayer-BDCZd8K1-B6XIA6Sy.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]="d4afb3c0-f9ce-4867-bb5a-e9de40fadd51",i._sentryDebugIdIdentifier="sentry-dbid-d4afb3c0-f9ce-4867-bb5a-e9de40fadd51")}catch{}})();const D="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -12,7 +12,7 @@ import{ax as W,J as j,aR as Y,V as e,fs as ee,bC as ie,r as B,aQ as C,ae as x,O
|
|
|
12
12
|
margin: auto;
|
|
13
13
|
padding: ${s.sp7} ${s.sp0};
|
|
14
14
|
color: ${i=>i.theme.colors.primary};
|
|
15
|
-
`,
|
|
15
|
+
`,ye=l(se)`
|
|
16
16
|
max-width: 600px;
|
|
17
17
|
margin: auto;
|
|
18
18
|
padding: ${s.sp5} ${s.sp0};
|
|
@@ -23,11 +23,11 @@ import{ax as W,J as j,aR as Y,V as e,fs as ee,bC as ie,r as B,aQ as C,ae as x,O
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,
|
|
26
|
+
`,fe=l.div``,x=l.img``,V=l.div`
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,_=l.div`
|
|
31
31
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -35,7 +35,7 @@ import{ax as W,J as j,aR as Y,V as e,fs as ee,bC as ie,r as B,aQ as C,ae as x,O
|
|
|
35
35
|
align-content: center;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
|
-
`,
|
|
38
|
+
`,E=l.div`
|
|
39
39
|
margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
|
|
40
40
|
margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
|
|
41
41
|
background: ${i=>i.theme.colors.grey3};
|
|
@@ -57,17 +57,17 @@ import{ax as W,J as j,aR as Y,V as e,fs as ee,bC as ie,r as B,aQ as C,ae as x,O
|
|
|
57
57
|
color: ${i=>i.theme.colors.champion};
|
|
58
58
|
`,w=l(ae)`
|
|
59
59
|
color: ${i=>i.theme.colors.champion};
|
|
60
|
-
`,
|
|
60
|
+
`,y=l(U)`
|
|
61
61
|
color: ${i=>i.theme.colors.champion};
|
|
62
|
-
`,
|
|
62
|
+
`,f=l(te)`
|
|
63
63
|
color: ${i=>i.theme.colors.champion};
|
|
64
64
|
`,d=l.div``,c=l.div`
|
|
65
65
|
padding-left: ${s.sp3};
|
|
66
|
-
`,
|
|
66
|
+
`,F=l(b)`
|
|
67
67
|
color: ${$.graphColor16Dark};
|
|
68
|
-
`,
|
|
68
|
+
`,Q=l(b)`
|
|
69
69
|
color: ${$.graphColor09Dark};
|
|
70
|
-
`,
|
|
70
|
+
`,R=l(b)`
|
|
71
71
|
color: ${$.graphColor28Dark};
|
|
72
72
|
`,je=l(oe)`
|
|
73
73
|
margin: ${s.sp3} auto;
|
|
@@ -81,4 +81,4 @@ import{ax as W,J as j,aR as Y,V as e,fs as ee,bC as ie,r as B,aQ as C,ae as x,O
|
|
|
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=
|
|
84
|
+
`,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:H,onButtonClick:q,onBackClick:O,onSetupBillPaySuccess:z,onClickMenuIcon:Z})=>{const h=W(),a=j(),{billPayTermsDetails:p}=i,[J,K]=g.useState(!1),[N,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const X=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},G=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!G,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[J===!0?e.jsx(xe,{onCancelClick:()=>{K(!1)},videoUrl:H}):null,N===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:O,showBackButton:!me(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:Z,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(fe,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(B,{variant:"secondary",label:r.scheduleDemoButton,onClick:X,"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:q,"data-testid":C("billpay-setup-button")})]}),e.jsxs(je,{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=j();return e.jsxs(L,{windowSize:o,children:[e.jsx(_,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(R,{})}),e.jsxs(c,{children:[e.jsx(f,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(Q,{})}),e.jsxs(c,{children:[e.jsx(f,{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(f,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),o=j();return e.jsxs(L,{windowSize:o,children:[e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(R,{})}),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(Q,{})}),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(_,{windowSize:o,children:e.jsx(E,{windowSize:o,children:i.mode==="dark"?e.jsx(x,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(x,{src:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ee as default};
|
package/dist/assets/{BillPaySetUpPage-Czno3Zre-BE6uTwDe.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as De,Q as $e,aQ as F,a9 as Oe,cE as Re,F as Ue,aV as X,V as t,f9 as He,p as ze,aP as Le,y as u,bB as Ne,T as qe,ac as Me,fs as H,dO as Ge,ft as Je,bw as Qe,dE as Ze,bS as Xe,fu as Ye,aR as Ke,o as L,fv as et,u as a,al as tt,bJ as it}from"./index-AqGiWrum.js";import{a as m}from"./sentry-CTKU7CLc.js";import{n as b}from"./mui-C_Pjuwl5.js";import{bJ as nt}from"./zeni-epic-state-Cl3KIlic.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="b998a1d7-d802-4a6e-9015-7a5b3fe76590",e._sentryDebugIdIdentifier="sentry-dbid-b998a1d7-d802-4a6e-9015-7a5b3fe76590")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Y="billPaySetUpPage",W="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:c,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:se,onSetupApprovalRulesSectionClick:ce,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:N,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=De(),i=$e(),[A,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:s,primaryFundingAccount:d,allFundingAccounts:M}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,$=_.update_account.updateStatus,B=F(f),J=F(P.fetchState),Q=F(D.fetchState),Z=F($.fetchState),w=Oe({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[s,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed"||Z==="In-Progress"&&$.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,Q,D.fetchState,Z,$.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=M.find(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((E,{name:o})=>{o!=null&&E!=null&&Re(()=>Be(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&N()},[N,J,P.fetchState]);const{commonSetUp:je,spendManagement:Ee}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Ee.billPay,O=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),R=T?.isBillPayEnabled===!0,Fe=O?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new X(k.colors.brandColorJadeLight):new X(k.colors.brandColorJadeDark),_e=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?S(!0):se?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:s,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(ct,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Me,{...w,children:t.jsx("form",{id:K(Y),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:M,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:ce,status:V.length>0?Ie:void 0})]})})}),c===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color: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(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(st,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),O&&!R&&V.length>0?t.jsx(Ke,{formId:K(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{e as De,J as Oe,aR as E,a9 as $e,cF as Re,O as Ue,aW as Z,V as t,fa as He
|
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
7
|
height: 100vh;
|
|
8
8
|
overflow-y: auto;
|
|
9
|
-
`,
|
|
9
|
+
`,st=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
|
+
`,ct=b(tt)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -39,4 +39,4 @@ import{e as De,J as Oe,aR as E,a9 as $e,cF as Re,O as Ue,aW as Z,V as t,fa as He
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[W]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(
|
|
42
|
+
`,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[W]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(c=>({label:c.label,value:c.id,isRecommended:c.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(c=>({label:c.accountName,value:c.accountId}))}}}},K=e=>`${e}_form`;export{Ct as default,K as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as we,Q as be,a9 as Ce,cE as Pe,aV as j,F as xe,V as t,y as P,bB as Ie,T as Ae,ac as ve,bw as ke,cF as je,aR as Te,o as s,hK as $e,eX as Ve,eY as Be,u as x,al as De,gT as Ee,p as ze,a as Le}from"./index-AqGiWrum.js";import{a as F}from"./sentry-CTKU7CLc.js";import{n as r}from"./mui-C_Pjuwl5.js";import{M as Oe,o as R,t as Me}from"./PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js";import{F as _e}from"./SetUpAccountSection-DHNGWTAX-B_r28Ehm.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./commonTypes-CG4vvGyc-CziHlkCE.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]="06afda0d-f92f-46cd-beb3-4467376749f2",e._sentryDebugIdIdentifier="sentry-dbid-06afda0d-f92f-46cd-beb3-4467376749f2")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Fe={title:new Le("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:K,stripeKey:N,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:Z,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),B=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,k=Ve(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:k,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==k.selectedOption&&(u={...u,country:k})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Be(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&J(g.account.selectedOption,y.paymentAccountId)};F.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const D=b.mode==="light"?new j(b.colors.brandColorJadeLight):new j(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=xe.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,C=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:R(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(L).name}),color:new j(D)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=F.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{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(Je,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Ke,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Z,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(ke,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:D},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ne(o,l.headers.billingAddress,ce,q,d)]})})})}),je(f.formState.dirtyFields)?t.jsx(Te,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:B?.fetchState==="In-Progress",isDisabled:B?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,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]:$e(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
height: 100%;
|
|
@@ -12,7 +12,7 @@ import{e as we,J as be,a9 as Ce,cF as Pe,aW as j,O as xe,V as t,y as P,bC as Ie,
|
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
width: 100%;
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
-
`,He=r(
|
|
15
|
+
`,He=r(De)`
|
|
16
16
|
color: ${e=>e.theme.colors.hero};
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: center;
|
|
@@ -31,14 +31,14 @@ import{e as we,J as be,a9 as Ce,cF as Pe,aW as j,O as xe,V as t,y as P,bC as Ie,
|
|
|
31
31
|
`,Ke=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
`,Ne=(e,i,m,d,A)=>t.jsxs(
|
|
34
|
+
`,Ne=(e,i,m,d,A)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Ee,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
|
|
35
35
|
margin-top: ${s.sp3};
|
|
36
36
|
margin-bottom: ${s.sp4};
|
|
37
|
-
`,
|
|
38
|
-
${e=>`${
|
|
37
|
+
`,Ge=r.div`
|
|
38
|
+
${e=>`${Fe.title.style(e.windowSize)}`};
|
|
39
39
|
margin-bottom: ${s.sp3};
|
|
40
40
|
margin-top: ${s.sp4};
|
|
41
|
-
color: ${e=>e.isError===!0?
|
|
42
|
-
`,
|
|
41
|
+
color: ${e=>e.isError===!0?ze.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
+
`,Je=r.div`
|
|
43
43
|
flex: 1;
|
|
44
44
|
`,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as b,co as V,cp as q,cq as M,k6 as W,aY as Y,F as z}from"./index-AqGiWrum.js";import{a as g}from"./sentry-CTKU7CLc.js";import{Gd as G}from"./zeni-epic-state-Cl3KIlic.js";import{p as J}from"./ReviewOverlay-Zcv9Vljd-hWfuTO7b.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./mui-C_Pjuwl5.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="054b8926-15b3-470d-9830-289c7305eaa4",e._sentryDebugIdIdentifier="sentry-dbid-054b8926-15b3-470d-9830-289c7305eaa4")}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:f,currentSubTab:_}=e,u=i==="review",[C,w]=g.useState(!1),[n,v]=g.useState(T(e,u)),[p,k]=g.useState(u),[B,E]=g.useState(0),[y,j]=g.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});g.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,h=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,f,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,f,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,f,_),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:y.title}),descriptionComponent:b.jsx(q,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(J,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel: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:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},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:f,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?f:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Q as l,V as s,aP as b,o as e}from"./index-AqGiWrum.js";import{n as a}from"./mui-C_Pjuwl5.js";import{o as p}from"./commonDimensions-B94VpAp0-CDUYcayo.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]="22547bd2-e821-4980-8676-a78c580d2f56",o._sentryDebugIdIdentifier="sentry-dbid-22547bd2-e821-4980-8676-a78c580d2f56")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as ct,J as dt,aR as Oe,V as s,ae as W,a9 as pt,cV as ut,az as mt,cF as ft,aZ as Te,aP as ve,g9 as yt,r as ht,bC as gt,aQ as xt,cG as St,cp as wt,cq as bt,cr as Ct,T as Dt,ac as Ot,aS as Tt,o as r,y as P,am as Fe,O as Ve,ga as vt,fx as Ie,eY as It,a as $t,x as kt,al as Le,F as Nt,M as jt,c as $}from"./index-e-SZUuyN.js";import{a as F}from"./sentry-Dla7mstv.js";import{n as d}from"./mui-mhzAEcDs.js";import{EN as Pt,bi as G}from"./zeni-epic-state-CSmiPBaP.js";import{n as Ft,z as Vt}from"./CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./LabeledAddressValueField-D950JjHi-CobscTGb.js";import"./LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js";import"./LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js";import"./LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js";import"./LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js";import"./commonTypes-BN7Uh_8W-BM1Dtb_1.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]="531026a7-beb5-4852-a2c0-e00cd83090b0",e._sentryDebugIdIdentifier="sentry-dbid-531026a7-beb5-4852-a2c0-e00cd83090b0")}catch{}})();const x={width:new P(343,580,726),titleWidth:new P(343,580,726,826),subTitlePaddingTop:new P(12,$[3]),subTitlePaddingBottom:new P($[3],$[3]),verificationDetailsRowGap:new P(12,$[5],$[5]),termsPaddingLeftRight:new P($[0],$[3])},Lt={stepTitle:new Nt("h6Regular","h5Regular")},$e="businessVerificationPage",D="companyDetails",O="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:i,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:se,onCompanyDetailsChanged:Me,updateFilesEntity:ie,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Je})=>{const Qe=ct(),p=dt(),{updateStatus:R,companyView:A,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Xe=Oe(R.fetchState),M=A?.company.company.featuresActivationInfo.connectedAccountProvider,Ye=M==="unit"?s.jsxs(qt,{children:[a.terms.term1,s.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,s.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,s.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,s.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ze,J]=F.useState(!1),[U,re]=F.useState("save"),[Q,Ke]=F.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,V,E,S)}),{isValid:He}=m.formState,X=A?.company.company.companyBillPayInfo,Y=A?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?Y?.companyVerificationStatus:X?.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||Z!=null&&Z?.length>0)return m.trigger(`${O}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},st=m.handleSubmit(()=>{if(U!=="verification"&&re("verification"),M==="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);Pt(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Je?.())}),it=async(t,n)=>{t.includes(D)?Me?.(n[D]):t.includes(O)&&We?.(n[O])},nt=F.useCallback(mt((t,n)=>{it(t,n)},300),[]);F.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);F.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),Z=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(`${O}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Ue?.(t)},onCancelClick:()=>{J(!1)}},lt=Te(ve(u),u,ke.currencySymbol).toUpperCase(),K=j?.code==="pending_review"||j?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&j?.code==="pending_review"&&Xe==="In-Progress"&&R.fetchState==="Completed"?s.jsxs(Ht,{children:[s.jsxs(ea,{children:[s.jsx(yt,{}),s.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),s.jsx(Kt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Te(ve(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,ke.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),s.jsx(ht,{label:a.submittedButton,onClick:()=>{L(),te?.()},variant:"primary"})]}):s.jsxs(Et,{isSettings:o,children:[s.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Qe.colors.grey5,style:{zIndex:Q?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?s.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{L(),te?.()}}):null,source:"BusinessVerificationPage"}),Ze===!0?s.jsx(wt,{titleComponent:s.jsx(Ct,{children:a.discardTitle}),descriptionComponent:s.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,s.jsxs(Mt,{windowSize:p,children:[(!h||w===!1)&&s.jsx(Rt,{windowSize:p,children:o?At.infoText.businessVerification:a.title}),k==="In-Progress"||k==="Not-Started"?s.jsx(Ut,{children:s.jsx(Dt,{size:"ExtraLarge",start:!0})}):s.jsx(Ot,{...m,children:s.jsxs("form",{id:je($e),onSubmit:st,children:[h&&w===!0&&s.jsxs(zt,{children:[s.jsxs(Jt,{windowSize:p,children:[s.jsx(Qt,{windowSize:p,children:K?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!K&&s.jsx(Xt,{children:s.jsxs(Yt,{children:[s.jsx(Pe,{}),de&&s.jsx(Pe,{}),s.jsx(Zt,{})]})})]}),s.jsx(Ae,{isReadonly:K,children:a.verifyBusinessDetailsDescription})]}),s.jsxs(Wt,{children:[s.jsx(Ft,{companyOfficerData:b,allNationalityCountries:S,allOfficers:Z??[],sectionId:O,isRefreshingViewInBackground:_,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:ie,onEditFileName:se,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:N,filesEndPoint:i,authParams:B,isPopupOpen:Q,openPopup:Ke,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),s.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:i,onEditFileName:se,onDeleteFile:ne,updateFilesEntity:ie},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:M,allIndustries:V,allNationalityCountries:S})]}),y==="zeni_accounts"?s.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":X?.businessVerificationStatus?.code!=="pending_review"&&X?.businessVerificationStatus?.code!=="verified")?s.jsx(Tt,{formId:je($e),primaryBtn:{label:w?Ne.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:U==="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:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)L();else{const t=b[v],n=l?.primaryContactLocalData;U!=="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:Q?0:4}}):null]})},Bt=(e,S,k,_)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=e,V=Ve.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(u=>u.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:V.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:V.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:(i?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[O]: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{g as ct,Q 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-AqGiWrum.js";import{a as P}from"./sentry-CTKU7CLc.js";import{n as d}from"./mui-C_Pjuwl5.js";import{EN as Ft,bi as G}from"./zeni-epic-state-Cl3KIlic.js";import{n as Pt,z as Vt}from"./CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js";import"./LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js";import"./LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js";import"./LabeledDocumentField-DtsIRcRg-LgfBBRyq.js";import"./LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js";import"./commonTypes-CG4vvGyc-CziHlkCE.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]="b6e0d93a-1f9b-4bba-8c2f-47faf3f4efe7",e._sentryDebugIdIdentifier="sentry-dbid-b6e0d93a-1f9b-4bba-8c2f-47faf3f4efe7")}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:Qe})=>{const Xe=ct(),p=dt(),{updateStatus:R,companyView:A,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Je=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,Q]=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,J=A?.company.company.companyBillPayInfo,Y=A?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?Y?.companyVerificationStatus:J?.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&&Qe?.())}),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:()=>{Q(!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:()=>{Q(!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"&&Je==="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)?Q(!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(Qt,{windowSize:p,children:[i.jsx(Xt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Jt,{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":J?.businessVerificationStatus?.code!=="pending_review"&&J?.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`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -21,7 +21,7 @@ import{e as ct,J as dt,aR as Oe,V as s,ae as W,a9 as pt,cV as ut,az as mt,cF as
|
|
|
21
21
|
padding-top: ${e=>x.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
22
|
padding-bottom: ${e=>x.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
23
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,
|
|
24
|
+
`,Ut=d.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
height: 100%;
|
|
@@ -30,7 +30,7 @@ import{e as ct,J as dt,aR as Oe,V as s,ae as W,a9 as pt,cV as ut,az as mt,cF as
|
|
|
30
30
|
align-items: center;
|
|
31
31
|
padding-bottom: ${r.sp9};
|
|
32
32
|
row-gap: ${e=>x.verificationDetailsRowGap.valuePx(e.windowSize)};
|
|
33
|
-
`,
|
|
33
|
+
`,Mt=d.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
width: 100%;
|
|
36
36
|
height: calc(100vh - 110px);
|
|
@@ -42,26 +42,26 @@ import{e as ct,J as dt,aR as Oe,V as s,ae as W,a9 as pt,cV as ut,az as mt,cF as
|
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${r.sp11};
|
|
45
|
-
`,Gt=d(
|
|
45
|
+
`,Gt=d(Pe)`
|
|
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(Pe)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${e=>e.theme.colors.hero};
|
|
55
|
-
`,
|
|
55
|
+
`,Qt=d.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
gap: ${r.sp3};
|
|
59
59
|
width: 100%;
|
|
60
|
-
`,
|
|
60
|
+
`,Xt=d(jt)`
|
|
61
61
|
${e=>`${Lt.stepTitle.style(e.windowSize)}`};
|
|
62
62
|
color: ${e=>e.theme.colors.primary};
|
|
63
63
|
text-align: left;
|
|
64
|
-
`,
|
|
64
|
+
`,Jt=d.div`
|
|
65
65
|
display: flex;
|
|
66
66
|
align-items: center;
|
|
67
67
|
overflow: hidden;
|
|
@@ -70,12 +70,12 @@ import{e as ct,J as dt,aR as Oe,V as s,ae as W,a9 as pt,cV as ut,az as mt,cF as
|
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
gap: ${r.sp3};
|
|
73
|
-
`,
|
|
73
|
+
`,Fe=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
|
+
`,Kt=d.div`
|
|
79
79
|
flex: 1;
|
|
80
80
|
height: 2px;
|
|
81
81
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -106,7 +106,7 @@ import{e as ct,J as dt,aR as Oe,V as s,ae as W,a9 as pt,cV as ut,az as mt,cF as
|
|
|
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
|
-
`,
|
|
109
|
+
`,Zt=d(Ae)`
|
|
110
110
|
margin-top: ${r.sp0};
|
|
111
111
|
text-align: center;
|
|
112
112
|
`,Ht=d.div`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{Q as m,V as r,F as b,b as y,o as a,a as w,d as x}from"./index-AqGiWrum.js";import{n as o}from"./mui-C_Pjuwl5.js";import{a as n}from"./sentry-CTKU7CLc.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]="e5f1569b-703d-45c9-8540-77ccb6315baf",e._sentryDebugIdIdentifier="sentry-dbid-e5f1569b-703d-45c9-8540-77ccb6315baf")}catch{}})();const $=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=b.getLocalizedStrings(),C={subText:new w("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,c=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,c&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,c&&s?r.jsx(u,{}):null]})},v=o(x)`
|
|
2
|
+
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
|
+
color: ${e=>e.theme.colors.hero};
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: ${a.sp1};
|
|
11
|
+
`,H=o.span`
|
|
12
|
+
height: ${a.sp1};
|
|
13
|
+
width: ${a.sp1};
|
|
14
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
margin: ${a.sp0} ${a.sp1};
|
|
17
|
+
`,u=o($)`
|
|
18
|
+
width: ${a.sp3};
|
|
19
|
+
height: ${a.sp3};
|
|
20
|
+
color: ${e=>e.theme.colors.hero};
|
|
21
|
+
`;export{j};
|