@zeniai/web-cockpit-ui 1.13.87-qa → 1.13.88-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-CW8vDdF5-CB90wsmr.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +3 -3
- package/dist/assets/{AIPerformancePage-tSqRY12b-tNOiZGci.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +35 -35
- package/dist/assets/{AccountInfoPage-C9rcnhgb-Bt9MjsHp.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DftJxUep-ButkkA5-.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-CBpvkm_m-tlx5xCRW.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +15 -15
- package/dist/assets/{AccountRow-cQU8OX0K-BBK1UMsW.js → AccountRow-B4i2KTVu-DZIGknQG.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-DuBj_EHe-CNfBFeFD.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-D4edy26A-e-F2C-zj.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +2 -2
- package/dist/assets/{AddToWalletPage-Lkfz2CzH-DcYM0qVc.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +32 -32
- package/dist/assets/{AgingReportsPage-DtW2tU4n-DkXoH2pY.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +7 -7
- package/dist/assets/{AllUserItems-DcuO9Oho-DDFEui6F.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-D2UVTYqP-BcSUwDzr.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +2 -2
- package/dist/assets/{AppBasePage-iuomCofd-Bxi0l-Aj.js → AppBasePage-jmR82AtE-DayOXpZP.js} +4 -4
- package/dist/assets/{AppDrawerContent-BfpdXsfY-BuDkKpJQ.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-BKAWfUl9-CFjzXJN0.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +7 -7
- package/dist/assets/{ArAgingChart--GzyqIlN-DqhBhlO7.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +8 -8
- package/dist/assets/{ArAgingDetailPage-A0zmG_tR-DDPVHIgN.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +4 -4
- package/dist/assets/{AttachmentView-D203zhS3-xLK_ead9.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +5 -5
- package/dist/assets/{BankAccountSection-iz2k4H5K-CmQw-qqR.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-CSJXyjMA-BdlwzT2G.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Co5pwxWT-C57CQz8T.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +19 -19
- package/dist/assets/{BillDetailPage-BJbdAC5y-BRmRjS1t.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +9 -9
- package/dist/assets/{BillPayApprovalRuleDetailPage-D4-goF6x-AEPzGGmW.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CpAFdET_-CgrWnjdA.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +6 -6
- package/dist/assets/{BillPayPromoPage-DZn9Wdsi-DdmjMVny.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-BGxI3SGy-DG6mHxGC.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +2 -2
- package/dist/assets/{BillingSettingsPage-B3h6dTYD-CjqQwGO7.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js +1 -0
- package/dist/assets/{BoxItem-C-RN4c2j-bhmEIuEY.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BEK8kZil-5C7hCzBt.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +7 -7
- package/dist/assets/{CardNumberSubText-Bvs0Rr9x-BVW8Jq-r.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-9aAW-23b-fVZRzgKq.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-DHjtLrCu-BQfT_X3n.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +52 -52
- package/dist/assets/ChargeCardListPage-BFEDq_hH-CIWVY9p8.js +355 -0
- package/dist/assets/{ChargeCardListTable-jGT-e74M-Bfo2xdKo.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +24 -24
- package/dist/assets/ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-CN5Nbcsp-BIe6etx3.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Bu_rIDAD-p0UdCCCX.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-C-37hd5J-BewU7KRU.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
- package/dist/assets/{ChaseOverlay-BG833ttH-PaGVRTWF.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-B4F_yGVS-DVC1uVGK.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +17 -17
- package/dist/assets/{CollapsableReportTable-CtS-s84B-xyO0T-AR.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-Bor8xmLS-CbhKmd4Y.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +28 -28
- package/dist/assets/{CompanyPassportCard-n-awcw82-Bb4eo7Hj.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +4 -4
- package/dist/assets/{CompanyPassportPage-WfbfWOs1-DXnLKQUM.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +137 -137
- package/dist/assets/CompleteProfile-Ch4TNwnb-BDWK7-aS.js +36 -0
- package/dist/assets/{ConfettiBurst-UJtKVS38-DoQ2-0_a.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BMLSs7Yo-Cs-PsPQz.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +4 -4
- package/dist/assets/{CreditCardPaymentDrawerPage-8zmbMj3u-CpO5DLfk.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-DD7kSp5v-D8blJ_Gx.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +10 -10
- package/dist/assets/{CurrencySelectField-DGID-Pjb-CR93FCkZ.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-pdEVqtkO-BR-Us5Rj.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1d9j5dWO-Db0A3eib.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BqrKQCFg-D9dxAH00.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DVVWivk2-BKVrB-wE.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-D_WVGW91-BCFkx71h.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +2 -2
- package/dist/assets/Dashboard-BqpjCXF4-2DYnY2Iv.js +778 -0
- package/dist/assets/DashboardReportPage-pKEtfyyz-CVEg_i3S.js +349 -0
- package/dist/assets/{DepositAccTransactionItem--OdW7LRx-DQO2v30s.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BGapI5f0-D59wO-Pg.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-Ctdvj5Tn-Bg7h7TYo.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BGP2DLHb-XHJJeAMf.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
- package/dist/assets/{DownloadOverlay-VDEpvzHH-5AMSntFu.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +17 -17
- package/dist/assets/{DrawerPage-BauCSJ4q-SOaiaCNZ.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +6 -6
- package/dist/assets/{EditPeoplePage-mz7FTion-Bp4oBpAG.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +13 -13
- package/dist/assets/{EditReimbursementDetailPage-Bi_rdyjb-BS7xPVWZ.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bc2AVCEp-EAKy23II.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +2 -2
- package/dist/assets/{EntitySummarySection-CDO6K9RG-m9Xb7D9G.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-C7SAclix-D48fksxu.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-A03nzEV--JwDlhRhG.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +50 -50
- package/dist/assets/{ExpressPayPage-B5QCvPtb-Ceuw1nSf.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +11 -11
- package/dist/assets/{FeaturePreviewPage-Czr4aIad-ClnwSMd5.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf1g5oOj-pTuhRnC4.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +10 -10
- package/dist/assets/{GlobalReviewListPage-BI8uyXfO-BqBR8N9Y.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +9 -9
- package/dist/assets/HelpButton-DmSTrp5G-BZ5gO3eI.js +28 -0
- package/dist/assets/{InformationCardStack-WnJWUp5O-BdrN9-Nm.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +3 -3
- package/dist/assets/{InsightsCardStack-CRA0RPsW-DEulUvm7.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +8 -8
- package/dist/assets/{InsightsSection-DvcmBPbo-I8txt4Ed.js → InsightsSection-obWu95-o-miX-wlBZ.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-D41_8UnK-BzX1klF8.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFN-eaZB-DiWzN9fj.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +13 -13
- package/dist/assets/{InternationalWireVerificationPage-xmoJO63s-fcjYXfBh.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +16 -16
- package/dist/assets/{InviteFormPage-Zy3qQng6-Dzi4wjiJ.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +26 -26
- package/dist/assets/{InvitePageListView-gATEAhxa-1750k_N1.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +36 -36
- package/dist/assets/InvitePeoplePage-7yKV1JuU-BmXtVrGW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CTbnx9F4-BKwFvytL.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-BwBDVxeq-DMBVrvy7.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +20 -20
- package/dist/assets/{LabeledAddressValue-C5YXOhcz-B9O8J_oa.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CMIVYcKX-DwmLf5XR.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-Dr8ND8SA-qU3T6bE6.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CrDFWvwI-ByyQPs9e.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +3 -3
- package/dist/assets/LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-cv7zClcb-Rd0UWPPQ.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +2 -2
- package/dist/assets/{LabeledText-DaM1ChQF-BJDKUk91.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-Ca9Srd9k.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-DfAO3Vyq-DMlhbb58.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-CSlZZ9r4-u030v8sX.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +10 -10
- package/dist/assets/{LowBalancePopup-ZfmTgr7J-CyqdgmTs.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-Ad9q16ze-B-zDRQ1s.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-TudYpGU_-rl_ai-7x.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DfZQur8x-BkWB4ski.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-G9P6M-7E-Dn9-_Ceq.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BnKDwhBK-dFBURNKh.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BV_-2RQM-BISYNWKn.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C6y2cRLo-BXlKsIPR.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +3 -3
- package/dist/assets/{Menu-Dhi3mAAc-oy5nVsxE.js → Menu-DgxJQlbW-DIVRGIXR.js} +4 -4
- package/dist/assets/{MyBankConnectionsSettingsPage-D1DMNxbh-DyCsxMiu.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-CtxNt4Km-BAgms1T4.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ehPTh7cb-3Kvtm4mm.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +9 -9
- package/dist/assets/{NavBarWithPicker-BF7k45-H-BD-4z31h.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +4 -4
- package/dist/assets/{NavigationArrow-DKuw9kCL-DcXiDSNd.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +6 -9
- package/dist/assets/{NavigationDots-DfJQIsra-B4-lC62v.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CWyjN00H-aj__e3zn.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +9 -9
- package/dist/assets/NoDataChart-DMqFH96W--xyVCmNv.js +26 -0
- package/dist/assets/{NoDataTable-Txtz3a1x-B4acGol_.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
- package/dist/assets/{NotFoundPage-DewJikvf-Dwa043Sn.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CAFlFJ9J-Do-ef_2Q.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +16 -16
- package/dist/assets/{NotificationsListConfig-B6PteXf7-BIkdPhzT.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
- package/dist/assets/{NotificationsPage-CqmgbRYI-swH0XU-z.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +14 -14
- package/dist/assets/{OpExByVendorPage-CYAYFvCM-Bf-NUPQ3.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +6 -6
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BQMRdhd_.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-v5t7YeHA-CmFZsOpi.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnCCn9XQ-B8AttqeR.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +8 -8
- package/dist/assets/{PeoplePage-D89yZGJn-SKC3xcjg.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +29 -29
- package/dist/assets/{PortfolioAllocationFormPage-Cit7ssiw-DRnypnlm.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
- package/dist/assets/{PortfolioDetails-B1HXVeH2-JS5mwQ6d.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +12 -12
- package/dist/assets/{ProductsCarousel-BeOYePu1-BLn0kA4L.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +6 -6
- package/dist/assets/{PromoBaseCards-D1DDp9C1-CtSgxD8-.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-nb_5mvqp-Dx2zeGQJ.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +5 -5
- package/dist/assets/{QBOSetupSection-b-OrlvdU-J1tSF69q.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vg7A7Fqa-Bs8ULMyB.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-FYfZ8-hX-C7_-SNFA.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +15 -15
- package/dist/assets/{ReimbursementDetailPage-DHsqq__V-CW4x7gsh.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +14 -14
- package/dist/assets/{ReimbursementPromoPage-D-wmyfH--BXOukruh.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Cneg3RyB-BLaPlx-E.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-OTHapAJy--FdRStrz.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
- package/dist/assets/{ReloadCard-D72dkm5s-pruy4X0y.js → ReloadCard-DXOUba_M-CHzipN0D.js} +3 -3
- package/dist/assets/ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js +150 -0
- package/dist/assets/ReportsPage-FPxKx4-a-CZcO3AqP.js +120 -0
- package/dist/assets/{RevenueChart-G7w1_QXE-4uA5c1Xh.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-i6ZXMuAf-Bi36BJrO.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +14 -14
- package/dist/assets/{ReviewOverlay-D0tbkcpk-D67sCtmU.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +15 -15
- package/dist/assets/{RoleWithToolTip-w2s9tX9j-BuSHjydh.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-5uPqQbhv-DKHty5Ss.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-n2Mhm3VT-Cx_O7EWQ.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BbLZtq_G-CDkEPkjI.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +50 -50
- package/dist/assets/{ScreenRoutes-B09FfdGa.js → ScreenRoutes-BiNVsQKa.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CuOJZCNp-pnGbYCVV.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +11 -11
- package/dist/assets/{SetUpDefaultSection-D0d0yzu8-Bvz7vZrr.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +16 -16
- package/dist/assets/{SignIn-CtZ8rTB_-Dmn8P3hR.js → SignIn-Bijj9JoA-Cew9W98o.js} +12 -12
- package/dist/assets/{SignInScreen-CTyOdckZ.js → SignInScreen-BJO_D-wG.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-ymHs-MwL-Cvxx50BK.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-DwRwO5jR-KDLKiIU6.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +44 -44
- package/dist/assets/{SpendManagementSection-B1F6rl-n-r-gQss8s.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-o-48qyw7-Blkz3omT.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +14 -14
- package/dist/assets/{StatementItem-CK2sUgkE-CV2yMx9D.js → StatementItem-BNQblVLa-DfVA7ygW.js} +5 -5
- package/dist/assets/StatementsPage-_-cg9582-BHbhelbD.js +58 -0
- package/dist/assets/{StatusSwitcher-BppDI7-7-D5wYUblP.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DTe2L8JC-DqmpaA37.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
- package/dist/assets/{SummaryCard-B-_3DnqQ-bNOEfr4c.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
- package/dist/assets/{TaskManagementPage-NFVqhs6K-DHzf2Ob9.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-D5pSi1fB-CyiIexM1.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CQ37qP58-BR2uPjpg.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DDX_BvPF-D7Uat0Z2.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
- package/dist/assets/{TopExCard-CU-kbyDP-DpFe18S5.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +4 -4
- package/dist/assets/{TopExDetailPage-COxNovqU-BNoHxwIV.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +6 -6
- package/dist/assets/{TransactionDetailPage-k06RliU--DRDMDhs2.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +33 -33
- package/dist/assets/{TransactionList-CuRdM1xm-BxrzhpwN.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
- package/dist/assets/{TransactionListBig-ByLaQQUK-Cbobr9Mu.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
- package/dist/assets/{TransactionListPage-ioT-Jexm-DvAtPQvQ.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-Dyg9upjC-llCQwJ83.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +4 -4
- package/dist/assets/{TransferDrawerPage-B6zOVR7E-T5_goh6O.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +6 -6
- package/dist/assets/{TreasuryOverviewPage-Cae5Kj1r-BixeOVer.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +21 -21
- package/dist/assets/{TreasuryPromoPage-iNiwYAiH-D38CXmN0.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bdl5g5Ct-6BMxYLJY.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-CLy-YBGI-C2MGmDDx.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-lRsyHBLO-DTC-Ozh-.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-Cbfh-a6j-DA35yu7V.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +18 -18
- package/dist/assets/{TrendChart-BXOatw0x-DWANUBOO.js → TrendChart-N85Ktah2-DbfJUW0C.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BxoyLfjd-BzgPdMBE.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BA4o7PWu-CIUAowc3.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +14 -14
- package/dist/assets/{UnitIntegrationPage-Clt-99RU--2bMpJpJ.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-LxTjdCJQ-BVVTySSY.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DjHQdB-O-DwQ3MUMw.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-TaEzA3ib-Qw97wjnm.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
- package/dist/assets/{VendorDetailPage-BeADTlAW-t4AIOnaP.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-EpIw_vNR-Bn05lHNP.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B-jTzcx7-3eLtd7Wp.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-BrlyeQoC-C39w7xpJ.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +45 -45
- package/dist/assets/{VendorInternationalWireDetailsPage-B22crnTD-B_UIm63i.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CBhBTsHL.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CLrfBouK-CJ-SFhFR.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CBZRy4Sm-CNpM2hV4.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-Bfvuuiyl-D5iu_To5.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +11 -11
- package/dist/assets/{ZeniAccountListViewPage-CTqmq_Vp-DDWNWU5S.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +18 -18
- package/dist/assets/{ZeniAccountNavBarPieces-iNAQFffX-CAuA9AB8.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-XHKL_dgv-FIauIEMl.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-BHMr828J-s14Ot8pw.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
- package/dist/assets/{ZeniCopyright-B_2DB9mm-Iu5ZYmr5.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BnjyU6o3-BRZo4rWq.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
- package/dist/assets/{analyticsHelper-mkCbekyx.js → analyticsHelper-Bfbjyikr.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8Vo_J_-Dz70yD0Z.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
- package/dist/assets/{chartTypes-DpnOYtNo-B5aKSihc.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
- package/dist/assets/{commonDimensions-D2zuat_O-_HAURWTX.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
- package/dist/assets/{detailCommon-CloEmsTm-DPRCEjHN.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +6 -6
- package/dist/assets/{downloadPdf-OWaFOL1J-1Uf6CtV1.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
- package/dist/assets/{index-BPBiFjSz.js → index-CvH632ro.js} +2991 -3029
- package/dist/assets/{mapLoadingInProgressToTreeNode-Df6n7jwq-BbzFMVUs.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-hONNtf60.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BM8XMc8I-lw0HLFsb.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B3bP14C6-CrVRO0eE.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
- package/dist/assets/{play-icon-NE4JTPpx-g-DRHCM4.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DN21aiLH-BF_wyRtn.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
- package/dist/assets/{toChartData-CG9GudeA-BhlsMGvX.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CNX5IuXX-D3P3dfsj.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
- package/dist/assets/{uploadAttachment-D42oX05_-B8NoiuTW.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +23 -23
- package/dist/assets/{uploadReceipts-Buvz7DfG-BvrCCUv7.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-Muwqz4V9.js +0 -1
- package/dist/assets/ChargeCardListPage-DzmHmoAp-DkDCof5G.js +0 -355
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Bwf33b5s.js +0 -219
- package/dist/assets/CompleteProfile-D80JYwPP-BeltN21o.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-CPShfQl0.js +0 -1
- package/dist/assets/Dashboard-B-fLAQ8T-Dd2qG3Mu.js +0 -1253
- package/dist/assets/DashboardReportPage--SAxmUu_-BTOL1yPy.js +0 -349
- package/dist/assets/HelpButton-CWPUP9Y_-CSln-b4P.js +0 -28
- package/dist/assets/InvitePeoplePage-DkRbCpN7-CQ2Yf4e7.js +0 -12
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-DioMBjOT.js +0 -41
- package/dist/assets/NoDataChart-BHIoW_SW-CVC9oSAH.js +0 -26
- package/dist/assets/ReportTableViewSelector-DfZ5geuW-WxWsI3EO.js +0 -133
- package/dist/assets/ReportsPage-7E3Q5HHF-CAVn2aMT.js +0 -120
- package/dist/assets/StatementsPage-D25LsJRp-js6eUI8q.js +0 -58
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import{X as P,u as Ae,
|
|
1
|
+
import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c4 as ha,l as V,a7 as fa,C as m,c5 as xa,a6 as Ce,o as t,s as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,y as $a,ce as wa,cf as He,cg as Ge,ch as Ia,ci as ja,cj as va,g as N,ck as Sa,cl as Da,aM as Oa,a9 as Ca,as as q,cm as Fe,p,w as Ze,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,ah as za,cr as Ma,m as Ea,b2 as R,cs as Va,v as de,a$ as Ba}from"./index-CvH632ro.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js";import{Y as Xe}from"./LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js";import{$ as Je}from"./LabeledAddressValue-C8xq-j7G-D16vnyhu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
5
5
|
100% {
|
|
6
6
|
transform: translateX(0)
|
|
7
7
|
}
|
|
8
|
-
`,
|
|
8
|
+
`,Ya=s.div`
|
|
9
9
|
position: fixed;
|
|
10
|
-
top: ${
|
|
11
|
-
right: ${
|
|
10
|
+
top: ${t.sp3};
|
|
11
|
+
right: ${t.sp3};
|
|
12
12
|
z-index: 1400;
|
|
13
|
-
padding: ${
|
|
13
|
+
padding: ${t.sp3} ${t.sp4};
|
|
14
14
|
max-width: ${e=>Qe.maxWidth.valuePx(e.windowSize)};
|
|
15
15
|
background: ${e=>e.theme.colors.black};
|
|
16
16
|
border-radius: 12px;
|
|
17
|
-
box-shadow: ${e=>`${
|
|
17
|
+
box-shadow: ${e=>`${t.sp0} ${t.sp1} ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: row;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
align-items: flex-start;
|
|
22
|
-
animation: ${
|
|
23
|
-
`,
|
|
22
|
+
animation: ${Ra} 0.4s;
|
|
23
|
+
`,Aa=s(Sa)`
|
|
24
24
|
margin-top: 2px;
|
|
25
|
-
width: ${
|
|
26
|
-
height: ${
|
|
25
|
+
width: ${t.sp4};
|
|
26
|
+
height: ${t.sp4};
|
|
27
27
|
color: ${N.successDark};
|
|
28
|
-
`,
|
|
28
|
+
`,Ua=s(Da)`
|
|
29
29
|
margin-top: 2px;
|
|
30
|
-
width: ${
|
|
31
|
-
height: ${
|
|
30
|
+
width: ${t.sp4};
|
|
31
|
+
height: ${t.sp4};
|
|
32
32
|
color: ${N.important};
|
|
33
|
-
`,
|
|
34
|
-
margin-top: ${
|
|
35
|
-
`,
|
|
33
|
+
`,qa=s.div`
|
|
34
|
+
margin-top: ${t.sp1};
|
|
35
|
+
`,Ha=s(Ca)`
|
|
36
36
|
color: ${N.neutralGrey2Light};
|
|
37
|
-
`,
|
|
37
|
+
`,Ga=s.div`
|
|
38
38
|
max-width: ${e=>Qe.contentMaxWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin: ${
|
|
40
|
-
`,
|
|
39
|
+
margin: ${t.sp0} ${t.sp3};
|
|
40
|
+
`,Za=s(Oa)`
|
|
41
41
|
color: ${e=>e.isSuccess?N.success:N.important};
|
|
42
|
-
`,
|
|
43
|
-
width: ${
|
|
44
|
-
height: ${
|
|
42
|
+
`,Ka=s.div`
|
|
43
|
+
width: ${t.sp3};
|
|
44
|
+
height: ${t.sp3};
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
color: ${e=>e.theme.colors.hero};
|
|
47
47
|
&:hover {
|
|
48
48
|
color: ${N.primaryDark};
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
50
|
+
`,Xa=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ja(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ya,{windowSize:o,children:[c?a.jsx(Aa,{}):a.jsx(Ua,{}),a.jsxs(Ga,{windowSize:o,children:[a.jsx(Za,{isSuccess:c,children:c?n.success:n.error}),a.jsx(qa,{children:a.jsx(Ha,{children:Xa(l)})})]}),a.jsx(Ka,{onClick:i,children:a.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qa(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,D=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),g=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:S}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(et,{style:I,children:[a.jsx(tt,{children:n.companyIncInfo.title}),a.jsxs(at,{children:[a.jsx(Ke,{label:{label:S.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ga,{label:{label:S.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ba,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:D},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),a.jsx(he,{}),a.jsx(Xe,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:qe,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:g},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(ot,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,et=s.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
|
-
padding-top: ${
|
|
54
|
-
padding-bottom: ${
|
|
55
|
-
`,
|
|
53
|
+
padding-top: ${t.sp3};
|
|
54
|
+
padding-bottom: ${t.sp9};
|
|
55
|
+
`,at=s.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey5};
|
|
59
59
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
60
|
-
box-shadow: ${e=>`${
|
|
61
|
-
border-radius: ${
|
|
62
|
-
`,
|
|
60
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
|
+
border-radius: ${t.sp2};
|
|
62
|
+
`,tt=s(q)`
|
|
63
63
|
color: ${e=>e.theme.colors.champion};
|
|
64
|
-
margin-bottom: ${
|
|
64
|
+
margin-bottom: ${t.sp3};
|
|
65
65
|
`,he=s.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
flex: 1;
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey3};
|
|
69
69
|
min-height: 1px;
|
|
70
70
|
max-height: 1px;
|
|
71
|
-
`,
|
|
72
|
-
padding: ${
|
|
71
|
+
`,ot=s(Ze)`
|
|
72
|
+
padding: ${t.sp1} ${t.sp4};
|
|
73
73
|
background: ${e=>e.theme.colors.grey4};
|
|
74
|
-
border-radius: ${
|
|
74
|
+
border-radius: ${t.sp0} ${t.sp0} ${t.sp2} ${t.sp2};
|
|
75
75
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
76
76
|
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
77
|
-
`,
|
|
77
|
+
`,lt=s(Ma)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
|
-
margin-block-start: ${
|
|
80
|
-
margin-block-end: ${
|
|
81
|
-
padding: 0 ${
|
|
79
|
+
margin-block-start: ${t.sp0};
|
|
80
|
+
margin-block-end: ${t.sp0};
|
|
81
|
+
padding: 0 ${t.sp3};
|
|
82
82
|
text-align: right;
|
|
83
83
|
list-style-position: inside;
|
|
84
|
-
`,
|
|
84
|
+
`,it=s.li`
|
|
85
85
|
text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
|
|
86
|
-
`,
|
|
86
|
+
`,st=s(Ea)`
|
|
87
87
|
color: ${e=>e.theme.colors.grey1};
|
|
88
|
-
border-radius: ${
|
|
88
|
+
border-radius: ${t.sp1};
|
|
89
89
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
90
90
|
padding: 1px 6px 1px 6px;
|
|
91
91
|
width: fit-content;
|
|
92
92
|
margin-left: auto;
|
|
93
|
-
margin-bottom: ${
|
|
94
|
-
`,
|
|
93
|
+
margin-bottom: ${t.sp2};
|
|
94
|
+
`,nt=e=>{const{labels:o,style:l,listStyleType:i="disc"}=e;return a.jsx(lt,{style:{...l,listStyleType:i},children:o.filter(n=>n!=null&&n.text!="").map((n,c)=>a.jsxs(it,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?a.jsxs(st,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},K={width:new m(343,580,726),paddingTopBottom:new m(p[3],p[3]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4])};function pe({isDisabled:e,label:o,bullettedLabels:l,style:i}){const n=P();return l.labels.length>0?a.jsxs(rt,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:K.labelMarginLeft.value(n),marginRight:K.labelMarginRight.value(n),width:o.width??"auto"}}),a.jsx(nt,{...l,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const rt=s.div`
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: row;
|
|
97
97
|
align-items: flex-start;
|
|
@@ -112,73 +112,73 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
112
112
|
border-bottom-left-radius: inherit;
|
|
113
113
|
border-bottom-right-radius: inherit;
|
|
114
114
|
}
|
|
115
|
-
`,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function
|
|
115
|
+
`,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,y=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=D=>o.find(j=>j.code===D)?.name??D;return a.jsxs(pt,{style:d,children:[a.jsx(ut,{children:v.companyInfo.title}),a.jsxs(mt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:G(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:G(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:G(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:G(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(D=>D.code)??[]}},isFunctional:!0}),a.jsx(U,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:G(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(U,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(U,{}),a.jsx(Ue,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:G(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:dt(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const dt=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},G=(e,o)=>`${e}.${o}`,pt=s.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
|
-
padding-top: ${
|
|
119
|
-
padding-bottom: ${
|
|
120
|
-
`,
|
|
118
|
+
padding-top: ${t.sp3};
|
|
119
|
+
padding-bottom: ${t.sp9};
|
|
120
|
+
`,mt=s.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: column;
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
124
124
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
125
|
-
box-shadow: ${e=>`${
|
|
126
|
-
border-radius: ${
|
|
127
|
-
`,
|
|
125
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
126
|
+
border-radius: ${t.sp2};
|
|
127
|
+
`,ut=s(q)`
|
|
128
128
|
color: ${e=>e.theme.colors.champion};
|
|
129
|
-
margin-bottom: ${
|
|
130
|
-
`,
|
|
129
|
+
margin-bottom: ${t.sp3};
|
|
130
|
+
`,U=s.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
flex: 1;
|
|
133
133
|
background-color: ${e=>e.theme.colors.grey3};
|
|
134
134
|
min-height: 1px;
|
|
135
135
|
max-height: 1px;
|
|
136
|
-
`,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function
|
|
136
|
+
`,be={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function ht({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=P(),r=k.getLocalizedStrings().companyPassport,u=be.labelWidth.value(d),y=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),b=i?.userId==null||i?.userId==="";return a.jsxs(bt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:xe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:y!==!0},showFullNameError:!0}}),a.jsx(ye,{}),a.jsx(z,{isDisabled:b?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:xe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:y===!0?!1:b},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(ye,{}),a.jsx(Je,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(ye,{}),a.jsx(Ue,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:xe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function ft({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,b=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const g={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,g])},I=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){const O=h.filter((S,x)=>x!==d);c(o,O),r(-1)}else r(g)},D=()=>{r(-1)},j=()=>{const g=h.filter((O,S)=>S!==d);c(o,g),r(-1)};return a.jsxs(gt,{style:l,children:[a.jsx($t,{children:u.companyOfficer.title}),e.map((g,O)=>{const S=g.localData,x=g.addressStatus,B=S?.userId==null||S?.userId==="";return a.jsxs(wt,{children:[(y>1||B)&&!b?a.jsx(xt,{curIndex:O,isNewUser:B,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:D,onRemoveOfficerSection:j}):null,a.jsx(ht,{sectionId:`${o}.${O}`,officer:S,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:n})]},S?.officerType)}),y<=9&&!b?a.jsx(yt,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const xt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=P(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(It,{children:[a.jsx(jt,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Ct,{children:a.jsxs(Ft,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:be.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:be.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Ot,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(Fa,{width:p[3],height:p[3],color:N.important})}):null]})},yt=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(vt,{onClick:o,children:[a.jsx(St,{}),a.jsx(Dt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},xe=(e,o)=>`${e}.${o}`,gt=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
|
-
padding-top: ${
|
|
139
|
+
padding-top: ${t.sp3};
|
|
140
140
|
width: 100%;
|
|
141
|
-
`,
|
|
141
|
+
`,bt=s.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
background-color: ${e=>e.theme.colors.grey5};
|
|
145
145
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
146
|
-
box-shadow: ${e=>`${
|
|
147
|
-
border-radius: ${
|
|
148
|
-
margin-bottom: ${
|
|
146
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
147
|
+
border-radius: ${t.sp2};
|
|
148
|
+
margin-bottom: ${t.sp4};
|
|
149
149
|
`,$e=s.div`
|
|
150
|
-
padding-bottom: ${
|
|
151
|
-
`,$
|
|
150
|
+
padding-bottom: ${t.sp6};
|
|
151
|
+
`,$t=s(q)`
|
|
152
152
|
color: ${e=>e.theme.colors.champion};
|
|
153
|
-
margin-bottom: ${
|
|
154
|
-
`,
|
|
153
|
+
margin-bottom: ${t.sp4};
|
|
154
|
+
`,wt=s.div`
|
|
155
155
|
&:hover {
|
|
156
156
|
.delete-icon-wrapper {
|
|
157
157
|
display: flex;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,It=s(q)`
|
|
161
161
|
display: flex;
|
|
162
162
|
align-items: center;
|
|
163
163
|
justify-content: space-between;
|
|
164
164
|
color: ${e=>e.theme.colors.champion};
|
|
165
|
-
margin-bottom: ${
|
|
165
|
+
margin-bottom: ${t.sp2};
|
|
166
166
|
height: 31px;
|
|
167
167
|
|
|
168
168
|
.delete-icon-wrapper {
|
|
169
169
|
display: none;
|
|
170
170
|
}
|
|
171
|
-
`,
|
|
172
|
-
padding: ${
|
|
171
|
+
`,jt=s(ae)``,vt=s.div`
|
|
172
|
+
padding: ${t.sp3};
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
justify-content: center;
|
|
176
176
|
background-color: ${e=>e.theme.colors.grey5};
|
|
177
177
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
178
|
-
border-radius: ${
|
|
179
|
-
box-shadow: ${e=>`${
|
|
178
|
+
border-radius: ${t.sp2};
|
|
179
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
180
180
|
color: ${e=>e.theme.colors.hero};
|
|
181
|
-
margin-bottom: ${
|
|
181
|
+
margin-bottom: ${t.sp4};
|
|
182
182
|
cursor: pointer;
|
|
183
183
|
|
|
184
184
|
&:hover {
|
|
@@ -188,20 +188,20 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
188
188
|
color: ${e=>e.theme.colors.primary};
|
|
189
189
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
190
190
|
}
|
|
191
|
-
`,
|
|
192
|
-
margin-right: ${
|
|
193
|
-
width: ${
|
|
194
|
-
height: ${
|
|
191
|
+
`,St=s(La)`
|
|
192
|
+
margin-right: ${t.sp2};
|
|
193
|
+
width: ${t.sp4};
|
|
194
|
+
height: ${t.sp4};
|
|
195
195
|
color: ${e=>e.theme.colors.grey1};
|
|
196
|
-
`,
|
|
196
|
+
`,Dt=s(za)`
|
|
197
197
|
color: inherit;
|
|
198
|
-
`,
|
|
199
|
-
width: ${
|
|
200
|
-
height: ${
|
|
198
|
+
`,Ot=s.div`
|
|
199
|
+
width: ${t.sp4};
|
|
200
|
+
height: ${t.sp4};
|
|
201
201
|
cursor: pointer;
|
|
202
|
-
`,
|
|
202
|
+
`,Ct=s.div`
|
|
203
203
|
display: flex;
|
|
204
|
-
`,
|
|
204
|
+
`,Ft=s(ae)`
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
206
|
`,ye=s.div`
|
|
207
207
|
display: flex;
|
|
@@ -209,14 +209,14 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey3};
|
|
210
210
|
min-height: 1px;
|
|
211
211
|
max-height: 1px;
|
|
212
|
-
`,
|
|
212
|
+
`,kt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Ta(d,e??""),y={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},b={hasError:u};return a.jsx(Na,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:D}})=>a.jsx(Pa,{...b,ref:D,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(g=>g.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Tt,Option:Bt,Input:Pt,MultiValue:Lt,MultiValueLabel:zt,MultiValueRemove:Mt,ValueContainer:Nt,DropdownIndicator:Gt,IndicatorSeparator:Zt,Placeholder:Vt,ClearIndicator:Et},hideSelectedOptions:!1,styles:y,isDisabled:i!=null})})},Tt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(Wt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(R.Control,{...e,className:"select-control",children:e.children})})},Nt=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(R.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(_t,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Pt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(R.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Lt=e=>a.jsx(R.MultiValue,{...e,children:e.children}),zt=e=>{const{data:o}=e;return a.jsx(R.MultiValueLabel,{...e,children:o.value})},Mt=e=>a.jsx(R.MultiValueRemove,{...e,children:a.jsx(ea,{style:{marginTop:"2px"}})}),Et=e=>a.jsx(R.ClearIndicator,{...e,children:a.jsx(ea,{})}),Vt=()=>null,Bt=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Rt,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(R.Option,{...e,className:"select-option",children:a.jsxs(Yt,{children:[a.jsx(Ut,{children:a.jsx(At,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(qt,{children:[a.jsx(Ht,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},Wt=s.div`
|
|
213
213
|
width: 100%;
|
|
214
214
|
background-color: ${e=>e.theme.colors.grey5};
|
|
215
215
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
216
216
|
|
|
217
217
|
.select-control {
|
|
218
218
|
border: none;
|
|
219
|
-
padding: 0 ${
|
|
219
|
+
padding: 0 ${t.sp3};
|
|
220
220
|
min-height: 100%;
|
|
221
221
|
background-color: inherit;
|
|
222
222
|
box-shadow: none;
|
|
@@ -236,7 +236,7 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
236
236
|
|
|
237
237
|
.multi-select-field__clear-indicator {
|
|
238
238
|
padding: 0;
|
|
239
|
-
margin-left: ${
|
|
239
|
+
margin-left: ${t.sp2};
|
|
240
240
|
color: ${e=>e.theme.colors.primary};
|
|
241
241
|
transition: none;
|
|
242
242
|
&:hover {
|
|
@@ -246,13 +246,13 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
.multi-select-field__value-container {
|
|
249
|
-
gap: ${e=>e.isFocused?`${
|
|
249
|
+
gap: ${e=>e.isFocused?`${t.sp2}`:`${t.sp0}`};
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.select-value-container {
|
|
254
254
|
width: 100%;
|
|
255
|
-
padding: 6px ${
|
|
255
|
+
padding: 6px ${t.sp0};
|
|
256
256
|
overflow: auto;
|
|
257
257
|
display: ${e=>e.isFocused===!1&&e.optionsLen===0?"block":"flex"};
|
|
258
258
|
justify-content: flex-start;
|
|
@@ -271,26 +271,26 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.multi-select-field__multi-value {
|
|
274
|
-
padding: 1px ${
|
|
274
|
+
padding: 1px ${t.sp2};
|
|
275
275
|
min-width: fit-content;
|
|
276
276
|
background-color: transparent;
|
|
277
|
-
margin: ${
|
|
277
|
+
margin: ${t.sp0};
|
|
278
278
|
display: ${e=>e.isFocused?"flex":"none"};
|
|
279
279
|
color: ${e=>e.theme.colors.primary};
|
|
280
280
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
border-radius: ${
|
|
282
|
+
border-radius: ${t.sp1};
|
|
283
283
|
:last-of-type {
|
|
284
|
-
margin: ${
|
|
284
|
+
margin: ${t.sp0};
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
.multi-select-field__input-container {
|
|
289
289
|
display: flex;
|
|
290
|
-
width: ${e=>e.isFocused===!1&&e.optionsLen===0?"100%":e.isFocused===!1&&e.optionsLen>0?
|
|
290
|
+
width: ${e=>e.isFocused===!1&&e.optionsLen===0?"100%":e.isFocused===!1&&e.optionsLen>0?t.sp0:"fit-content"};
|
|
291
291
|
${de.standardRegular.css};
|
|
292
292
|
color: ${e=>e.theme.colors.primary};
|
|
293
|
-
margin: ${
|
|
293
|
+
margin: ${t.sp0};
|
|
294
294
|
cursor: inherit;
|
|
295
295
|
color: ${e=>e.hasError?N.important:e.theme.colors.primary};
|
|
296
296
|
|
|
@@ -315,7 +315,7 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
315
315
|
.multi-select-field__multi-value__label {
|
|
316
316
|
color: inherit;
|
|
317
317
|
padding: 0;
|
|
318
|
-
margin-right: ${
|
|
318
|
+
margin-right: ${t.sp1};
|
|
319
319
|
${de.standardRegular.css};
|
|
320
320
|
overflow: hidden;
|
|
321
321
|
text-overflow: ellipsis;
|
|
@@ -330,18 +330,18 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
`,
|
|
333
|
+
`,_t=s(ae)`
|
|
334
334
|
color: ${e=>e.theme.colors.primary};
|
|
335
335
|
width: 100%;
|
|
336
336
|
overflow: hidden;
|
|
337
337
|
text-overflow: ellipsis;
|
|
338
338
|
white-space: nowrap;
|
|
339
339
|
text-align: right;
|
|
340
|
-
`,
|
|
340
|
+
`,Rt=s.div`
|
|
341
341
|
.select-option {
|
|
342
342
|
${de.smallRegular.css};
|
|
343
|
-
height: ${
|
|
344
|
-
padding: 9px ${
|
|
343
|
+
height: ${t.sp6};
|
|
344
|
+
padding: 9px ${t.sp3};
|
|
345
345
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
346
346
|
background-color: ${e=>e.isSelected?e.theme.colors.grey3:e.isFocused?e.theme.colors.background:e.theme.colors.grey5};
|
|
347
347
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -364,33 +364,33 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
`,
|
|
367
|
+
`,Yt=s.div`
|
|
368
368
|
display: flex;
|
|
369
369
|
flex-direction: row;
|
|
370
370
|
align-items: center;
|
|
371
371
|
justify-content: space-between;
|
|
372
|
-
`,
|
|
372
|
+
`,At=s.label`
|
|
373
373
|
padding-right: 10px;
|
|
374
374
|
overflow: hidden;
|
|
375
375
|
text-overflow: ellipsis;
|
|
376
376
|
white-space: nowrap;
|
|
377
377
|
cursor: ${e=>e.isDisabled?"not-allowed":e.isSelected?"default":"pointer"};
|
|
378
|
-
`,
|
|
378
|
+
`,Ut=s.div`
|
|
379
379
|
width: 100%;
|
|
380
380
|
display: flex;
|
|
381
381
|
align-items: center;
|
|
382
|
-
`,
|
|
382
|
+
`,qt=s.div`
|
|
383
383
|
display: flex;
|
|
384
|
-
`,
|
|
384
|
+
`,Ht=s(Ba)`
|
|
385
385
|
width: 12px;
|
|
386
386
|
height: 12px;
|
|
387
387
|
margin-right: 2px;
|
|
388
388
|
color: ${e=>e.theme.colors.primary};
|
|
389
|
-
`,
|
|
390
|
-
width: ${
|
|
391
|
-
height: ${
|
|
389
|
+
`,ea=s(Ce)`
|
|
390
|
+
width: ${t.sp3};
|
|
391
|
+
height: ${t.sp3};
|
|
392
392
|
color: ${e=>e.theme.colors.primary};
|
|
393
|
-
`,
|
|
393
|
+
`,Gt=()=>null,Zt=()=>null,Ve=e=>e.map(o=>Kt(o)),Kt=e=>({value:e,label:e}),M={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Xt({isDisabled:e,label:o,multiSelectField:l,style:i}){const n=P();return a.jsxs(Jt,{size:n,style:i,isDisabled:e!=null,children:[a.jsx(Fe,{isDisabled:e,label:o.label,htmlFor:l.name,style:{marginLeft:M.labelMarginLeft.value(n),marginRight:M.labelMarginRight.value(n),marginTop:M.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(kt,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",minHeight:M.controlHeight.value(n)}})]})}const Jt=s.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
flex-direction: row;
|
|
396
396
|
align-items: flex-start;
|
|
@@ -436,21 +436,21 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
436
436
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
`,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function
|
|
439
|
+
`,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:D}=e,j=Be.labelWidth.value(o),g=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),S=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:D,children:[a.jsx(to,{children:c.companyTaxInfo.title}),a.jsxs(ao,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:Z(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wa},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:Z(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:Z(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:Z(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Xt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:Z(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),a.jsx(ee,{}),a.jsx(Xe,{name:Z(h,"einDocument"),isDisabled:$,sizeLimit:qe,deleteFileStatusById:y,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:g},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:S,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const Z=(e,o)=>`${e}.${o}`,eo=s.div`
|
|
440
440
|
display: flex;
|
|
441
441
|
flex-direction: column;
|
|
442
|
-
padding-top: ${
|
|
443
|
-
padding-bottom: ${
|
|
444
|
-
`,
|
|
442
|
+
padding-top: ${t.sp3};
|
|
443
|
+
padding-bottom: ${t.sp9};
|
|
444
|
+
`,ao=s.div`
|
|
445
445
|
display: flex;
|
|
446
446
|
flex-direction: column;
|
|
447
447
|
background-color: ${e=>e.theme.colors.grey5};
|
|
448
448
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
449
|
-
box-shadow: ${e=>`${
|
|
450
|
-
border-radius: ${
|
|
451
|
-
`,
|
|
449
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
450
|
+
border-radius: ${t.sp2};
|
|
451
|
+
`,to=s(q)`
|
|
452
452
|
color: ${e=>e.theme.colors.champion};
|
|
453
|
-
margin-bottom: ${
|
|
453
|
+
margin-bottom: ${t.sp3};
|
|
454
454
|
`,ee=s.div`
|
|
455
455
|
display: flex;
|
|
456
456
|
flex: 1;
|
|
@@ -458,26 +458,26 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
458
458
|
min-height: 1px;
|
|
459
459
|
max-height: 1px;
|
|
460
460
|
`,oo=s(Ze)`
|
|
461
|
-
padding: ${
|
|
461
|
+
padding: ${t.sp1} ${t.sp4};
|
|
462
462
|
background: ${e=>e.theme.colors.grey4};
|
|
463
|
-
border-radius: ${
|
|
463
|
+
border-radius: ${t.sp0} ${t.sp0} ${t.sp2} ${t.sp2};
|
|
464
464
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
465
465
|
color: ${e=>e.isError?N.important:e.theme.colors.grey1};
|
|
466
|
-
`,lo={labelWidth:new m(100,100,140)};function io({sectionId:e,isDisabled:o,primaryContact:l,style:i}){const n=P(),c=k.getLocalizedStrings().companyPassport,f=lo.labelWidth.value(n),d=l==null;return
|
|
466
|
+
`,lo={labelWidth:new m(100,100,140)};function io({sectionId:e,isDisabled:o,primaryContact:l,style:i}){const n=P(),c=k.getLocalizedStrings().companyPassport,f=lo.labelWidth.value(n),d=l==null;return a.jsxs(so,{style:i,children:[a.jsx(ro,{children:c.primaryContact.title}),a.jsxs(no,{children:[a.jsx(He,{isDisabled:o,label:{label:c.primaryContact.name,width:f},nameField:{name:We(e,"name"),placeHolder:{firstName:c.primaryContact.firstNamePlaceholder,lastName:c.primaryContact.lastNamePlaceholder,name:c.primaryContact.namePlaceholder},defaultValue:{firstName:l?.firstName??"",lastName:l?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),a.jsx(co,{}),a.jsx(z,{isDisabled:o,label:{label:c.primaryContact.email,width:f},text:{type:"email",name:We(e,"email"),placeholder:L(c.primaryContact.email),defaultValue:l?.email,autoComplete:"new-password",options:{required:d!==!0}}})]})]})}const We=(e,o)=>`${e}.${o}`,so=s.div`
|
|
467
467
|
display: flex;
|
|
468
468
|
flex-direction: column;
|
|
469
|
-
padding-top: ${
|
|
470
|
-
padding-bottom: ${
|
|
469
|
+
padding-top: ${t.sp3};
|
|
470
|
+
padding-bottom: ${t.sp9};
|
|
471
471
|
`,no=s.div`
|
|
472
472
|
display: flex;
|
|
473
473
|
flex-direction: column;
|
|
474
474
|
background-color: ${e=>e.theme.colors.grey5};
|
|
475
475
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
476
|
-
box-shadow: ${e=>`${
|
|
477
|
-
border-radius: ${
|
|
478
|
-
`,ro=s(
|
|
476
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
477
|
+
border-radius: ${t.sp2};
|
|
478
|
+
`,ro=s(q)`
|
|
479
479
|
color: ${e=>e.theme.colors.champion};
|
|
480
|
-
margin-bottom: ${
|
|
480
|
+
margin-bottom: ${t.sp3};
|
|
481
481
|
`,co=s.div`
|
|
482
482
|
display: flex;
|
|
483
483
|
flex: 1;
|
|
@@ -490,7 +490,7 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
490
490
|
justify-content: flex-end;
|
|
491
491
|
align-items: center;
|
|
492
492
|
:not(:first-of-type) {
|
|
493
|
-
margin-left: ${
|
|
493
|
+
margin-left: ${t.sp3};
|
|
494
494
|
}
|
|
495
495
|
`,mo=s.div`
|
|
496
496
|
display: flex;
|
|
@@ -498,18 +498,18 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
498
498
|
justify-content: flex-end;
|
|
499
499
|
align-items: center;
|
|
500
500
|
color: ${e=>e.theme.colors.primary};
|
|
501
|
-
`,uo=()=>
|
|
502
|
-
padding: 6px ${
|
|
501
|
+
`,uo=()=>a.jsx(mo,{children:"–"}),ho=s.div`
|
|
502
|
+
padding: 6px ${t.sp2};
|
|
503
503
|
white-space: nowrap;
|
|
504
504
|
overflow: hidden;
|
|
505
505
|
text-overflow: ellipsis;
|
|
506
|
-
`,fo=s(
|
|
506
|
+
`,fo=s(ae)`
|
|
507
507
|
color: ${e=>e.theme.colors.primary};
|
|
508
508
|
align-items: center;
|
|
509
509
|
justify-content: flex-end;
|
|
510
510
|
display: flex;
|
|
511
|
-
padding: 0 ${
|
|
512
|
-
`,xo=e=>{const{users:o,style:l}=e;return
|
|
511
|
+
padding: 0 ${t.sp3};
|
|
512
|
+
`,xo=e=>{const{users:o,style:l}=e;return a.jsx(fo,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(po,{children:[a.jsx(ho,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Va,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(uo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function yo({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=P();return a.jsxs(bo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(xo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const go=Wa.memo(yo,ka),bo=s.div`
|
|
513
513
|
display: flex;
|
|
514
514
|
flex-direction: row;
|
|
515
515
|
align-items: flex-start;
|
|
@@ -529,28 +529,28 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
529
529
|
border-bottom-left-radius: inherit;
|
|
530
530
|
border-bottom-right-radius: inherit;
|
|
531
531
|
}
|
|
532
|
-
`,ge={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ge.labelWidth.value(f),y=ge.mediumLabelWidth.value(f),b=ge.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,g=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=
|
|
532
|
+
`,ge={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function $o({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=P(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ge.labelWidth.value(f),y=ge.mediumLabelWidth.value(f),b=ge.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:D}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,g=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=Ia(I.map(x=>x.addOns.map(B=>({text:B.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),S=D.receiverEmails.map(x=>({text:x}));return a.jsxs(Io,{children:[a.jsx(vo,{children:d.zeniFinanceTeam.title}),a.jsxs(jo,{children:[a.jsx(go,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(ce,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},text:{type:"text",name:wo(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:ja}}}):o?.meetingLink!=null?a.jsx(va,{label:{label:d.zeniFinanceTeam.scheduleCall,width:y},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,S.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:S,listStyleType:"none"}})]}):null,g.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:g,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(ce,{}),a.jsx(pe,{label:{label:d.zeniFinanceTeam.addons,width:y},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const wo=(e,o)=>`${e}.${o}`,Io=s.div`
|
|
533
533
|
display: flex;
|
|
534
534
|
flex-direction: column;
|
|
535
|
-
padding-top: ${
|
|
536
|
-
padding-bottom: ${
|
|
535
|
+
padding-top: ${t.sp3};
|
|
536
|
+
padding-bottom: ${t.sp9};
|
|
537
537
|
`,jo=s.div`
|
|
538
538
|
display: flex;
|
|
539
539
|
flex-direction: column;
|
|
540
540
|
background-color: ${e=>e.theme.colors.grey5};
|
|
541
541
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
542
|
-
box-shadow: ${e=>`${
|
|
543
|
-
border-radius: ${
|
|
544
|
-
`,vo=s(
|
|
542
|
+
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
543
|
+
border-radius: ${t.sp2};
|
|
544
|
+
`,vo=s(q)`
|
|
545
545
|
color: ${e=>e.theme.colors.champion};
|
|
546
|
-
margin-bottom: ${
|
|
546
|
+
margin-bottom: ${t.sp3};
|
|
547
547
|
`,ce=s.div`
|
|
548
548
|
display: flex;
|
|
549
549
|
flex: 1;
|
|
550
550
|
background-color: ${e=>e.theme.colors.grey3};
|
|
551
551
|
min-height: 1px;
|
|
552
552
|
max-height: 1px;
|
|
553
|
-
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:
|
|
553
|
+
`,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",Se="primaryContact",De="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:D,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:S,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:te}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:aa,primaryContact:ta,companyOfficerUpdateStatus:oa,updateStatus:Y}=H,{localData:le,addressStatus:la}=aa,Pe=ca(Y.fetchState),ie=Object.values(oa).filter(T=>T.localData!=null),W=da({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,te]);const ia=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;y({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(Se)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(De)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,ra)=>{const Le={...ue,officerType:`Officer_${ra+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pa(()=>ia(C,w))});return()=>{T.unsubscribe()}});const sa=W.handleSubmit(T=>{Q!=null&&oe(void 0),D()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(So,{children:[a.jsx(ma,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(Do,{children:[a.jsx(Oo,{windowSize:o,children:u?na.infoText.companyDetails:se.quickAccessInfo}),a.jsx(ua,{...W,children:a.jsxs("form",{id:Re(_e),onSubmit:sa,children:[a.jsx(ct,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:la,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Qa,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(Qt,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(io,{sectionId:Se,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:De,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:g})]})})]}),ha(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,te)?a.jsx(fa,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),S()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xa(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[Se]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[De]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},So=s.div`
|
|
554
554
|
display: flex;
|
|
555
555
|
min-height: 100%;
|
|
556
556
|
flex-direction: column;
|
|
@@ -564,11 +564,11 @@ import{X as P,u as Ae,a1 as ct,a as dt,c2 as pt,M as k,j as t,aW as mt,F as ut,c
|
|
|
564
564
|
overflow-y: auto;
|
|
565
565
|
flex-direction: column;
|
|
566
566
|
align-items: center;
|
|
567
|
-
`,Oo=s(
|
|
567
|
+
`,Oo=s(ae)`
|
|
568
568
|
color: ${e=>e.theme.colors.hero};
|
|
569
569
|
display: flex;
|
|
570
570
|
justify-content: center;
|
|
571
571
|
width: ${e=>we.width.valuePx(e.windowSize)};
|
|
572
|
-
margin-top: ${
|
|
573
|
-
margin-bottom: ${
|
|
572
|
+
margin-top: ${t.sp3};
|
|
573
|
+
margin-bottom: ${t.sp4};
|
|
574
574
|
`;export{Wo as default,Re as uniqueName};
|