@zeniai/web-cockpit-ui 1.14.1-pune → 1.14.2-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-CRqyoYEz-DIIEbfXH.js → ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DCPKp1TL.js → AIPerformancePage-BTkeAbzQ-BrardM2A.js} +48 -38
- package/dist/assets/{AccountInfoPage-6EVpo7mW-_VH4qo0L.js → AccountInfoPage-Cw14e1jO-BsUim3eq.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-DsBeIJ7e.js → AccountInfoPageContent-cvYWnpel-CJmb2W-r.js} +15 -15
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-BDzMROTl.js → AccountReconDetailsDrawerPage-DOKqIknC-DSx-KpKz.js} +12 -12
- package/dist/assets/{AccountRow-D4iz2vCr-CUjY-as_.js → AccountRow-Ca-OS9TF-boQKAn9P.js} +20 -20
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-CoHITgz2.js → AccountsPromoCardStack-CwEVkbGD-GfsHQDZG.js} +19 -19
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BuafF6k2.js → AddAddressForCardDrawer-B1zyrJMb-gDNlBeVv.js} +2 -2
- package/dist/assets/{AddToWalletPage-Bo2KesYz-CXFPlcd_.js → AddToWalletPage-s7c161JX-Bbl7vvY4.js} +37 -37
- package/dist/assets/{AgingReportsPage-DuoKsSkU-BM--piTX.js → AgingReportsPage-Be-2Z_KS-Cp8WnRhH.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-1EugRjNx.js → AllUserItems-B4Iah9-Z-B79SOI6_.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-CSLYB9s5.js → ApAgingDetailPage-D_KV9urv-CMDNQ6iG.js} +4 -4
- package/dist/assets/{AppBasePage-CfkaWEbJ-DSSQmZ3n.js → AppBasePage-GbE58C1g-BcYXZw8U.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-Bu6aM3IO.js → AppDrawerContent-YTvkEPk_-6eMbUyIc.js} +57 -31
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-0ndkNfLh.js → ApprovalRulesSettingsPage-Cct7Nzfb-BnkTkJjh.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-BJS1mtHm.js → ArAgingChart-BeVadylU-XR25EAL6.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-CqfkCp13.js → ArAgingDetailPage-CWUA4S2q-Ww5hXmPO.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-CDH1Mcyw.js → AttachmentView-DGsub__A-BBxOr8Ij.js} +5 -5
- package/dist/assets/{BankAccountSection-DB4PEf_X-DiW8OD4p.js → BankAccountSection-CtTkNBok-D2ekA6eB.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-DLhau1xe.js → BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js} +8 -8
- package/dist/assets/BankConnectionsSettingsPage-_e4jMGI2-DH8UTyN3.js +425 -0
- package/dist/assets/{BillDetailPage-Bv86SywV-6njFGhnW.js → BillDetailPage-Dz4_gdDb-ycU3JEwF.js} +7 -7
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-GLg1j3lZ.js → BillPayApprovalRuleDetailPage-DcNLlDh2-B0LeGU7-.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BsfoZbfz.js → BillPayApprovalRulesPage-C_NDjp6G-D74xT3Vs.js} +8 -8
- package/dist/assets/{BillPayPromoPage-Co2j2krO-D4iqOCut.js → BillPayPromoPage-TkLMkxeC-CRgciQY3.js} +5 -5
- package/dist/assets/BillPaySetUpPage-DTGSGVO0-BjFYWMnM.js +42 -0
- package/dist/assets/{BillingSettingsPage-CAs7DZQz-De2Ozj6L.js → BillingSettingsPage-0RLFEj6x-1Rx-lW-z.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-rkkXgsz4-DCe7oECG.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-DTGdC4UO.js → BoxItem-CIBzy4ZV-BGT6YXil.js} +1 -1
- package/dist/assets/BusinessVerificationPage-T63_ft8O-BLj5IAMR.js +140 -0
- package/dist/assets/{CardNumberSubText-23sLjCVt-q9DlwjXk.js → CardNumberSubText-FOFiHz-M-BomqpZHj.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-DZrOsGII.js → CashbackDetailPage-C1rbQ71n-BwGr1RFv.js} +19 -19
- package/dist/assets/ChargeCardDetailPage-OgsnesGD-BZdk7_5L.js +1447 -0
- package/dist/assets/ChargeCardListPage-CLHFYydY-CXTzCBUe.js +355 -0
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-nPrrXfLF.js → ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js} +17 -17
- package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js +219 -0
- package/dist/assets/ChargeCardSetupPage-DvlKbA_C-AlRyM6Q7.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-Dz93LMxW.js → ChargeCardStatementsPage-CXhcA95f-C45_cho2.js} +3 -3
- package/dist/assets/{ChargeCardUtils-B3JEziD7-BDgvm4V8.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-CdWRAKXV.js → ChaseOverlay-CxEiwxZq-CYOJ8ZhP.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-JYHyo9Hw-CPcUjCHP.js → CheckDepositDrawerPage-CmZbDsc3-C6Gzx2Ad.js} +16 -16
- package/dist/assets/CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-hNs6b-3g.js → CompanyOfficerDetailsSection-DPufRe0m-C6FmxOML.js} +27 -27
- package/dist/assets/{CompanyPassportCard-fyolEQTs-BM4j1zkv.js → CompanyPassportCard-JgslGZ14-CZLKyeTG.js} +4 -4
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-_nJlM00G.js → CompanyPassportPage-B89YFcPT-CNi42FVb.js} +144 -144
- package/dist/assets/CompleteProfile-D0RvVu97-BvDLvwiX.js +36 -0
- package/dist/assets/{ConfettiBurst-CZuMHGP8-b0M1vB-_.js → ConfettiBurst-D3BYCsW2-CicOQOeb.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-Dl-XZ9XF.js → CreateOrEditVendorPage-C6Ddagzy-CrkxkCuT.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-Cu9Xh0nq.js → CreditCardPaymentDrawerPage-C3mZhiZb-D2CoSxGr.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js → CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js} +8 -8
- package/dist/assets/{CurrencySelectField-CCOtXLC7-QnPV5zn9.js → CurrencySelectField-BBgpim44-D9iz41su.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-DNCyl5ny.js → CustomerOnboardingActivationPage-iG0RHsLk-C1JrpXcK.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-CJFQyXj_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-D2W7lEqa.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DVLGbpG0.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-BQPG4WD2.js → CustomerOnboardingNoStepsPage-CIranNRI-DmxCUvPO.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DHji4ZmF-D4jjwuH5.js → CustomerOnboardingPage-aq8E7XsP-D1AWzLDa.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CxgqSMiN.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BW6Dqkww.js} +3 -3
- package/dist/assets/{Dashboard-Cr5ugENA-CPUy4XRU.js → Dashboard-DyvhSbme-CqiNyEeS.js} +241 -238
- package/dist/assets/DashboardReportPage-Cy_f84RN-BBIf3h8d.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-D4R7G7HE.js → DepositAccTransactionItem-DK15lI5V-XJtPziNz.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-BQ7qJsKp.js → DepositAccTransactionListPage-CRBhV8W1-B1ipg9Mm.js} +5 -5
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-B14Aeb97.js → DocumentSecurityBanner-C0bght0k-vffkcqMR.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-RoRpMC50-CSWDfu4W.js → DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-Bty6MX5F.js → DownloadOverlay-C5kTy4dA-91imq83n.js} +18 -18
- package/dist/assets/{DrawerPage-wXwAaYEB-CO0tKzRK.js → DrawerPage-Bwgpjwed-Dbn0o-MI.js} +6 -6
- package/dist/assets/{EditPeoplePage-xDL6VA_r-CcyNCb0B.js → EditPeoplePage-W-SFOxhC-DmK3cjsW.js} +10 -10
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-DrlJ3-JK.js → EditReimbursementDetailPage-D1Iduokd-BJNaLsWB.js} +78 -78
- package/dist/assets/{EntityDetailPage-BNXqSwVL-BmsjQ-yP.js → EntityDetailPage-BkRcX4SZ-D3jHuVtH.js} +1 -1
- package/dist/assets/{EntitySummarySection-MZ57i-bY-CkJQLOms.js → EntitySummarySection-BlJR-qOB-BGQRVSO6.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-C3j4Kf98.js → ExpenseAutomationOverviewPage-qT0g5t_P-9L0vQmNh.js} +20 -20
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-6SC0Lnzr.js → ExpenseAutomationPage-CMKwWy2d-BxRd7q46.js} +3 -3
- package/dist/assets/{ExpressPayPage-Bncb54-Q-DvnTKzCq.js → ExpressPayPage-DXfqMxkG-esMjhJU_.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-qbgUmwmT.js → FeaturePreviewPage-CjZuOo_K-BURLQGI3.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-Bd5BOauY.js → FollowStepsSection-CO5MsYe6-DJwkRNbY.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Dmr2MpXl.js → GlobalReviewListPage-BIMdWu5P-DVJexznn.js} +11 -11
- package/dist/assets/{HelpButton-D5ZYyQMh-CbYd0zN7.js → HelpButton-BGHsn-1b-Cb4db_8O.js} +2 -2
- package/dist/assets/{InformationCardStack-BFJqdH9n-bSWTqBDS.js → InformationCardStack-B8rD8LSH-yY61wi0E.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-DoomT7wI.js → InsightsCardStack-AwXZ6ysD-CAyDZRBh.js} +7 -7
- package/dist/assets/{InsightsSection-D9PiJagu-BAVC-lZw.js → InsightsSection-BZS-MEy4-D-RgHCTj.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DUTif9-q.js → IntegrationsSettingsPage-D2tfKsbR-3hbSPzUb.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-Ckhip8a0.js → InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-BipvB1gK.js → InternationalWireVerificationPage-C8WA6jI_-CkLLJOPd.js} +7 -7
- package/dist/assets/{InviteFormPage-BK-PRmeH-BScQiDBC.js → InviteFormPage-DC2ewDUN-BAnhpAwr.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-BqA8heOE.js → InvitePageListView-DaShj4IM-BOaRvdOZ.js} +35 -35
- package/dist/assets/InvitePeoplePage-BbY4ZpGl-DYibhSDJ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-BeD6SrG2.js → InvoiceUploadSection-DZJTULDZ-CCiLRTJv.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-DIZL4bBR.js → IssueChargeCardPage-C1zB2vrB-BGIJGo3C.js} +25 -25
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-Cj7E_lje.js → LabeledAddressValue-BDA7y5Fq-D9zYp9L5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-Dc-9_BK1.js → LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BP3P2Wmj.js → LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-DbZOk4k7.js → LabeledCreatableSingleSelectField-zhHbiOVO-Du1erYiL.js} +7 -7
- package/dist/assets/{LabeledDocumentField-DiMgPKtR-CSKmqw6B.js → LabeledDocumentField-BTgmGAGq-ye6jxVF6.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-DsjpTL6X-j5IQGEbH.js → LabeledDropDownFormattedTextField-BdAKZt7q-DJYe0D29.js} +5 -5
- package/dist/assets/{LabeledText-CyXj8QWV-Bl6WT0AA.js → LabeledText-CMrFKM7D-U8mavECd.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-QHUo9PdC.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-Dakmm_pD.js → LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-CeG2b6Yz.js → LinkJETransactionPage-CWc1e0RL-uXbP7Kvy.js} +4 -4
- package/dist/assets/{LowBalancePopup-CdftTvLb-DHrY0Q9F.js → LowBalancePopup-COu8cuzS-D_SGW7IW.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-D1WMteCs.js → MagicLinkACHDetailsPage-h0Srx7SO-dPgjPO_-.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-Be739DkS.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-tQ-JKEYq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DjZv-CZx.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BVkJt1cv.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-aQjB1Hdx.js → MagicLinkSuccessPage-BjWw4cqt-AmPRrK11.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-OAdcgqT_.js → MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js} +4 -4
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-DAFQ-tkz.js → MailingDetailsSection-DWSj0MOB-BPZUzJp9.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-Bpx3vewx.js → MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js} +3 -3
- package/dist/assets/{Menu-DyfXBl_1-ub7G94mj.js → Menu-DlBP5CCV-y1Vf24E1.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-BtQSGmwE.js → MyBankConnectionsSettingsPage-BYqoUq4q-Da0QKGU9.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-DpfpopfQ.js → MyPendingActivationChargeCardListPage-BABBa4je-B1cN2Q5f.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-D5eo9Sqc.js → MyProfileSettingsPage-Dk_jK8-R-BnmR2m7z.js} +5 -5
- package/dist/assets/{NavBarWithPicker-BvWih0k0-Dufdt2Ka.js → NavBarWithPicker-BC2xbV2b-BcYENhJM.js} +3 -3
- package/dist/assets/{NavigationArrow-DYSL2aDL-WkPryo2E.js → NavigationArrow-BovrdeuJ-BGk3-i0K.js} +5 -5
- package/dist/assets/{NavigationDots-DyyCcIih-Dej6_J6K.js → NavigationDots-yYTGREt4-DTRiZdAJ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BHj9e2zb.js → NewGlobalMerchantPage-BKlPnipd-BUgMD2pk.js} +32 -32
- package/dist/assets/NoDataChart-Dhg-k7iX-B526qZJD.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-DB2tU5FS.js → NoDataTable-jpCLeiDv-DPfhsNYe.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-DK_un8VO.js → NotFoundPage-DrKqVOry-CJmDZfXH.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DNcmVmd9.js → NotificationSettingsPage-lojoBPQ8-BBTvd9G7.js} +5 -5
- package/dist/assets/NotificationsListConfig-jbIMYvrE-DMMvGaQE.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-ChKA1ZUW.js → NotificationsPage-DJNUS9wc-8qosqB88.js} +22 -22
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-D8WE3sE0.js → OpExByVendorPage-xMyUkO51-DLNCDIdB.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-D4ozS3gq.js → OverlayContainerPage-GWXnlbZH-DExKUjLx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DAoSI7if.js → PandLWithForecastPage-BHtPelIT-DOZ7XwiG.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DK5OgBuH.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BcCn0Sg1.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BP1By1O6.js → PeoplePage-CzQXmGVU-3wd2TE5z.js} +31 -31
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-9rUcLC7b.js → PortfolioAllocationFormPage-B1Xa0wKV-C9f5vgAD.js} +4 -4
- package/dist/assets/PortfolioDetails-BY-IK4yO-BaoJWjzR.js +218 -0
- package/dist/assets/{ProductsCarousel-CS4_yc80-PtugE9vt.js → ProductsCarousel-B7h_gH-R-XoeszqUs.js} +8 -8
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Cud5t_Fi.js → PromoBaseCards-CuJXuijt-Cwtg1Msq.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-BI_9YQGE.js → QBOConnectionDialog-DsNkkj_j-C8IchF8A.js} +4 -4
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-CG5PgwyR.js → QBOSetupSection-DkoopYHr-B4YL_CMi.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-D4mUNHAO.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-DsiatGsD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-sj6jFbs4.js → ReimbursementApprovalRulesPage-BkiZVc7S-CGfJ2oyo.js} +19 -19
- package/dist/assets/ReimbursementDetailPage-S9j_KDZJ-B4Ft6bVK.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-EKPuTP60.js → ReimbursementPromoPage-BJJruudV-4Q4ZYCZV.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-CQdxq5lk-MGbpCaqc.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--BJEZ2gJz.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-ClMjr5Ld.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-CAtXGPKA.js → ReloadCard-DBRY9FdH-DLbqkxuz.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js +150 -0
- package/dist/assets/ReportsPage-r_MRjkkb-B5PSr911.js +121 -0
- package/dist/assets/{RevenueChart-DeDVVUge-DswYpzgj.js → RevenueChart-DhCkb0c6-CpmVmIv5.js} +25 -25
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-BD-TTPjy.js → ReviewDetailsPage-DWtgiOYE-C2elGQRI.js} +12 -12
- package/dist/assets/{ReviewOverlay-DcBe94Sd-BykmGHu4.js → ReviewOverlay-CjWEPPvw-B5TX8ZjT.js} +13 -13
- package/dist/assets/RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0-DMtW2KW5.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-DCXxKyPi.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-C3_NmU11.js → ScheduleDetailsPage-BqaZqCZJ-pwjFyU_u.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-D8TBysPL.js → ScheduleSequenceTable-H_kZuoon-C9WFZ9rS.js} +15 -15
- package/dist/assets/{ScreenRoutes-miCOug2f.js → ScreenRoutes-Ck2JOiJO.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-DXELzEMu.js → SetUpAccountSection-B9L-2aHz-CS276oDL.js} +41 -41
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-c-mUbFLs.js → SetUpDefaultSection-DO9aLike-BNjhrnJW.js} +11 -11
- package/dist/assets/{SignIn-CI0Ik2va-B1YM8rEU.js → SignIn-DOSDfnki-ZWJtrmyd.js} +18 -18
- package/dist/assets/{SignInScreen-DVUMKIBQ.js → SignInScreen-B66laInZ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-DEongjR9.js → SpendManagementListViewPage-D6ysU0TE-fs0LZdDD.js} +14 -14
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DnGEGhos.js → SpendManagementPerTabPage-CHvroeCa-SUCxwVKR.js} +38 -38
- package/dist/assets/{SpendManagementSection-DGhD95sz-VmruoRWg.js → SpendManagementSection-BaEgJPY4-DbFNSMHd.js} +11 -11
- package/dist/assets/SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js +206 -0
- package/dist/assets/{StatementItem-BlfBohft-U3FqyIo0.js → StatementItem-CYPCJ0XS-Bebbfivn.js} +5 -5
- package/dist/assets/StatementsPage-Cyqg2jd1-CS8CbIkz.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-eDDkVLmz.js → StatusSwitcher-C5UGqQw8-L5IIUMyD.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-CmXqrtys.js → SubTabSwitcher-B3rFIZQy-fhfcG8ZL.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-CvQEKxF5.js → SummaryCard-CNADDyPG-AHW1-mz3.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cf523C5f-BE6A19pl.js → TaskManagementPage-CtUQXjo2-CpaAFAcY.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-CRKXdJOA.js → TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-DufweySH-jTXdFynw.js → TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-D1xK4ZLl.js → TopExCard-xJbS_mNo-B0v7lag7.js} +4 -4
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-B50iPc07.js → TopExDetailPage-BDUuqAEK-Bo-vZtIP.js} +10 -10
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-DV-6_vXT.js → TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js} +30 -30
- package/dist/assets/TransactionList-DS-_gBrf-B6pRX61G.js +147 -0
- package/dist/assets/{TransactionListBig-p6iVof9y-DpVKiek7.js → TransactionListBig-D9ebH5C0-D4IFnh5K.js} +10 -10
- package/dist/assets/TransactionListPage-CPjayOv5-C1z1kCC6.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-DI4vuyOD.js → TransactionVendorDetailPage-DMYoBJ23-BkgKiHHa.js} +5 -5
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-AoRYBOP9.js → TransferDrawerPage-BAghLjPn-DV8a9ZRS.js} +30 -30
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-C_ij1-dD.js → TreasuryOverviewPage-B7EFea4a-zZd4C5QF.js} +46 -46
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-C2DHRZVT.js → TreasuryPromoPage-D7Y8yGpx-5DMBtH8J.js} +27 -27
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-DHI8fRrl.js → TreasurySetupPage-B1SZd_a5-DTKitX5z.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-BjV9xUSX.js → TreasuryStatementsPage-uakhQGBW-DM3cx3mz.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-C8i4pNnG.js → TreasuryTaxLetterPage-BHvr72P1-ZqD52w0m.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-BlrFvGYE.js → TreasuryTransferOrReviewPage-BBPDHav1-FgeqnaCs.js} +78 -78
- package/dist/assets/TrendChart-ChiKhGtw-BlRFpdWI.js +16 -0
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DvdNaPh-.js → TrendWithTransactions-DEMNHbbz-DBOPdxuf.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-D4SPdVXr.js → UncategorizedAccountsMappingPage-BDNznj4Y-DBTlThuY.js} +17 -17
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DrfCSWxr.js → UnitIntegrationPage-Bgu5xfcn-CtKgXROf.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-DN4WILBU.js → UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-DrsH2xrD.js → Vendor2FAPopup-D34glhep-Bcy6uzR5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-CrKMxXqd.js → VendorACHDetailsPage-CSqpbr2r-BGpdO99p.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-CDKqGTzV.js → VendorDetailPage-CJw1v9tJ-BWewlDVL.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-BeNq1bzX.js → VendorDomesticWireDetailsPage-BY8F5AWO-DX4fuW2L.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-ERVyS3P2.js → VendorFiling1099EditablePage-COYZCnYS-BBPw3drw.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-BqnXdq6Q-CL1x86cX.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CEdr_PZS.js → VendorInternationalWireDetailsPage-K9botaZv-yQ73nWrj.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-B4pRgjkw.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-s-XTKsWI.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-Glx5yRhz.js → VendorsAccountsSection-D5d42xeO-CJcEHkCK.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-CIQlt88e.js → WarningsDrawerPage-DiA5MRFe-Bc00wID9.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-CRRVNfVo.js → ZeniAccountDetailPage-DSCbx6BB-DGWgYb7a.js} +23 -23
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-DNXzp5P9.js → ZeniAccountListViewPage-7zssUaoL-DvaV5FVV.js} +21 -21
- package/dist/assets/{ZeniAccountNavBarPieces-gzy5T7nu-ZPpRmm1I.js → ZeniAccountNavBarPieces-By4S70vz-DdkCg5aL.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-r71cWD_l.js → ZeniAccountPromoPage-Bvr4t7zq-DL50qAxB.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-3FWCeT2b.js → ZeniAccountSetupPage-DtDN9JWk-D8j-79L6.js} +4 -4
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-CH2r91yw.js → ZeniCopyright-CxC3wvp1-gbMTqRLu.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-M3i8bnVC.js → ZeniTransferAmountSlider-CcbG1sHp-Dm5uqXid.js} +1 -1
- package/dist/assets/analytics-CBL_L82S.js +7 -0
- package/dist/assets/{analyticsHelper-sgo3pabT-BeTMdSYn.js → analyticsHelper-3y6VD3VH-4b12iNu9.js} +1 -1
- package/dist/assets/{analyticsHelper-BKEOwNtm.js → analyticsHelper-D4WZaKOr.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-EQP1Ce02.js → chartTypes-mKuCmPTG-BM7hqR_d.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-JcVoNYFG.js → commonDimensions-BHBDbLXD-D2tFRShv.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CVFboB64.js → detailCommon-1QwSQL9C-CMTdKXNR.js} +10 -10
- package/dist/assets/{downloadPdf-CiC0AXNH-CeD8Q-Pl.js → downloadPdf-DjM3Z_88-B-Yuc7DP.js} +1 -1
- package/dist/assets/{index-D3N9MvRr.js → index-CWmqNC4C.js} +3532 -3549
- package/dist/assets/mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-l4B2WAau.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CzcEW1Rc-DpU4PyGc.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-y3lzh3vX-QR9PSTFA.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js +1 -0
- package/dist/assets/{play-icon-CF-Mkuir-D0VaB-h5.js → play-icon-DfMYCOJa-CBLpaBHA.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-CU7gHn7p.js → toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-Xv5HtUSQ.js → toChartData-D2kGY49E-CsLrqkFw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-DRvV2CE6.js → treasuryColorHelper-k2phUKLw-Bv7jwBAj.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-D86nKqy9.js → uploadAttachment-kyOdZMbL-CJNFoqRM.js} +7 -7
- package/dist/assets/{uploadReceipts-Buvz7DfG-CwTcUaXM.js → uploadReceipts-D80JLNY4-Cic2YR7g.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BankConnectionsSettingsPage-BOreBo5b-D37lKtbY.js +0 -379
- package/dist/assets/BillPaySetUpPage-DjpCUZaT-Ddup2DO2.js +0 -42
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-B6U5Is6f.js +0 -1
- package/dist/assets/BusinessVerificationPage-CZGOzc9Z-D6-Ww27c.js +0 -140
- package/dist/assets/ChargeCardDetailPage-NWTPnGtM-DFqwW_o-.js +0 -1447
- package/dist/assets/ChargeCardListPage-D42dfnET-BwGRx6DO.js +0 -355
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-rWS9j7At.js +0 -190
- package/dist/assets/ChargeCardSetupPage-Ccc8PoCm-DOz93R9J.js +0 -36
- package/dist/assets/CollapsableReportTable-DshWn4Fc-CB5euwH7.js +0 -2860
- package/dist/assets/CompleteProfile-D_zq0Bxi-4-J8J591.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-4mOzqlwZ.js +0 -1
- package/dist/assets/DashboardReportPage-paPVk_v2-Dvs7jyc3.js +0 -349
- package/dist/assets/InvitePeoplePage-C9AwNqIx-ByE99RmM.js +0 -12
- package/dist/assets/NoDataChart-DE6NV823-DgTs2vbZ.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-DLtoRFYq.js +0 -1
- package/dist/assets/PortfolioDetails-DJFeMG4U-DswuDgPe.js +0 -218
- package/dist/assets/ReimbursementDetailPage-CtEAsq7u-CdLZ67Bg.js +0 -314
- package/dist/assets/ReimbursementSetUpPage-DXOqEJL4-DeydDpr0.js +0 -140
- package/dist/assets/ReportTableViewSelector-_RTCd2td-J4MgIxi7.js +0 -133
- package/dist/assets/ReportsPage-BIzz5Dt_-BPRCOVMf.js +0 -120
- package/dist/assets/RoleWithToolTip-DZO2tooH-6nbnfSfh.js +0 -22
- package/dist/assets/SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js +0 -207
- package/dist/assets/StatementsPage-CUpjL5u7-BWH36hJA.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-CC0-bOos.js +0 -31
- package/dist/assets/TransactionList-2HeLZVn9-D_XSB9a8.js +0 -147
- package/dist/assets/TransactionListPage-tnL66tOu-DKTJncjo.js +0 -35
- package/dist/assets/TrendChart-kwGU0d90-D9vTA2Kh.js +0 -16
- package/dist/assets/VendorFirstReviewPage-Cn2GBsyl-cg4le0C7.js +0 -730
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mapLoadingInProgressToTreeNode-0MIZwF_y-BJQcaPEZ.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-1Bdqp9WS-Bf4vh4uO.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-MPZhFWqo-DqH1QGXc.js +0 -1
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
import{u as ae,X as we,a as He,c2 as qe,j as t,aW as Je,M as J,o as i,d as q,bJ as Ge,F as Ye,bs as Qe,C as f,f as Ze,q as A,an as Xe,v as Ie,Q as Ke,cf as et,a1 as de,a7 as K,eX as tt,l as Q,cn as nt,aQ as Le,f3 as Oe,f4 as it,f5 as ot,bB as $e,p as h,eY as ee,eZ as te,_ as ne,bU as ie,Y as at,b4 as lt,dG as Fe,g as V,w as v,f2 as ct,fg as st,fh as rt,aA as dt,fi as ut}from"./index-D3N9MvRr.js";import{b,n}from"./vendor-CnQcJ2Lu.js";import{a as pt}from"./SetUpAccountSection-BBZNI1Xl-DXELzEMu.js";import{r as ht}from"./mui-C5LQ0bMa.js";import{M as mt}from"./ChaseOverlay-KLet3F9X-CdWRAKXV.js";import{R as gt,z as wt}from"./SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection--9Qh-utY-c-mUbFLs.js";import"./ChargeCardUtils-B3JEziD7-BDgvm4V8.js";import"./CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js";const{settings:{bankConnectionHeader:G}}=J.getLocalizedStrings().common,ft={value:G.productType,width:new f(100,19)},xt={value:G.primaryAccount,width:new f(100,36)},yt={value:G.linkAccount,width:new f(100,22)},St={value:G.status,width:new f(12,12)},bt={value:G.balance,width:new f(12,13)},P=[ft,xt,yt,St,bt],{common:{settings:ue,strings:{empty:vt,hyphen:$t}}}=J.getLocalizedStrings(),Z={paymentAccountIconSize:new f(h[6],h[7])},zt=()=>null,kt=({paymentAccount:e,bankAccountList:a,balanceFetchStatus:L,onRemoveConnection:O})=>{const s=ae(),d=we(),[$,z]=b.useState(!1),w=e?.providerVerificationStatus,c=s.mode==="light"?new K(s.colors.brandColorJadeLight):new K(s.colors.brandColorJadeDark),F={element:t.jsx(Bt,{windowSize:d}),color:c},M=a.find(l=>l.accountId===e.zeniAccountId),R=()=>{z(l=>!l)};return t.jsxs(jt,{onMouseEnter:R,onMouseLeave:R,children:[t.jsxs(At,{windowSize:d,wrapperWidth:P[0].width,children:[t.jsx(Ct,{children:ue.otherAccount.title}),t.jsx(Tt,{children:ue.otherAccount.subTitle})]}),t.jsxs(Pt,{windowSize:d,wrapperWidth:P[1].width,children:[pt(F,d,s.mode==="dark",e,!0),t.jsxs(Wt,{children:[t.jsx(Dt,{children:t.jsx(Vt,{windowSize:d,children:e.institutionDetails.institutionName})}),t.jsx(Mt,{windowSize:d,children:t.jsxs(Ut,{children:[t.jsx(Et,{children:e.accountSubType?.name}),t.jsx(Nt,{children:e.maskedAccountNumber})]})})]})]}),t.jsx(_t,{windowSize:d,wrapperWidth:P[2].width,children:M?.accountName??vt}),t.jsx(It,{windowSize:d,wrapperWidth:P[3].width,children:w!=null?t.jsx(ee,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:w.name,textColor:te(w.code)}):$t}),t.jsxs(Lt,{windowSize:d,wrapperWidth:P[4].width,children:[t.jsx(Ot,{className:"balanceLabel",isRemoveHovered:$,children:ne("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(Ft,{className:"balanceLabel",isRemoveHovered:$,children:ie(e.balances?.lastRefreshTime)}):L?.fetchState==="In-Progress"?t.jsx(q,{size:"Small",start:!0}):null,$&&t.jsx(Rt,{children:t.jsx(Fe,{moreIconType:"plain",options:[{label:ue.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:s.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:s.colors.grey5,width:"162px",border:`1px solid ${s.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${V.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:V.important,":hover":{color:V.important,backgroundColor:s.colors.background}})},menuPlacement:"bottom",onOptionSelection:l=>{l==="remove"&&O(e.paymentAccountId)},valueToIcon:zt})})]})]})},jt=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: ${i.sp4};
|
|
4
|
-
padding-right: ${i.sp8};
|
|
5
|
-
position: relative;
|
|
6
|
-
`,At=n.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: flex-start;
|
|
11
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
12
|
-
`,Ct=n(A)`
|
|
13
|
-
color: ${e=>e.theme.colors.grey1};
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
`,Tt=n(v)`
|
|
17
|
-
color: ${e=>e.theme.colors.grey1};
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
`,Pt=n.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
24
|
-
`,_t=n(A)`
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
28
|
-
`,It=n(A)`
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
32
|
-
`,Lt=n.div`
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
36
|
-
justify-content: flex-end;
|
|
37
|
-
align-items: flex-end;
|
|
38
|
-
`,Ot=n(A)`
|
|
39
|
-
color: ${e=>e.theme.colors.hero};
|
|
40
|
-
`,Ft=n(v)`
|
|
41
|
-
color: ${e=>e.theme.colors.hero};
|
|
42
|
-
`,Rt=n.div`
|
|
43
|
-
position: absolute;
|
|
44
|
-
right: ${i.sp4};
|
|
45
|
-
`,Bt=n(ut)`
|
|
46
|
-
margin-right: ${i.sp3};
|
|
47
|
-
width: ${e=>Z.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
48
|
-
height: ${e=>Z.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
49
|
-
min-width: ${e=>Z.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
50
|
-
min-height: ${e=>Z.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
51
|
-
`,Wt=n.div`
|
|
52
|
-
white-space: nowrap;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
width: 100%;
|
|
55
|
-
`,Dt=n.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
gap: ${i.sp2};
|
|
58
|
-
align-items: center;
|
|
59
|
-
white-space: nowrap;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
`,Mt=n.div`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
64
|
-
align-items: ${e=>e.windowSize==="small"?"start":"center"};
|
|
65
|
-
`,Et=n(v)`
|
|
66
|
-
text-transform: capitalize;
|
|
67
|
-
color: inherit;
|
|
68
|
-
`,Nt=n(v)`
|
|
69
|
-
margin-left: ${i.sp1};
|
|
70
|
-
`,Vt=n(A)`
|
|
71
|
-
max-width: ${`calc(100% - ${i.sp3})`};
|
|
72
|
-
text-transform: capitalize;
|
|
73
|
-
overflow: hidden;
|
|
74
|
-
`,Ut=n.div`
|
|
75
|
-
display: flex;
|
|
76
|
-
`,{common:{settings:X,strings:{empty:Ht}}}=J.getLocalizedStrings(),qt=()=>null,Jt=({paymentAccount:e,bankAccountList:a,balanceFetchStatus:L,onRemoveConnection:O})=>{const s=ae(),d=e?.providerVerificationStatus,$=a.find(z=>z.accountId===e.zeniAccountId);return t.jsxs(Gt,{children:[t.jsxs(Yt,{children:[t.jsx(Qt,{children:`${X.otherAccount.title} ${X.otherAccount.subTitleSmall}`}),t.jsx(Fe,{moreIconType:"plain",options:[{label:X.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:s.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${s.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${V.boxShadowElevation}`}),option:()=>({color:s.colors.important,":hover":{color:s.colors.important,backgroundColor:s.colors.background}})},menuPlacement:"bottom",onOptionSelection:z=>{z==="remove"&&O(e.paymentAccountId)},valueToIcon:qt})]}),t.jsxs(Zt,{children:[t.jsxs(ln,{children:[t.jsx(cn,{children:t.jsx(dn,{children:e.institutionDetails.institutionName})}),t.jsxs(un,{children:[t.jsx(sn,{children:e.accountSubType?.name}),t.jsx(rn,{children:e.maskedAccountNumber}),t.jsx(tn,{children:d!=null?t.jsx(ee,{style:{width:"max-content",padding:0},tagTitle:d.name,textColor:te(d.code)}):null})]})]}),t.jsxs(nn,{children:[t.jsx(on,{className:"balanceLabel",children:ne("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(an,{className:"balanceLabel",children:ie(e.balances?.lastRefreshTime)}):L?.fetchState==="In-Progress"?t.jsx(q,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(Xt,{children:[t.jsx(Kt,{children:X.bankConnectionHeader.linkAccount}),t.jsx(en,{children:$?.accountName??Ht})]})]})},Gt=n.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
padding: ${i.sp3};
|
|
80
|
-
`,Yt=n.div`
|
|
81
|
-
display: flex;
|
|
82
|
-
align-items: center;
|
|
83
|
-
flex-direction: row;
|
|
84
|
-
align-items: flex-start;
|
|
85
|
-
width: 100%;
|
|
86
|
-
margin-bottom: ${i.sp3};
|
|
87
|
-
justify-content: space-between;
|
|
88
|
-
`,Qt=n(A)`
|
|
89
|
-
color: ${e=>e.theme.colors.grey1};
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
`,Zt=n.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
justify-content: space-between;
|
|
96
|
-
margin-bottom: ${i.sp3};
|
|
97
|
-
`,Xt=n.div`
|
|
98
|
-
display: flex;
|
|
99
|
-
align-items: center;
|
|
100
|
-
`,Kt=n(v)`
|
|
101
|
-
color: ${e=>e.theme.colors.grey1};
|
|
102
|
-
margin-right: ${i.sp2};
|
|
103
|
-
`,en=n(v)`
|
|
104
|
-
color: ${e=>e.theme.colors.hero};
|
|
105
|
-
`,tn=n(A)`
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
margin-left: ${i.sp2};
|
|
109
|
-
`,nn=n.div`
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: flex-end;
|
|
112
|
-
flex-direction: column;
|
|
113
|
-
`,on=n(A)`
|
|
114
|
-
color: ${e=>e.theme.colors.hero};
|
|
115
|
-
`,an=n(v)`
|
|
116
|
-
color: ${e=>e.theme.colors.hero};
|
|
117
|
-
`,ln=n.div``,cn=n.div`
|
|
118
|
-
display: flex;
|
|
119
|
-
gap: ${i.sp2};
|
|
120
|
-
align-items: center;
|
|
121
|
-
white-space: nowrap;
|
|
122
|
-
overflow: hidden;
|
|
123
|
-
`,sn=n(v)`
|
|
124
|
-
text-transform: capitalize;
|
|
125
|
-
`,rn=n(v)`
|
|
126
|
-
margin-left: ${i.sp1};
|
|
127
|
-
`,dn=n(A)`
|
|
128
|
-
max-width: ${`calc(100% - ${i.sp3})`};
|
|
129
|
-
text-transform: capitalize;
|
|
130
|
-
overflow: hidden;
|
|
131
|
-
`,un=n.div`
|
|
132
|
-
color: ${e=>e.theme.colors.hero};
|
|
133
|
-
display: flex;
|
|
134
|
-
align-items: center;
|
|
135
|
-
`,{common:{settings:ze,strings:{hyphen:pe}},commonSetUp:{setUp:ke}}=J.getLocalizedStrings(),g={containerPadding:new f(h[3],h[4]),containerRightPadding:new f(h[3],h[8]),iconContainerMaxWidthHeight:new f(h[6],h[7]),iconWidthHeight:new f(20,h[4]),iconPadding:new f(h[1],12),productTypeContainerMarginBottom:new f(h[3],h[0]),linkAccountContainerMarginTop:new f(h[3],h[0]),productTypeIconSize:new f(h[3],h[4])},pn="bankConnectionsSettingsPage",hn=({productType:e,windowSize:a})=>{switch(e){case"bill_pay":return t.jsx(In,{windowSize:a});case"reimbursement":return t.jsx(Ln,{windowSize:a});case"zeni_accounts":return t.jsx(On,{windowSize:a});case"zeni_treasury":return t.jsx(Rn,{windowSize:a});case"charge_cards":default:return t.jsx(Fn,{windowSize:a})}},mn=({analytics:e,allBankAccounts:a,setupView:L,connectedAccountProvider:O,onFetchLinkTokenClick:s,onUpdatePaymentAccountStatus:d,onEstablishConnectionClick:$,onEstablishConnectionSuccess:z})=>{const w=ae(),c=we(),{trigger:F,formState:{errors:M}}=et(),{plaidConnectionDetails:R,allFundingAccounts:l,primaryFundingAccount:o,productType:r}=L,x=R.link_account,C=R.update_account,[W,N]=b.useState(void 0),[le,Y]=b.useState(!1),ce=()=>{Y(!0)},k=W==="update_account"?C:x,[m,B]=b.useState(k.linkToken??null),[j,T]=b.useState(!1),E=x.fetchStatus.fetchState==="In-Progress"||x.updateStatus.fetchState==="In-Progress";let S,_,u,y=!1;o!=null&&(o.accType==="depositAccount"?S={code:"verified",name:"Verified"}:(S=o.providerVerificationStatus,_=o?.institutionDetails,u=S?.code,y=o?.isLoginRequired??!1));const fe=de(x.updateStatus.fetchState),se=de(C.updateStatus.fetchState),Re=de(C.fetchStatus.fetchState),Be=w.mode==="light"?new K(w.colors.brandColorJadeLight):new K(w.colors.brandColorJadeDark),We=b.useCallback((p,D)=>{e.trackConnectBankSuccess(r,"Settings");const ve=D.accounts.find(Ue=>Ue.id===o?.providerAccountId)??D.accounts[0];o?.id!=null&&W==="update_account"&&ve?.verification_status!=null&&!y?d(ve?.verification_status,o.id,"update_account",I(r),r):$(p,I(r),r),N(void 0),T(!1)},[e,r,o?.id,o?.providerAccountId,W,y,d,$]),De=b.useCallback((p,D)=>{p!=null&&(e.trackConnectBankFailure(r,p.error_code+" "+p.error_message,"Settings"),p.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&o?.id!=null&&d("verification_failed",o.id,"update_account",I(r),r),console.log("Plaid Connection Error",p,D)),N(void 0),T(!1)},[e,r,o?.id,d]),{open:re,ready:xe}=tt({token:m,onSuccess:We,onExit:De});b.useEffect(()=>{(fe==="In-Progress"&&x.updateStatus.fetchState==="Completed"||se==="In-Progress"&&C.updateStatus.fetchState==="Completed")&&u!=="verified"&&u!=="manually_verified"&&u!=="automatically_verified"&&u!=="database_matched"&&(s("link_account",I(r)),z(I(r),r))},[x.updateStatus.fetchState,z,s,o?.providerVerificationStatus?.code,o?.id,fe,se,C.updateStatus.fetchState,u,r]),b.useEffect(()=>{(Q.isVerifiedStatusCode(u??"")||u==="verification_failed")&&!j&&W!=null&&k.linkToken===m&&k.fetchStatus.fetchState==="Completed"&&xe&&T(!0)},[xe,m,k.fetchStatus.fetchState,k.linkToken,u,W,j]);const ye=me(pn,"primaryAccountSection"),Me=nt(M,ye);b.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==m&&B(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,m]),b.useEffect(()=>{j&&re()},[j,re]),b.useEffect(()=>{!o?.zeniAccountId&&!Me&&F(ye)},[o?.id]),b.useEffect(()=>{(u==null||u==="verification_failed"||u==="verification_expired"||Q.isVerifiedStatusCode(u))&&(Q.zeniDate(new Date().toISOString()).isAfter(x.expiration)||x.linkToken==null)&&s("link_account",I(r))},[]);const Ee=()=>{e.trackConnectBankGetBalance(r,"Settings"),N("update_account"),s("update_account",I(r),o?.id)},Se=`${o?.accountSubType?.name!=null?o?.accountSubType?.name.substring(0,1).toUpperCase().concat(o?.accountSubType?.name.substring(1)):""} ${o?.maskedAccountNumber??""}`.trim(),be=_?.zeniInstitutionId.toLowerCase()==="chase",Ne=l.findIndex(p=>p.id===o?.id),Ve={element:t.jsx(Le,{width:g.iconWidthHeight.valuePx(c)}),color:Be};return t.jsxs(gn,{windowSize:c,children:[le===!0?ht.createPortal(t.jsx(mt,{connectedAccountProvider:O,action:{onBackClick:()=>Y(!1)}}),document.body):null,t.jsxs(wn,{windowSize:c,wrapperWidth:P[0].width,children:[t.jsx(xn,{windowSize:c,isDarkMode:w.mode==="dark",children:t.jsx(hn,{productType:r,windowSize:c})}),t.jsx(fn,{children:ze.productNameByType[r]})]}),t.jsx(yn,{windowSize:c,wrapperWidth:P[1].width,children:t.jsxs(kn,{windowSize:c,children:[o!=null&&c!=="small"?t.jsx(zn,{isDisabled:y,children:gt(Ve,c,w.mode==="dark",o,Ne,!1)}):null,t.jsxs(jn,{windowSize:c,className:"fundingAccount",children:[t.jsx(Oe,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:w.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:h[4],fontWeight:$e.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:w.colors.hero,weight:$e.medium},name:me(r,"primaryAccountSection"),placeholder:ke.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(p,D)=>ot(l,p,D),valueToSubLabels:(p,D)=>it(l,p,D,!1),defaultValue:{selectedOption:o?.id,allOptions:l.map(p=>({label:p.label,value:p.id,isRecommended:p.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:E?"disabled":void 0,showLoadingIcon:E,onClickCreateOption:()=>{e.trackConnectBank(r,"Settings"),N("link_account"),x.linkToken==null||Q.zeniDate(new Date().toISOString()).isAfter(x.expiration)?s("link_account",I(r)):m!==x.linkToken?B(x.linkToken):j?re():T(!0)}}),t.jsxs(Sn,{isDisabled:y,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(bn,{children:Se}),c!=="small"&&(u!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||y||be)?t.jsx($n,{}):null]}):null,c==="small"&&S!=null?t.jsx(ee,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:S.name,textColor:te(S.code)}):null,u!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||y||be?t.jsx(wt,{productType:r,isUpdateLinkClicked:W==="update_account",isLoginRequired:y,isPendingVerification:u!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:C.fetchStatus,updateStatus:C.updateStatus,linkFetchStatus:x.fetchStatus,linkUpdateStatus:x.updateStatus,prevFetchState:Re,prevUpdateState:se},onUpdateLinkTokenClick:Ee,onChaseInfoClick:ce}):null]})]}),c==="small"?t.jsxs(Cn,{children:[o?.accountBalance?.available?t.jsx(je,{className:"balanceLabel",children:ne("0,0[.]00",o?.accountBalance?.available)}):t.jsx(he,{children:pe}),o?.accountBalance?.lastRefreshTime?t.jsx(Ae,{className:"balanceLabel",children:ie(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(q,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Pn,{windowSize:c,isDisabled:y,wrapperWidth:P[2].width,onClick:p=>p.stopPropagation(),"data-testid":at("bank-account-section",r),className:"qboLinkAcc",children:[c==="small"?t.jsx(vn,{children:ze.bankConnectionHeader.linkAccount}):null,t.jsx(_n,{isDisabled:y?"disabled":void 0,name:me(r,"bankAccountSection"),placeholder:ke.zeniCashAccountPlaceholder,defaultValue:{selectedOption:o?.zeniAccountId??"",allOptions:a.map(p=>({label:p.accountName,value:p.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Tn,{windowSize:c,wrapperWidth:P[3].width,children:S!=null?t.jsx(ee,{style:{width:"max-content",padding:0},tagTitle:S.name,textColor:te(S.code)}):t.jsx(he,{children:pe})}):null,c!=="small"?t.jsxs(An,{windowSize:c,wrapperWidth:P[4].width,children:[o?.accountBalance?.available?t.jsx(je,{className:"balanceLabel",children:ne("0,0[.]00",o?.accountBalance?.available)}):t.jsx(he,{children:pe}),o?.accountBalance?.lastRefreshTime?t.jsx(Ae,{className:"balanceLabel",children:ie(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(q,{size:"Small",start:!0}):null]}):null]})},gn=n.div`
|
|
136
|
-
display: flex;
|
|
137
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
138
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
139
|
-
padding: ${e=>g.containerPadding.valuePx(e.windowSize)};
|
|
140
|
-
padding-right: ${e=>g.containerRightPadding.valuePx(e.windowSize)};
|
|
141
|
-
`,he=n.div`
|
|
142
|
-
color: ${e=>e.theme.colors.hero};
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: flex-end;
|
|
145
|
-
justify-content: flex-end;
|
|
146
|
-
`,wn=n.div`
|
|
147
|
-
display: flex;
|
|
148
|
-
align-items: center;
|
|
149
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
150
|
-
margin-bottom: ${e=>g.productTypeContainerMarginBottom.valuePx(e.windowSize)};
|
|
151
|
-
padding-right: ${i.sp3};
|
|
152
|
-
`,fn=n(A)`
|
|
153
|
-
white-space: nowrap;
|
|
154
|
-
overflow: hidden;
|
|
155
|
-
text-overflow: ellipsis;
|
|
156
|
-
`,xn=n.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: row;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
align-items: center;
|
|
161
|
-
align-self: ${e=>e.windowSize==="small"?"flex-start":"unset"};
|
|
162
|
-
padding: ${e=>g.iconPadding.valuePx(e.windowSize)};
|
|
163
|
-
background: ${e=>e.windowSize==="small"?e.isDarkMode?e.theme.colors.brandColorJadeLight:e.theme.colors.brandColorJadeDark:e.isDarkMode?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJadeLight};
|
|
164
|
-
border-radius: ${i.sp11};
|
|
165
|
-
width: fit-content;
|
|
166
|
-
height: fit-content;
|
|
167
|
-
color: ${e=>e.windowSize==="small"?e.isDarkMode?e.theme.colors.brandColorOnyx:V.neutralGrey5Light:e.isDarkMode?V.neutralGrey5Light:e.theme.colors.brandColorOnyx};
|
|
168
|
-
max-width: ${e=>g.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
169
|
-
max-height: ${e=>g.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
170
|
-
margin-right: ${i.sp2};
|
|
171
|
-
`,yn=n.div`
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: column;
|
|
174
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
175
|
-
`,Sn=n(v)`
|
|
176
|
-
display: flex;
|
|
177
|
-
align-items: center;
|
|
178
|
-
color: ${e=>e.isDisabled?e.theme.colors.grey1:"inherit"};
|
|
179
|
-
flex-wrap: wrap;
|
|
180
|
-
`,bn=n.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
`,je=n(A)`
|
|
183
|
-
display: flex;
|
|
184
|
-
justify-content: flex-end;
|
|
185
|
-
`,Ae=n(v)`
|
|
186
|
-
color: ${e=>e.theme.colors.hero};
|
|
187
|
-
`,vn=n(v)`
|
|
188
|
-
color: ${e=>e.theme.colors.grey1};
|
|
189
|
-
width: 135px;
|
|
190
|
-
`,$n=n.div`
|
|
191
|
-
display: inline-block;
|
|
192
|
-
border-radius: ${i.sp2};
|
|
193
|
-
margin: ${i.sp0} ${i.sp2};
|
|
194
|
-
width: ${i.sp1};
|
|
195
|
-
height: ${i.sp1};
|
|
196
|
-
cursor: inherit;
|
|
197
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
198
|
-
`,zn=n.div`
|
|
199
|
-
display: flex;
|
|
200
|
-
opacity: ${e=>e.isDisabled?.8:1};
|
|
201
|
-
`,kn=n.div`
|
|
202
|
-
display: flex;
|
|
203
|
-
justify-content: flex-start;
|
|
204
|
-
`,jn=n.div`
|
|
205
|
-
display: flex;
|
|
206
|
-
flex-direction: column;
|
|
207
|
-
width: ${e=>e.windowSize==="small"?"64%":"100%"};
|
|
208
|
-
`,An=n.div`
|
|
209
|
-
display: flex;
|
|
210
|
-
flex-direction: column;
|
|
211
|
-
justify-content: center;
|
|
212
|
-
align-items: flex-end;
|
|
213
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
214
|
-
`,Cn=n.div`
|
|
215
|
-
display: flex;
|
|
216
|
-
flex-direction: column;
|
|
217
|
-
align-items: flex-end;
|
|
218
|
-
justify-content: center;
|
|
219
|
-
width: 36%;
|
|
220
|
-
`,Tn=n.div`
|
|
221
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
222
|
-
`,Pn=n.div`
|
|
223
|
-
display: flex;
|
|
224
|
-
align-items: center;
|
|
225
|
-
opacity: ${e=>e.isDisabled?.4:1};
|
|
226
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
227
|
-
margin-top: ${e=>g.linkAccountContainerMarginTop.valuePx(e.windowSize)};
|
|
228
|
-
`,_n=n(Oe)`
|
|
229
|
-
border-radius: ${i.sp2};
|
|
230
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
231
|
-
color: ${e=>e.theme.colors.hero};
|
|
232
|
-
${Ie.smallRegular.css};
|
|
233
|
-
`,In=n(dt)`
|
|
234
|
-
width: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
235
|
-
height: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
236
|
-
`,Ln=n(rt)`
|
|
237
|
-
width: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
238
|
-
height: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
239
|
-
`,On=n(Le)`
|
|
240
|
-
width: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
241
|
-
height: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
242
|
-
`,Fn=n(ct)`
|
|
243
|
-
width: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
244
|
-
height: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
245
|
-
`,Rn=n(st)`
|
|
246
|
-
width: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
247
|
-
height: ${e=>g.productTypeIconSize.valuePx(e.windowSize)};
|
|
248
|
-
`,me=(e,a)=>`${e}.${a}`,I=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup"}},{settings:{bankConnectionListHeader:ge,title:Bn,infoText:Wn}}=J.getLocalizedStrings().common,oe={pageContentPadding:new f(h[4],h[8]),subtitleSectionWidth:new f(343,580,1200),subTitleBottomMargin:new f(h[0],h[5])},Dn={qboLinkAcc:new Ke("smallRegular","standardRegular")},Mn="bankConnectionsSettingsPage",U="bankAccountSection",H="primaryAccountSection",En="bill_pay",Nn="reimbursement",Vn="zeni_accounts",Un="charge_cards",Hn="zeni_treasury",Ce=e=>t.jsx(Gn,{children:P.map(a=>t.jsx(Yn,{actualDataValue:a.value,wrapperWidth:a.width,windowSize:e,children:t.jsx(Qn,{children:a.value})},a.value))}),bi=({analytics:e,bankSetupView:a,connectedAccountProvider:L,onBackClick:O,onUpdateAccountClick:s,onFetchLinkTokenClick:d,onUpdatePaymentAccountStatus:$,onUpdatePaymentAccountLoginStatus:z,onEstablishConnectionClick:w,onEstablishConnectionSuccess:c,onClickMenuIcon:F,onUpdatePrimaryFundingAccount:M,onRemoveConnection:R})=>{const l=ae(),o=we(),{allFundingAccounts:r,primaryConnection:x}=a,C=He({mode:"all",reValidateMode:"onChange",defaultValues:_e(a),values:_e(a)}),W=C.handleSubmit(m=>{}),N=async(m,B)=>{const j=m.split("."),T=j[0],E=j[1],S=x.find(_=>_.productType===T);if(T!=null&&E!=null){const _=B[T][E];if(E==="primaryAccountSection"){const u=r.find(y=>y.id===_.selectedOption)?.accType;_.selectedOption!=null&&u!=null&&M(_.selectedOption,I(T),u)}else if(E==="bankAccountSection"&&S!=null&&S.primaryFundingAccount!=null&&_.selectedOption!=null){const u=S.primaryFundingAccount?.id,y=S.primaryFundingAccount?.accType;u!=null&&y!=null&&s(_.selectedOption,u,T,I(T),y)}}};b.useEffect(()=>{const m=C.watch((B,{name:j})=>{j!=null&&B!=null&&qe(()=>N(j,B))});return()=>{m.unsubscribe()}});const le=a.fetchState==="In-Progress"||a.fetchState==="Not-Started",Y=a.fetchState==="Completed"&&a.allFundingAccounts.length===0,ce=o==="small"?Jt:kt,k=()=>le?t.jsx(Kn,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):Y?t.jsx(Ge,{message:"No bank connections added."}):t.jsxs(qn,{windowSize:o,children:[t.jsx(Pe,{children:ge.primary}),o!=="small"?Ce(o):null,t.jsx(Ye,{...C,children:t.jsx("form",{id:ai(Mn),onSubmit:W,children:t.jsx(ei,{windowSize:o,children:a.primaryConnection.map(m=>m!=null?t.jsx(Te,{windowSize:o,children:t.jsx(mn,{analytics:e,allBankAccounts:a.allBankAccounts,setupView:m,connectedAccountProvider:L,onFetchLinkTokenClick:d,onUpdatePaymentAccountStatus:$,onUpdatePaymentAccountLoginStatus:z,onEstablishConnectionClick:w,onEstablishConnectionSuccess:c})},m.productType):null)})})}),a.otherPaymentAccounts.length>0?t.jsxs(Zn,{children:[t.jsx(Pe,{children:ge.other}),t.jsx(ii,{children:t.jsx(Qe,{display:"flex",placement:"right",maxWidth:"340px",title:ge.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(oi,{})})})]}):null,o!=="small"&&a.otherPaymentAccounts.length>0?Ce(o):null,a.otherPaymentAccounts.map(m=>{const B=r.find(j=>j.id===m.paymentAccountId)?.balanceFetchStatus;return t.jsx(Te,{windowSize:o,children:t.jsx(ce,{paymentAccount:m,bankAccountList:a.allBankAccounts,balanceFetchStatus:B,onRemoveConnection:R})},m.paymentAccountId)})]});return t.jsxs(Jn,{children:[t.jsx(Je,{source:"BankConnectionsSettingsPage",title:Bn.bankConnections,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:F}),t.jsxs(Xn,{windowSize:o,children:[t.jsx(ti,{windowSize:o,children:t.jsx(ni,{windowSize:o,children:Wn.bankConnections})}),k()]})]})},qn=n.div`
|
|
249
|
-
display: flex;
|
|
250
|
-
flex-direction: column;
|
|
251
|
-
width: 100%;
|
|
252
|
-
padding-left: ${e=>oe.pageContentPadding.valuePx(e.windowSize)};
|
|
253
|
-
padding-right: ${e=>oe.pageContentPadding.valuePx(e.windowSize)};
|
|
254
|
-
`,Jn=n.div`
|
|
255
|
-
display: flex;
|
|
256
|
-
min-height: 100%;
|
|
257
|
-
flex-direction: column;
|
|
258
|
-
row-gap: ${i.sp3};
|
|
259
|
-
width: 100%;
|
|
260
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
261
|
-
`,Gn=n(v)`
|
|
262
|
-
top: ${i.sp0};
|
|
263
|
-
left: ${i.sp0};
|
|
264
|
-
min-height: ${i.sp8};
|
|
265
|
-
width: auto;
|
|
266
|
-
z-index: 1;
|
|
267
|
-
display: flex;
|
|
268
|
-
align-items: center;
|
|
269
|
-
box-sizing: border-box;
|
|
270
|
-
padding: ${i.sp3} ${i.sp8} ${i.sp3} ${i.sp4};
|
|
271
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
272
|
-
justify-content: space-between;
|
|
273
|
-
position: sticky;
|
|
274
|
-
`,Yn=n.div`
|
|
275
|
-
color: ${e=>e.theme.colors.grey1};
|
|
276
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
277
|
-
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
278
|
-
display: flex;
|
|
279
|
-
align-items: center;
|
|
280
|
-
gap: ${i.sp1};
|
|
281
|
-
left: ${i.sp0};
|
|
282
|
-
justify-content: ${e=>e.actualDataValue==="Balance"?"flex-end":"flex-start"};
|
|
283
|
-
position: static;
|
|
284
|
-
z-index: 0;
|
|
285
|
-
padding-left: ${i.sp0};
|
|
286
|
-
box-sizing: border-box;
|
|
287
|
-
overflow: hidden;
|
|
288
|
-
`,Qn=n(v)`
|
|
289
|
-
display: flex;
|
|
290
|
-
gap: 5px;
|
|
291
|
-
`,Zn=n.div`
|
|
292
|
-
display: flex;
|
|
293
|
-
align-items: center;
|
|
294
|
-
`,Te=n.div`
|
|
295
|
-
display: flex;
|
|
296
|
-
min-height: 96px;
|
|
297
|
-
justify-content: center;
|
|
298
|
-
flex-direction: column;
|
|
299
|
-
width: 100%;
|
|
300
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
301
|
-
border-radius: ${i.sp2};
|
|
302
|
-
box-sizing: border-box;
|
|
303
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
304
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
305
|
-
border-radius: ${i.sp2};
|
|
306
|
-
margin-bottom: ${i.sp5};
|
|
307
|
-
color: ${e=>e.theme.colors.hero};
|
|
308
|
-
.fundingAccount
|
|
309
|
-
.single-select-field__control
|
|
310
|
-
.select-value-container
|
|
311
|
-
.single-select-field__single-value {
|
|
312
|
-
color: ${e=>e.theme.colors.hero};
|
|
313
|
-
${Ie.standardRegular.css};
|
|
314
|
-
}
|
|
315
|
-
.qboLinkAcc
|
|
316
|
-
.single-select-field__control
|
|
317
|
-
.select-value-container
|
|
318
|
-
.single-select-field__single-value {
|
|
319
|
-
color: ${e=>e.theme.colors.hero};
|
|
320
|
-
${e=>`${Dn.qboLinkAcc.style(e.windowSize)}`};
|
|
321
|
-
}
|
|
322
|
-
&:hover {
|
|
323
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
324
|
-
color: ${e=>e.theme.colors.primary};
|
|
325
|
-
.balanceLabel {
|
|
326
|
-
color: ${e=>e.theme.colors.primary};
|
|
327
|
-
}
|
|
328
|
-
.single-select-field__control
|
|
329
|
-
.select-value-container
|
|
330
|
-
.single-select-field__single-value {
|
|
331
|
-
color: ${e=>e.theme.colors.primary};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
`,Xn=n.div`
|
|
335
|
-
display: flex;
|
|
336
|
-
justify-content: flex-start;
|
|
337
|
-
height: 100%;
|
|
338
|
-
overflow-y: auto;
|
|
339
|
-
flex-direction: column;
|
|
340
|
-
align-items: center;
|
|
341
|
-
`,Kn=n.div`
|
|
342
|
-
display: flex;
|
|
343
|
-
width: 100%;
|
|
344
|
-
height: calc(100vh - 110px);
|
|
345
|
-
flex-direction: row;
|
|
346
|
-
justify-content: center;
|
|
347
|
-
align-items: center;
|
|
348
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
349
|
-
`,ei=n.div`
|
|
350
|
-
display: flex;
|
|
351
|
-
flex-direction: column;
|
|
352
|
-
`,Pe=n(Xe)`
|
|
353
|
-
color: ${e=>e.theme.colors.primary};
|
|
354
|
-
margin-right: ${i.sp1};
|
|
355
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp2};
|
|
356
|
-
`,ti=n(Ze)`
|
|
357
|
-
display: flex;
|
|
358
|
-
justify-content: center;
|
|
359
|
-
align-items: center;
|
|
360
|
-
width: ${e=>oe.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
361
|
-
margin-bottom: ${e=>oe.subTitleBottomMargin.valuePx(e.windowSize)};
|
|
362
|
-
`,ni=n(A)`
|
|
363
|
-
display: flex;
|
|
364
|
-
align-items: center;
|
|
365
|
-
color: ${e=>e.theme.colors.hero};
|
|
366
|
-
`,ii=n.div`
|
|
367
|
-
display: flex;
|
|
368
|
-
color: ${e=>e.theme.colors.hero};
|
|
369
|
-
&:hover {
|
|
370
|
-
color: ${e=>e.theme.colors.primary};
|
|
371
|
-
svg {
|
|
372
|
-
color: ${e=>e.theme.colors.primary};
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
`,oi=n(lt)`
|
|
376
|
-
width: ${i.sp3};
|
|
377
|
-
height: ${i.sp3};
|
|
378
|
-
color: ${e=>e.theme.colors.hero};
|
|
379
|
-
`,_e=e=>{const{primaryConnection:a,allBankAccounts:L,allFundingAccounts:O}=e,s=L.map(l=>({label:l.accountName,value:l.accountId})),d=O.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"})),$=a.find(l=>l.productType==="bill_pay"),z=a.find(l=>l.productType==="reimbursement"),w=a.find(l=>l.productType==="zeni_accounts"),c=a.find(l=>l.productType==="charge_cards"),F=a.find(l=>l.productType==="zeni_treasury"),M=w?.allFundingAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))??[],R=F?.allFundingAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="paymentAccount"}))??[];return{[En]:{[U]:{selectedOption:$?.primaryFundingAccount?.zeniAccountId,allOptions:s},[H]:{selectedOption:$?.primaryFundingAccount?.id,allOptions:d}},[Nn]:{[U]:{selectedOption:z?.primaryFundingAccount?.zeniAccountId,allOptions:s},[H]:{selectedOption:z?.primaryFundingAccount?.id,allOptions:d}},[Vn]:{[U]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:s},[H]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:M}},[Hn]:{[U]:{selectedOption:F?.primaryFundingAccount?.zeniAccountId,allOptions:s},[H]:{selectedOption:F?.primaryFundingAccount?.id,allOptions:R}},[Un]:{[U]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:s},[H]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:d}}}},ai=e=>`${e}_form`;export{bi as default,ai as formUniqueName};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import{u as $e,X as Oe,a1 as I,a as De,c2 as Re,M as Ue,a7 as Q,j as t,cH as He,Y as ze,g as Le,C as u,aW as qe,d as Me,F as Ne,cZ as Ge,aQ as Ke,c_ as Je,bs as Xe,c$ as Qe,a3 as Ye,o as L,p as a,q as Ze,b4 as et}from"./index-D3N9MvRr.js";import{b as m,n as g}from"./vendor-CnQcJ2Lu.js";import{P as tt}from"./HelpButton-D5ZYyQMh-CbYd0zN7.js";import"./SetUpAccountSection-BBZNI1Xl-DXELzEMu.js";import{K as H}from"./SetUpDefaultSection--9Qh-utY-c-mUbFLs.js";import{p as it}from"./SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js";import{g as nt}from"./UploadAdditionalDocumentOverlay-B3tUNhKj-DN4WILBU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Dh8meV6d-Bpx3vewx.js";import"./ChaseOverlay-KLet3F9X-CdWRAKXV.js";import"./ChargeCardUtils-B3JEziD7-BDgvm4V8.js";import"./CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js";const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Y="billPaySetUpPage",E="billPayAccount",Vt=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:r,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:he,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEnableBillPayClick:ge,onEnableBillPaySuccess:q,onClickMenuIcon:ye,onInternationPaymentSetUpClick:Se,onEditFileName:be,onDeleteFile:Pe,updateFilesEntity:xe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=$e(),i=Oe(),[k,S]=m.useState(!1),M=m.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,$=_.link_account.updateStatus,O=_.update_account.updateStatus,V=I(p),K=I(b.fetchState),J=I($.fetchState),X=I(O.fetchState),P=De({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!k&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&S(!0),k&&V==="In-Progress"&&p==="Completed"&&S(!1)},[s,p,V]),m.useEffect(()=>{(V==="In-Progress"&&p==="Completed"||J==="In-Progress"&&$.fetchState==="Completed"||X==="In-Progress"&&O.fetchState==="Completed")&&P.reset(z(e))},[V,p,P,e,J,$.fetchState,X,O.fetchState]);const Ve=P.handleSubmit(x=>{y.trackEnableBillPay(),ge()}),Be=async(x,F)=>{const o=F[E];if(x.includes(E)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&l?.id!=o.fundingAccount.selectedOption){const f=N.find(U=>U.id===o.fundingAccount.selectedOption);f!=null&&pe(o.fundingAccount.selectedOption,f.accType)}}else if(o.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=o.account.selectedOption){const f=o.account.allOptions.find(U=>U.value===o.account.selectedOption);f!=null&&typeof f.label=="string"&&y.trackConnectBankLink(f.value,f.label,"bill_pay"),he(o.account.selectedOption,l.id,l.accType)}}};m.useEffect(()=>{const x=P.watch((F,{name:o})=>{o!=null&&F!=null&&Re(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{K==="In-Progress"&&b.fetchState==="Completed"&&q()},[q,K,b.fetchState]);const{commonSetUp:Fe,spendManagement:Ie}=Ue.getLocalizedStrings(),{setUp:d}=Fe,{billPaySetup:c}=Ie.billPay,D=A?.isBusinessVerified===!0&&(l?.accType==="depositAccount"||l?.providerVerificationStatus?.code==="verified"||l?.providerVerificationStatus?.code==="manually_verified"||l?.providerVerificationStatus?.code==="automatically_verified"||l?.providerVerificationStatus?.code==="database_matched"),R=A?.isBillPayEnabled===!0,Ee=D?d.setupVerifiedSubTitle:c.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",B=C.mode==="light"?new Q(C.colors.brandColorJadeLight):new Q(C.colors.brandColorJadeDark),_e=()=>{!k&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(at,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(nt,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:Pe,updateFilesEntity:xe,companyOfficer:s,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:c.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:M,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(st,{windowSize:i,children:[t.jsx(ct,{windowSize:i,children:Ee}),We?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(ot,{children:[t.jsx(Ne,{...P,children:t.jsx("form",{id:Z(Y),onSubmit:Ve,children:t.jsxs(dt,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(it,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:N,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:E,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:c.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),r===!0?t.jsx(H,{title:T?c.enableInternationalWireTitle:c.internationWireTitle,subTitle:c.internationalWireSubTitle2,header:c.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:B},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(ie),Se?.()},status:T?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"?c.tooltipTexts.pendingInternationalVerificationText:c.tooltipTexts.internationalVerificationFailed,children:t.jsx(lt,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),D&&!R&&j.length>0?t.jsx(Ye,{formId:Z(Y),primaryBtn:{label:c.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:c.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(tt,{isFooterRendered:D&&!R,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},ot=g.div``,at=g.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
height: 100vh;
|
|
8
|
-
overflow-y: auto;
|
|
9
|
-
`,lt=g(et)`
|
|
10
|
-
width: ${L.sp3};
|
|
11
|
-
height: ${L.sp3};
|
|
12
|
-
color: ${e=>e.theme.colors.hero};
|
|
13
|
-
&:hover {
|
|
14
|
-
color: ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,ct=g(Ze)`
|
|
17
|
-
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${e=>n.titleWidth.valuePx(e.windowSize)};
|
|
21
|
-
padding-top: ${e=>n.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
|
-
padding-bottom: ${e=>n.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,st=g.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
align-items: center;
|
|
29
|
-
row-gap: ${e=>n.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
30
|
-
`,rt=g.div`
|
|
31
|
-
display: flex;
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: calc(100vh - 110px);
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
align-items: center;
|
|
37
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
38
|
-
`,dt=g.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,z=e=>{const{allBankAccounts:w,allFundingAccounts:W,primaryFundingAccount:v}=e;return{[E]:{fundingAccount:{selectedOption:v?.id,allOptions:W.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:v?.zeniAccountId,allOptions:w.map(r=>({label:r.accountName,value:r.accountId}))}}}},Z=e=>`${e}_form`;export{Vt as default,Z as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M,j as b,bM as V,bO as q,bP as W,jh as z,l as H,aa as X}from"./index-D3N9MvRr.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Y}from"./ReviewOverlay-DcBe94Sd-BykmGHu4.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=M.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:h}=t,u=i==="review",[P,w]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,E]=_.useState(u),[B,T]=_.useState(0),[f,k]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(x),L===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),T(d=>d+1)},1e3)),B===s.length&&p&&(E(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,B,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=G(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,h),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,h,Z(t)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:$}=J(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,h),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[P?b.jsx(V,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(q,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Y,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:O,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:X("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:K(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},Z=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},G=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>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_>",e)}},J=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:h,do_:u,does:P}=n.texts,w=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:P):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:h)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},K=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,Z as getBillsUniqueType};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{u as et,X as tt,a1 as we,j as i,M as Te,i as G,a as it,cg as at,l as L,z as st,c2 as nt,aa as ot,a0 as rt,K as lt,aW as ct,Y as dt,c3 as mt,bM as pt,bO as ut,bP as ft,d as yt,F as ht,a3 as gt,o as r,C as N,f as $e,fC as xt,fa as Ce,cv as St,b$ as wt,a2 as Ct,q as ke,Q as bt,h as vt,p as k}from"./index-D3N9MvRr.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{o as Dt,G as Tt}from"./CompanyOfficerDetailsSection-DWqEolPc-hNs6b-3g.js";import{r as $t}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-_LY7c-ZC-Dc-9_BK1.js";import"./LabeledCreatableSingleSelectField-paSeI8_R-DbZOk4k7.js";import"./LabeledDocumentField-DiMgPKtR-CSKmqw6B.js";import"./DocumentSecurityBanner-B0Qt1FLC-B14Aeb97.js";const x={width:new N(343,580,726),titleWidth:new N(343,580,726,826),subTitlePaddingTop:new N(12,k[3]),subTitlePaddingBottom:new N(k[3],k[3]),verificationDetailsRowGap:new N(12,k[5],k[5]),termsPaddingLeftRight:new N(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:Nt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),pi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:O,isRefreshingViewInBackground:_,filesEndPoint:o,authParams:z,productType:y,allIndustries:B,companyTitles:E,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:J,onRegisteredAddressClick:Ne,onBackClick:j,onGetOtp:Pe,onVerifyOtp:Oe,onResendOtp:je,onSendForVerificationClick:Fe,onEditFileName:ee,onCompanyDetailsChanged:Ve,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:_e,onClickMenuIcon:ze})=>{const Be=et(),m=tt(),{updateStatus:R,companyView:F,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ee=we(R.fetchState),U=F?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(Bt,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=P.useState(!1),[M,se]=P.useState("save"),[Z,Me]=P.useState(!1),u=it({mode:"all",reValidateMode:"onChange",defaultValues:Ot(t,B,E,A)}),{isValid:Ge}=u.formState,q=F?.company.company.companyBillPayInfo,K=F?.company.company.companyTreasuryInfo,V=y==="zeni_treasury"?K?.companyVerificationStatus:q?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,re=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,Y=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,H=l?.primaryContactLocalData,ge=H?.firstName,xe=H?.lastName,Se=H?.email;a!=null&&f!=null&&C!=null&&$!=null&&c!=null&&re!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&Y!=null&&fe!=null&&ye!=null&&ue!=null&&Y!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:re,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:Y,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Ze=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",$=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!$?((!a?.firstName||!a?.lastName)&&u.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},qe=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&u.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||X!=null&&X?.length>0)return u.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Ke=u.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){u.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Fe?.(T))}),Xe=async(e,a)=>{e.includes(b)?Ve?.(a[b]):e.includes(v)&&Ae?.(a[v])},Qe=P.useCallback(st((e,a)=>{Xe(e,a)},300),[]);P.useEffect(()=>{const e=u.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>Qe(c,a))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,u]);const oe=F?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),X=oe?.map(e=>e.user),Ye=oe?.map(e=>e.role),He={onOkClick:()=>{W(!1),j();const e=[],a=F?.company.company.incInfo.fileIds??[];u.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Ye?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${v}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},Je=ot(rt(p),p,Nt.currencySymbol).toUpperCase(),Q=V?.code==="pending_review"||V?.code==="verified";return y==="zeni_treasury"&&Ee==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(qt,{children:[i.jsxs(Kt,{children:[i.jsx($t,{}),i.jsx(Xt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:j,variant:"primary"})]}):i.jsxs(jt,{isSettings:n,children:[i.jsx(ct,{title:h&&S===!0?Pt:s.header,backgroundColor:Be.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(u.formState.dirtyFields)?W(!0):j()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:ze,rightSideComponent:h?i.jsx(Qt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{j()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:He}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||S===!1)&&i.jsx(Vt,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),O==="In-Progress"||O==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...u,children:i.jsxs("form",{id:De(be),onSubmit:Ke,children:[h&&S===!0&&i.jsxs(Ft,{children:[i.jsxs(Et,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:Q?s.businessVerificationDetails:s.verifyBusinessDetails}),!Q&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(_t,{children:[i.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:X??[],sectionId:v,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:J,onDeleteFile:ie,isDisabled:I,filesEndPoint:o,authParams:z,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:Oe,onResendOtp:je,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:V,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:V?.code==="pending_review"||V?.code==="verified"?"readonly":I,fileProps:{authParams:z,filesEndPoint:o,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:J,onRegisteredAddressClick:Ne,connectedAccountProvider:U,allIndustries:B})]}),y==="zeni_accounts"?i.jsx(zt,{windowSize:m,children:s.threadText.replace("__amount__",Je)}):null]})})]}),O==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)j();else{const e=w[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=qe();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),_e?.(T))}}},helperText:Re,style:{padding:`12px ${r.sp3}`,zIndex:Z?0:4}}):null]})},Ot=(t,A,O,_)=>{const{companyDetailsLocalData:o,companyOfficerLocalData:z,companyView:y}=t,B=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:o?.companyDescription??"",ein:o?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:o?.companyId??"",syncToken:o?.syncToken,companyLegalName:o?.companyLegalName??"",companyWebsite:o?.website?.toString()??"",companyAddress:o?.addressStatus?.addressToCreate,registeredAddress:o?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:o?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:o?.phone??"",companyTaxId:o?.taxIdOrEIN??"",primaryContactName:{firstName:o?.primaryContactLocalData?.firstName??"",lastName:o?.primaryContactLocalData?.lastName??""},primaryContactEmail:o?.primaryContactLocalData?.email??"",primaryContactUserId:o?.primaryContactLocalData?.userId,primaryContactSyncToken:o?.primaryContactLocalData?.syncToken,fileIds:o?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:o?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:o?.incDate?.toDate(),typeOfIncorporation:{selectedOption:o?.typeOfIncorporation,allOptions:B.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:o?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},formationDocument:o?.companyFiles.find(p=>p.documentType==="company_formation_document")},[v]:Object.values(z).map((p,I)=>{const n=p,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:St(n?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:O?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,jt=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
row-gap: ${r.sp3};
|
|
7
|
-
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,Ft=d.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
gap: ${r.sp1};
|
|
14
|
-
width: 100%;
|
|
15
|
-
padding-bottom: ${r.sp3};
|
|
16
|
-
`,Vt=d(ke)`
|
|
17
|
-
color: ${t=>t.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${t=>x.titleWidth.valuePx(t.windowSize)};
|
|
21
|
-
padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
22
|
-
padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
23
|
-
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,Lt=d.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: flex-start;
|
|
27
|
-
height: 100%;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
align-items: center;
|
|
31
|
-
padding-bottom: ${r.sp9};
|
|
32
|
-
row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
|
|
33
|
-
`,At=d.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: calc(100vh - 110px);
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
41
|
-
`,_t=d.div`
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
row-gap: ${r.sp11};
|
|
45
|
-
`,zt=d($e)`
|
|
46
|
-
margin-top: ${r.sp2};
|
|
47
|
-
padding: ${r.sp2} ${r.sp2};
|
|
48
|
-
text-align: center;
|
|
49
|
-
color: ${t=>t.theme.colors.grey1};
|
|
50
|
-
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,Bt=d($e)`
|
|
52
|
-
text-align: center;
|
|
53
|
-
max-width: 750px;
|
|
54
|
-
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,Et=d.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: ${r.sp3};
|
|
59
|
-
width: 100%;
|
|
60
|
-
`,Rt=d(vt)`
|
|
61
|
-
${t=>`${kt.stepTitle.style(t.windowSize)}`};
|
|
62
|
-
color: ${t=>t.theme.colors.primary};
|
|
63
|
-
text-align: left;
|
|
64
|
-
`,Ut=d.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
gap: ${r.sp2};
|
|
69
|
-
`,Mt=d.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
width: 100%;
|
|
72
|
-
gap: ${r.sp3};
|
|
73
|
-
`,Gt=d.div`
|
|
74
|
-
width: 50%;
|
|
75
|
-
height: 2px;
|
|
76
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
77
|
-
border-radius: ${r.sp2};
|
|
78
|
-
flex-shrink: 0;
|
|
79
|
-
`,Wt=d.div`
|
|
80
|
-
width: 50%;
|
|
81
|
-
height: 2px;
|
|
82
|
-
background-color: ${t=>t.theme.colors.grey3};
|
|
83
|
-
border-radius: ${r.sp2};
|
|
84
|
-
flex-shrink: 0;
|
|
85
|
-
position: relative;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
|
|
88
|
-
&::after {
|
|
89
|
-
content: "";
|
|
90
|
-
position: absolute;
|
|
91
|
-
top: 0;
|
|
92
|
-
left: 0;
|
|
93
|
-
height: 100%;
|
|
94
|
-
width: 100%;
|
|
95
|
-
background-color: ${t=>t.theme.colors.primary};
|
|
96
|
-
animation: fillProgress 1s ease-in-out forwards;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@keyframes fillProgress {
|
|
100
|
-
0% {
|
|
101
|
-
transform: translateX(-100%);
|
|
102
|
-
}
|
|
103
|
-
100% {
|
|
104
|
-
transform: translateX(0%);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
`,Ie=d(ke)`
|
|
108
|
-
color: ${t=>t.theme.colors.hero};
|
|
109
|
-
margin-top: ${t=>t.isReadonly?r.sp0:r.sp3};
|
|
110
|
-
white-space: pre-line;
|
|
111
|
-
`,Zt=d(Ie)`
|
|
112
|
-
margin-top: ${r.sp0};
|
|
113
|
-
text-align: center;
|
|
114
|
-
`,qt=d.div`
|
|
115
|
-
display: flex;
|
|
116
|
-
flex-direction: column;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
gap: ${r.sp5};
|
|
120
|
-
margin: auto;
|
|
121
|
-
`,Kt=d.div`
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
align-items: center;
|
|
125
|
-
justify-content: center;
|
|
126
|
-
gap: ${r.sp3};
|
|
127
|
-
`,Xt=d(wt)`
|
|
128
|
-
color: ${t=>t.theme.colors.primary};
|
|
129
|
-
white-space: pre-line;
|
|
130
|
-
text-align: center;
|
|
131
|
-
`,Qt=d(Ct)`
|
|
132
|
-
cursor: pointer;
|
|
133
|
-
color: ${t=>t.theme.colors.hero};
|
|
134
|
-
width: ${r.sp4};
|
|
135
|
-
height: ${r.sp4};
|
|
136
|
-
min-height: ${r.sp4};
|
|
137
|
-
&:hover {
|
|
138
|
-
color: ${t=>t.theme.colors.primary};
|
|
139
|
-
}
|
|
140
|
-
`;export{pi as default,De as uniqueName};
|