@zeniai/web-app-ui 4.14.27-qa → 4.14.28-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-URcYg-_E-CMrUXh7n.js +21 -0
- package/dist/assets/{AIPerformancePage-BTVbAUHG-D-rlRC9T.js → AIPerformancePage-VILPvNCr-DoBW0TQe.js} +29 -29
- package/dist/assets/AccountInfoPage-BTogpO7M-BeBr7bH3.js +18 -0
- package/dist/assets/AccountInfoPageContent-g_X840C3-Byz3DAPs.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BvqEphwT.js → AccountLockedInfoModal-DDNvWMEQ-6SWWVHDx.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-DklXIxCe.js → AccountReconDetailsDrawerPage-CydLoK6D-CZ9nLIe4.js} +13 -13
- package/dist/assets/AccountRow-Zjkju8uM-h-BJkTkR.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-z9STg_F3-Bh-wLGtv.js → AccountsPromoCardStack-D8mOW1Wp-DZkmz2EZ.js} +18 -18
- package/dist/assets/AddAddressForCardDrawer-BvGnuIf6-DB5uU020.js +6 -0
- package/dist/assets/{AddToWalletPage-BMPHVMEY-BU28NRn-.js → AddToWalletPage-BMCgd2A5-2JYacy2K.js} +18 -18
- package/dist/assets/AddressRoutes-BuxeYADW.js +1 -0
- package/dist/assets/AddressScreen-C8N1fPfJ.js +9 -0
- package/dist/assets/{AgingReportsPage-Bngg8YpI-CXMOhN6X.js → AgingReportsPage-BL_aBNzL-Bw5_kBEe.js} +6 -6
- package/dist/assets/{AiCfoScreen-1OpyxOPQ.js → AiCfoScreen-DKeSXeDT.js} +2 -2
- package/dist/assets/{AllUserItems-DzHTUgrn-ctPbjWrH.js → AllUserItems-b0wgd0Wz-Cmdhksre.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-BdNgdMZi-DxkwJc1_.js → ApAgingDetailPage-CD2EkZkg-EpN6BsXj.js} +8 -8
- package/dist/assets/{AppBasePage-DUoMiO7X-BTMjuDOu.js → AppBasePage-BM1NMPdI-BkcQFz9Y.js} +12 -12
- package/dist/assets/AppDrawerContent-XR9dBd-C-BYsZG5_k.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-6unABLlP-C91QTWWo.js +47 -0
- package/dist/assets/ArAgingChart-DePiNxcV-B7MRrlOq.js +24 -0
- package/dist/assets/{ArAgingDetailPage-Cl5P98Kf-9j3wejr9.js → ArAgingDetailPage-DiJ6PePf-YRaFOXlC.js} +1 -1
- package/dist/assets/{AttachmentView-DQKnQgQK-DgYnMof2.js → AttachmentView-ENg9Osic-C_h00Xvo.js} +6 -6
- package/dist/assets/{BankAccountSection-DxW0EB-K-B_vSxptX.js → BankAccountSection-oL-aN0I_-51rG79cf.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CtRFcHTv-CaeCkm0V.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-DA2j6z8y.js → BankConnectionsSettingsPage-B848OGHq-S0dsKmrE.js} +8 -8
- package/dist/assets/BillDetailPage-CPxVWXx6-LfVxiX7-.js +266 -0
- package/dist/assets/BillPayApprovalRoutes-BwVvI4WJ.js +1 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-DtAj6RxA-B2poyBuX.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-CqvnWU4g.js → BillPayApprovalRulesPage-DLHvMgeY-8GthXHpr.js} +14 -14
- package/dist/assets/{BillPayPromoPage-B5AGf-Xt-DMzd5Dti.js → BillPayPromoPage-DQJAZi1a-DOwuaVpw.js} +8 -8
- package/dist/assets/{BillPayRoutes-DKhIaBpZ.js → BillPayRoutes-Bzx279Kq.js} +19 -19
- package/dist/assets/BillPaySetUpPage-BVOLWF1M-CpEBt_P1.js +42 -0
- package/dist/assets/BillingSettingsPage-Cfe4Vmza-DSIJr3FK.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-PSnNGTLJ.js → BillsBulkReviewDrawerPage-7y9q0HF_-gFD4nZqL.js} +1 -1
- package/dist/assets/{BoxItem-Yk1jfFWZ-bm0K3UqJ.js → BoxItem-CTEOx6Nh-BbDYdqVh.js} +3 -3
- package/dist/assets/BusinessVerificationPage-D05hRyo1-BMUS-iMK.js +138 -0
- package/dist/assets/BusinessVerificationPageScreen-DfGLG3SR.js +9 -0
- package/dist/assets/BusyIndication-Nz8htndZ-ChVc54FQ.js +9 -0
- package/dist/assets/{CardNumberSubText-DjHY0FvO-DmKTadAQ.js → CardNumberSubText-DijJqFXC-B69YEX78.js} +5 -5
- package/dist/assets/{CashbackDetailPage-BBnND02O-B0i0dSBe.js → CashbackDetailPage-BxIWU0z2-DcCubJwz.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Hl7lWW6J.js → ChargeCardDetailPage-ClyQPqJf-BAQGqfmW.js} +31 -31
- package/dist/assets/{ChargeCardListPage-DIaPTqHg-QvrYu2zx.js → ChargeCardListPage-CYhY6c52-DRzxrfOL.js} +21 -21
- package/dist/assets/ChargeCardListTable-Dblodw9X-B-571jVW.js +711 -0
- package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-UaInt8sU.js → ChargeCardPaymentHistoryPage-wt6arCEL-5ryWm6WZ.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-AihUlwys-A1x9S-W0.js +222 -0
- package/dist/assets/{ChargeCardRoutes-QBQgxZFH.js → ChargeCardRoutes-4t9GJNvz.js} +12 -12
- package/dist/assets/{ChargeCardSetupPage-64bBN1fe-B9PROkMH.js → ChargeCardSetupPage-C59WR7nm-CVteL9ef.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B-XeiOnb-BirnH6mz.js → ChargeCardStatementsPage-DF5rt4B5-CiiFftIv.js} +4 -4
- package/dist/assets/CheckDepositDrawerPage-B9-ktuL_-Cnbi1t8C.js +206 -0
- package/dist/assets/CollapsableReportTable-BAz0DbFh-Bx4HSBTd.js +2844 -0
- package/dist/assets/CompanyOfficerDetailsSection-BNSHkrC4-DZDeEGL9.js +331 -0
- package/dist/assets/CompanyPassportCard-DTfKmcGv-kWFAQF4U.js +42 -0
- package/dist/assets/{CompanyPassportPage-B6zI52Pp-CWxea43i.js → CompanyPassportPage-DqhT6YL_-DjGLWJH_.js} +37 -37
- package/dist/assets/{CompanyPassportScreen-CCGCO9-B.js → CompanyPassportScreen-COEYsT8F.js} +1 -1
- package/dist/assets/{CompleteProfile-BLWNz2VA-BtRBf1pR.js → CompleteProfile-DdA-FkwG-DNxHJftH.js} +1 -1
- package/dist/assets/ConfettiBurst-Dc0iIaw3-Cdx9N-8d.js +1 -0
- package/dist/assets/ConnectionAuthScreen-VX2ylo8v.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DLCOCuvB.js → ConstrainedInnerElement-BeIpAPjB-B0xEPT_b.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-BYUMlM0q.js → CreateOrEditVendorPage-CODInbfe-CWblGuXA.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-BUtUdu3I.js → CreditCardPaymentDrawerPage-DZNUIDa0-DYeUjTKl.js} +21 -21
- package/dist/assets/CurrencySelectField-D_D8AUqS-W5q-11LT.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BmkijjZG.js → CustomerOnboardingActivationPage-CBlyvq0r-BIiex6sW.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-Cxwuh-5v.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-SuSAzHFh.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-KKPN2GG0.js → CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-Cm7w9wnG.js} +15 -15
- package/dist/assets/CustomerOnboardingNoStepsPage-CLFh9K94-CVAWL8GH.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-DcrRFrM5.js → CustomerOnboardingPage-BJGDpI-d-BI8WTIh2.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-CFBeFISK.js → CustomerOnboardingProductSuitePage-DmgQGvpp-BgPaXsEW.js} +7 -7
- package/dist/assets/{CustomerOnboardingRoutes-BMTYfbQW.js → CustomerOnboardingRoutes-CDOn_9SO.js} +6 -6
- package/dist/assets/{Dashboard-C1Fn0zHa-Ck-7rBRI.js → Dashboard-Cvmg-DzK-CDouUJlf.js} +26 -26
- package/dist/assets/{DashboardReportPage-3lvWkrXH-CmzteKGa.js → DashboardReportPage-C7bT-gmW-B7qKYPTM.js} +42 -42
- package/dist/assets/DashboardRoutes-Ca715xZt.js +21 -0
- package/dist/assets/DashboardSidebarBackgroundAnimation-CcTStx9W-CLXLQ3Wl.js +12 -0
- package/dist/assets/{DefaultTenantHome-H89rPQPU.js → DefaultTenantHome-zrpUM-2h.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-XZgomj7v-pud7es11.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-B11lcuip-BA6bJfDH.js +66 -0
- package/dist/assets/DomesticWireDetailScreen-BGqZWgZd.js +18 -0
- package/dist/assets/DomesticWireDetailsPage-Cw4aq8Ar-Bz2WPHpK.js +21 -0
- package/dist/assets/DownloadOverlay-DE63RFQe-VsFfbW3d.js +439 -0
- package/dist/assets/{DrawerPage-DudtPicH-hbiw_pdy.js → DrawerPage-DGuh6P-6-CJKJMwA-.js} +11 -11
- package/dist/assets/DrawerScreen-V32qwnkz.js +1 -0
- package/dist/assets/EditPeoplePage-Dmz2l8uY-CK4iVJZr.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-BrQ60mqq-BxmG6xVG.js +865 -0
- package/dist/assets/EntityDetailPage-BbeHCNGS-C5UPIJtj.js +18 -0
- package/dist/assets/EntityDetailRoutes-BxYqKDQd.js +1 -0
- package/dist/assets/{EntitySummarySection-Po9-k_zM-D4BVYzOO.js → EntitySummarySection-BgjWn9vX-ChJDfPvK.js} +26 -26
- package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-Bm8ozA7v.js → ExpenseAutomationOverviewPage-V2cvYWxH-C16OEZnu.js} +51 -51
- package/dist/assets/ExpenseAutomationPage-BDZ6aX0q-DJ_VB_IO.js +2323 -0
- package/dist/assets/ExpenseAutomationRoutes-Dbfi_osP.js +20 -0
- package/dist/assets/{ExpressPayPage-BbHx9h8j-DxMm9gcn.js → ExpressPayPage-5VdASApP-Po6fvmnX.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-72x3P-pq-BRxKJgbB.js → FeaturePreviewPage-CA_fxOHn-CMqOKpmQ.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-C5OPsEGq.js +1 -0
- package/dist/assets/{FollowStepsSection-BT_WjsEy-BMkprFjA.js → FollowStepsSection-CTSjTKjT-D1lTh6HA.js} +11 -11
- package/dist/assets/GlobalReviewListPage-DmrnXFgW-CX1Z-LFj.js +291 -0
- package/dist/assets/{InformationCardStack-CjpOEuJF-CY8AHfmK.js → InformationCardStack-D_Z7Ebe0-CcLIhUuZ.js} +3 -3
- package/dist/assets/InsightsCardStack-Dbpzjgf4-fdUWj0-e.js +79 -0
- package/dist/assets/InsightsSection-DgViiL7e-CyZzflwi.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-4OV7HFwe-DB-wBCWA.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-BxDLWIJ0.js → InternationalWireSwiftDetailsPage-B1nvNamF-Csz75ldD.js} +18 -18
- package/dist/assets/InternationalWireVerificationPage-HZgqUkj4-BeRgJyDk.js +65 -0
- package/dist/assets/{InviteFormPage-D56FOZEG-YjtIHJmt.js → InviteFormPage-C5mS-6c8-DHEfB4pP.js} +18 -18
- package/dist/assets/{InvitePageListView-BbQyUnv0-CP6So3At.js → InvitePageListView-Yj83_lDA-DG8kjHEN.js} +66 -66
- package/dist/assets/InvitePeoplePage-C7DlxHsy-CbV9Kfvk.js +12 -0
- package/dist/assets/InvoiceUploadSection-DdIQCBkC-hgUkpCX_.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BT9h01l_-efn-gMmS.js → IssueChargeCardPage-BIOTVOMR-y141Zbnw.js} +71 -71
- package/dist/assets/{LabeledAddressValue-DF623NAW-DBk7OZ_l.js → LabeledAddressValue-Bb1x9jR--B6kyu-d_.js} +1 -1
- package/dist/assets/LabeledAddressValueField-D3_DsNPu-DBYOiYu9.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-DdHmj0q2-DFcQf8uf.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-CTjtWp-f.js → LabeledCountryMultiSelectField-LeubJT8b-DTiRo8mi.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-B4bYahZQ.js → LabeledCreatableSingleSelectField-CzrPLo-T-WU7xdxt6.js} +6 -6
- package/dist/assets/LabeledDocumentField-CFtFroDl-BZ61zQ53.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-T-ZEjluP.js → LabeledDropDownFormattedTextField-CFsuVVp3-BWloCe5f.js} +7 -7
- package/dist/assets/{LabeledEmailInputField-B17ZXjvY-Bgq9Bw5g.js → LabeledEmailInputField-BOEHGgHy-DmP8tNRS.js} +7 -7
- package/dist/assets/{LabeledNameField-DXPyRS_B-aEVZrWHH.js → LabeledNameField-DWKoivcI-CTKa3xQk.js} +4 -4
- package/dist/assets/{LabeledSingleSelectField-DZ7GoSpj-CeyfgNkx.js → LabeledSingleSelectField-BkGsnV9P-L8vud565.js} +4 -4
- package/dist/assets/LabeledText-CZMUFsPf-BSb4-Hu0.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-CXwABLlN.js → LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-D96FBec7.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-FzZcdRyQ.js → LabeledZeniRolesDropDownField-C3LoYUh_-CUGSemOL.js} +20 -20
- package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-CLCCvFC8.js → LinkJETransactionPage-BbpybbwD-BZQW-eEy.js} +11 -11
- package/dist/assets/{LockCardPage-DIZ-1K3B-J6PMXtrS.js → LockCardPage-C0XjGES8-Dv5p7F-M.js} +27 -27
- package/dist/assets/{LowBalancePopup-CKSy3iEi-f1V3RnUh.js → LowBalancePopup-CkO97HGX-C-OMTelo.js} +3 -3
- package/dist/assets/MagicLinkACHDetailsPage-CcaWGIEm-CBJpUCPj.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-6V37rCS5-DlEVkMTv.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BKWBDCxr-1pJwpVUJ.js +1 -0
- package/dist/assets/MagicLinkRoutes-0i3kRHtF.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-8oYCtfCr.js +12 -0
- package/dist/assets/{MagicLinkSuccessPage-fC1L-fjF-B1tQEsFE.js → MagicLinkSuccessPage-L5UJIvTe-Ds_uEzRm.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-D38JxxrQ--O7VTYiG.js → MagicLinkTitleSection-CEZGF8ER-CtJhgwJN.js} +1 -1
- package/dist/assets/{MailingDetailsSection-_5DUMAiO-cIrB6Ese.js → MailingDetailsSection-CRsQVOYi-DVyOc3HW.js} +1 -1
- package/dist/assets/MobileAppDrawer-vjIJyx5N.js +1 -0
- package/dist/assets/{MoreMenuButton-BCREj5dQ-BCylVRTR.js → MoreMenuButton-BWNCapgP-CobtazoG.js} +27 -27
- package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-DIU3oLQ2.js → MyBankConnectionsSettingsPage-C6p5J_f5-aGTzDXcW.js} +7 -7
- package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-CT952uFb.js → MyPendingActivationChargeCardListPage-CluWS3nS-3Mvvi7l1.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-AqrcruM6-jesbPct3.js → MyProfileSettingsPage-Ctkx_sAQ-BJzrBUg_.js} +7 -7
- package/dist/assets/NavBarWithPicker-ClP6LCUF-B_agyqrI.js +30 -0
- package/dist/assets/NavigationArrow-CUPvxfZv-DFdgHBv5.js +47 -0
- package/dist/assets/NavigationDots-Cu9LZj7T-BaBE0dTx.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-D1t1eSio.js → NewGlobalMerchantPage-g9JuX6MR-DfxwRkm2.js} +12 -12
- package/dist/assets/NoDataChart-DcMRzXHU-BWuTQSGS.js +26 -0
- package/dist/assets/{NoDataTable-BtEKMdpl-CBXm-Rpx.js → NoDataTable-D1v085Vv-TbZCkeJw.js} +1 -1
- package/dist/assets/{NotFoundPage-aEkhvzEG-D7OUf5MG.js → NotFoundPage-Bf-EPtU9-B60UYrLG.js} +4 -4
- package/dist/assets/NotFoundScreen-BlOJVroe.js +1 -0
- package/dist/assets/NotificationRoutes-CKAGXrkl.js +1 -0
- package/dist/assets/{NotificationSettingsPage-CMNyI8E6-blQORKhV.js → NotificationSettingsPage-Zv4-2vEl-Dq8r17oD.js} +16 -16
- package/dist/assets/NotificationsListConfig-CO5uOSs7-B3Op3ktj.js +1 -0
- package/dist/assets/NotificationsPage-BH6B4Q8b-YOVbk2c7.js +685 -0
- package/dist/assets/OpExByVendorPage-EjyJRLhn-jezrc1pM.js +100 -0
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-CNdAZz5K.js → OverlayContainerPage-D4QU0p4o-DZKwQHwV.js} +1 -1
- package/dist/assets/PandLWithForecastPage-UpDz4Qqu-fjMo0Gtf.js +107 -0
- package/dist/assets/PandLWithForecastRoutes-TX6P7Zrq.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-CQwi_YjA.js → PaymentAccountSetupBillingAddressSection-CqavirRU-DO80n7FW.js} +9 -9
- package/dist/assets/PeoplePage-D2N1XP-O-DKs_D4Fh.js +720 -0
- package/dist/assets/PeopleRoutes-C8mODapz.js +22 -0
- package/dist/assets/PerformanceRoutes-DiU5fqKk.js +1 -0
- package/dist/assets/{Preview-C1JD0WiC.js → Preview-CqLia4uG.js} +1 -1
- package/dist/assets/{ProductsCarousel-LGZZZ4bc-TzC9x8-0.js → ProductsCarousel-Dx8bStwI-C44-19N7.js} +8 -8
- package/dist/assets/{PromoBaseCards-DMnQ-nBZ-B7anhmyf.js → PromoBaseCards-Bauxzwzt-Dgaaf2yK.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-ufRcAeE8-BiWhXsJA.js → QBOConnectionDialog-COlHLDTh-CjJgFUeC.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-hdZFNBVm.js → QBOConnectionScreen-AtAIA8jj.js} +22 -4
- package/dist/assets/QBOSetupSection-Cb4AlHU9-BpQhAPPt.js +79 -0
- package/dist/assets/ReferralListScreen-XiiAfJ90.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-BocYdQhD.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-C5xH-EUU.js → ReimbursementApprovalRuleDetailPage-Cb4wyiiA-PPkCr8xd.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C4x83TjH.js → ReimbursementApprovalRuleDetailScreen-DPE-kSBA.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-CAvrqdJa.js → ReimbursementApprovalRulesPage-BEid42KU-DeLels1v.js} +5 -5
- package/dist/assets/ReimbursementDetailPage-CuuOsKPv-BPEFJ0xe.js +314 -0
- package/dist/assets/ReimbursementPromoPage-fvIAhNdR-CSg5BemV.js +84 -0
- package/dist/assets/ReimbursementRoutes-ZXUNkUzw.js +13 -0
- package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-Cd-ugKb_.js → ReimbursementSetUpPage-CBKANstD-CdxQGkDo.js} +7 -7
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-BXO46shT-Ki-BIH8Q.js +1 -0
- package/dist/assets/ReloadCard-BKHKE8Pu-B3lPeTvz.js +26 -0
- package/dist/assets/ReportTableViewSelector-gYxUii1M-BhXMqYN6.js +150 -0
- package/dist/assets/ReportsPage-D7rEPLAa-CczMmifR.js +121 -0
- package/dist/assets/ReportsRoutes-CZ3tnE-5.js +1 -0
- package/dist/assets/{RevenueChart-CKjVL6iT-C_eQ-aqy.js → RevenueChart-BHrj8Dy9-Bgtbsht_.js} +12 -12
- package/dist/assets/ReviewDetailsPage-B9SMV_va-PLuKyyKj.js +290 -0
- package/dist/assets/{ReviewOverlay-DyTC2zKj-KDRsvwAc.js → ReviewOverlay-Be_F1hd--Aq5DKqVU.js} +14 -14
- package/dist/assets/RewardsRoutes-OB-0XHFr.js +1 -0
- package/dist/assets/RoleWithToolTip-D9DCHaph-Ct3ZRTHm.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-9XyukA76-jDvGJj5q.js → ScheduleDetailsFixedAssetsPage-h1Ewtn5T-DRtWGNvu.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-CkMIJDcP-BYxIJ7TX.js → ScheduleDetailsPage-Cr-KaH2D-B1Q1jbwo.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-BBbLa0gA-C54SUt--.js +324 -0
- package/dist/assets/ScreenRoutes-Dj6yeCaN.js +2 -0
- package/dist/assets/{SetUpAccountSection-BkGBS9x_-Cq1DI8pA.js → SetUpAccountSection-ULABF-Md-DYZnUdRJ.js} +15 -15
- package/dist/assets/SettingsRoutes-CK_IQzwc.js +57 -0
- package/dist/assets/{SetupPagesScreen-BAJOwy6E.js → SetupPagesScreen-B28b7eDr.js} +6 -6
- package/dist/assets/{SignIn-DybDQnmR-C81T6vjg.js → SignIn-6YH_riJW-DzqdPViU.js} +74 -74
- package/dist/assets/SignInScreen-Jslx5-TX.js +1 -0
- package/dist/assets/SignOutScreen-D56BFgpr.js +9 -0
- package/dist/assets/SpendManagementListViewPage-D_RrkezV-ELAXLz4H.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-DsEMuden.js → SpendManagementPerTabPage-BnugLA94-vwewauIW.js} +96 -96
- package/dist/assets/SpendManagementSection-DCk1isQq-BuKHrb4M.js +375 -0
- package/dist/assets/StatementItem-BWKA6BsE-BBtXJaEH.js +31 -0
- package/dist/assets/StatementsPage-C5KuiVH4-Cf4qB6ps.js +58 -0
- package/dist/assets/{StatusSwitcher-Z7jo_R2B-BupHP9_H.js → StatusSwitcher-CgzMvf5t-ncrbliMU.js} +6 -6
- package/dist/assets/{SubTabSwitcher-DJvtpJh2-DzBKus5r.js → SubTabSwitcher-gc5g6vV0-BudAZpBJ.js} +9 -9
- package/dist/assets/SuccessAnimation-CcFXT4sg-BtvDv4Ac.js +13 -0
- package/dist/assets/SummaryCard-DgPg2oPm-TIRnserH.js +1 -0
- package/dist/assets/{TaskDetailPage-D6OLDKHa-CcEZ6QIq.js → TaskDetailPage-Brq3l5Lm-js01YZsk.js} +42 -42
- package/dist/assets/TaskListScreen-PaUFhtYL.js +9 -0
- package/dist/assets/TaskManagementPage-Dyy-A0ij-kAppPPcp.js +1063 -0
- package/dist/assets/TaskRoutes-DNKzAv87.js +9 -0
- package/dist/assets/TimeRangeSwitcher-PcHPZNOq-DyMi_xu3.js +64 -0
- package/dist/assets/TimeframeSwitcher-XZjkUS_W-DEhbHF-x.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-KxCdrFMS-CmMYWc36.js +31 -0
- package/dist/assets/{TopExCard-BmRXVrxo-_W2SzaPG.js → TopExCard-CRxFMC50-CucHTjUq.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ds-BZjbz-CIQg5qwm.js → TopExDetailPage-D7dCJGpQ-_APvVGdT.js} +18 -18
- package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-CBtxyxk_.js → TransactionActivityLogPage-ByyxovGE-B8-_ivhT.js} +11 -11
- package/dist/assets/TransactionDetailPage-D0_Tjv5D-BbvOSya5.js +903 -0
- package/dist/assets/TransactionDetailRoutes-BBeHV_Bn.js +1 -0
- package/dist/assets/TransactionDetailScreen-BnLwFmdM.js +5 -0
- package/dist/assets/TransactionList-DoYieHoy-MtmaAm18.js +153 -0
- package/dist/assets/{TransactionListBig-JcBvCcMd-D4tRq6mB.js → TransactionListBig-BOKPby7d-BiHGWKXG.js} +20 -20
- package/dist/assets/TransactionListPage-Bfx0PW2V-Ko7n0w0K.js +35 -0
- package/dist/assets/{TransactionListRoutes-CZ11TS_h.js → TransactionListRoutes-D6vFloa7.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-Cg9b-1j4.js → TransactionVendorDetailPage-BK4zpJ1F-BT9vQvKO.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DoIPGIdB-DwVunJdt.js → TransferDrawerPage-B5ofYt0y-GCYB9I81.js} +24 -24
- package/dist/assets/TreasuryOverviewPage-D4LuhPMd-FpA9c7P5.js +708 -0
- package/dist/assets/{TreasuryPromoPage-avx9YENY-DTL4pcWX.js → TreasuryPromoPage-ofZQDboF-BK7GFuNm.js} +13 -13
- package/dist/assets/TreasuryRoutes-DQPlHyww.js +45 -0
- package/dist/assets/TreasuryStatementsPage-D4bGPC_n-C9CJ9i1a.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-BT_G7d-D-DkEXvQO_.js → TreasuryTaxLetterPage-4aV14kQe-Bg3G6zgb.js} +4 -4
- package/dist/assets/{TrendChart-rzKYI72b-Drm1Eh-x.js → TrendChart-BJLik8fK-C09X9QMT.js} +4 -4
- package/dist/assets/TrendWithTransactions-R1FCSydB-Ci1yaQBG.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-BzS8Z3L2.js → UncategorizedAccountsMappingPage-mYSXtdgK-mpKZn3rt.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BXD_JgdY.js → UnitIntegrationPage-C44UiDRH-C1DPzFjn.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-CJmvE3y6-D4_Nm785.js +38 -0
- package/dist/assets/Vendor2FAPopup-Bt_phaZI-DRgs4wjV.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CxlQSWGZ-Fo80chk3.js +1 -0
- package/dist/assets/VendorDetailPage-BixXt95H-DDRHGc3v.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BmFZeCgu-3p9zequ6.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-B5BIQU3s.js → VendorFiling1099EditablePage-DIyS2YV_-CSGr8UHs.js} +24 -24
- package/dist/assets/VendorFirstReviewPage-DZ00XYRi-Bujg7mnV.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-BbWeoiim.js → VendorInternationalWireDetailsPage-DOYmaAmB-DkdpvBe3.js} +11 -11
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BCafZBL5-O4Et_Cvx.js +1 -0
- package/dist/assets/{VendorsAccountsSection-By1Bhh27-DcOiL6S-.js → VendorsAccountsSection-D6DinIAj-CJyfm4FF.js} +2 -2
- package/dist/assets/{VendorsRoutes-NsL__2Us.js → VendorsRoutes-BzRnsTCQ.js} +21 -21
- package/dist/assets/VerifyDevice-DFug_o82-BbsyIuwM.js +112 -0
- package/dist/assets/{VideoPlayer-DBU7xwIG-B74OFhs2.js → VideoPlayer-BuOlZW0M-DUvqMJGc.js} +1 -1
- package/dist/assets/{VideoPopup-Dxc93Pwx-DENHvk5i.js → VideoPopup-B03SM83j-CEO910rC.js} +1 -1
- package/dist/assets/WiseConfirmationScreen-Be46vSWM.js +12 -0
- package/dist/assets/ZeniAccountDetailPage-BJQvxY7D-0WnS8PEZ.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-CvwGdUPT-CLqSbTJn.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-OGXEdZmI-WHE_ZaHO.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-Bi-1usPB.js → ZeniAccountPromoPage-iELT-FzW-B54bB-Au.js} +23 -23
- package/dist/assets/ZeniAccountRoutes-ked1y8nK.js +58 -0
- package/dist/assets/{ZeniAccountSetupPage-CxYZzfiZ-zon_oiyA.js → ZeniAccountSetupPage-feqonZIV-DuQlAwjx.js} +4 -4
- package/dist/assets/ZeniAccountStatementScreen-t9W5AfJc.js +9 -0
- package/dist/assets/{ZeniAvatar-BodtWTPw-CVcXEyfO.js → ZeniAvatar-CHmpyZc4-xmYCp34T.js} +2 -2
- package/dist/assets/{ZeniCopyright-B1muAGCe-q18kcBJ1.js → ZeniCopyright-Cy7xQhak-DdKCW6EI.js} +1 -1
- package/dist/assets/{ZeniDatePicker-BmNnzdVH-XUzgAQP_.js → ZeniDatePicker--Wk1Y9-b-Ikkm7YIY.js} +4 -4
- package/dist/assets/ZeniTransferAmountSlider-BGK6jY7c-DnMJhxcK.js +63 -0
- package/dist/assets/{accountMappingHelper-BrPXAL73.js → accountMappingHelper-B5TnMmqA.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Dh9sZKZB.js → add-to-wallet-DgdBD8_G-Buw9XYbC.js} +1 -1
- package/dist/assets/{analytics-CDaNvN8h.js → analytics-D7HtemTn.js} +1 -1
- package/dist/assets/{analyticsHelper-DApOjqKE.js → analyticsHelper-CpXIJxUL.js} +1 -1
- package/dist/assets/{analyticsHelper-BznLUYs2-D0Y6omTO.js → analyticsHelper-MsboCQcB-ClYGtAlc.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-4zq_odDD.js → arrow-south-east-round-PEovUgvH-BfE1l1sB.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DbGOeLQx.js → auto-transfer-rule-mbafm5D3-Dbmd4uJS.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-CWySFkWm.js → avatar-Dz7aEm3d-C2PjdQVT.js} +1 -1
- package/dist/assets/{calculateSize-B4Atw2cK-BK5U-vIk.js → calculateSize-DtEgyuiA-BJxqaIDz.js} +1 -1
- package/dist/assets/{chartTypes-Bckf_DAs-CcjNgpBl.js → chartTypes-BZL6U2-d-UPGybQZE.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CVsxzmyy.js → clock-CJkylEKt-BhyIm3xG.js} +1 -1
- package/dist/assets/common-DspMM85g-eqBRfeMW.js +1 -0
- package/dist/assets/commonDimensions-RZ10geET-CQLnP9WR.js +1 -0
- package/dist/assets/{commonTypes-CATFe6V_-Bw1wXmwu.js → commonTypes-lunwFIdl-BTgH3sp5.js} +1 -1
- package/dist/assets/{core-BROwB3xg.js → core-ADrPabGT.js} +38 -3
- package/dist/assets/{dash.all.min-BwyTjiyH.js → dash.all.min-B80Fjk6g.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-BGR3dXtf.js → decodeURIComponentSafe-B2klyNYm.js} +1 -1
- package/dist/assets/detailCommon-CxEOrtjx-XTML3r_I.js +38 -0
- package/dist/assets/{dnd-M9ETCPCc.js → dnd-83aXbnEf.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-DzhQnUAS.js → dollar-round-D18u7nlm-DpqHsegv.js} +1 -1
- package/dist/assets/downloadPdf-BpxrRqLr-Dq9Hm-Yk.js +1 -0
- package/dist/assets/{index-PbnqpzuR.js → empty-BuW7JTEu.js} +1 -1
- package/dist/assets/{empty-DEfk6lzH.js → empty-b7G9eJAG.js} +1 -1
- package/dist/assets/epic-PnA5OGYq.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-CXOCablV.js → filter-cZIFUNvj-FUBo8Jnl.js} +1 -1
- package/dist/assets/getLocaleForTenant-Bt4tLJ8B.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-a7ivTWB6.js → gift-box-Cmt9OgIZ-BGtl8O0W.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-D4Z2Td9j.js → graphic-no-data-l-DU4J8fDt-ExJA3UCE.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CidPW_p-.js → graphic-no-data-net-burn-l-CzmycA0m-BakRM2hs.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Du3wpRQE.js → handshake-BPg58FML-DEzA3ltI.js} +1 -1
- package/dist/assets/{helper-BCh4SWyd-isWS85Kg.js → helper-2Z01-P8G-D7tgV0Ug.js} +3 -3
- package/dist/assets/{hyperlink-DQyCeXx2-BRRoxeMz.js → hyperlink-DQyCeXx2-ky2ivvTP.js} +1 -1
- package/dist/assets/index-B9b8RnaK.js +1 -0
- package/dist/assets/{index-CXeFHlD8.js → index-BC_OqBzO.js} +1 -1
- package/dist/assets/index-Bl4vUMlL.js +1 -0
- package/dist/assets/{index-Bsu_RWOn.js → index-DAaNy4V6.js} +8 -2
- package/dist/assets/{index-hlRDRY3p.js → index-DjP1wQjH.js} +1 -1
- package/dist/assets/{index-onESlw0k.js → index-DorX0WX8.js} +4298 -4227
- package/dist/assets/{lexical-BDowhSNN.js → lexical-BGYE9Sy4.js} +1 -1
- package/dist/assets/{liveblocks-Bdti0GEu.js → liveblocks-f_lxxH57.js} +8 -3
- package/dist/assets/{lottie-CyO1eRs4.js → lottie-sNoV77jf.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DcYetEpP-Cjbsf28w.js → mapLoadingInProgressToTreeNode-BJRnX8Ir-CTwzTgVL.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CExgzViB-Ckk52Tg_.js → mapSectionWithAcOnlyToTreeNode--0eoufeA-BVEmfqf7.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CQvnRjWo-D94Aabob.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CY0Vs8kK-BW2bp0f8.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cytg0KxN-BW6Ya40z.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-eJu_Fbcv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-DkTIrIkC.js} +1 -1
- package/dist/assets/{media-player-C_DTDTMq.js → media-player-D1K6tfw6.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-Dkp2kPMU.js → money-2cg1MuG4-DajJjl7a.js} +1 -1
- package/dist/assets/{mui-B0LS8eOU.js → mui-gZ2J-2YO.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BqlZh_Sh.js → page-detail-CWX5S47F-mMS9vUC4.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-B_SO8YR9.js → page-summary-D7_VQHwN-DhjZazqO.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DyRjm7kt.js +4 -0
- package/dist/assets/{pathToGoBack-Cd1NYD0G.js → pathToGoBack-BvSUl7ma.js} +1 -1
- package/dist/assets/{pdf-DEiLcZtJ.js → pdf-BNA4Ou8X.js} +3 -3
- package/dist/assets/{pdf-lib-BkXoRqvn.js → pdf-lib-uBsrmHT5.js} +1 -1
- package/dist/assets/{plaid-CnBboaBy.js → plaid-DS3FargU.js} +1 -1
- package/dist/assets/{pusher-Bly36HJj.js → pusher-fI6e2fO0.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-cGAZATVp.js → radio-default-CiSgisfh-BlGVs6W5.js} +1 -1
- package/dist/assets/{react-XiBAuA1q.js → react-2oa8mqCY.js} +12 -2
- package/dist/assets/{react-Dvzp2WQY.js → react-DGUD67o4.js} +12 -2
- package/dist/assets/react-DGs-yfEB.js +37 -0
- package/dist/assets/{react-BQQamkOQ.js → react-Dhg_7JXq.js} +12 -2
- package/dist/assets/{react-BTuVAJx5.js → react-PTvHN8FL.js} +13 -3
- package/dist/assets/{react-BfYalbE9.js → react-aVJXH_ps.js} +12 -2
- package/dist/assets/{react-Ce7uw7zT.js → react-ihVT-KIV.js} +12 -2
- package/dist/assets/{react-BB3tmZIH.js → react-pv23IQaZ.js} +12 -2
- package/dist/assets/{recharts-C5uMntUw.js → recharts-BKvR8EI0.js} +1 -1
- package/dist/assets/{routePaths-DY-F87LY.js → routePaths-BozUSOR4.js} +1 -1
- package/dist/assets/{sentry-CZ5rBRIL.js → sentry-tRTnR5ia.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DzA5SBv7.js → shield-DOlUxcFf-c8MRbcLE.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-DcVPGNzj.js → spend-limit-D6SyboD4-B-j1Sn9h.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DzAIFjHl-Bv5FILWN.js +1 -0
- package/dist/assets/toChartData-BurvmO_S-tegfOE4s.js +1 -0
- package/dist/assets/{transaction-placeholder-CpOwZAMG-COfSIfub.js → transaction-placeholder-CpOwZAMG-B1W5bE7h.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-GuaeTLDz.js → undo-b_3XZ5CX-CWSUI7Te.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-dCTUzMJK.js → unlock-BPWn2I5L-DofDRoYu.js} +1 -1
- package/dist/assets/{uploadAttachment-BLbU_iLy-8zCKB5Pk.js → uploadAttachment-DtJo5Tp4-I2f6VcnN.js} +16 -16
- package/dist/assets/{uploadReceipts-CIgkuVpu-CdkwjCFf.js → uploadReceipts-Dge0cNF1-CtnQO8tO.js} +1 -1
- package/dist/assets/{url-BpDqVgZ1.js → url-C7onmSKg.js} +1 -1
- package/dist/assets/{url-B5OrmuhL.js → url-DgsAV5vb.js} +1 -1
- package/dist/assets/{useDeviceId-B2ttoe_4.js → useDeviceId-DXjMFBrp.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-PDMuzuX_.js → useInitialThreadRequest-CVIIrf8B.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DX6C4FZu.js → useLongPress-GCK2COYQ-BErt8Gng.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DwPxDnl2.js → usp-line-BBd1wKwW-Vkz6UgtT.js} +1 -1
- package/dist/assets/{utils-0wrLfZK3.js → utils-VuBQoQGa.js} +20 -7
- package/dist/assets/withTransactionSidePanel-DCoGJOSb.js +8 -0
- package/dist/assets/zeni-epic-state-DiMW9axO.js +122 -0
- package/dist/assets/{zeni-icon-only-Bw33PFmX.js → zeni-icon-only-soz6I0gO.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +8 -16
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-CfvX6zSV-orp1kpUl.js +0 -21
- package/dist/assets/AccountInfoPage-XrG_Cs9Q-DGo7arLd.js +0 -18
- package/dist/assets/AccountInfoPageContent-Bk0YQ-4C-EIvLBn9J.js +0 -149
- package/dist/assets/AccountRow-2vAGu-jm-CsRx_9_c.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-CWiP3Ul9.js +0 -6
- package/dist/assets/AddressRoutes-BhTs0719.js +0 -1
- package/dist/assets/AddressScreen-C7FI08DQ.js +0 -9
- package/dist/assets/AppDrawerContent-DpoXoHZU-CYeg8brB.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BfXvTQyU-DBTdErTc.js +0 -47
- package/dist/assets/ArAgingChart-BwVPNYHv-CcByfol5.js +0 -24
- package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-BSEIXbC4.js +0 -38
- package/dist/assets/BankAccountWarningSection-BQlPiqev-VfBZFP3w.js +0 -51
- package/dist/assets/BillDetailPage-44pWv8Nq-9uRwD-vz.js +0 -266
- package/dist/assets/BillPayApprovalRoutes-Dlvg_E83.js +0 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-D_Q7_oVR-BwbwveWy.js +0 -27
- package/dist/assets/BillPaySetUpPage-bNDxI3Kh-B9_ilJ_1.js +0 -42
- package/dist/assets/BillingSettingsPage-4WGlC_Ok-Cu5yW_nx.js +0 -44
- package/dist/assets/BusinessVerificationPage-CYzudAIt-ChK6OXP0.js +0 -138
- package/dist/assets/BusinessVerificationPageScreen-k-BeqwEY.js +0 -9
- package/dist/assets/BusyIndication-BYTP8DO9-DM831bTM.js +0 -9
- package/dist/assets/ChargeCardListTable-Daaen5Xe-D0lOSTTo.js +0 -711
- package/dist/assets/ChargeCardPromoPage-DAk2fYcE-Be70q6jd.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-DlJJaad8-DQQw5HV9.js +0 -206
- package/dist/assets/CollapsableReportTable-CcyH-50D-DL-xxcdl.js +0 -2941
- package/dist/assets/CompanyOfficerDetailsSection-m-m1nELP-DdzEvWuy.js +0 -331
- package/dist/assets/CompanyPassportCard-ZBDBE8eV-D5rcoYI7.js +0 -42
- package/dist/assets/ConfettiBurst-BCkkcLA1-CfFNklpq.js +0 -1
- package/dist/assets/ConnectionAuthScreen-D8HCXHjs.js +0 -11
- package/dist/assets/CurrencySelectField-CwNGSmb2-D7S0733a.js +0 -139
- package/dist/assets/CustomerOnboardingAuthScreen-2a10tVxr.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-csD_XfJD.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-DF6CbSZs-Ce1wmMhs.js +0 -66
- package/dist/assets/DashboardRoutes-D7-BQybA.js +0 -21
- package/dist/assets/DashboardSidebarBackgroundAnimation-Cn_5tbit-wUk3-phQ.js +0 -12
- package/dist/assets/DepositAccTransactionItem-DnL2eweO-B6q6pWTa.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-HAUhc4OH-Bic7M5jt.js +0 -66
- package/dist/assets/DomesticWireDetailScreen-Cd59xXc1.js +0 -18
- package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-ALe5PVzc.js +0 -21
- package/dist/assets/DownloadOverlay-GFsPIkgY-BMkk3cm2.js +0 -439
- package/dist/assets/DrawerScreen-D5FqBBJJ.js +0 -1
- package/dist/assets/EditPeoplePage-DD6wg7xI-BXT7xcGL.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D8RHkMHR-DIlKE1Mz.js +0 -865
- package/dist/assets/EntityDetailPage-levtFHaa-DqaXP9Yk.js +0 -18
- package/dist/assets/EntityDetailRoutes-DVHLqQYx.js +0 -1
- package/dist/assets/ExpenseAutomationPage-DD33LDin-Ba6vQBRK.js +0 -3614
- package/dist/assets/ExpenseAutomationRoutes-B_iGGphM.js +0 -20
- package/dist/assets/FeaturePreviewScreen-BNFYctNf.js +0 -1
- package/dist/assets/GlobalReviewListPage-C5h9rvVb-nfB02P_2.js +0 -291
- package/dist/assets/InsightsCardStack-CkxN0Fd6-763HMSE3.js +0 -79
- package/dist/assets/InsightsSection-Cwd2cIP2-CZ7okUuA.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-CN3x9o-8-BQvn7JQh.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-DaDQKgwa.js +0 -65
- package/dist/assets/InvitePeoplePage-D-XyBXhF-D6owWKuc.js +0 -12
- package/dist/assets/InvoiceUploadSection-DaJWTI5B-CqhFo4gs.js +0 -140
- package/dist/assets/LabeledAddressValueField-B5eyO5LD-BX0obAqg.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DNFUkVLh-CHxF5t5z.js +0 -16
- package/dist/assets/LabeledDocumentField-H4V0rHKt-BNkRXnBY.js +0 -41
- package/dist/assets/LabeledText-BDkcgGG4-C5NFd1eb.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-Bt3qU_e2.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-zLqzW0ZA-BWYuY1Ca.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-OpEbz58h-CFz87ekO.js +0 -1
- package/dist/assets/MagicLinkRoutes-D2_ecbfc.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-BZLNJqh8.js +0 -12
- package/dist/assets/MobileAppDrawer-CAXlcX9R.js +0 -1
- package/dist/assets/NavBarWithPicker-BpjOj0Mh-BwvJYNac.js +0 -30
- package/dist/assets/NavigationArrow-wyRPTk_w-DPu3Oj9V.js +0 -47
- package/dist/assets/NavigationDots-D4jbU1WN-jeganfr5.js +0 -15
- package/dist/assets/NoDataChart-tpjEi1Wb-D421f-73.js +0 -26
- package/dist/assets/NotFoundScreen-CF8ObwPz.js +0 -1
- package/dist/assets/NotificationRoutes-pUWH8lSx.js +0 -1
- package/dist/assets/NotificationsListConfig-CqxCGQSM-OgByU3Gt.js +0 -1
- package/dist/assets/NotificationsPage-xmWyvsYE-BIF5tt7P.js +0 -685
- package/dist/assets/OpExByVendorPage-BwWSNQjj-3fV9YIn4.js +0 -100
- package/dist/assets/PandLWithForecastPage-GXzJgAFS-Cp5kSDNk.js +0 -107
- package/dist/assets/PandLWithForecastRoutes-XLAPfYww.js +0 -1
- package/dist/assets/PeoplePage-CgLumn7f-D_i2gWcF.js +0 -772
- package/dist/assets/PeopleRoutes-Cu0U5U2W.js +0 -22
- package/dist/assets/PerformanceRoutes-3KgDs52i.js +0 -1
- package/dist/assets/QBOSetupSection-BaxLXdyW-pjTHwp3k.js +0 -79
- package/dist/assets/ReferralListScreen-C3_oL385.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-CJ6a1Z7l.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BOW1JodW-D-JMFLZJ.js +0 -314
- package/dist/assets/ReimbursementPromoPage-lD4FRDbt-DT8tB2X5.js +0 -84
- package/dist/assets/ReimbursementRoutes-CgNdfg_9.js +0 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-BV1eoHFe-DYTqcpuP.js +0 -1
- package/dist/assets/ReloadCard-DZJ1-x96-Cbk2YJf5.js +0 -26
- package/dist/assets/ReportTableViewSelector-NmHJk-6O-DC1xlLpc.js +0 -151
- package/dist/assets/ReportsPage-CqCp4w8y-BKv48wE_.js +0 -237
- package/dist/assets/ReportsRoutes-Cjka5GZR.js +0 -1
- package/dist/assets/ReviewDetailsPage-Dm5-QehL-BGVz2Skg.js +0 -290
- package/dist/assets/RewardsRoutes-Cg47LISe.js +0 -1
- package/dist/assets/RoleWithToolTip-Cu0ixEhp-BLzDuQC4.js +0 -22
- package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B3jTjQj6.js +0 -324
- package/dist/assets/ScreenRoutes-CLgK0flG.js +0 -2
- package/dist/assets/SettingsRoutes-DTEJaC0y.js +0 -57
- package/dist/assets/SignInScreen-DDGNuzrN.js +0 -1
- package/dist/assets/SignOutScreen-Vd1yIsf9.js +0 -9
- package/dist/assets/SpendManagementListViewPage-DkEZTojy-Bbryxib4.js +0 -134
- package/dist/assets/SpendManagementSection-DqDra2TJ-UYVOSI6A.js +0 -375
- package/dist/assets/StatementItem-DSuaMb54-DvgnUhnF.js +0 -31
- package/dist/assets/StatementsPage-BO3P2kKJ-BlvqqfSa.js +0 -58
- package/dist/assets/SuccessAnimation-4kdc8tt0-3U7Tbur-.js +0 -13
- package/dist/assets/SummaryCard-D4k-35Mt-pAdg9hEc.js +0 -1
- package/dist/assets/TaskListScreen-DS-z4_ic.js +0 -9
- package/dist/assets/TaskManagementPage-Cadtu3qQ-BS26r7bL.js +0 -1067
- package/dist/assets/TaskRoutes-DOJRy1jK.js +0 -9
- package/dist/assets/TimeRangeSwitcher-CXt00my3-0befHeUq.js +0 -64
- package/dist/assets/TimeframeSwitcher-D0ujXDLd-BQsQ9a9G.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-CMzQ2qRz-CbDb6VxM.js +0 -53
- package/dist/assets/TransactionDetailPage-B1UKqtkR-d5IFX2Ag.js +0 -903
- package/dist/assets/TransactionDetailRoutes-CcFWlu2e.js +0 -1
- package/dist/assets/TransactionDetailScreen-BiSUP3Ye.js +0 -5
- package/dist/assets/TransactionList-BE3ODDi0-DWNC6ZOm.js +0 -153
- package/dist/assets/TransactionListPage-DqY2twbP-BNNOPUy7.js +0 -35
- package/dist/assets/TreasuryOverviewPage-lmaT3YkG-DTrJbZN8.js +0 -725
- package/dist/assets/TreasuryRoutes-B45oraKw.js +0 -45
- package/dist/assets/TreasuryStatementsPage-BguLbwsn-CqYwnBvA.js +0 -58
- package/dist/assets/TrendWithTransactions-atLfDrR5-BWQ8ewta.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-D0FPdZ3n-D_o6UAT5.js +0 -38
- package/dist/assets/Vendor2FAPopup-CH44a6ok-D7quKD79.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YgMvjx2w-Cc9yRWvp.js +0 -1
- package/dist/assets/VendorDetailPage-DJ54yvWY-CrTCfpgf.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-BYyMlDV2.js +0 -1
- package/dist/assets/VendorFirstReviewPage-7VUbqyR2-D5_39yaN.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-nHm5cJMF.js +0 -1
- package/dist/assets/VerifyDevice-gXwkGIjJ-Eh05VlWI.js +0 -112
- package/dist/assets/WiseConfirmationScreen-D3O3YSmJ.js +0 -12
- package/dist/assets/ZeniAccountDetailPage-DlCJ5UGq-D3gjQmIJ.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-DTiBd3Ze--cesRi3D.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-DAcKYXqh-C9FBd2ju.js +0 -33
- package/dist/assets/ZeniAccountRoutes-uGhl8Fda.js +0 -58
- package/dist/assets/ZeniAccountStatementScreen-BWKARWnP.js +0 -9
- package/dist/assets/ZeniTransferAmountSlider-CX1FGWrl-CYsYWj7Y.js +0 -63
- package/dist/assets/bank-letter-BOcVjN6J-Cei8xClC.js +0 -1
- package/dist/assets/common-Dx_KVthm-CevE2N5L.js +0 -1
- package/dist/assets/commonDimensions-Bno19oYe-CEAcpM9E.js +0 -1
- package/dist/assets/downloadPdf-CkATqzUx-CAAsaSoH.js +0 -1
- package/dist/assets/empty-DMh0uNaa.js +0 -1
- package/dist/assets/epic-rdGaLX8n.js +0 -2
- package/dist/assets/getLocaleForTenant-XwAfvjzQ.js +0 -1
- package/dist/assets/index-BkXFulDf.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D02PFsN8-HzZiwtin.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BqsDu5g7.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BlLHhiHi.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-DwZ96bUM.js +0 -3
- package/dist/assets/react-CFCUHd70.js +0 -19
- package/dist/assets/toCOABalancesWithID-C-wpsGXP-DipYDOu_.js +0 -1
- package/dist/assets/toChartData-C-X2WzOE-Bq8iIFdZ.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-D0qWvkKO.js +0 -1
- package/dist/assets/withTransactionSidePanel-Cqk9VVqu.js +0 -8
- package/dist/assets/zeni-epic-state-Cr-rO4HZ.js +0 -14
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J as V,V as t,bZ as ne,b as m,b_ as vt,u as h,y as Ft,a7 as Ct,T as Tt,b$ as kt,O as z,a_ as Lt,A as Nt,c0 as Pt,a9 as zt,c1 as nt,c2 as Et,a8 as Vt,o as a,s as we,c3 as st,c4 as P,c5 as qe,c6 as A,c7 as ee,e as L,al as fe,c8 as rt,c9 as Mt,ca as dt,t as At,cb as Wt,cc as Bt,cd as _t,ce as Rt,cf as Yt,aQ as Ut,ab as qt,at as J,x as Ie,i as He,cg as Ht,Q as Zt,ch as Gt,bB as Qt,ci as Xt,W as Jt,cj as Kt}from"./index-DorX0WX8.js";import{a as Y,b as ea}from"./sentry-tRTnR5ia.js";import{n,d as ta,k as aa}from"./mui-gZ2J-2YO.js";import{EQ as la,ER as ct,ES as pt,ET as mt,EU as ut,EV as ht,bR as ft,EW as ke,bG as oa,bs as Le,bE as ia,EX as na}from"./zeni-epic-state-DiMW9axO.js";import{I as yt}from"./LabeledCreatableSingleSelectField-CzrPLo-T-WU7xdxt6.js";import{Y as gt}from"./LabeledDocumentField-CFtFroDl-BZ61zQ53.js";import{e as sa}from"./LabeledSingleSelectField-BkGsnV9P-L8vud565.js";import{p as ra,i as da,t as ca}from"./commonTypes-lunwFIdl-BTgH3sp5.js";import{b as pa}from"./LabeledCountryMultiSelectField-LeubJT8b-DTiRo8mi.js";import{x as ma,f as ua,p as ha,h as fa,m as bt,b as ya,g as ga}from"./helper-2Z01-P8G-D7tgV0Ug.js";import{$ as xt}from"./LabeledAddressValue-Bb1x9jR--B6kyu-d_.js";import{Z as wt}from"./LabeledNameField-DWKoivcI-CTKa3xQk.js";import"./pdf-BNA4Ou8X.js";import"./core-ADrPabGT.js";import"./lottie-sNoV77jf.js";import"./liveblocks-f_lxxH57.js";import"./recharts-BKvR8EI0.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./utils-VuBQoQGa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f2e3d63e-8a94-457e-b3dc-9c0cd39ec2f2",e._sentryDebugIdIdentifier="sentry-dbid-f2e3d63e-8a94-457e-b3dc-9c0cd39ec2f2")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function ba({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(xa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const xa=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
5
5
|
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>
|
|
7
|
-
min-height: ${e=>
|
|
8
|
-
padding-right: ${e=>
|
|
9
|
-
padding-top: ${e=>
|
|
10
|
-
padding-bottom: ${e=>
|
|
6
|
+
width: ${e=>W.width.valuePx(e.size)};
|
|
7
|
+
min-height: ${e=>W.height.valuePx(e.size)};
|
|
8
|
+
padding-right: ${e=>W.marginRight.valuePx(e.size)};
|
|
9
|
+
padding-top: ${e=>W.paddingTopBottom.valuePx(e.size)};
|
|
10
|
+
padding-bottom: ${e=>W.paddingTopBottom.valuePx(e.size)};
|
|
11
11
|
|
|
12
12
|
:first-of-type {
|
|
13
13
|
border-top-left-radius: inherit;
|
|
@@ -45,12 +45,12 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
45
45
|
width: ${a.sp4};
|
|
46
46
|
height: ${a.sp4};
|
|
47
47
|
color: ${L.successDark};
|
|
48
|
-
`,
|
|
48
|
+
`,Sa=n(Yt)`
|
|
49
49
|
margin-top: 2px;
|
|
50
50
|
width: ${a.sp4};
|
|
51
51
|
height: ${a.sp4};
|
|
52
52
|
color: ${L.important};
|
|
53
|
-
`,
|
|
53
|
+
`,Oa=n.div`
|
|
54
54
|
margin-top: ${a.sp1};
|
|
55
55
|
`,ja=n(qt)`
|
|
56
56
|
color: ${L.neutralGrey2Light};
|
|
@@ -67,7 +67,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
67
67
|
&:hover {
|
|
68
68
|
color: ${L.primaryDark};
|
|
69
69
|
}
|
|
70
|
-
`,Ca=e=>{const o=z.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ta(e){const o=V(),{fetchState:p,onRemoveSnackbar:i}=e;Y.useEffect(()=>{setTimeout(i,5e3)});const r=z.getLocalizedStrings().companyPassport.snackBar,l=p==="Completed";return t.jsxs(Ia,{windowSize:o,children:[l?t.jsx($a,{}):t.jsx(
|
|
70
|
+
`,Ca=e=>{const o=z.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ta(e){const o=V(),{fetchState:p,onRemoveSnackbar:i}=e;Y.useEffect(()=>{setTimeout(i,5e3)});const r=z.getLocalizedStrings().companyPassport.snackBar,l=p==="Completed";return t.jsxs(Ia,{windowSize:o,children:[l?t.jsx($a,{}):t.jsx(Sa,{}),t.jsxs(Da,{windowSize:o,children:[t.jsx(va,{isSuccess:l,children:l?r.success:r.error}),t.jsx(Oa,{children:t.jsx(ja,{children:Ca(p)})})]}),t.jsx(Fa,{onClick:i,children:t.jsx(Vt,{})})]})}const ye={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(h[3],h[2])};function ka(e){const o=V(),[p,i]=Y.useState(!1),{companyPassport:r,commonSetUp:{businessVerification:l},common:{documents:s}}=z.getLocalizedStrings(),{fileProps:f,companyFiles:y,deleteFileStatusById:u,updateFileStatusById:d,sectionId:I,isDisabled:O,companyIncInfo:$,style:j}=e,S=ye.labelWidth.value(o),g=ye.largeLabelWidth.value(o),C=ye.largeLabelDocumentWidth.value(o),{dateFormat:{visual:c},companyPassport:T}=z.getLocalizedStrings(),b=y.find(q=>q.documentType==="certificate_of_incorporation"),U=o==="small"?r.companyIncInfo.stateOfIncPlaceholderSmall:r.companyIncInfo.stateOfIncPlaceholder,le=o==="small"?r.companyIncInfo.typeOfIncPlaceholderSmall:r.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(La,{style:j,children:[t.jsx(Pa,{children:r.companyIncInfo.title}),t.jsxs(Na,{children:[t.jsx(yt,{label:{label:T.companyIncInfo.typeOfInc,width:g},isDisabled:O,creatableSingleSelectField:{name:ge(I,"typeOfInc"),placeholder:le,defaultValue:{selectedOption:$?.typeOfInc,allOptions:r.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(De,{}),t.jsx(sa,{label:{label:T.companyIncInfo.stateOfInc,width:g},isDisabled:O,singleSelectField:{name:ge(I,"stateOfInc"),placeholder:U,defaultValue:{selectedOption:$?.stateOfInc,allOptions:r.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(De,{}),t.jsx(Mt,{isDisabled:O,label:{label:r.companyIncInfo.incDate,width:S},style:{paddingBottom:ye.paddingBottom.valuePx(o)},dateField:{name:ge(I,"incDate"),placeholder:A(r.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:c.defaultInput,maxDate:Le(),minDate:oa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(De,{}),t.jsx(gt,{name:ge(I,"certificateOfIncorporation"),isDisabled:O,sizeLimit:dt,deleteFileStatusById:u,updateFileStatusById:d,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:l.certificateOfIncorporation,width:C},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:b,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:p,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:q=>i(q)}),t.jsx(za,{windowSize:o,isError:p,children:s.formatDocumentText10MB})]})]})}const ge=(e,o)=>`${e}.${o}`,La=n.div`
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
padding-top: ${a.sp3};
|
|
@@ -79,7 +79,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
79
79
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
80
80
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
81
81
|
border-radius: ${a.sp2};
|
|
82
|
-
`,Pa=n(
|
|
82
|
+
`,Pa=n(J)`
|
|
83
83
|
color: ${e=>e.theme.colors.champion};
|
|
84
84
|
margin-bottom: ${a.sp3};
|
|
85
85
|
`,De=n.div`
|
|
@@ -94,7 +94,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
94
94
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
95
95
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
96
96
|
color: ${e=>e.isError?L.important:e.theme.colors.grey1};
|
|
97
|
-
`,Ea=n(
|
|
97
|
+
`,Ea=n(Xt)`
|
|
98
98
|
color: ${e=>e.theme.colors.primary};
|
|
99
99
|
margin-block-start: ${a.sp0};
|
|
100
100
|
margin-block-end: ${a.sp0};
|
|
@@ -103,7 +103,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
103
103
|
list-style-position: inside;
|
|
104
104
|
`,Va=n.li`
|
|
105
105
|
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
106
|
-
`,Ma=n(
|
|
106
|
+
`,Ma=n(Jt)`
|
|
107
107
|
color: ${e=>e.theme.colors.grey1};
|
|
108
108
|
border-radius: ${a.sp1};
|
|
109
109
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
@@ -111,7 +111,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
111
111
|
width: fit-content;
|
|
112
112
|
margin-left: auto;
|
|
113
113
|
margin-bottom: ${a.sp2};
|
|
114
|
-
`,Aa=e=>{const{labels:o,style:p,listStyleType:i="disc"}=e;return t.jsx(Ea,{style:{...p,listStyleType:i},children:o.filter(r=>r!=null&&r.text!="").map((r,l)=>t.jsxs(Va,{isCancelled:r.status==="cancelled",children:[r.text,r.subText!=null?t.jsxs(Ma,{children:["Started: ",r.subText]}):null]},`${r.text}_${l}`))})},ae={width:new m(343,580,726),paddingTopBottom:new m(h[3],h[3]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4])};function xe({isDisabled:e,label:o,bullettedLabels:p,style:i}){const r=V();return p.labels.length>0?t.jsxs(
|
|
114
|
+
`,Aa=e=>{const{labels:o,style:p,listStyleType:i="disc"}=e;return t.jsx(Ea,{style:{...p,listStyleType:i},children:o.filter(r=>r!=null&&r.text!="").map((r,l)=>t.jsxs(Va,{isCancelled:r.status==="cancelled",children:[r.text,r.subText!=null?t.jsxs(Ma,{children:["Started: ",r.subText]}):null]},`${r.text}_${l}`))})},ae={width:new m(343,580,726),paddingTopBottom:new m(h[3],h[3]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4])};function xe({isDisabled:e,label:o,bullettedLabels:p,style:i}){const r=V();return p.labels.length>0?t.jsxs(Wa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:ae.labelMarginLeft.value(r),marginRight:ae.labelMarginRight.value(r),width:o.width??"auto"}}),t.jsx(Aa,{...p,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const Wa=n.div`
|
|
115
115
|
display: flex;
|
|
116
116
|
flex-direction: row;
|
|
117
117
|
align-items: flex-start;
|
|
@@ -132,7 +132,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
132
132
|
border-bottom-left-radius: inherit;
|
|
133
133
|
border-bottom-right-radius: inherit;
|
|
134
134
|
}
|
|
135
|
-
`,ie={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180),extraLargeLabelWidth:new m(200,250,300),regulatedStatusMaxWidth:new m(343,580,726)},$t=z.getLocalizedStrings(),x=$t.commonSetUp.businessVerification,{companyPassport:F,dateFormat:{analytics:Ge},common:{yes:Ze,no:Xe}}=$t;function Wa({companyViewData:e,allIndustries:o,allNationalityCountries:p,companyInfo:i,companyAddress:r,sectionId:l,isDisabled:s,isCompanyVerified:f,onCompanyAddressClick:y,style:u}){const d=V(),I=ie.labelWidth.value(d),S=ie.mediumLabelWidth.value(d),$=ie.largeLabelWidth.value(d),j=ie.extraLargeLabelWidth.value(d),O=ta(),{watch:g,setValue:C,formState:{errors:c}}=st(),T=e.company.company.companyInfo,b=k=>{const D=i?.[k];return D!=null&&(!(typeof D=="string"&&D===""||Array.isArray(D)&&D.length===0)||f===!1)},U=b("companySubIndustry"),le=b("countriesOfOperations"),q=b("transactionVolume"),$e=b("regulatedStatus"),Oe=b("usNexus"),H=b("purposeOfAccount"),_=b("companySourceOfFunds"),se=g(w(l,"companySourceOfFunds")),re=g(w(l,"transactionVolume")),Q=g(w(l,"regulatedStatus")),de=g(w(l,"usNexus")),G=g(w(l,"purposeOfAccount")),Z=g(w(l,"companyIndustryType")),ce=Z?.selectedOption??i?.companyIndustryType,Se=d==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder;return t.jsxs(Ra,{style:u,children:[t.jsx(Ua,{children:F.companyInfo.title}),t.jsxs(Ya,{children:[t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.companyName,width:$},text:{type:"text",name:w(l,"companyName"),placeholder:A(F.companyInfo.companyName),defaultValue:i?.companyName,autoComplete:"new-password",options:{required:!!T.name,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.legalName,width:S},text:{type:"text",name:w(l,"legalName"),placeholder:A(F.companyInfo.legalName),defaultValue:i?.legalName,autoComplete:"new-password",options:{required:!!T.companyLegalName,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.website,width:I},text:{type:"url",name:w(l,"website"),placeholder:A(F.companyInfo.website),defaultValue:i?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(E,{}),U?t.jsx(t.Fragment,{children:t.jsxs(qa,{"data-suppress-hover":s!=null||void 0,children:[t.jsx(ee,{label:{label:x.companyIndustryLabel,width:I},singleSelectField:{singleSelect:{name:w(l,"companyIndustryType"),placeholder:x.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ma,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companyIndustryType,allOptions:[...ht]},onSelectChange:k=>{C(w(l,"subIndustry"),{selectedOption:void 0,allOptions:ke(k)})}},isFunctional:!0,errorInfoLabel:x.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),ce!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:w(l,"subIndustry"),placeholder:x.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>ua(k,ce),isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySubIndustry,allOptions:ke(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:x.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:s==null?x.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:F.companyInfo.industry,width:I},singleSelectField:{singleSelect:{name:w(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>o.find(D=>D.code===k)?.name??k,isDisabled:s,showTickMark:!0},defaultValue:{selectedOption:i?.industry,allOptions:o?.map(k=>k.code)??[]}},isFunctional:!0}),t.jsx(E,{}),t.jsx(yt,{isDisabled:s,label:{label:F.companyInfo.businessModel,width:$},creatableSingleSelectField:{name:w(l,"businessModel"),placeholder:Se,defaultValue:{selectedOption:i?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),le&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(pa,{label:{label:x.countriesOfOperationsLabel,width:$},isDisabled:s,additionalInfoLabel:s==null?x.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:w(l,"countriesOfOperations"),placeholder:x.countriesOfOperationsPlaceholder,defaultValue:nt(i?.countriesOfOperations,(p??[]).map(k=>k.countryCode))}})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.companySourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:w(l,"companySourceOfFunds"),placeholder:x.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ha,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySourceOfFunds,allOptions:[...ut]}},isFunctional:!0,additionalContent:ra.includes(se?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"companySourceOfFundsDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?L.importantLight:O.colors.background},options:{}},additionalInfoLabel:x.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-$,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?void 0:x.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),q&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.transactionVolumeLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"transactionVolume"),placeholder:x.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.transactionVolume,allOptions:[...mt]}},isFunctional:!0,additionalContent:da.includes(re?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"transactionVolumeDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.transactionVolumeDescription!=null?L.importantLight:O.colors.background},options:{}},additionalInfoLabel:x.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.transactionVolumeDescription!=null?void 0:x.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),$e&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Je,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Ke,{children:[t.jsx(ne,{label:x.regulatedStatusLabel,htmlFor:w(l,"regulatedStatus"),isDisabled:s,style:{width:$,color:s==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Qe,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Xe},style:{width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:w(l,"regulatedStatusDescription"),placeholder:x.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.regulatedStatusDescription!=null?L.importantLight:O.colors.background},options:{}},additionalInfoLabel:x.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[l]!=null&&c[l]?.regulatedStatus!=null?t.jsx(ve,{windowSize:d,children:x.regulatedStatusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.regulatedStatusDescription!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.regulatedStatusAdditionalInfo}):null]})]}),Oe&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Je,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Ke,{children:[t.jsx(ne,{label:x.usNexusLabel,htmlFor:w(l,"usNexus"),isDisabled:s,style:{width:$,color:s==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Qe,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Xe},style:{width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),de==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ha,{hasError:c[l]!=null&&c[l]?.usNexusTypes!=null,children:t.jsx(bt,{isDisabled:s,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:w(l,"usNexusTypes"),placeholder:x.usNexusPlaceholder,getOptionLabel:ya,defaultValue:{selectedOptions:i?.usNexusTypes??[],allOptions:[...pt]},registerOptions:{required:s==null,shouldUnregister:!0,validate:k=>{const D=k?.selectedOptions;return D!=null&&D.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[l]!=null&&c[l]?.usNexusTypes!=null&&t.jsx(ve,{windowSize:d,children:x.usNexusTypesError})]}),c[l]!=null&&c[l]?.usNexus!=null?t.jsx(ve,{windowSize:d,children:x.usNexusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.usNexusTypes!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.purposeOfAccountLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"purposeOfAccount"),placeholder:x.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ga,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.purposeOfAccount,allOptions:[...ct]}},isFunctional:!0,additionalContent:ca.includes(G?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"purposeOfAccountDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?L.importantLight:O.colors.background},options:{}},additionalInfoLabel:x.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?void 0:x.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(E,{}),t.jsx(xt,{isDisabled:s,label:{label:F.companyInfo.address,width:I},addressValue:{placeholder:A(F.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(E,{}),t.jsx(rt,{isDisabled:s,label:{label:F.companyInfo.phone,width:I},text:{name:w(l,"phone"),placeholder:A(F.companyInfo.phone),defaultValue:i?.phone,autoComplete:"new-password"}}),t.jsx(E,{}),t.jsx(xe,{label:{label:F.companyInfo.fiscalYear,width:I},bullettedLabels:{labels:[{text:_a(i?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const _a=e=>{const{fiscalYearMonths:o}=na(e);return`${Le().month(o[0]-1).format(Ge.MMMFormat)} to ${Le().month(o[11]-1).format(Ge.MMMFormat)}`},w=(e,o)=>`${e}.${o}`,Ra=n.div`
|
|
135
|
+
`,ie={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180),extraLargeLabelWidth:new m(200,250,300),regulatedStatusMaxWidth:new m(343,580,726)},$t=z.getLocalizedStrings(),x=$t.commonSetUp.businessVerification,{companyPassport:F,dateFormat:{analytics:Ze},common:{yes:Ge,no:Qe}}=$t;function Ba({companyViewData:e,allIndustries:o,allNationalityCountries:p,companyInfo:i,companyAddress:r,sectionId:l,isDisabled:s,isCompanyVerified:f,onCompanyAddressClick:y,style:u}){const d=V(),I=ie.labelWidth.value(d),O=ie.mediumLabelWidth.value(d),$=ie.largeLabelWidth.value(d),j=ie.extraLargeLabelWidth.value(d),S=ta(),{watch:g,setValue:C,formState:{errors:c}}=st(),T=e.company.company.companyInfo,b=k=>{const D=i?.[k];return D!=null&&(!(typeof D=="string"&&D===""||Array.isArray(D)&&D.length===0)||f===!1)},U=b("companySubIndustry"),le=b("countriesOfOperations"),q=b("transactionVolume"),$e=b("regulatedStatus"),Se=b("usNexus"),H=b("purposeOfAccount"),_=b("companySourceOfFunds"),se=g(w(l,"companySourceOfFunds")),re=g(w(l,"transactionVolume")),K=g(w(l,"regulatedStatus")),de=g(w(l,"usNexus")),Z=g(w(l,"purposeOfAccount")),G=g(w(l,"companyIndustryType")),ce=G?.selectedOption??i?.companyIndustryType,Oe=d==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder;return t.jsxs(Ra,{style:u,children:[t.jsx(Ua,{children:F.companyInfo.title}),t.jsxs(Ya,{children:[t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.companyName,width:$},text:{type:"text",name:w(l,"companyName"),placeholder:A(F.companyInfo.companyName),defaultValue:i?.companyName,autoComplete:"new-password",options:{required:!!T.name,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.legalName,width:O},text:{type:"text",name:w(l,"legalName"),placeholder:A(F.companyInfo.legalName),defaultValue:i?.legalName,autoComplete:"new-password",options:{required:!!T.companyLegalName,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.website,width:I},text:{type:"url",name:w(l,"website"),placeholder:A(F.companyInfo.website),defaultValue:i?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(E,{}),U?t.jsx(t.Fragment,{children:t.jsxs(qa,{"data-suppress-hover":s!=null||void 0,children:[t.jsx(ee,{label:{label:x.companyIndustryLabel,width:I},singleSelectField:{singleSelect:{name:w(l,"companyIndustryType"),placeholder:x.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ma,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companyIndustryType,allOptions:[...ht]},onSelectChange:k=>{C(w(l,"subIndustry"),{selectedOption:void 0,allOptions:ke(k)})}},isFunctional:!0,errorInfoLabel:x.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),ce!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:w(l,"subIndustry"),placeholder:x.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>ua(k,ce),isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySubIndustry,allOptions:ke(G?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:x.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:s==null?x.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:S.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:F.companyInfo.industry,width:I},singleSelectField:{singleSelect:{name:w(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>o.find(D=>D.code===k)?.name??k,isDisabled:s,showTickMark:!0},defaultValue:{selectedOption:i?.industry,allOptions:o?.map(k=>k.code)??[]}},isFunctional:!0}),t.jsx(E,{}),t.jsx(yt,{isDisabled:s,label:{label:F.companyInfo.businessModel,width:$},creatableSingleSelectField:{name:w(l,"businessModel"),placeholder:Oe,defaultValue:{selectedOption:i?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),le&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(pa,{label:{label:x.countriesOfOperationsLabel,width:$},isDisabled:s,additionalInfoLabel:s==null?x.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:w(l,"countriesOfOperations"),placeholder:x.countriesOfOperationsPlaceholder,defaultValue:nt(i?.countriesOfOperations,(p??[]).map(k=>k.countryCode))}})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.companySourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:w(l,"companySourceOfFunds"),placeholder:x.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ha,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySourceOfFunds,allOptions:[...ut]}},isFunctional:!0,additionalContent:ra.includes(se?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"companySourceOfFundsDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-$,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?void 0:x.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),q&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.transactionVolumeLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"transactionVolume"),placeholder:x.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.transactionVolume,allOptions:[...mt]}},isFunctional:!0,additionalContent:da.includes(re?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"transactionVolumeDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.transactionVolumeDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.transactionVolumeDescription!=null?void 0:x.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),$e&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Je,{children:[t.jsx(ne,{label:x.regulatedStatusLabel,htmlFor:w(l,"regulatedStatus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ge},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Qe},style:{width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:w(l,"regulatedStatusDescription"),placeholder:x.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.regulatedStatusDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[l]!=null&&c[l]?.regulatedStatus!=null?t.jsx(ve,{windowSize:d,children:x.regulatedStatusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.regulatedStatusDescription!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.regulatedStatusAdditionalInfo}):null]})]}),Se&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Je,{children:[t.jsx(ne,{label:x.usNexusLabel,htmlFor:w(l,"usNexus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ge},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Qe},style:{width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),de==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ha,{hasError:c[l]!=null&&c[l]?.usNexusTypes!=null,children:t.jsx(bt,{isDisabled:s,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:w(l,"usNexusTypes"),placeholder:x.usNexusPlaceholder,getOptionLabel:ya,defaultValue:{selectedOptions:i?.usNexusTypes??[],allOptions:[...pt]},registerOptions:{required:s==null,shouldUnregister:!0,validate:k=>{const D=k?.selectedOptions;return D!=null&&D.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[l]!=null&&c[l]?.usNexusTypes!=null&&t.jsx(ve,{windowSize:d,children:x.usNexusTypesError})]}),c[l]!=null&&c[l]?.usNexus!=null?t.jsx(ve,{windowSize:d,children:x.usNexusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.usNexusTypes!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.purposeOfAccountLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"purposeOfAccount"),placeholder:x.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ga,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.purposeOfAccount,allOptions:[...ct]}},isFunctional:!0,additionalContent:ca.includes(Z?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"purposeOfAccountDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?void 0:x.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),t.jsx(E,{}),t.jsx(xt,{isDisabled:s,label:{label:F.companyInfo.address,width:I},addressValue:{placeholder:A(F.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(E,{}),t.jsx(rt,{isDisabled:s,label:{label:F.companyInfo.phone,width:I},text:{name:w(l,"phone"),placeholder:A(F.companyInfo.phone),defaultValue:i?.phone,autoComplete:"new-password"}}),t.jsx(E,{}),t.jsx(xe,{label:{label:F.companyInfo.fiscalYear,width:I},bullettedLabels:{labels:[{text:_a(i?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const _a=e=>{const{fiscalYearMonths:o}=na(e);return`${Le().month(o[0]-1).format(Ze.MMMFormat)} to ${Le().month(o[11]-1).format(Ze.MMMFormat)}`},w=(e,o)=>`${e}.${o}`,Ra=n.div`
|
|
136
136
|
display: flex;
|
|
137
137
|
flex-direction: column;
|
|
138
138
|
padding-top: ${a.sp3};
|
|
@@ -144,7 +144,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
144
144
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
145
145
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
146
146
|
border-radius: ${a.sp2};
|
|
147
|
-
`,Ua=n(
|
|
147
|
+
`,Ua=n(J)`
|
|
148
148
|
color: ${e=>e.theme.colors.champion};
|
|
149
149
|
margin-bottom: ${a.sp3};
|
|
150
150
|
`,E=n.div`
|
|
@@ -173,7 +173,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
173
173
|
outline: none;
|
|
174
174
|
background-color: inherit;
|
|
175
175
|
}
|
|
176
|
-
`,
|
|
176
|
+
`,Xe=n.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
flex-direction: column;
|
|
179
179
|
width: ${e=>ie.regulatedStatusMaxWidth.valuePx(e.windowSize)};
|
|
@@ -193,13 +193,13 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
193
193
|
outline: none;
|
|
194
194
|
background-color: inherit;
|
|
195
195
|
}
|
|
196
|
-
`,
|
|
196
|
+
`,Je=n.div`
|
|
197
197
|
display: flex;
|
|
198
198
|
flex-direction: row;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-top: ${a.sp2};
|
|
201
201
|
margin-bottom: ${a.sp2};
|
|
202
|
-
`,
|
|
202
|
+
`,Ke=n.div`
|
|
203
203
|
display: flex;
|
|
204
204
|
flex-direction: row;
|
|
205
205
|
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
@@ -223,12 +223,12 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
223
223
|
& .select-control {
|
|
224
224
|
background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
|
|
225
225
|
}
|
|
226
|
-
`,Ne={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function
|
|
226
|
+
`,Ne={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function Za({sectionId:e,isDisabled:o,style:p,officer:i,officerAddress:r,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:s}){const f=V(),y=z.getLocalizedStrings().companyPassport,u=Ne.labelWidth.value(f),d=l&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!r),I=i?.userId==null||i?.userId==="";return t.jsxs(Ka,{style:p,children:[t.jsx(wt,{isDisabled:o,label:{label:y.companyOfficer.name,width:u},nameField:{name:Fe(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),t.jsx(Ce,{}),t.jsx(P,{isDisabled:I?o:"readonly",label:{label:y.companyOfficer.email,width:u},text:{type:"email",name:Fe(e,"email"),placeholder:A(y.companyOfficer.email),options:{required:d!==!0&&I},defaultValue:i?.email,autoComplete:"new-password"}}),t.jsx(Ce,{}),t.jsx(xt,{isDisabled:o,label:{label:y.companyInfo.address,width:u},addressValue:{placeholder:A(y.companyOfficer.address),address:r?.addressToCreate,onClick:()=>{s(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Ce,{}),t.jsx(rt,{isDisabled:o,label:{label:y.companyOfficer.phone,width:u},text:{name:Fe(e,"phone"),placeholder:A(y.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function Ga({companyOfficers:e,sectionId:o,style:p,isDisabled:i,onOfficerAddressClick:r}){const{setValue:l,getValues:s}=st(),[f,y]=Y.useState(-1),u=z.getLocalizedStrings().companyPassport,d=e.length,I=e.length===1&&e[0].localData?.userId==null,O=s(o),$=g=>{if(e[g].localData!=null&&(e[g].localData?.firstName||e[g].localData?.lastName||e[g].localData?.phone||e[g].localData?.email||e[g].addressStatus?.addressToCreate))y(g);else{const C=O.filter((c,T)=>T!==f);l(o,C),y(-1)}},j=()=>{y(-1)},S=()=>{const g=O.filter((C,c)=>c!==f);l(o,g),y(-1)};return t.jsxs(Ja,{style:p,children:[t.jsx(el,{children:u.companyOfficer.title}),e.map((g,C)=>{const c=g.localData,T=g.addressStatus,b=c?.userId==null||c?.userId==="";return t.jsxs(tl,{children:[(d>1||b)&&!I?t.jsx(Qa,{curIndex:C,isNewUser:b,numberOfOfficers:d,deleteConfirmationIndex:f,isDisabled:i,onDeleteClick:$,onCancelClick:j,onRemoveOfficerSection:S}):null,t.jsx(Za,{sectionId:`${o}.${C}`,officer:c,officerAddress:T,isDisabled:i,isEmptyCompanyOfficerSection:I,onOfficerAddressClick:r})]},c?.officerType)}),d<=9&&!I?t.jsx(Xa,{isSectionDisabled:i,onAddOfficerSection:()=>{const g={userId:void 0,officerType:`Officer_${d+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(o,[...O,g])}}):t.jsx(Pe,{})]})}const Qa=({curIndex:e,isNewUser:o,numberOfOfficers:p,deleteConfirmationIndex:i,isDisabled:r,onDeleteClick:l,onCancelClick:s,onRemoveOfficerSection:f})=>{const y=V(),u=z.getLocalizedStrings().companyPassport;return t.jsxs(al,{children:[t.jsx(ll,{children:p>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&r==null?i===e?t.jsx(rl,{children:t.jsxs(dl,{children:[u.companyOfficer.deleteConfirmation,t.jsx(He,{label:u.cancel,onClick:s,style:{width:Ne.buttonWidth.value(y),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(He,{label:u.remove,onClick:f,style:{width:Ne.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(sl,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(Ht,{width:h[3],height:h[3],color:L.important})}):null]})},Xa=({isSectionDisabled:e,onAddOfficerSection:o})=>{const p=z.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Pe,{}):t.jsxs(t.Fragment,{children:[t.jsxs(ol,{onClick:o,children:[t.jsx(il,{}),t.jsx(nl,{children:p.companyOfficer.addOfficer})]}),t.jsx(Pe,{})]})},Fe=(e,o)=>`${e}.${o}`,Ja=n.div`
|
|
227
227
|
display: flex;
|
|
228
228
|
flex-direction: column;
|
|
229
229
|
padding-top: ${a.sp3};
|
|
230
230
|
width: 100%;
|
|
231
|
-
`,
|
|
231
|
+
`,Ka=n.div`
|
|
232
232
|
display: flex;
|
|
233
233
|
flex-direction: column;
|
|
234
234
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -238,7 +238,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
238
238
|
margin-bottom: ${a.sp4};
|
|
239
239
|
`,Pe=n.div`
|
|
240
240
|
padding-bottom: ${a.sp6};
|
|
241
|
-
`,el=n(
|
|
241
|
+
`,el=n(J)`
|
|
242
242
|
color: ${e=>e.theme.colors.champion};
|
|
243
243
|
margin-bottom: ${a.sp4};
|
|
244
244
|
`,tl=n.div`
|
|
@@ -247,7 +247,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
247
247
|
display: flex;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
`,al=n(
|
|
250
|
+
`,al=n(J)`
|
|
251
251
|
display: flex;
|
|
252
252
|
align-items: center;
|
|
253
253
|
justify-content: space-between;
|
|
@@ -278,12 +278,12 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
278
278
|
color: ${e=>e.theme.colors.primary};
|
|
279
279
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
280
280
|
}
|
|
281
|
-
`,il=n(
|
|
281
|
+
`,il=n(Gt)`
|
|
282
282
|
margin-right: ${a.sp2};
|
|
283
283
|
width: ${a.sp4};
|
|
284
284
|
height: ${a.sp4};
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
|
286
|
-
`,nl=n(
|
|
286
|
+
`,nl=n(Qt)`
|
|
287
287
|
color: inherit;
|
|
288
288
|
`,sl=n.div`
|
|
289
289
|
width: ${a.sp4};
|
|
@@ -299,7 +299,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
299
299
|
background-color: ${e=>e.theme.colors.grey3};
|
|
300
300
|
min-height: 1px;
|
|
301
301
|
max-height: 1px;
|
|
302
|
-
`,tt={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function cl(e){const o=V(),p=At(),[i,r]=Y.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:s},common:{documents:f}}=z.getLocalizedStrings(),{fileProps:y,companyFiles:u,deleteFileStatusById:d,updateFileStatusById:I,sectionId:
|
|
302
|
+
`,tt={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function cl(e){const o=V(),p=At(),[i,r]=Y.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:s},common:{documents:f}}=z.getLocalizedStrings(),{fileProps:y,companyFiles:u,deleteFileStatusById:d,updateFileStatusById:I,sectionId:O,isDisabled:$,companyTaxInfo:j,style:S}=e,g=tt.labelWidth.value(o),C=tt.largeLabelWidth.value(o),c=!ia(p.loggedInUserRole??[]),T=u.find(b=>b.documentType==="tax_ein");return t.jsxs(pl,{style:S,children:[t.jsx(ul,{children:l.companyTaxInfo.title}),t.jsxs(ml,{children:[t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.taxIdOrEIN,width:g},text:{type:"text",name:te(O,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?l.protectedContent:j?.taxIdOrEIN,options:{pattern:Wt},autoComplete:"new-password"},protectedInfoText:c===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.dunsNumber,width:g},text:{type:"text",name:te(O,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:j?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.naicsCode,width:g},text:{type:"text",name:te(O,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:j?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.sicCode,width:g},text:{type:"text",name:te(O,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:j?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(bt,{isDisabled:$,label:{label:l.companyTaxInfo.taxesFiledYears,width:g},multiSelectField:{name:te(O,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:j?.taxesFiledYears.map(b=>b.toString())??[],allOptions:ft().map(b=>b.toString())}}}),t.jsx(oe,{}),t.jsx(gt,{name:te(O,"einDocument"),isDisabled:$,sizeLimit:dt,deleteFileStatusById:d,updateFileStatusById:I,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:s.einDocument,width:C},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:b=>r(b)}),t.jsx(hl,{windowSize:o,isError:i,children:f.formatDocumentText10MB})]})]})}const te=(e,o)=>`${e}.${o}`,pl=n.div`
|
|
303
303
|
display: flex;
|
|
304
304
|
flex-direction: column;
|
|
305
305
|
padding-top: ${a.sp3};
|
|
@@ -311,7 +311,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
311
311
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
312
312
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
313
313
|
border-radius: ${a.sp2};
|
|
314
|
-
`,ul=n(
|
|
314
|
+
`,ul=n(J)`
|
|
315
315
|
color: ${e=>e.theme.colors.champion};
|
|
316
316
|
margin-bottom: ${a.sp3};
|
|
317
317
|
`,oe=n.div`
|
|
@@ -338,7 +338,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
338
338
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
339
339
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
340
340
|
border-radius: ${a.sp2};
|
|
341
|
-
`,xl=n(
|
|
341
|
+
`,xl=n(J)`
|
|
342
342
|
color: ${e=>e.theme.colors.champion};
|
|
343
343
|
margin-bottom: ${a.sp3};
|
|
344
344
|
`,wl=n.div`
|
|
@@ -361,7 +361,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
361
361
|
justify-content: flex-end;
|
|
362
362
|
align-items: center;
|
|
363
363
|
color: ${e=>e.theme.colors.primary};
|
|
364
|
-
`,
|
|
364
|
+
`,Sl=()=>t.jsx($l,{children:"–"}),Ol=n.div`
|
|
365
365
|
padding: 6px ${a.sp2};
|
|
366
366
|
white-space: nowrap;
|
|
367
367
|
overflow: hidden;
|
|
@@ -372,16 +372,16 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
372
372
|
justify-content: flex-end;
|
|
373
373
|
display: flex;
|
|
374
374
|
padding: 0 ${a.sp3};
|
|
375
|
-
`,Dl=e=>{const{users:o,style:p}=e;return t.jsx(jl,{style:p,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>t.jsxs(Il,{children:[t.jsx(
|
|
375
|
+
`,Dl=e=>{const{users:o,style:p}=e;return t.jsx(jl,{style:p,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>t.jsxs(Il,{children:[t.jsx(Ol,{children:`${i.firstName} ${i.lastName}`}),t.jsx(Kt,{name:`${i.firstName} ${i.lastName}`,size:a.sp4})]},i.userId)):t.jsx(Sl,{})})},B={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])},vl=ea.memo(function({isDisabled:e,label:o,avatarLabels:p,style:i}){const r=V();return t.jsxs(Fl,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(r),marginRight:B.labelMarginRight.value(r),marginTop:B.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(Dl,{users:p.users,style:{minHeight:B.controlHeight.value(r),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...p.style}})]})},Zt),Fl=n.div`
|
|
376
376
|
display: flex;
|
|
377
377
|
flex-direction: row;
|
|
378
378
|
align-items: flex-start;
|
|
379
379
|
background-color: ${e=>e.theme.colors.grey5};
|
|
380
|
-
width: ${e=>
|
|
381
|
-
min-height: ${e=>
|
|
382
|
-
padding-right: ${e=>
|
|
383
|
-
padding-top: ${e=>
|
|
384
|
-
padding-bottom: ${e=>
|
|
380
|
+
width: ${e=>B.width.valuePx(e.size)};
|
|
381
|
+
min-height: ${e=>B.height.valuePx(e.size)};
|
|
382
|
+
padding-right: ${e=>B.marginRight.valuePx(e.size)};
|
|
383
|
+
padding-top: ${e=>B.paddingTopBottom.valuePx(e.size)};
|
|
384
|
+
padding-bottom: ${e=>B.paddingTopBottom.valuePx(e.size)};
|
|
385
385
|
|
|
386
386
|
:first-of-type {
|
|
387
387
|
border-top-left-radius: inherit;
|
|
@@ -392,7 +392,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
392
392
|
border-bottom-left-radius: inherit;
|
|
393
393
|
border-bottom-right-radius: inherit;
|
|
394
394
|
}
|
|
395
|
-
`,Te={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Cl({data:e,companyInfo:o,sectionId:p,isDisabled:i,isZeniUser:r,onScheduleClick:l}){const s=V(),{companyPassport:f,dateFormat:{visual:y}}=z.getLocalizedStrings(),u=Te.labelWidth.value(s),d=Te.mediumLabelWidth.value(s),I=Te.largeLabelWidth.value(s),
|
|
395
|
+
`,Te={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Cl({data:e,companyInfo:o,sectionId:p,isDisabled:i,isZeniUser:r,onScheduleClick:l}){const s=V(),{companyPassport:f,dateFormat:{visual:y}}=z.getLocalizedStrings(),u=Te.labelWidth.value(s),d=Te.mediumLabelWidth.value(s),I=Te.largeLabelWidth.value(s),O=e.company.company,{controllers:$,subscriptions:j}=e,{managementInfo:S}=O,g=s==="small"?f.zeniFinanceTeam.scheduleCallPlaceholderSmall:f.zeniFinanceTeam.scheduleCallPlaceholder,C=j.filter(b=>b.plan?.plan.name!=null).map(b=>({text:b.plan?.plan.name,subText:b.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),c=Bt(j.map(b=>b.addOns.map(U=>({text:U.addOn.name,subText:b.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),T=S.receiverEmails.map(b=>({text:b}));return t.jsxs(kl,{children:[t.jsx(Nl,{children:f.zeniFinanceTeam.title}),t.jsxs(Ll,{children:[t.jsx(vl,{label:{label:f.zeniFinanceTeam.controller,width:d},avatarLabels:{users:$.map(b=>b.user)}}),t.jsx(be,{}),r===!0?t.jsx(P,{isDisabled:i,label:{label:f.zeniFinanceTeam.scheduleCall,width:d},text:{type:"text",name:Tl(p,"meetingLink"),placeholder:g,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):o?.meetingLink!=null?t.jsx(ba,{label:{label:f.zeniFinanceTeam.scheduleCall,width:d},button:{buttonTitle:f.zeniFinanceTeam.schedule,onClick:()=>l(o.meetingLink)}}):null,T.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:T,listStyleType:"none"}})]}):null,C.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.subscriptionPlans,width:I},bullettedLabels:{labels:C,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.addons,width:d},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const Tl=(e,o)=>`${e}.${o}`,kl=n.div`
|
|
396
396
|
display: flex;
|
|
397
397
|
flex-direction: column;
|
|
398
398
|
padding-top: ${a.sp3};
|
|
@@ -404,7 +404,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
404
404
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
405
405
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
406
406
|
border-radius: ${a.sp2};
|
|
407
|
-
`,Nl=n(
|
|
407
|
+
`,Nl=n(J)`
|
|
408
408
|
color: ${e=>e.theme.colors.champion};
|
|
409
409
|
margin-bottom: ${a.sp3};
|
|
410
410
|
`,be=n.div`
|
|
@@ -413,7 +413,7 @@ import{K as V,V as t,b$ as ne,x as m,c0 as vt,u as h,y as Ft,a7 as Ct,T as Tt,c1
|
|
|
413
413
|
background-color: ${e=>e.theme.colors.grey3};
|
|
414
414
|
min-height: 1px;
|
|
415
415
|
max-height: 1px;
|
|
416
|
-
`,ze={width:new m(343,580,726),buttonWidth:new m(85,85)},lt="companyPassportPage",Ee="companyInfo",Ve="companyIncInfo",Me="companyTaxInfo",Ae="primaryContact",
|
|
416
|
+
`,ze={width:new m(343,580,726),buttonWidth:new m(85,85)},lt="companyPassportPage",Ee="companyInfo",Ve="companyIncInfo",Me="companyTaxInfo",Ae="primaryContact",We="companyOfficer",Be="zeniFinanceTeam";function oo(e){const o=V(),p=Ft(),{companyPassportView:i,isZeniUser:r,filesEndPoint:l,authParams:s,allIndustries:f,allNationalityCountries:y,isCompanyVerified:u,isDisabled:d,isSettings:I=!1,onCompanyDetailsChanged:O,onCompanyOfficerUpdated:$,onNewCompanyOfficerAdded:j,onPrimaryContactDetailsUpdated:S,onNewCompanyOfficerRemoved:g,onSaveAll:C,onAddressClick:c,onScheduleClick:T,onBackClick:b,onResetClick:U,onEditFileName:le,updateFilesEntity:q,onDeleteFile:$e,onClickMenuIcon:Se}=e,{companyView:H,localData:_,deleteFileStatusById:se,updateFileStatusById:re}=i,{companyFiles:K}=_,de={authParams:s,filesEndPoint:l,onEditFileName:le,onDeleteFile:$e,updateFilesEntity:q},[Z,G]=Y.useState(void 0),{companyDetails:ce,primaryContact:Oe,companyOfficerUpdateStatus:k,updateStatus:D}=_,{localData:pe,addressStatus:St}=ce,_e=Ct(D.fetchState),me=Object.values(k).filter(he=>he.localData!=null),R=Tt({mode:"all",defaultValues:it(_,f,y)});Y.useEffect(()=>()=>{G(void 0)},[]),Y.useEffect(()=>{_e==="In-Progress"&&(D.fetchState==="Completed"||D.fetchState==="Error")&&(R.reset(it(_,f,y)),Z!==D.fetchState&&G(D.fetchState))},[Z,R,_e,D,_,H,f,y,K]),Y.useEffect(()=>{const he=R.watch((Re,{name:Ye})=>{Ye!=null&&Re!=null&&kt(()=>(async(Q,v)=>{if(Q.includes(Ee)||Q.includes(Ve)||Q.includes(Me)||Q.includes(Be)){const{companyInfo:M,companyIncInfo:N,companyTaxInfo:X,zeniFinanceTeam:je}=v;O({companyInfo:M,incInfo:N,taxDetails:X,zeniFinanceTeam:je})}else if(Q.includes(Ae)){S(v.primaryContact);const M=v.companyOfficer.map(N=>N.userId);if(v.primaryContact.userId!=null&&M.includes(v.primaryContact.userId)){const N=M.findIndex(X=>X===v.primaryContact.userId);N>=0&&$({...v.companyOfficer[N],name:v.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(Q.includes(We)){const M=parseInt(Q.split(".")[1]);if(M>=0)$({...v.companyOfficer[M],officerType:`Officer_${M+1}`}),v.companyOfficer[M].userId!=null&&v.companyOfficer[M].userId===v.primaryContact.userId&&S({...v.primaryContact,name:v.companyOfficer[M].name});else if(v.companyOfficer.length>me.length){const N=v.companyOfficer[v.companyOfficer.length-1];j(N)}else{const N=v.companyOfficer.filter(X=>X.officerType!=null);if(N.length<me.length){const X=N.map((je,Dt)=>{const Ue={...je,officerType:`Officer_${Dt+1}`};return $(Ue),Ue});N.length<me.length&&(g(`Officer_${N.length+1}`),R.reset({companyOfficer:X}))}}}})(Ye,Re))});return()=>{he.unsubscribe()}});const Ot=R.handleSubmit(he=>{Z!=null&&G(void 0),C()}),{companyPassport:ue,common:{settings:jt}}=z.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(Pl,{children:[t.jsx(Lt,{title:ue.title,backgroundColor:p.colors.grey4,style:{zIndex:3},onBackClick:b,showBackButton:!I,showMenuIcon:!!I&&(o==="medium-compact"||o==="small"),source:"CompanyPassportPage",onClickMenuIcon:Se}),Z!=null?t.jsx(Ta,{fetchState:Z,onRemoveSnackbar:()=>G(void 0)}):null,t.jsxs(zl,{children:[t.jsx(El,{windowSize:o,children:I?jt.infoText.companyDetails:ue.quickAccessInfo}),t.jsx(Nt,{...R,children:t.jsxs("form",{id:ot(lt),onSubmit:Ot,children:[t.jsx(Ba,{sectionId:Ee,companyInfo:pe?.companyInfo,companyViewData:H,companyAddress:St,isDisabled:d,isCompanyVerified:u,onCompanyAddressClick:c,allIndustries:f,allNationalityCountries:y}),t.jsx(ka,{sectionId:Ve,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:K,companyIncInfo:pe?.incInfo,fileProps:de,isDisabled:d}),t.jsx(cl,{sectionId:Me,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:K,companyTaxInfo:pe?.taxDetails,fileProps:de,isDisabled:d}),t.jsx(yl,{sectionId:Ae,primaryContact:Oe.localData,isDisabled:d}),t.jsx(Ga,{companyOfficers:me,sectionId:We,isDisabled:d,onOfficerAddressClick:c}),t.jsx(Cl,{data:H,companyInfo:pe?.companyInfo,isDisabled:d,isZeniUser:r,sectionId:Be,onScheduleClick:T})]})})]}),Pt(R.formState.dirtyFields)||la(_,H,K)?t.jsx(zt,{formId:ot(lt),primaryBtn:{label:ue.save,isLoading:D.fetchState==="In-Progress",style:{width:ze.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ue.cancel,style:{width:ze.buttonWidth.value(o)},onClick:()=>{R.reset(),U()}}}):null]})}const ot=e=>`${e}_form`,it=(e,o,p)=>{const{companyDetails:i,primaryContact:r,companyOfficerUpdateStatus:l}=e,s=z.getLocalizedStrings().companyPassport,f=i.localData?.incInfo.fileId!=null?[i.localData?.incInfo.fileId]:[],y=i.localData?.taxDetails.fileId!=null?[i.localData?.taxDetails.fileId]:[],u=i.localData?.companyInfo;return{[Ee]:{...Et(i.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:u?.businessModel,allOptions:s.companyInfo.allBusinessModels},website:u?.website?.toString()??"",industry:{selectedOption:u?.industry,allOptions:o?.map(d=>d.code)},companyIndustryType:{selectedOption:u?.companyIndustryType,allOptions:[...ht]},subIndustry:{selectedOption:u?.companySubIndustry,allOptions:ke(u?.companyIndustryType)},firstMonthOfFY:u?.firstMonthOfFY,companySourceOfFunds:{selectedOption:u?.companySourceOfFunds,allOptions:[...ut]},companySourceOfFundsDescription:u?.companySourceOfFundsDescription,countriesOfOperations:nt(u?.countriesOfOperations,(p??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:u?.transactionVolume,allOptions:[...mt]},transactionVolumeDescription:u?.transactionVolumeDescription,regulatedStatus:u?.regulatedStatus??"",regulatedStatusDescription:u?.regulatedStatusDescription,usNexus:u?.usNexus??"",usNexusTypes:{selectedOptions:u?.usNexusTypes??[],allOptions:[...pt]},purposeOfAccount:{selectedOption:u?.purposeOfAccount,allOptions:[...ct]},purposeOfAccountDescription:u?.purposeOfAccountDescription},[Me]:{...i.localData?.taxDetails,taxesFiledYears:{selectedOptions:i.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:ft().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ve]:{typeOfInc:{selectedOption:i.localData?.incInfo?.typeOfInc,allOptions:s.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:i.localData?.incInfo?.stateOfInc,allOptions:s.companyIncInfo.allStatesOfIncorporation},incDate:i.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:f},[Ae]:{userId:r.localData?.userId,name:{firstName:r.localData?.firstName,lastName:r.localData?.lastName},email:r.localData?.email},[We]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const I=d.localData;return{userId:I.userId,officerType:I.officerType,name:{firstName:I.firstName,lastName:I.lastName},email:I.email,phone:I.phone}}),[Be]:{meetingLink:i.localData?.companyInfo.meetingLink?.toString()??""}}},Pl=n.div`
|
|
417
417
|
display: flex;
|
|
418
418
|
min-height: 100%;
|
|
419
419
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./pdf-
|
|
1
|
+
import{j as l}from"./pdf-BNA4Ou8X.js";import{a as g}from"./sentry-tRTnR5ia.js";import{j as v,i as w,h as T,l as x,u as O,k as E}from"./core-ADrPabGT.js";import{y as j,je as C,jC as P,kL as F,bc as V,jl as A,G as L,k3 as b,kM as U,kg as B,ej as M,jA as _}from"./index-DorX0WX8.js";import{cs as h,dk as G,nT as R,df as z,bE as J,Jy as Y,bm as H,l_ as Z,lO as $,hi as q,iN as S,Jz as K,bG as Q,bJ as N,iV as W,iY as X}from"./zeni-epic-state-DiMW9axO.js";import"./mui-gZ2J-2YO.js";import{c as ee}from"./routePaths-BozUSOR4.js";import{M as te}from"./MobileAppDrawer-vjIJyx5N.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="292bd0dd-00c2-4761-b8e4-9d083bf41723",n._sentryDebugIdIdentifier="sentry-dbid-292bd0dd-00c2-4761-b8e4-9d083bf41723")}catch{}})();const ne=E(function(n){const s=z(n),r=C.getSignedInUser(),p=h(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=J(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=Y(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${B.fileMicroServiceBaseUrl}`,isZeniUser:H(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(X())},onAddressClick:e=>{const t=ee(f,e),a=_(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(W({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:D}=o,k={companyInfo:{...t,website:c!=""&&c!=null?N(c):void 0,meetingLink:m!=""&&m!=null?N(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:M(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Q(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:D.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:k}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(K(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(q({files:e}))},onDeleteFile:e=>{n($(e))},onEditFileName:(e,t)=>{n(Z(e,t.split(".")[0]))}}})(U);function pe(){const n=v(),s=w(),r=T(),{tenantEmailDomain:p}=x(),u=j(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>h(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
|
package/dist/assets/{CompleteProfile-BLWNz2VA-BtRBf1pR.js → CompleteProfile-DdA-FkwG-DNxHJftH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{T as P,gb as O,O as G,V as g,gc as j,E as n,l as H,A as N,c6 as q,cb as v,o as E,gd as J,ca as V,a9 as $,bZ as _,br as W,ge as T}from"./index-onESlw0k.js";import{a as B,b as c}from"./sentry-CZ5rBRIL.js";import{n as o}from"./mui-B0LS8eOU.js";import{bs as Z}from"./zeni-epic-state-Cr-rO4HZ.js";import{Z as z}from"./LabeledNameField-DXPyRS_B-aEVZrWHH.js";import{$ as X}from"./LabeledAddressValue-DF623NAW-DBk7OZ_l.js";import"./pdf-DEiLcZtJ.js";import"./core-BROwB3xg.js";import"./lottie-CyO1eRs4.js";import"./liveblocks-Bdti0GEu.js";import"./recharts-C5uMntUw.js";import"./dnd-M9ETCPCc.js";import"./analytics-CDaNvN8h.js";import"./plaid-CnBboaBy.js";import"./utils-0wrLfZK3.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="83b177b7-9625-4416-a0f0-92bf2b0bdc84",A._sentryDebugIdIdentifier="sentry-dbid-83b177b7-9625-4416-a0f0-92bf2b0bdc84")}catch{}})();const AA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDog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RAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:f})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:b,otpVerificationStatus:s,otpChallenge:R,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:R,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&f(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:b,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
|
|
1
|
+
import{T as P,g5 as O,O as G,V as g,g6 as j,_ as n,s as H,A as N,c4 as q,c9 as v,o as E,g7 as J,c8 as V,a9 as $,bX as _,bp as W,g8 as T}from"./index-DorX0WX8.js";import{a as B,b as c}from"./sentry-tRTnR5ia.js";import{n as o}from"./mui-gZ2J-2YO.js";import{bs as Z}from"./zeni-epic-state-DiMW9axO.js";import{Z as X}from"./LabeledNameField-DWKoivcI-CTKa3xQk.js";import{$ as z}from"./LabeledAddressValue-Bb1x9jR--B6kyu-d_.js";import"./pdf-BNA4Ou8X.js";import"./core-ADrPabGT.js";import"./lottie-sNoV77jf.js";import"./liveblocks-f_lxxH57.js";import"./recharts-BKvR8EI0.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./utils-VuBQoQGa.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="0b58add5-80d3-4e66-9309-07bb50c34acc",A._sentryDebugIdIdentifier="sentry-dbid-0b58add5-80d3-4e66-9309-07bb50c34acc")}catch{}})();const AA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt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GD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:k})=>{const[I,a]=B.useState(!1),[f,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(X,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(z,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:f,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&k(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{co as a,r as d,V as f,ap as l,o as r}from"./index-DorX0WX8.js";import{a as n}from"./sentry-tRTnR5ia.js";import"./pdf-BNA4Ou8X.js";import"./zeni-epic-state-DiMW9axO.js";import"./core-ADrPabGT.js";import"./mui-gZ2J-2YO.js";import"./recharts-BKvR8EI0.js";import"./lottie-sNoV77jf.js";import"./liveblocks-f_lxxH57.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./utils-VuBQoQGa.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c1f256f3-1056-4beb-aff8-8949f95c4ffd",t._sentryDebugIdIdentifier="sentry-dbid-c1f256f3-1056-4beb-aff8-8949f95c4ffd")}catch{}})();const C=({showConfetti:t})=>{const[e,o]=n.useState(t),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",t),[p]=d("ConfettiSuccess");return n.useEffect(()=>{t&&o(!0)},[t]),n.useEffect(()=>{e&&s===!1&&i(!0)},[e,s,i]),f.jsx(f.Fragment,{children:e&&s&&p!=null?f.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{j as I}from"./pdf-BNA4Ou8X.js";import{a}from"./sentry-tRTnR5ia.js";import{i as x,u,N as S}from"./core-ADrPabGT.js";import{Gl as y,cs as N,c$ as T,jA as v,dr as b,c_ as D,ct as j,Gv as w}from"./zeni-epic-state-DiMW9axO.js";import{jd as A,je as c,jf as C,O,o as _}from"./index-DorX0WX8.js";import{n as U}from"./mui-gZ2J-2YO.js";import{t as $}from"./getLocaleForTenant-Bt4tLJ8B.js";import{Q as F}from"./QBOConnectionScreen-AtAIA8jj.js";import"./lottie-sNoV77jf.js";import"./liveblocks-f_lxxH57.js";import"./recharts-BKvR8EI0.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./utils-VuBQoQGa.js";import"./empty-b7G9eJAG.js";import"./pdf-lib-uBsrmHT5.js";import"./index-BC_OqBzO.js";import"./url-DgsAV5vb.js";import"./index-Bl4vUMlL.js";import"./decodeURIComponentSafe-B2klyNYm.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="74c237bf-0b71-41d0-a5b5-16024f958991",t._sentryDebugIdIdentifier="sentry-dbid-74c237bf-0b71-41d0-a5b5-16024f958991")}catch{}})();const L=U.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100vh;
|
|
9
|
+
background-color: ${t=>t.theme.colors.background};
|
|
10
|
+
box-shadow: ${t=>`0px 2px ${_.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
11
|
+
`;function oe(){const t=x(),{setLoading:s,clearAllLoading:g}=A(),f=a.useRef(!1),m=a.useRef(!1),p=u(d=>y(d)),e=u(d=>N(d)),n=u(d=>d.tenantState.fetchState),r=u(d=>d.tenantState.activeTenantFetchState.fetchState),o=c.getSignedInUser(),i=c.getActiveTenantForUser()?.tenantId,l=e?.externalConnections?.fetchState,E=e?.externalConnections?.saveConnectionState,h=e.externalConnections?.accounting[0]?.isValid;return a.useLayoutEffect(()=>{s(C.CONNECTION_AUTH)},[s]),a.useEffect(()=>{f.current||o==null||i==null||(f.current=!0,n==="Completed"||r!=="Not-Started"&&r!=="Error"||(s(C.TENANT_FETCHING),t(T(o.userId,i))))},[f,n,s]),a.useEffect(()=>{e.tenantId==null&&!m.current&&o!=null&&(m.current=!0,!(i==null||i!=null&&(r==="Completed"||r==="Error"))||n!=="Not-Started"&&n!=="Error"||t(v(o.userId)))},[m,n,r]),a.useEffect(()=>{o==null||e?.tenantId==null||e.externalConnections!=null||n!=="Completed"&&r!=="Completed"||l==="In-Progress"||E!=="Error"||(s(C.CONNECTION_AUTH),t(b(o.userId,e.tenantId)))},[E]),a.useEffect(()=>{n!=="Completed"&&r!=="Completed"||o==null||e?.tenantId==null||(t(D(e.tenantId)),c.saveActiveTenantDomainForUser(e.tenantEmailDomain),j(o?.userId,o?.zeniSessionId,e.tenantId),O.updateAppLocaleID($(w(e))),e.externalConnections!=null||n!=="Completed"&&r!=="Completed"||l==="In-Progress"||o==null||e==null||t(b(o.userId,e.tenantId)))},[n,r,l]),a.useEffect(()=>{p.tenantsCoreDetailsInOrder.length>0&&n==="Completed"&&c.saveSignedInUserTenants(p.tenantsCoreDetailsInOrder)},[p.tenantsCoreDetailsInOrder.length,n]),a.useEffect(()=>{n!=="Completed"&&n!=="Error"||r!=="Completed"&&r!=="Error"||l!=="Completed"&&l!=="Error"||g()},[n,r,l]),e==null||n!=="Completed"&&r!=="Completed"||l!=="Completed"?null:h===!1?I.jsx(L,{children:I.jsx(F,{})}):I.jsx(S,{to:"/",replace:!0})}export{oe as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as d}from"./index-
|
|
1
|
+
import{V as d}from"./index-DorX0WX8.js";import{a as i}from"./sentry-tRTnR5ia.js";import{n}from"./mui-gZ2J-2YO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
max-width: var(--side-panel-list-width, 100%);
|
|
4
4
|
position: relative;
|