@zeniai/web-cockpit-ui 1.13.84-qa → 1.13.85-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-Bya_wRcI-D24AQL3_.js → ACHDetailsPage-CRqyoYEz-xYrGFNnE.js} +3 -3
- package/dist/assets/{AIPerformancePage-Bc2kKHSK-vnI3KLwi.js → AIPerformancePage-DAkvkXSA-CGVKmjkJ.js} +24 -24
- package/dist/assets/AccountInfoPage-6EVpo7mW-aLkrvciq.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BhU-TVmh-C-UpNXF8.js → AccountInfoPageContent-BWZbyIYz-Q8Byt1d2.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-Dp2R5isq-6LbQVUfj.js → AccountReconDetailsDrawerPage-DLd_igXD-BoD_5Mp7.js} +18 -18
- package/dist/assets/AccountRow-D4iz2vCr-FZzwmYfW.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DYUyO-ip-Afoar8fj.js → AccountsPromoCardStack-DIly1lFF-BymCGDNy.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-CNSnxc8q-CfZsmSuQ.js → AddAddressForCardDrawer-C90j4Cwr-BKCwJ7c4.js} +1 -1
- package/dist/assets/{AddToWalletPage-Q8uWTckm-C9vK1iqP.js → AddToWalletPage-Bo2KesYz-Cz9shvNb.js} +30 -30
- package/dist/assets/{AgingReportsPage-B-DOb7my-WwOH5_Yn.js → AgingReportsPage-DuoKsSkU-D9JwO5kE.js} +4 -4
- package/dist/assets/{AllUserItems-B86Y2Fmg-DwBM7tfH.js → AllUserItems-C0U1Brjm-bMWZMmau.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CMYJgTzS-C2HHMQbl.js → ApAgingDetailPage-dNwAZULr-Bgfeeq5D.js} +3 -3
- package/dist/assets/{AppBasePage-DJO-V2ox-C-oIOb39.js → AppBasePage-CfkaWEbJ-DV03x5l2.js} +4 -4
- package/dist/assets/{AppDrawerContent-5_QaBLwS-picTHWhb.js → AppDrawerContent-DlHQEgOZ-CwVua6gS.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CPbVQ97S-C7Jihchv.js → ApprovalRulesSettingsPage-Pl7HoLmk-7CPgqfk2.js} +6 -6
- package/dist/assets/{ArAgingChart-l020Rk_S-DFeuvhU_.js → ArAgingChart-xI9TRvfS-B-FSsHVj.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BeUPeHBJ-BkRCdWjT.js → ArAgingDetailPage-BMGCnP5d-Ia6ZCwAD.js} +2 -2
- package/dist/assets/{AttachmentView-Afp_U4fV-8-c7IhJe.js → AttachmentView-C8AgUAnY-CXbbCi9n.js} +8 -8
- package/dist/assets/{BankAccountSection-CNQgxgSJ-Bj0DaA_J.js → BankAccountSection-DB4PEf_X-BThY20p4.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-V0HHzW57-vrqdtD7y.js → BankAccountWarningSection-BNO8Gl59-Cj0YvVYP.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Bk8K0xUn-CeZc6fuw.js → BankConnectionsSettingsPage-BOreBo5b-ClbcS0AA.js} +22 -22
- package/dist/assets/{BillDetailPage-D9d6X0o4-DnbAMdeA.js → BillDetailPage-Bv86SywV-OjQAhExV.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CSVTc5Mn-zEJJLZMO.js → BillPayApprovalRuleDetailPage-CDXxmD-3-CPsk0oK8.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DIOOCVKH-ec-IeSJ_.js → BillPayApprovalRulesPage-Ci5Ok7Zj-tof82RhM.js} +3 -3
- package/dist/assets/{BillPayPromoPage-C44YKAlE-CZ8TnOy7.js → BillPayPromoPage-Co2j2krO-DmiPp1nW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-erTIfKkS-B8D6nffd.js → BillPaySetUpPage-DjpCUZaT-BN2J-t4G.js} +2 -2
- package/dist/assets/BillingSettingsPage-CAs7DZQz-CqK9Ho86.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-BurxqQ7q.js +1 -0
- package/dist/assets/{BoxItem-UFBGpfBB-Hna_3gSj.js → BoxItem-BqLhtWoJ-N1dze3h9.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Cl7jz1DF-P_BUnpPu.js → BusinessVerificationPage-CZGOzc9Z-fjFONiSD.js} +8 -8
- package/dist/assets/{CardNumberSubText-DyFZudV_-B0AxiMNx.js → CardNumberSubText-23sLjCVt-BzieyTnf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D0_YW2Dy-CJHMwowQ.js → CashbackDetailPage-DY0n94jz-BUYqnV34.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-YkvyvIEk-C3d7vBC0.js → ChargeCardDetailPage-NWTPnGtM-D2U2Irky.js} +58 -58
- package/dist/assets/{ChargeCardListPage-4vg8Q6bl-Btxhg5jy.js → ChargeCardListPage-D42dfnET-QGICTWTK.js} +35 -35
- package/dist/assets/{ChargeCardListTable-Dl-rblE6-D5iGQu5n.js → ChargeCardListTable-B7uRDVzb-T3KA1SlK.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-DqF9CwRb.js +190 -0
- package/dist/assets/{ChargeCardSetupPage-BSiJnRP_-y1F_pjxz.js → ChargeCardSetupPage-Ccc8PoCm-BSIg4VNL.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-NkfA1SYG-kW4Au9ab.js → ChargeCardStatementsPage-JEslDm3r-C_RfZvQ8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-CLpd-HDH-dMJ2Q_93.js → ChargeCardUtils-B3JEziD7-CwQE9qIG.js} +1 -1
- package/dist/assets/{ChaseOverlay-B1cuawle-CSkF_51t.js → ChaseOverlay-KLet3F9X-BJh9nem5.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-BwsvgZ74.js +206 -0
- package/dist/assets/{CollapsableReportTable-iMD5xyGN-DxpM_9bu.js → CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-BA7etm2I-DTt9FR5w.js → CompanyOfficerDetailsSection-DWqEolPc-C_ETEVFs.js} +26 -26
- package/dist/assets/{CompanyPassportCard-Dks4EQDN-B0Dzj-Sj.js → CompanyPassportCard-fyolEQTs-BpIPYjUj.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Denliwgg-BRN9vOeB.js → CompanyPassportPage-CrgsRRVr-WqqSGX_w.js} +140 -140
- package/dist/assets/{CompleteProfile-CCLq4pNY-CtKBUzOW.js → CompleteProfile-D_zq0Bxi-Bi1YeUNU.js} +10 -10
- package/dist/assets/ConfettiBurst-CZuMHGP8-BTcuXQPa.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-BFejWQMx-C7NqnKds.js → CreateOrEditVendorPage-Ct4Kfowi-Drrod2cP.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-B7Sesq_n-DvfL88dh.js → CreditCardPaymentDrawerPage-Cpu-7pGN-z0mDR9Zy.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-D5CNl0oa-DiWqHLoj.js → CreditCardPaymentPlgSection-DoMaCnIZ-BpT8OJXl.js} +10 -10
- package/dist/assets/{CurrencySelectField-DYvc6rwt-DrMXyXgk.js → CurrencySelectField-CCOtXLC7-DmgJhn-v.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-oUiw--hv-uDxfiRoM.js → CustomerOnboardingActivationPage-Cgzif1ji-CPNUkRDw.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-DwYZZ9jR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BaDpU--M-Dr2X5vzk.js → CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-C_cxcuWE-BQPyN4r3.js → CustomerOnboardingNoStepsPage-DDloVGvk-EFD3k0Z1.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-vPwCgWM6.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DEqdhh-2-DNDa-YZB.js → CustomerOnboardingProductSuitePage-BA3GAX42-usBGW0iL.js} +4 -4
- package/dist/assets/Dashboard-Cr5ugENA-_ss7RgaI.js +1251 -0
- package/dist/assets/{DashboardReportPage-Tq4KsQuw-C0NFJvrJ.js → DashboardReportPage-paPVk_v2-7626om2P.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-DWhVL-kH-HToIlcYx.js → DepositAccTransactionItem-BXRfgUfE-Bcw5EG9I.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BiaZBvV4-Eo8UgPbX.js → DepositAccTransactionListPage--7TRlqKj-zqnHB4vQ.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-eGDvEOvr-Dfhgnjgy.js → DocumentSecurityBanner-B0Qt1FLC-BKK2GBle.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-Dx8FlvWR.js +21 -0
- package/dist/assets/{DownloadOverlay-C0vGOFIR-CLlCJb4E.js → DownloadOverlay-Cl_EXjiu-_W4-6wVr.js} +20 -20
- package/dist/assets/{DrawerPage-keu-rP1c-BE2Fh2qJ.js → DrawerPage-wXwAaYEB-ClkK54Ag.js} +8 -8
- package/dist/assets/EditPeoplePage-xDL6VA_r-DBIETQHy.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-jqf5akyj-a9iq4xwG.js → EditReimbursementDetailPage-BUpJPJNu-BuRQj9KF.js} +74 -74
- package/dist/assets/{EntityDetailPage-D0mZIEcR-Rg_90ffL.js → EntityDetailPage-BNXqSwVL-BtqM-DEW.js} +2 -2
- package/dist/assets/{EntitySummarySection-bL2stKO1-CambP6kY.js → EntitySummarySection-MZ57i-bY-H7IGJvB2.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Cm00uGHv-BucC69E3.js → ExpenseAutomationOverviewPage-Y3IHs4dG-BCr8LQIN.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-BA8sRxM--BvNgZY1Q.js → ExpenseAutomationPage-C0hvPLo7-CxYhLUjG.js} +84 -84
- package/dist/assets/{ExpressPayPage-DRNbLpuL-BTcYYJnP.js → ExpressPayPage-Bncb54-Q-m2KDux54.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CeeAOF5C-DHX56uCl.js → FeaturePreviewPage-BnGBEF9H-DIdV1EEF.js} +2 -2
- package/dist/assets/{FollowStepsSection-DuElPK3y-dhjgL0Nu.js → FollowStepsSection-laCvnETV-BKhPlVRt.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DfjZMTms-DrRjYv7e.js → GlobalReviewListPage-CskEuHc5-BvuvkrWm.js} +10 -10
- package/dist/assets/HelpButton-D5ZYyQMh-D3OqqJNA.js +28 -0
- package/dist/assets/{InformationCardStack-CmquAm7A-Bio4HHzL.js → InformationCardStack-BFJqdH9n-Cbvb8Zyt.js} +5 -5
- package/dist/assets/{InsightsCardStack-D5ahtQWr-B_JxN54j.js → InsightsCardStack-CcoMWMiA-BcmYr1H8.js} +9 -9
- package/dist/assets/{InsightsSection-xgqf4arB-CemPO1xM.js → InsightsSection-D9PiJagu-DOwHVFks.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-Cl6dfKQL-WHKkc-0x.js → IntegrationsSettingsPage-CVmDobJ8-CKVB31Cy.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-D_jWoFli-CGo3Glkw.js → InternationalWireSwiftDetailsPage-DqW88v9N-H1bFtbsa.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-it1U4OPj-CAqG3vli.js → InternationalWireVerificationPage-X90z_30k-xPYg__QG.js} +17 -17
- package/dist/assets/{InviteFormPage-DTMy8xZk-2GrL0qjS.js → InviteFormPage-BK-PRmeH-BAomtB1K.js} +23 -23
- package/dist/assets/{InvitePageListView-X7W1jRxY-DLLNNo8k.js → InvitePageListView-6-iCc4BK-DiUJrTMB.js} +31 -31
- package/dist/assets/InvitePeoplePage-C9AwNqIx-U6OqJmP1.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BhCDvIPX-e244hYqN.js → InvoiceUploadSection-D5aF4auL-D8CZg2Vk.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-CqE8lMsX-CQoXeSdg.js → IssueChargeCardPage-C_xt7hKZ-CgCvIFoE.js} +22 -22
- package/dist/assets/{LabeledAddressValue-CCEVX0ke-Dr-Y2rNd.js → LabeledAddressValue-DpSK0MqC-D58RjKgD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B9iirKZj-B-lkILdh.js → LabeledAddressValueField-_LY7c-ZC-EdJfII0E.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-Bl3-Zao6-CHB8td0R.js → LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-v86g-OZd-NNxB-j11.js → LabeledCreatableSingleSelectField-paSeI8_R-COJp3Y9m.js} +7 -7
- package/dist/assets/LabeledDocumentField-DiMgPKtR-DDw2gK-2.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-BQHdfd5e.js +59 -0
- package/dist/assets/{LabeledText-D9feJraX-o9BoQjAH.js → LabeledText-CyXj8QWV-DunmbzZf.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-BxGzxKzb.js → LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-oJIrTzfz.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-AwQaO42N-CKgF9hTJ.js → LabeledZeniRolesDropDownField-D0cQlbhO-Dqs02jMf.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-D3I2NvQw-P3R8MlXe.js → LinkJETransactionPage-DaXjiQRp-CH9vE8pm.js} +8 -8
- package/dist/assets/{LowBalancePopup-OSUi1Alp-BiLt2AdI.js → LowBalancePopup-CdftTvLb-DzgqRFO5.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-r3XSoJ11-Cv-fI0u0.js → MagicLinkACHDetailsPage-C25i1T4c-B_gtZsWu.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPG9fUzZ-B7fiv6MZ.js → MagicLinkDomesticWireDetailsPage-B0r3WStl-CY0AGP-m.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CmXJXEaN-Tp9z-x5e.js → MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DYlN82pS.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CwszAuW2-Bix3eRV8.js → MagicLinkSuccessPage-7JG3V4Qt-Brf6FY6k.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-CvrbJ-of-B5SXKUsj.js → MagicLinkTitleSection-DEe0hhml-De1g7fYA.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BJHZIZCt-Dq0ArLOp.js → MailingDetailsSection-Qc65E0w3-C6CH0-UP.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C4r3bJ84-B_7Xob1I.js → MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js} +1 -1
- package/dist/assets/{Menu-MHZ6Ibt0-DsBN8RMC.js → Menu-DyfXBl_1-H_GViJ7L.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-DG1tuqAt-BHEUeVdz.js → MyBankConnectionsSettingsPage-CCFcVgyX-Cj9pmtPo.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DZyxqqyJ-BhPK50AW.js → MyPendingActivationChargeCardListPage-DS966wTB-DXMBzQKu.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BnNbspx9-D_qqDWXw.js → MyProfileSettingsPage-BRRzMoQL-z-2QKlLv.js} +8 -8
- package/dist/assets/{NavBarWithPicker-3okDhiol-CJJ9BrpE.js → NavBarWithPicker-BvWih0k0-DqsmpQXd.js} +2 -2
- package/dist/assets/{NavigationArrow-iw-yd_9S-DvXlGggY.js → NavigationArrow-DYSL2aDL-BJUiAKpZ.js} +9 -6
- package/dist/assets/{NavigationDots-CB5JLuJi-Bme4BexN.js → NavigationDots-DyyCcIih-C83s6vN7.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CcGws2R2-Coiq6yZx.js → NewGlobalMerchantPage-DjEvzM4M-D2PAZo-X.js} +33 -33
- package/dist/assets/NoDataChart-DE6NV823-DlzVvXWT.js +26 -0
- package/dist/assets/{NoDataTable-BbDo9Kma-CGZ-ZRju.js → NoDataTable-CXNsBBVP-CNpKcnQr.js} +1 -1
- package/dist/assets/{NotFoundPage-gbtwlR8l-C8W_IclM.js → NotFoundPage-CuuO2Mia-DtoiuMBe.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-slkQwvVZ-C6_X1MwL.js → NotificationSettingsPage-C7ilxUAV-DVBhuDeZ.js} +16 -16
- package/dist/assets/NotificationsListConfig-TBQMobJ5-Dg1BFWgp.js +1 -0
- package/dist/assets/{NotificationsPage-BAyRPK64-D9pYswFj.js → NotificationsPage-BjaKD99B-HczC9sOP.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CofD6hKi-_r0JCjwW.js → OpExByVendorPage-IuDiHnIW-DSQhabH4.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-BqnlKexX.js → OverlayContainerPage-C0rUb6-5-zCXylyg1.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-_uOEFXiy-uRGPUMun.js → PandLWithForecastPage-DLvgYpF8-BvtUu1nj.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0zGxU4f-BbIQnivK.js → PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js} +8 -8
- package/dist/assets/{PeoplePage-8GExF-Lt-DycjJFii.js → PeoplePage-DyqY-rIV-6wYuIYCy.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-CMKEE7P7-BAgV1W9Q.js → PortfolioAllocationFormPage-DTuKtkwr-BCUD0jpE.js} +3 -3
- package/dist/assets/{PortfolioDetails-A3P3vG57-D-PvzBt-.js → PortfolioDetails-DJFeMG4U-jhRfPjHw.js} +11 -11
- package/dist/assets/{ProductsCarousel-D9H3mUJ--BVzwDfPL.js → ProductsCarousel-CS4_yc80-CJENMC5j.js} +7 -7
- package/dist/assets/{PromoBaseCards-CF0Bv_9G-CPu8OwaX.js → PromoBaseCards-BZ2m6LfO-DtHfjjw4.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-D2zi5wKm-BnMrx2Jb.js → QBOConnectionDialog-2vJQuslh-gswZrMuL.js} +6 -6
- package/dist/assets/{QBOSetupSection-B3Dj2g2k-B6Vh45jl.js → QBOSetupSection-Yv3Xw-yn-CsTlHo9j.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DgpHHy3U-CVsGPnLd.js → ReimbursementApprovalRuleDetailPage-tvJ2APRB-CJktCsdd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BjFi-uJl-B-1i4jgW.js → ReimbursementApprovalRulesPage-_nXCDa2A-BNgKNHzv.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BersvjG9-CWQWXTAd.js → ReimbursementDetailPage-CtEAsq7u-DRdTiZKG.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-K8dT-rtu-ejmkM2xl.js → ReimbursementPromoPage-BaEX5Ej4-BuvxoLSr.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-CfBuIpx6-BHJ5mWF-.js → ReimbursementSetUpPage-DXOqEJL4-iJtd4hOD.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-yaSD_tF5-CtbYjDdi.js → ReimbursementsBulkReviewDrawerPage-HQg1y1K--CLvh9oMo.js} +1 -1
- package/dist/assets/{ReloadCard-Do9Znv21-BdHDUomQ.js → ReloadCard-stfG9ekP-E5rZnPxi.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-D1UrK7VQ-B2lv_ic2.js → ReportTableViewSelector-_RTCd2td-Bc2QvO79.js} +7 -7
- package/dist/assets/{ReportsPage-dER5Ukfc-CkbR9-hx.js → ReportsPage-BIzz5Dt_-NFZB2f2n.js} +9 -9
- package/dist/assets/{RevenueChart-CCr_XauF-DE6xvLaq.js → RevenueChart-DeDVVUge-BKnJBaLk.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-ZoXTLGfR-CMQzdLlE.js → ReviewDetailsPage-DZqPpiln-DMAHDtV0.js} +19 -19
- package/dist/assets/{ReviewOverlay-Bywh-8pJ-CohY-7e4.js → ReviewOverlay-DcBe94Sd-COJlSRKh.js} +14 -14
- package/dist/assets/{RoleWithToolTip-CX9tF-BO-CfHGhDZn.js → RoleWithToolTip-DZO2tooH-B0y78jDy.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BEXr2qc0-BzP6cE1T.js → ScheduleDetailsFixedAssetsPage-Cl8iBII0-5-jnemx1.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CR8uJC5O-BvWjtOn1.js → ScheduleDetailsPage-D6ZxZ2uU-CKiYugJn.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D7kDvImN-BYm5tvmN.js → ScheduleSequenceTable-eRImHbZn-zcCUBGZK.js} +50 -50
- package/dist/assets/{ScreenRoutes-wesefRwS.js → ScreenRoutes-CXwvcn5x.js} +1 -1
- package/dist/assets/{SetUpAccountSection-B0J0zCOF-BgXG5DS8.js → SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-ES6v0-xw-DftidMnh.js → SetUpDefaultSection--9Qh-utY-3YrGFMUC.js} +16 -16
- package/dist/assets/{SignIn-yQ-8MBRA-CihMyZ7q.js → SignIn-CI0Ik2va-3pWKv9Zj.js} +19 -19
- package/dist/assets/{SignInScreen-DS6fEfuU.js → SignInScreen-CCdAg0VB.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-_rUojA3M-EqvrqWBS.js → SpendManagementListViewPage-NWkSnIdD-CxhuHjHo.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-Bhes-f7M-Cb3eyaQr.js → SpendManagementPerTabPage-CdWwn_b8-liFVp2pd.js} +47 -47
- package/dist/assets/{SpendManagementSection-CQHWqht2-DUZQM13E.js → SpendManagementSection-DGhD95sz-DwpipRyt.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-BHZ9nmWy-XOLb3Fur.js → SpendMgmtSetupAccountSection-DG4ozkeT-CwbSJso6.js} +14 -14
- package/dist/assets/{StatementItem-CKnsnb3u-ChM8cclP.js → StatementItem-BlfBohft-EV50IPyl.js} +8 -8
- package/dist/assets/StatementsPage-CUpjL5u7-BCXI4rzX.js +58 -0
- package/dist/assets/{StatusSwitcher-xR-S3KaW-BKRdafwP.js → StatusSwitcher-C6703BAG-BvT29XW2.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DczmDw-I-DARuAs1S.js → SubTabSwitcher-lf9S7Ubj-DJDWAJ0r.js} +1 -1
- package/dist/assets/{SummaryCard-YTxf_JPz-B8RE6XJZ.js → SummaryCard-yghz4PLR-Bjx-2ODn.js} +1 -1
- package/dist/assets/TaskManagementPage-Cf523C5f-IxjfQuXH.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C5yC8ifv-C8eV7Phr.js → TimeRangeSwitcher-BoPrOhKX-BejCCLXp.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D1xKpIjp-DZocHPU3.js → TimeframeSwitcher-DufweySH-PZfP9LZt.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-4nzCluDg.js +31 -0
- package/dist/assets/{TopExCard-CJN2nSdQ-Dyx710RI.js → TopExCard-DrOjlLiv-BAcprpz7.js} +6 -6
- package/dist/assets/{TopExDetailPage-ClQK2WDh-vTx0gLy7.js → TopExDetailPage-Ds4zlxKD-CEw3GubR.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CcNUBQmc-Bqi04LL8.js → TransactionDetailPage-Csl-Qjxp-EnZp16li.js} +47 -47
- package/dist/assets/{TransactionList-Dtqr5BZm-2I1pMc5u.js → TransactionList-2HeLZVn9-CrbbPmBE.js} +13 -13
- package/dist/assets/{TransactionListBig-D5_iDOBi-CLtD8kFo.js → TransactionListBig-p6iVof9y-BIk3tMms.js} +18 -18
- package/dist/assets/{TransactionListPage-DUCJRiyi-Bc5rziPm.js → TransactionListPage-tnL66tOu-CH3TLKSv.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DSpchZAl-CViZ0jmN.js → TransactionVendorDetailPage-DzkUYyCr-CDrpLHNP.js} +6 -6
- package/dist/assets/{TransferDrawerPage-BKWQEojA-CbMkqPsC.js → TransferDrawerPage-B9MGSdS9-CzcQLCyn.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-D1D2WipM-Pwv9-UGk.js → TreasuryOverviewPage-BEzBuOWn-BGywb4hM.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-BKgJHnC1-DyZjT5wh.js → TreasuryPromoPage-C8X4X7iN-D0YArboa.js} +15 -15
- package/dist/assets/TreasurySetupPage-Cb_GW75l-CXuYmMxJ.js +152 -0
- package/dist/assets/{TreasuryStatementsPage-DKHWWnrU-B3Bgyu2R.js → TreasuryStatementsPage-sOiD2QYm-_sZuOKSh.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-ieX9MUQd-FaNLEXUv.js → TreasuryTaxLetterPage-DYzqfHym-58oHHynw.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-DebuIwR3-DyjGtRDG.js → TreasuryTransferOrReviewPage-CesaUuNp-BPIM69Eo.js} +85 -85
- package/dist/assets/{TrendChart-B3VgdtYY-Dy5fluFV.js → TrendChart-kwGU0d90-GuSGL0hJ.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BMorBxWJ-C0G8In8o.js → TrendWithTransactions-CUlTYGIm-CezwwQyi.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BtmfySl9-BN2ZnER4.js → UncategorizedAccountsMappingPage-D76VPNEd-0jriRkP3.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-ByqJQgJ1-BX7a3DQa.js → UnitIntegrationPage-BsZCe-lq-DHXBulD5.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dwv3x7HQ-Ct27O0zE.js → UploadAdditionalDocumentOverlay-B3tUNhKj-B-Cnmuf3.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BVCUSOMr-BGHN4Pyc.js → Vendor2FAPopup-Bk-WKgMh-DEL2u-h6.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Cyp1bTJx-DCBHt584.js → VendorACHDetailsPage-u8a3XF33-D560uVGS.js} +1 -1
- package/dist/assets/{VendorDetailPage-1_rVoehK-BobdIlMd.js → VendorDetailPage-B-RdB79n-DCaK7fJL.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-B0wv2GP--DTrjpRQD.js → VendorDomesticWireDetailsPage-Bhb1Dmge-CBaHEUU6.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C5rHkQrV-CdnxzjBF.js → VendorFiling1099EditablePage-DHRivhBg-D2O_5fGv.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-CDlmZHmw-F8vzLeda.js → VendorFirstReviewPage-Cn2GBsyl-Crwyd647.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cdy000Jx-D5vc2ds4.js → VendorInternationalWireDetailsPage-Cjx1hvUL-CfeyeaMQ.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-BNzUBPow.js → VendorInternationalWireSwiftDetailsPage-BszRCCDh-BwXuAv_8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Ba7QpWAm-BA29ezpA.js → VendorsAccountsSection-D6VSJUo1-D3zBJygS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DCUPzxfi-Cw0kcPsl.js → WarningsDrawerPage-DReVGPEj-CByBNeKa.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-DF7Tn3t3-Bb4ItLLQ.js → ZeniAccountDetailPage-CFTB_WYX-BNpX3bjE.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cz9v3TCo-DC90elHU.js → ZeniAccountListViewPage-BmYgbIuC-CB7ObKhn.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-3EZY4gW6.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D7veJGZk-CE2g39oZ.js → ZeniAccountPromoPage-AfRVTc8V-Ck8cpTYF.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-ftl559Pj-DUN6Xu8R.js → ZeniAccountSetupPage-YXJmpz_d-DVvqqczO.js} +1 -1
- package/dist/assets/{ZeniCopyright-BScA_p2_-3vVWZkac.js → ZeniCopyright-CqpcrgAZ-sq7_yXnA.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bu23FZCA-L2os7fMa.js → ZeniTransferAmountSlider-DGkzRyMW-Btixfh5b.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-SSZc85h7.js → analyticsHelper-adG_BjY9.js} +1 -1
- package/dist/assets/{analyticsHelper-CGq-fGOi-CdOAgckK.js → analyticsHelper-sgo3pabT-K1toqw66.js} +1 -1
- package/dist/assets/{chartTypes-ChsIdl40-BAMg3Yoy.js → chartTypes-Dj-_K0Gi-BTPAwFj5.js} +1 -1
- package/dist/assets/{commonDimensions-Dk1fkj7r-DiuY44GO.js → commonDimensions-CKgBEMhT-DV1PneSk.js} +1 -1
- package/dist/assets/{detailCommon-BdiFpATU-C4tIDJfX.js → detailCommon-vtB2ffbe-CI1tw59v.js} +6 -6
- package/dist/assets/{downloadPdf-h21F3Bzk-BukvqPr-.js → downloadPdf-CiC0AXNH-BaYefCbJ.js} +1 -1
- package/dist/assets/{index-BU_OFOHO.js → index-nrhSmhQT.js} +3364 -3324
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-Bimz-BOL-DbOC86fY.js → mapLoadingInProgressToTreeNode-0MIZwF_y-C-JcxjaL.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dy2RH2lH--F7hkKSm.js → mapSectionWithAcOnlyToTreeNode-CWaIGa37-TStxu4Jm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CadZGfr8-BC_KRXsY.js → mapSpacerToTreeNode-1Bdqp9WS-BwfPBFlV.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BvXiirfs-BVF2yIEM.js → mapTimeframeBalancesToTreeNode-MPZhFWqo-BaV0QGS3.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-DD7TfH-R-DFC4jJ2P.js → play-icon-CF-Mkuir-DlDAGdqf.js} +1 -1
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Dy9J_UtA-BOr91SlJ.js → toCOABalancesWithID-D1BwrImS-goHqPuef.js} +1 -1
- package/dist/assets/{toChartData-BdomEAJ--DsSFVPa5.js → toChartData-DVTo0PPD-CtviYuE-.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D2LtJllD-vFc_5JFm.js → treasuryColorHelper-QzSX5YTe-9nXuNVNj.js} +1 -1
- package/dist/assets/{uploadAttachment-C5PL0FaC-BEd4sEZo.js → uploadAttachment-BxwOR3I5-CYLMnUD6.js} +29 -29
- package/dist/assets/{uploadReceipts-BH9fi3Vt-Dy17GpvZ.js → uploadReceipts-Buvz7DfG-D9z5xpPz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-d3ST-rTL-C3RGUA9e.js +0 -18
- package/dist/assets/AccountRow-t4I1y-2K-CtaiIm2n.js +0 -298
- package/dist/assets/BillingSettingsPage-CmvoTc8r-DeChOFZr.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-DHypnLOn.js +0 -1
- package/dist/assets/ChargeCardPromoPage-BzcIsHeK-DWt1qpzp.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--BOjUwQ0e.js +0 -206
- package/dist/assets/ConfettiBurst-MKPxinI7-D5PjCF0D.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-Edo-ai-j.js +0 -1
- package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-DJVUg9pf.js +0 -107
- package/dist/assets/Dashboard-DnR1KvYd-qcmjh10k.js +0 -778
- package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-Cb6zfshw.js +0 -21
- package/dist/assets/EditPeoplePage-BTnhywM--C7FSnENf.js +0 -55
- package/dist/assets/HelpButton-BKCFqzW3-mV3KEyfP.js +0 -28
- package/dist/assets/InvitePeoplePage-fzgtceuE-Ds-gEhhL.js +0 -12
- package/dist/assets/LabeledDocumentField-Dv4qzOY0-B2ZnIaW5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Cbq5gKFg.js +0 -59
- package/dist/assets/NoDataChart-BsN_tNbW-DRgn1703.js +0 -26
- package/dist/assets/NotificationsListConfig-DtsQwW2b-D98CVoY-.js +0 -1
- package/dist/assets/StatementsPage-B73U7d9e-DHwgyw8_.js +0 -58
- package/dist/assets/TaskManagementPage-LDFC29Ik-C44JMD6X.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-BfVPVHhs.js +0 -31
- package/dist/assets/TreasurySetupPage-C2JtTOhh-C5WOQnSa.js +0 -152
- package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-Dr6kpot6.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{j as s,Y as y,
|
|
1
|
+
import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,p as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,f as M,ha as O}from"./index-nrhSmhQT.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
|
-
`,
|
|
3
|
+
`,X=r.div`
|
|
4
4
|
position: relative;
|
|
5
5
|
width: ${t.sp3};
|
|
6
6
|
height: ${t.sp3};
|
|
@@ -22,7 +22,7 @@ import{j as s,Y as y,aG as T,u as f,X as E,bh as x,o as t,p as R,C as $,$ as I,M
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 1;
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,B=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},F=({valueEnd:e=50})=>{const i=f();return s.jsx(B,{valueStart:0,valueEnd:e,children:o=>s.jsx(X,{theme:i,children:s.jsx(Z,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,J=r.div`
|
|
26
26
|
width: 100%;
|
|
27
27
|
display: flex;
|
|
28
28
|
background: ${e=>e.isActive?e.theme.colors.grey5:null};
|
|
@@ -44,7 +44,7 @@ import{j as s,Y as y,aG as T,u as f,X as E,bh as x,o as t,p as R,C as $,$ as I,M
|
|
|
44
44
|
`,K=r.div`
|
|
45
45
|
margin-right: ${t.sp2};
|
|
46
46
|
margin-top: 2px;
|
|
47
|
-
`,
|
|
47
|
+
`,Q=r(L)`
|
|
48
48
|
width: ${t.sp3};
|
|
49
49
|
height: ${t.sp3};
|
|
50
50
|
color: ${u.success};
|
|
@@ -52,20 +52,20 @@ import{j as s,Y as y,aG as T,u as f,X as E,bh as x,o as t,p as R,C as $,$ as I,M
|
|
|
52
52
|
width: ${t.sp3};
|
|
53
53
|
height: ${t.sp3};
|
|
54
54
|
color: ${u.runwayRed};
|
|
55
|
-
`,
|
|
55
|
+
`,_=r.div`
|
|
56
56
|
height: ${t.sp3};
|
|
57
57
|
width: ${t.sp3};
|
|
58
58
|
border: 1px solid
|
|
59
59
|
${e=>e.isActive?e.theme.colors.primary:e.disabledStep?e.theme.colors.grey2:e.theme.colors.hero};
|
|
60
60
|
border-radius: 50%;
|
|
61
|
-
`,
|
|
61
|
+
`,q=r.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
|
-
`,
|
|
64
|
+
`,G=r(W)`
|
|
65
65
|
color: ${e=>j({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
66
|
-
`,
|
|
66
|
+
`,V=r(M)`
|
|
67
67
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
68
|
-
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(K,{children:a?s.jsx(Y,{}):l?s.jsx(
|
|
68
|
+
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(J,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(K,{children:a?s.jsx(Y,{}):l?s.jsx(F,{}):o?s.jsx(Q,{}):s.jsx(_,{isActive:i,disabledStep:c})}),s.jsxs(q,{children:[s.jsx(G,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(V,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex: 1 1 auto;
|
|
71
71
|
margin-top: 84px;
|
|
@@ -115,7 +115,7 @@ import{j as s,Y as y,aG as T,u as f,X as E,bh as x,o as t,p as R,C as $,$ as I,M
|
|
|
115
115
|
color: ${e=>e.theme.colors.primary};
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
flex-shrink: 0;
|
|
118
|
-
`,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:
|
|
118
|
+
`,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:H}=e,z=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",D=[];return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),z?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:D,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:H}),s.jsx(ae,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:A})})]})},C={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
flex-direction: column;
|
|
121
121
|
align-items: center;
|
|
@@ -159,4 +159,4 @@ import{j as s,Y as y,aG as T,u as f,X as E,bh as x,o as t,p as R,C as $,$ as I,M
|
|
|
159
159
|
box-sizing: border-box;
|
|
160
160
|
align-items: center;
|
|
161
161
|
justify-content: center;
|
|
162
|
-
`,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=
|
|
162
|
+
`,xe=({isNoStepsPage:e=!1})=>{const i=f(),o=T();return s.jsx(pe,{isNoStepsPage:e,children:s.jsx(ce,{windowSize:o,children:s.jsxs(he,{children:[s.jsx(v,{children:s.jsx(x,{width:C.titleRectangleWidth.value(o),height:R[6],backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})}),s.jsx(v,{children:s.jsx(x,{width:C.subTitleRectangleWidth.value(o),height:27,backgroundColor:i.colors.grey3,style:{borderRadius:t.sp2}})})]})})})};export{b as a,ue as b,xe as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d1 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a1 as ke,c2 as Ie,aW as $e,o as i,Y as Ae,F as ve,a3 as Oe,aH as je,cv as Ve,cw as oe,$ as Te,C as J,q as Le,p as $}from"./index-nrhSmhQT.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{P as Ue}from"./HelpButton-D5ZYyQMh-D3OqqJNA.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.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-BwK6voO1.js";import"./SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js";import"./SetUpDefaultSection--9Qh-utY-3YrGFMUC.js";import"./ChaseOverlay-KLet3F9X-BJh9nem5.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},_e=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:_,...F})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:Z,onZeniLogoClick:W,onAddressEditHandler:x}=F,G=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(De,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:G.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ge,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ze,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:Z})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -28,10 +28,10 @@ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h3 as be,M as xe,a5 as ke,c3 as I
|
|
|
28
28
|
height: 100%;
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
padding-bottom: ${i.sp0};
|
|
31
|
-
`,
|
|
31
|
+
`,Ne=c.form`
|
|
32
32
|
padding-top: ${i.sp0};
|
|
33
33
|
flex: 1;
|
|
34
|
-
`,
|
|
34
|
+
`,Ze=c.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
height: ${i.sp7};
|
|
37
37
|
left: ${i.sp4};
|
|
@@ -42,7 +42,7 @@ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h3 as be,M as xe,a5 as ke,c3 as I
|
|
|
42
42
|
cursor: default;
|
|
43
43
|
`,We=c.div`
|
|
44
44
|
display: flex;
|
|
45
|
-
`,
|
|
45
|
+
`,Ge=c(Te)`
|
|
46
46
|
height: ${i.sp4};
|
|
47
47
|
width: 102px;
|
|
48
48
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -53,12 +53,12 @@ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h3 as be,M as xe,a5 as ke,c3 as I
|
|
|
53
53
|
color: ${e=>e.theme.colors.hero};
|
|
54
54
|
display: flex;
|
|
55
55
|
justify-content: center;
|
|
56
|
-
width: ${e=>
|
|
57
|
-
padding-top: ${e=>
|
|
58
|
-
padding-bottom: ${e=>
|
|
56
|
+
width: ${e=>q.titleWidth.valuePx(e.windowSize)};
|
|
57
|
+
padding-top: ${e=>q.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
58
|
+
padding-bottom: ${e=>q.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
59
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
60
|
width: 100%;
|
|
61
|
-
`,v=e=>({[
|
|
61
|
+
`,v=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:_,updateCardPaymentModalState:F,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:Z}=N,W={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:O,currentTenant:j,onUpdateStep:G=>{U(G)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Ke,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:F,handleFetchPaymentSources:_,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:V,googleAPIKey:T,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...D}),x?null:o.jsx(Ue,{isFooterRendered:!0,meetingUrl:L,analytics:Z,productType:"onboarding"})]})},Je=c.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import{j as r,X as Me,u as Zt,a as en,c2 as me,M as We,a1 as He,D as mt,H as Qe,l as K,aW as tn,o as re,F as nn,p as M,a3 as an,h0 as on,fC as sn,fa as ft,cv as xt,cw as yt,C as fe,fF as ye,cf as rn,q as cn,h1 as gt,E as ht,cd as ln,fE as dn}from"./index-nrhSmhQT.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{P as pn}from"./HelpButton-D5ZYyQMh-D3OqqJNA.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-DWqEolPc-C_ETEVFs.js";import{o as gn}from"./QBOSetupSection-Yv3Xw-yn-CsTlHo9j.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-BwK6voO1.js";import"./SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js";import"./SetUpDefaultSection--9Qh-utY-3YrGFMUC.js";import"./ChaseOverlay-KLet3F9X-BJh9nem5.js";import"./LabeledAddressValueField-_LY7c-ZC-EdJfII0E.js";import"./LabeledCreatableSingleSelectField-paSeI8_R-COJp3Y9m.js";import"./LabeledDocumentField-DiMgPKtR-DDw2gK-2.js";import"./DocumentSecurityBanner-B0Qt1FLC-BKK2GBle.js";import"./QBOConnectionDialog-2vJQuslh-gswZrMuL.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Me(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,T=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:T,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
`,Cn=({fileProps:t,companyDetails:w,companyIndustries:c,sectionId:f,isCompleted:v,isDisabled:x,style:y,onCompanyAddressClick:I,onRegisteredAddressClick:m})=>{const V=Me(),{company_details:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l;return r.jsx(bn,{children:r.jsx(fn,{fileProps:t,companyDetails:w,sectionId:f,isDisabled:x,style:y,sectionHeader:$,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:c,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:I,onRegisteredAddressClick:m})})},bn=P.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
`,Pn=P.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
`,xn=P.input`
|
|
12
|
+
display: none;
|
|
13
|
+
`,In=({isValid:t,sectionId:w="onboardingQboConnection",...c})=>{const{register:f}=rn();return r.jsxs(Pn,{children:[r.jsx(xn,{type:"hidden",...f(`${w}.connected`,{validate:v=>v==="true"}),value:t?"true":"false"}),r.jsx(gn,{isValid:t,...c})]})},j="companyDetails",C="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",u="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(M[5],M[9],112),subTitlePaddingTop:new fe(M[3],M[3]),subTitlePaddingBottom:new fe(M[3],M[3])},On=t=>`${t}_form`,ce=We.getLocalizedStrings(),kn=({fileProps:t,isRefreshingViewInBackground:w,isAdmin:c,onboardingCustomerView:f,companyTitles:v,connectedAccountProvider:x,analytics:y,cardPaymentView:I,stripeKey:m,googleAPIKey:V,handleCreateCardSetupIntent:l,handleConfirmCardSetupIntent:$,updateCardPaymentModalState:T,handleAddCardPaymentSource:b,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:we,redirectToProductSuitePage:Se,onFormErrorsChange:F,...ve})=>{const L=Me(),Ae=p.useRef(null),Ve=p.useRef(null),W=p.useRef(null),$e=p.useRef(null),[Ce,B]=p.useState(!1),[R,z]=p.useState("next"),[N,be]=p.useState(!1),[le,Pe]=p.useState(!1),[te,Y]=p.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:xe,onCompanyOfficerUpdated:D,onFetchLinkTokenClick:Ie,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:A,onEditFileName:Ye,updateFilesEntity:Ge,onGetOtp:Ot,onSkipSetupClick:De,onUpdateCustomerView:Fe,updateStepHandler:U,onVerifyOtp:kt,onResendOtp:wt,handleOnConnectClick:vt,updateQBOPopupState:At,onUpdateStep:Te,onAddressEditHandler:Vt}=ve,$t=Zt(),i=en({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Ke(f,f.allNationalityCountries),values:Ke(f,f.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),q=p.useCallback(()=>{const e=[];return(i.getFieldState(Z).error!=null||i.getFieldState(u).error!=null)&&e.push("link_payment_account"),i.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[i]);p.useEffect(()=>{const e=q();F?.(e)},[q,F]),p.useEffect(()=>{const e=i.watch((n,{name:o,type:s})=>{o!=null&&(s==="change"||s==="blur")&&me(()=>{const d=q();F?.(d)})});return()=>e.unsubscribe()},[i,q,F]);const Je=e=>{Xe(e)},Oe=p.useRef(""),Dt=e=>{Oe.current=e;const n=Object.values(f.companyOfficerLocalData).findIndex(s=>s?.isSelectedForVerification===!0)??0,o=n<0?0:n;i.clearErrors(`${C}.${o}.phone`)},Xe=e=>{e!=null&&!ye(e)?i.trigger(`${C}.${J}.phone`):Ot(e)},{companyView:ie,companyDetailsLocalData:g,companyOfficerLocalData:H,currentStep:a,completedSteps:Ze,saveStatus:O,allSteps:h,allRequiredStepsCompleted:Ne,paymentAccount:Q,paymentAccountStatus:et,externalConnections:_e,plaidConnectionDetails:Ee,uiState:je,allNationalityCountries:Le,pendingSaveDetails:{companyDetails:Ft,officer:Tt},subscriptionBillingAddress:G}=f,J=Object.values(H).findIndex(e=>e?.isSelectedForVerification===!0)??0,_=`Officer_${J<0?1:J+1}`,Nt=ie?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Be=H[_]?.userId!=null?Nt?.find(e=>e.user.userId===H[_]?.userId)?.address:null,tt=H[_]?.addressStatus?.addressToCreate,ke=ie?.companyAddress,nt=g?.addressStatus?.addressToCreate,Re=ie?.registeredAddress,at=g?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:_t,common:S}=ce,{footer:Et,steps:jt}=_t,{buttons:ot}=Et,it=jt[a],ze=h.length,se=He(O.fetchState),E=He(a);function Lt(){return _e?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Ee).some(d=>d.fetchStatus.fetchState==="Completed"),n=Q?.providerVerificationStatus?.code?.includes("verified")??!1,o=I.cardsList.length>0,s=I.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&n||!n&&!Q&&o||!o&&!Q&&s};function st(){if(i.getFieldState(u).error)return!1;const e=i.getValues(u),n=G?.street.join("").trim(),o=G?.city,s=G?.state,d=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||S.strings.empty;return!!n&&!!o&&!!s&&!!d&&!!k}const rt=He(Q?.providerVerificationStatus?.code);p.useEffect(()=>{rt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&y.trackOnboardingBankAccountVerified("manual")},[y,Q?.providerVerificationStatus?.code,rt]);const Bt=async(e,n)=>{if(e.includes(j))xe?.(n[j]);else if(e.includes(C))D?.(n[C]);else if(e.includes(u)&&n[u]!=null){const o=i.getValues(`${u}`).country;let s=n[u];if(e.includes(`${u}.street`)&&n[u].street!=null){const{addressValue:d}=n[u].street,k=xt(d?.country);s={street:n[u].street??S.strings.empty,city:d?.locality??S.strings.empty,state:d?.administrativeAreaLevel1??S.strings.empty,country:k,countryCode:d?.countryCode??S.strings.empty,postalCode:d?.postalCode??S.strings.empty,secondaryInfo:n[u].secondaryInfo,suite:n[u].suite},o.selectedOption!==k.selectedOption&&(s={...s,country:k})}else e===`${u}.country`&&o.selectedOption!=null?s={...s,countryCode:yt(o.selectedOption)}:o.selectedOption!=null&&e.includes(`${u}.street`)===!1&&(s={...s,countryCode:yt(o.selectedOption)});Vt(s)}};p.useEffect(()=>{const e=i.watch((n,{name:o})=>{o!=null&&n!=null&&me(()=>Bt(o,n))});return()=>{e.unsubscribe()}}),p.useEffect(()=>{se==="In-Progress"&&O.fetchState==="Completed"&&(i.reset(Ke(f,Le),{keepDirtyValues:!1}),E==="company_details"&&a==="link_payment_account"&&!h.includes("qbo_connection")&&!f.qboConnected&&Se())},[i,f,se,O.fetchState,Le,E,a,h,Se]),p.useEffect(()=>{Ce&&se==="In-Progress"&&O.fetchState==="Completed"&&(De(),y.track(mt.Event.onboardingSkipAndSave))},[se,Ce,O.fetchState,De]),p.useEffect(()=>{te?.shouldNavigate===!0&&se==="In-Progress"&&O.fetchState==="Completed"&&(U(te.fromStep,te.stepDirection,!0),Y(null))},[te,se,O.fetchState,U]),p.useLayoutEffect(()=>{E!=null&&E!==a&&(h.indexOf(E)===h.indexOf(a)-1||h.indexOf(E)===ze-1&&h.indexOf(a)===0?R!=="next"&&z("next"):(h.indexOf(E)-1===h.indexOf(a)||h.indexOf(E)===0&&h.indexOf(a)===ze-1)&&R!=="previous"&&z("previous"))},[h,a,E,R,ze]);const ct=()=>{const e=H[_];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},Rt=!Qe(tt!=null?K.getFormattedAddress(tt):null,Be!=null?K.getFormattedAddress(Be):null),zt=!Qe(nt!=null?K.getFormattedAddress(nt):null,ke!=null?K.getFormattedAddress(ke):null),Ut=!Qe(at!=null?K.getFormattedAddress(at):null,Re!=null?K.getFormattedAddress(Re):null),qt=i.getFieldState(j).isDirty||zt||Ut||Ft,Ue=i.getFieldState(C).isDirty&&ct()||Rt||Tt,lt=i.getFieldState(`${u}`).isDirty,Ht=g?.primaryContactLocalData,Qt=()=>{U(a,"previous",!0)},Kt=()=>{const e=i.getValues(u),n={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??S.strings.empty,secondaryInfo:e.secondaryInfo};y.trackOnboardingBillingAddressSave(n)},Mt=()=>{switch(Pe(!1),a){case"link_payment_account":lt?setTimeout(()=>{const e=q();F?.(e),st()&<?(Kt(),Fe(_,!1,!0),Y({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):U(a,"next",!0)},200):U(a,"next",!0);break;case"qbo_connection":U(a,"next",!0);break;case"company_officer":if(Ue){const e=dt();if(me(()=>{const n=q();F?.(n)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const n=i.formState.errors[C]?.[J<0?0:J],o=n?.phone,s=n!=null&&Object.keys(n).some(d=>d!=="phone"&&n[d]!=null);if(o!=null&&!s){Je(e.phoneNumber);return}}e.isValid&&(Fe(_,!1,!1),y.trackOnboardingCompanyOfficerSave(pt(),{legalName:g?.companyLegalName}),Y({fromStep:a,shouldNavigate:!0,stepDirection:"next"}))}else U(a,"next",!0);break;case"company_details":Pe(!0);{const e=!(st()&&ue()),n=!Lt()&&h.includes("qbo_connection");if(e||n){e&&(i.trigger(`${Z}`),i.trigger(`${u}`)),n&&i.trigger(ge),me(()=>{const o=q();F?.(o)}),e?Te("link_payment_account"):n&&Te("qbo_connection");return}}if(qt||Ue||!Ht?.email){const e=Yt(),n=Ue?dt():{isValid:!0};me(()=>{const o=q();F?.(o)}),e&&n.isValid?(Ne&&(B(!0),Gt()),Fe(_,!Ne,!1),Y({fromStep:a,shouldNavigate:!0,stepDirection:"next"})):n.isValid||Te("company_officer")}else Ne?Wt():U(a,"next",!0);break}},Wt=()=>{O.fetchState!=="In-Progress"&&(De(),y.track(mt.Event.onboardingSkipAndSave))},dt=()=>{const e=H[_],n=e?.email??S.strings.empty,o=e?.phone??S.strings.empty,s=e?.ssn??S.strings.empty,d=e?.ownershipInCompany,k=J<0?0:J,Xt=!!e?.firstName&&!!e?.lastName;let X=!0,ut=!1;return n&&!Xt&&(i.trigger([`${C}.${k}.name.firstName`,`${C}.${k}.name.lastName`],{shouldFocus:a==="company_officer"}),X=!1),(!n&&ct()||ht.test(n)===!1)&&(i.trigger(`${C}.${k}.email`,{shouldFocus:a==="company_officer"}),X=!1),o&&ye(o)===!1&&(i.trigger(`${C}.${k}.phone`,{shouldFocus:a==="company_officer"}),X=!1),o&&ye(o)===!0&&x==="unit"&&(Oe.current!==""&&o===Oe.current||(ut=!0,i.setError(`${C}.${k}.phone`,{type:"custom",message:ce.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:a==="company_officer"}),X=!1)),d!=null&&d>100&&(i.trigger(`${C}.${k}.ownership`,{shouldFocus:a==="company_officer"}),X=!1),s&&dn.test(s)===!1&&(i.trigger(`${C}.${k}.ssn`,{shouldFocus:a==="company_officer"}),X=!1),{isValid:X,needsOtp:ut,phoneNumber:o}},Yt=()=>{const e=g?.website?.toString()??S.strings.empty,n=g?.phone??S.strings.empty,o=g?.taxIdOrEIN??S.strings.empty,s=g?.primaryContactLocalData?.email??S.strings.empty;let d=!0;return e&>.test(e)===!1&&(i.trigger(`${j}.companyWebsite`,{shouldFocus:a==="company_details"}),d=!1),gt.lastIndex=0,n&&ye(n)===!1&&(i.trigger(`${j}.companyPhone`,{shouldFocus:a==="company_details"}),d=!1),(!s||ht.test(s)===!1)&&(i.trigger(`${j}.primaryContactEmail`,{shouldFocus:a==="company_details"}),d=!1),o&&ln.test(o)===!1&&(i.trigger(`${j}.companyTaxId`,{shouldFocus:a==="company_details"}),d=!1),d},pt=()=>{const e=H[_];return{email:e?.email??S.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?K.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Gt=()=>{const e=g?.primaryContactLocalData;y.trackBusinessVerificationSave(pt(),{companyDescription:g?.companyDescription,legalName:g?.companyLegalName,phone:g?.phone,website:g?.website?.toString(),industry:g?.companyIndustry??S.strings.empty,formattedAddress:g?.addressStatus?.addressToCreate!=null?K.getFormattedAddress(g?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[qe,Jt]=p.useState(!1);return r.jsxs(An,{children:[r.jsxs(Vn,{windowSize:L,children:[h.indexOf(a)>=0?r.jsx(tn,{title:it.sectionTitle,showBackButton:!1,backgroundColor:$t.colors.grey4,style:{zIndex:4},showLeftSection:L!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):r.jsx($n,{windowSize:L,children:r.jsx(Fn,{windowSize:L,children:r.jsx(Dn,{})})}),r.jsx(nn,{...i,children:r.jsx(Nn,{id:On(Pt),children:h.map(e=>{let n;n=r.jsx(St,{connectedAccountProvider:x,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:Ee,sectionId:Z,hasError:i.getFieldState(Z).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:I,resetCardPaymentViewState:ee,updateCardPaymentModalState:T,cardSetupInProgress:qe,subscriptionBillingAddressSectionId:u});let o=Ae;switch(e){case"link_payment_account":n=r.jsx(St,{connectedAccountProvider:x,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:Ee,subscriptionBillingAddressSectionId:u,sectionId:Z,hasError:i.getFieldState(Z).error!=null||le&&!ue(),isValid:ue(),analytics:y,onFetchLinkTokenClick:Ie,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:T,cardPaymentView:I,resetCardPaymentViewState:ee,cardSetupInProgress:qe,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":n=r.jsx(In,{sectionId:ge,hasError:i.getFieldState(ge).error!=null,isAdmin:c,isValid:_e?.accounting[0]?.isValid??!1,companyName:ie?.company.company.companyInfo.companyLegalName,saveConnectionState:_e?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:vt,updateQBOPopupState:At}),o=Ve;break;case"company_officer":n=r.jsx(hn,{companyOfficerLocalData:H,allNationalityCountries:Le,isCompleted:Ze.includes("company_officer"),companyView:ie,sectionId:C,filesEndPoint:t.filesEndPoint,authParams:t.authParams,isRefreshingViewInBackground:w,companyTitles:v,isVerificationPopupOpen:N,setIsVerificationPopupOpen:be,onGetOtp:Je,onVerifyOtp:kt,onResendOtp:wt,onOfficerAddressClick:s=>ne(s,Be?.addressId),updateFilesEntity:Ge,onEditFileName:Ye,onDeleteFile:A,verifiedPhoneNumber:Oe.current,onPhoneVerified:Dt,isDisabled:O.fetchState==="In-Progress"?"readonly":void 0,triggerError:Xe}),o=$e;break;case"company_details":n=r.jsx(Cn,{fileProps:{...t,onEditFileName:Ye,onDeleteFile:A,updateFilesEntity:Ge},sectionId:j,companyIndustries:f.companyIndustries,companyDetails:g,isDisabled:O.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:s=>{const d=ie?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&d!=null?ne(s,d):ne(s,ke?.addressId)},onRegisteredAddressClick:s=>ne(s,Re?.addressId)}),o=W;break}return r.jsxs(Tn,{ref:o,isVisible:a===e,includeAnimation:a==="link_payment_account"||a==="qbo_connection"?!je.isQBOPopupOpen:a==="company_officer"?!N:!0,paddingBottom:e==="company_details"||e==="company_officer"?M[6]:M[0],stepAnimationDirection:R,children:[h.indexOf(a)>=0?r.jsx(_n,{windowSize:L,children:it.sectionSubTitle}):null,n]},e)})})}),r.jsx(an,{formId:`${Pt}`,style:{width:L==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Mt,label:a==="company_details"?S.footer.submit:ot.next,isLoading:O.fetchState==="In-Progress",isDisabled:O.fetchState==="In-Progress"},cancelBtn:{onClick:Qt,label:ot.back,isDisabled:O.fetchState==="In-Progress"||h.indexOf(a)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),r.jsx(un,{handleConfirmCardSetupIntent:$,updateCardPaymentModalState:T,handleCreateCardSetupIntent:l,handleAddCardPaymentSource:b,cardPaymentView:I,stripeKey:m,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:we,cardSetupInProgress:qe,setCardSetupInProgress:Jt})]})},wn=It`
|
|
14
|
+
from {
|
|
15
|
+
transform: translateY(100%);
|
|
16
|
+
opacity: 0;
|
|
17
|
+
}
|
|
18
|
+
to {
|
|
19
|
+
transform: translateY(0);
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
`,vn=It`
|
|
23
|
+
from {
|
|
24
|
+
transform: translateY(-100%);
|
|
25
|
+
opacity: 0;
|
|
26
|
+
}
|
|
27
|
+
to {
|
|
28
|
+
transform: translateY(0);
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
`,An=P.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
align-items: center;
|
|
35
|
+
min-width: calc(100% - ${bt}px);
|
|
36
|
+
padding-left: ${bt}px;
|
|
37
|
+
flex: 1;
|
|
38
|
+
|
|
39
|
+
${t=>t.theme.breakpoints.down("md")} {
|
|
40
|
+
width: 100%;
|
|
41
|
+
padding-left: ${re.sp0};
|
|
42
|
+
}
|
|
43
|
+
`,Vn=P.div`
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
align-items: center;
|
|
47
|
+
flex: 1;
|
|
48
|
+
width: 100%;
|
|
49
|
+
min-height: 100vh;
|
|
50
|
+
background-image: ${t=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${t.windowSize==="small"?"m":"w"}-${t.theme.mode==="dark"?"d":"l"}.svg)`};
|
|
51
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
52
|
+
background-size: inherit;
|
|
53
|
+
background-attachment: fixed;
|
|
54
|
+
background-position: ${t=>t.windowSize==="small"?"center center":"right center"};
|
|
55
|
+
background-repeat: no-repeat;
|
|
56
|
+
|
|
57
|
+
${t=>t.theme.breakpoints.down("lg")} {
|
|
58
|
+
background-size: cover;
|
|
59
|
+
}
|
|
60
|
+
`,$n=P.div`
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
align-items: center;
|
|
64
|
+
text-align: center;
|
|
65
|
+
width: ${t=>`calc(100% - ${he.topNavBarLeftRightSpace.valuePx(t.windowSize)})`};
|
|
66
|
+
`,Dn=P.div``,Fn=P.div`
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
width: 100%;
|
|
71
|
+
min-height: ${t=>he.topNavBarHeight.valuePx(t.windowSize)};
|
|
72
|
+
`,Tn=P.div`
|
|
73
|
+
min-height: 100%;
|
|
74
|
+
display: ${t=>t.isVisible?"flex":"none"};
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
padding-bottom: ${t=>t.paddingBottom+"px"};
|
|
77
|
+
animation-name: ${t=>t.stepAnimationDirection==="next"?wn:vn};
|
|
78
|
+
${t=>t.includeAnimation?`
|
|
79
|
+
animation-duration: 0.6s;
|
|
80
|
+
animation-delay: 0s;
|
|
81
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
|
+
animation-fill-mode: both;
|
|
83
|
+
`:null}
|
|
84
|
+
`,Nn=P.form`
|
|
85
|
+
padding-top: ${re.sp0};
|
|
86
|
+
flex: 1;
|
|
87
|
+
`,_n=P(cn)`
|
|
88
|
+
color: ${t=>t.theme.colors.hero};
|
|
89
|
+
display: flex;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
width: ${t=>he.titleWidth.valuePx(t.windowSize)};
|
|
92
|
+
padding-top: ${t=>he.subTitlePaddingTop.valuePx(t.windowSize)};
|
|
93
|
+
padding-bottom: ${t=>he.subTitlePaddingBottom.valuePx(t.windowSize)};
|
|
94
|
+
text-align: ${t=>t.windowSize==="small"?"initial":"center"};
|
|
95
|
+
width: 100%;
|
|
96
|
+
white-space: pre-line;
|
|
97
|
+
`,Ke=(t,w)=>{const{companyDetailsLocalData:c,companyOfficerLocalData:f,companyView:v}=t,x=ce.commonSetUp.businessVerification,y=ce.companyPassport,I=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[j]:{companyDescription:c?.companyDescription??ce.common.strings.empty,ein:c?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:c?.companyId,syncToken:c?.syncToken,companyLegalName:c?.companyLegalName,companyWebsite:c?.website?.toString()??ce.common.strings.empty,companyAddress:c?.addressStatus?.addressToCreate,registeredAddress:c?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:c?.companyIndustry,allOptions:t.companyIndustries.map(m=>m.code)},companyPhone:c?.phone,companyTaxId:c?.taxIdOrEIN,primaryContactName:{firstName:c?.primaryContactLocalData?.firstName,lastName:c?.primaryContactLocalData?.lastName},primaryContactEmail:c?.primaryContactLocalData?.email,primaryContactUserId:c?.primaryContactLocalData?.userId,primaryContactSyncToken:c?.primaryContactLocalData?.syncToken,fileIds:c?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:c?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:c?.incDate?.toDate(),typeOfIncorporation:{selectedOption:c?.typeOfIncorporation,allOptions:y.companyIncInfo.allTypesOfIncorporation}},[C]:Object.values(f).map((m,V)=>{const l=m,$=sn(l?.documentTypeSelectedForVerification);return{userId:l?.userId,officerType:l?.officerType??`Officer_${V+1}`,name:{firstName:l?.firstName,lastName:l?.lastName},email:l?.email,fileIds:l?.fileIds??[],dob:l?.birthday?.toDate(),nationalityCountryCode:xt(l?.nationalityCountryCode,w.map(T=>T.countryCode)),ssn:l?.ssn,role:{selectedOption:l?.titleAtCompany,allOptions:x.allTypesOfRoles},phone:l?.phone,ownership:l?.ownershipInCompany,officerAddress:l?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,l?.userFiles??[],$),back:ft(!1,l?.userFiles??[],$),selectDocumentType:$},isSelectedForVerification:!I&&V===0?!0:l?.isSelectedForVerification??!1,userVerificationStatus:l?.userVerificationStatus,syncToken:l?.syncToken,isPhoneVerified:l?.isPhoneVerified,otpChallenge:l?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[u]:on(u,t?.subscriptionBillingAddress)[u],[ge]:{connected:t.externalConnections?.accounting[0]?.isValid??!1}}},ra=t=>{const{onboardingCustomerView:w,cardPaymentView:c,signedInUser:f,currentTenant:v,isOnAddressPage:x,stripeKey:y,googleAPIKey:I,onUpdateStep:m,onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:$,meetingUrl:T,analytics:b,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,handleFetchPaymentSources:Se,updateCardPaymentModalState:F,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ae,...Ve}=t,{allSteps:W,completedSteps:$e,halfCompletedSteps:Ce,currentStep:B,fetchStatus:R}=w,z=p.useRef(B),N=p.useRef(W),[be,le]=p.useState(!1),[Pe,te]=p.useState([]),Y={allSteps:W,isOnAddressPage:x,completedSteps:$e,halfCompletedSteps:Ce,errorSteps:Pe,currentStep:B,fetchStatus:R,signedInUser:f,currentTenant:v,onUpdateStep:D=>{m(D)},onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:$,setIsStepClicked:le};p.useEffect(()=>{if(z.current!==B){const D=z.current;be===!0&&(b?.trackOnboardingCurrentStep(B,D),le(!1)),z.current=B}},[B,be,b]),p.useEffect(()=>{W.length!==N.current.length&&(N.current=W)},[W]);const ne=(D,Ie,de)=>{const ae=N.current.length,pe=N.current.indexOf(D);switch(Ie){case"next":{const oe=(pe+1)%ae,A=N.current[oe];z.current=A,m(A),de===!0?b.trackOnboardingNext(D,A):b.trackOnboardingCurrentStep(A,D);break}case"previous":{const oe=(pe+ae-1)%ae,A=N.current[oe];z.current=A,m(A),de===!0?b.trackOnboardingBack(D,A):b.trackOnboardingCurrentStep(A,D);break}}},xe=R.fetchState==="In-Progress"||R.fetchState==="Not-Started";return r.jsx(En,{isOnAddressPage:x,children:x?r.jsx(Ct,{...Y}):r.jsxs(jn,{children:[r.jsx(Ct,{...Y}),xe?r.jsx(mn,{isNoStepsPage:!1}):r.jsx(kn,{onboardingCustomerView:w,analytics:b,updateStepHandler:ne,onUpdateStep:m,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:we,updateCardPaymentModalState:F,handleFetchPaymentSources:Se,cardPaymentView:c,resetCardPaymentViewState:ve,stripeKey:y,googleAPIKey:I,handleResetCardPaymentErrorStatuses:L,redirectToProductSuitePage:Ae,onFormErrorsChange:te,...Ve}),xe?null:r.jsx(pn,{isFooterRendered:!0,meetingUrl:T,analytics:b,productType:"onboarding"})]})})},En=P.div`
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
width: ${t=>t.isOnAddressPage?"fit-content":"100%"};
|
|
101
|
+
height: 100vh;
|
|
102
|
+
`,jn=P.div`
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: 100vh;
|
|
107
|
+
`;export{ra as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as M,
|
|
1
|
+
import{X as M,d1 as U,t as W,u as D,M as A,j as e,aW as H,o as t,Y as k,aH as Z,l as I,q as R,$ as V,g as l,v as y,b as _,k as N,b$ as J,Z as q,ae as K}from"./index-nrhSmhQT.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-CZuMHGP8-BTcuXQPa.js";import{P as Y}from"./HelpButton-D5ZYyQMh-D3OqqJNA.js";import{f as G}from"./ProductsCarousel-CS4_yc80-CJENMC5j.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-BwK6voO1.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(H,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(Z,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Y,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -132,7 +132,7 @@ import{X as M,d3 as U,w as W,u as D,M as A,j as e,aW as H,o as t,Y as k,aG as I,
|
|
|
132
132
|
`,ge=i(q)`
|
|
133
133
|
color: inherit;
|
|
134
134
|
text-align: center;
|
|
135
|
-
`,me=i(
|
|
135
|
+
`,me=i(K)`
|
|
136
136
|
width: ${t.sp3};
|
|
137
137
|
height: ${t.sp3};
|
|
138
138
|
color: inherit;
|
|
@@ -166,7 +166,7 @@ import{X as M,d3 as U,w as W,u as D,M as A,j as e,aW as H,o as t,Y as k,aG as I,
|
|
|
166
166
|
cursor: default;
|
|
167
167
|
`,we=i.div`
|
|
168
168
|
display: flex;
|
|
169
|
-
`,ke=i(
|
|
169
|
+
`,ke=i(V)`
|
|
170
170
|
height: ${t.sp4};
|
|
171
171
|
width: 102px;
|
|
172
172
|
color: ${o=>o.theme.colors.primary};
|
|
@@ -194,7 +194,7 @@ import{X as M,d3 as U,w as W,u as D,M as A,j as e,aW as H,o as t,Y as k,aG as I,
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
margin-right: ${t.sp2};
|
|
197
|
-
`,je=i(
|
|
197
|
+
`,je=i(R)`
|
|
198
198
|
margin-left: ${t.sp2};
|
|
199
199
|
`,$e=i.div`
|
|
200
200
|
width: 200px;
|