@zeniai/web-cockpit-ui 1.15.24-qa → 1.15.25-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-DsLMYxB2-DKIqWfd5.js → ACHDetailsPage-Davpg8eW-BWDILC-H.js} +3 -3
- package/dist/assets/{AIPerformancePage-Do1Jme84-BQuxssWs.js → AIPerformancePage-BXF0kUqR-BgyTM2y7.js} +104 -104
- package/dist/assets/AccountInfoPage-Cefnidcc-Bp5rUTr8.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DLxvkpvG-DlM7C5lw.js → AccountInfoPageContent-QMyPHCdY-DP0akuHx.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-BdFY6p56-RTWbIB_l.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BMhGA2Nw-Z2PUl5SJ.js → AccountReconDetailsDrawerPage-CoXPQka7-DFQZksfD.js} +11 -11
- package/dist/assets/AccountRow-DHB-ETil-0INUiG8Z.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Cq1lsoaV-GSf-HLu0.js → AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CnCLxax6.js +6 -0
- package/dist/assets/{AddToWalletPage-CEhxUk5V-BYjPBKkY.js → AddToWalletPage-p0T8VFfo-WTTL1b0G.js} +47 -47
- package/dist/assets/{AgingReportsPage-CYrw-ffE-5eIk6Dcl.js → AgingReportsPage-CTzjRkV2-CkKYMdrC.js} +15 -15
- package/dist/assets/{AllUserItems-CUPJzOon-ByAd3cpG.js → AllUserItems-Dt9rMGJk-D2oOTLOS.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-BHfoAgPL-Z6JXUJ8l.js → ApAgingDetailPage-71VQk7px-BPdIn6ZS.js} +7 -7
- package/dist/assets/AppBasePage-tDs92z31-B3gR6k96.js +71 -0
- package/dist/assets/{AppDrawerContent-CxmXgxbq-CR8uI5HI.js → AppDrawerContent-ULUH1WZ3-CblzrDc2.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-gu0Fjo8W-DPQDhehm.js → ApprovalRulesSettingsPage-Ciz-iaE5-ghG5WVzt.js} +1 -1
- package/dist/assets/{ArAgingChart-CxGoJ-eL-Blphsvqz.js → ArAgingChart-DcwM2rpv-C36SsOV8.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CNKe5FGf-BfLy-wH_.js → ArAgingDetailPage-eGCSFdAM-BJk9vCxH.js} +4 -4
- package/dist/assets/{AttachmentView-BNb1kv2i-DkhgYBN2.js → AttachmentView-CA6PRg4p-DDr9TCOl.js} +4 -4
- package/dist/assets/{BankAccountSection-nxf2HgVE-G54ZtA0k.js → BankAccountSection-mWUT-G8y-2k5xTeyX.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-b7VJzhDr-CptxWENX.js → BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-Dj5RPseY-TdFPSmBq.js → BankConnectionsSettingsPage-COyH3rdC-Be8G7lph.js} +10 -10
- package/dist/assets/{BillDetailPage-B8vxUUjs-C-CFBqEj.js → BillDetailPage-BR_9uHRC-mLWBTrh1.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-RxCSuM7j-BqEZg33H.js → BillPayApprovalRuleDetailPage-cRAudMvm-CWVbYb1D.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-qB8FSNxF-rbTYrF-M.js → BillPayApprovalRulesPage-Cd0aJtip-BTxbg4yL.js} +8 -8
- package/dist/assets/{BillPayPromoPage-C-MLRBwj-vOq8U5gh.js → BillPayPromoPage-BYW097HT-D4YnpN75.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-DUcVwFf0-CYjbtEEg.js → BillPaySetUpPage-BahrLUn4-CqC29kIw.js} +4 -4
- package/dist/assets/BillingSettingsPage-BjMeQKM0-CpnNOiGS.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-Cm2iOzT8-6b_1kNK1.js → BillsBulkReviewDrawerPage-CJ-GbBhL-B7DfrKfl.js} +1 -1
- package/dist/assets/{BoxItem-BIGbJrpV-BZ7_ozC2.js → BoxItem-CvhcNreT-DxmoznPD.js} +1 -1
- package/dist/assets/BusinessVerificationPage-LKrdd6Ej-BKb49OWB.js +138 -0
- package/dist/assets/{CardNumberSubText-lCdVj97_-CAB_Kln4.js → CardNumberSubText-CfoSPAZU-BdVhRiwJ.js} +3 -3
- package/dist/assets/{CashbackDetailPage-DyqE-V7x-DhQHhGde.js → CashbackDetailPage-CWlaZrqz-DvIAxVRW.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-0a7KVsQ4-DT0O76Wc.js → ChargeCardDetailPage-BNNbd3G1-BtUCuJum.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DZgzRmUt-D6J_weNw.js → ChargeCardListPage-BzIvl8RY-Ncd3QF6u.js} +16 -16
- package/dist/assets/{ChargeCardListTable-CrPIqCYY-CgNAiVSn.js → ChargeCardListTable-D-uQKI4t-lkMdiYYu.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-BenEXh0n-Cun1p0sn.js → ChargeCardPaymentHistoryPage-DmzlfD-l-OAmKFjuL.js} +12 -12
- package/dist/assets/ChargeCardPromoPage-DOYqOs6K-xBYShKSz.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BQdagLKY-BUWz2gWE.js → ChargeCardSetupPage-CSnLMycu-BkjYVqCn.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-C82CsaNY-DzvzbShn.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-Bbe3YMhk-DlMo_ctS.js → CheckDepositDrawerPage-DN5Ok0Y6-DOjKYa5p.js} +21 -21
- package/dist/assets/{CollapsableReportTable-Bjp9ufA3-BUww2EPB.js → CollapsableReportTable-CncMWpFI-CnBbDhbn.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js +331 -0
- package/dist/assets/{CompanyPassportCard-B9yLuYoV-7uXZA6qZ.js → CompanyPassportCard-Ccw8l9iz-CwNj32nj.js} +3 -3
- package/dist/assets/CompanyPassportPage-IjpU53y_-BF5RjsoV.js +417 -0
- package/dist/assets/{CompleteProfile-DlDJUF9s-Ds-cc2Li.js → CompleteProfile-CQUDJ-nI-DJVg2OT2.js} +1 -1
- package/dist/assets/ConfettiBurst-C_6Uy7eR-Np_3vQFo.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CPRMOwDl.js → ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C0zQBkip-Bwlp-KX1.js → CreateOrEditVendorPage-DM90rr4S-BcABoxWR.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-BonuuJrp-D6Esu5Ka.js → CreditCardPaymentDrawerPage-Bh0QdxXh-Dti2BnoN.js} +11 -11
- package/dist/assets/{CurrencySelectField-CcwMU19m-Dv2FTyMF.js → CurrencySelectField-BDfEzwpU-4zlCOdOf.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CnLIuUI_-DOyaYse5.js → CustomerOnboardingActivationPage-CJGtq19l-BpCso2Fz.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-CnaDFGWF.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DFnaf7ny-DHFbJUSq.js → CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DrUE-f0H-CurdzAi_.js → CustomerOnboardingProductSuitePage-CZDipU2j-BbQ2Iy2J.js} +4 -4
- package/dist/assets/{Dashboard-Cgrcdi17-XnHxKrKg.js → Dashboard-DyQZQS2X-mxU1Jkng.js} +66 -66
- package/dist/assets/{DashboardReportPage-DbhRTdc4-CpN5HaDx.js → DashboardReportPage-Dn7pVdG9-DtcRvxDO.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-y0LRofZR.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-D1o4IBkT-BgfivdRm.js → DepositAccTransactionItem-DDdkQsmn-B5pGW8gX.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-xxNjjtT--BvwZH-r8.js → DepositAccTransactionListPage-BHdmR6m5-7yonpKjA.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-CwJaUAl--xZbxKmq6.js → DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js} +1 -1
- package/dist/assets/{DownloadOverlay-DQhWlo3j-ou1Zr3sv.js → DownloadOverlay-Dhib22Hz-D3Lt9Smx.js} +11 -11
- package/dist/assets/{DrawerPage-Cy3cU-ts-DL-hvylm.js → DrawerPage-nxxj86nQ-CJOa9BEO.js} +14 -14
- package/dist/assets/EditPeoplePage-CG5gmNTR-CH2Xt3X8.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CPtNF3lE-BUz5GUcq.js → EditReimbursementDetailPage-C2kqq9QP-Bbzp1pVf.js} +73 -73
- package/dist/assets/EntityDetailPage-CL0FCU_m-BGtD2JCX.js +18 -0
- package/dist/assets/{EntitySummarySection-DKVe_auH-BhjgU5OF.js → EntitySummarySection-C29GLBzF-CWqpKadr.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-BerWhvvC-DBNdoj-V.js → ExpenseAutomationOverviewPage-B4kcx-VG-CGPR3A1h.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-ZFDuZKVx-BOLEz3OZ.js → ExpenseAutomationPage-DNwnoyPg-DCSz-PUa.js} +295 -285
- package/dist/assets/{ExpressPayPage-DWGFzFY1-kbQqZZxK.js → ExpressPayPage-K-InpYtZ-DIVfrk0c.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-CTROYslk-DNnHSl_T.js → FeaturePreviewPage-IsRBHkoD-e3f7mixU.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cdw8tftg-LjozyTXw.js → FollowStepsSection-ClyCs5f_-Dx038WgT.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-FIiMWDt4-D2ht755B.js → GlobalReviewListPage-n8XrBXXp-BZl-OsOG.js} +16 -16
- package/dist/assets/{InformationCardStack-DRM_CrnR-Dr6abp-W.js → InformationCardStack-BnOF2kCh-C7gNsonq.js} +7 -7
- package/dist/assets/{InsightsCardStack-B6KSNBOO-ivzZWeJo.js → InsightsCardStack-Bgzkang3-CA8GAaRZ.js} +9 -9
- package/dist/assets/InsightsSection-C16f1RZL-BLvjZ1kW.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-VPy6IQco-B18SLH29.js → IntegrationsSettingsPage-D1QWrVQw-BXx7A_Fv.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-CbztUTOk-C1ODTgTQ.js → InternationalWireSwiftDetailsPage-DNNEqdWS-B78a52iW.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-DwVwtiyi.js +65 -0
- package/dist/assets/{InviteFormPage-BBHD1wv7-C_4SKmOY.js → InviteFormPage-C-Io8wxr-DZ679TjD.js} +21 -21
- package/dist/assets/{InvitePageListView-Gpf4q2HF-CEWnpXn7.js → InvitePageListView-B1PLdKSn-3WJcdIb9.js} +55 -55
- package/dist/assets/InvitePeoplePage-BArxsNxE-BXI3n59t.js +12 -0
- package/dist/assets/InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CiL8yWbI-CIy8MoIn.js → IssueChargeCardPage-CC6D-uPl-dzV4_AJm.js} +15 -15
- package/dist/assets/{LabeledAddressValue-DGEHzZ-x-CfIKvo1E.js → LabeledAddressValue-CKZJgaV5-cxiw5XUU.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-BzOLZcSy-C22qT18Z.js → LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js} +17 -13
- package/dist/assets/LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js +59 -0
- package/dist/assets/{LabeledText-CYRn3LhA-DWGTPjd2.js → LabeledText-DiJE8avC-CseM5wCJ.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-BmguFMb2.js → LabeledUserSingleSelectWithSubtitlesField-CLup6THe-B8wjUmse.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-UiY4N_NF-Djo3S0ey.js → LabeledZeniRolesDropDownField-CVg9PTpl-CmXvnZ1S.js} +33 -33
- package/dist/assets/{LinkJETransactionPage-PvLzGCy_-B6huT0SK.js → LinkJETransactionPage-DaGHGCIJ-ZPmKuaes.js} +8 -8
- package/dist/assets/{LockCardPage-Cv1mXAE9-DETgYyCF.js → LockCardPage-CGYlmPkB-BpMPFgRW.js} +24 -24
- package/dist/assets/{LowBalancePopup-go-1GM2R-ClVuygNj.js → LowBalancePopup-YJW7eKud-C5-4WX6d.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-ByYEbu_t.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bvcp-odv.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COXCHYYI-DrkXHgBT.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-CSa0Vcf2.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CPs72o7_-DBHt9Igm.js → MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js} +4 -4
- package/dist/assets/MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Xo-zsUV_-B9fPJRoq.js → MyBankConnectionsSettingsPage-BJi0owDl-C6fsBM4C.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-pMnrYxHt-D-heAgjR.js → MyPendingActivationChargeCardListPage-BWIla-hh-BQ4ym9Ei.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-B0uYhezS-DbNVKwps.js +85 -0
- package/dist/assets/{NavBarWithPicker-DFywcKz8-BdsjK4vI.js → NavBarWithPicker-BGZvvByA-4hcBX9YX.js} +5 -5
- package/dist/assets/{NavigationArrow-BiYMk3Wz-CV64X4HQ.js → NavigationArrow-C3pN6F3u-tAd2nukx.js} +7 -7
- package/dist/assets/{NavigationDots-CCLpxuwG-33BZJiro.js → NavigationDots-D1rJnVkZ-DI_AwSe8.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-C48VzTEf-BhyO826c.js → NewGlobalMerchantPage-DU2Z_NYb-CczYC_Cy.js} +12 -12
- package/dist/assets/{NoDataChart-sGr0o2BN-CgZmA0TN.js → NoDataChart-DuEsebs4-BQTTXvg9.js} +2 -2
- package/dist/assets/NoDataTable-B7LkfAQX-CdTNbZgo.js +8 -0
- package/dist/assets/{NotFoundPage-DFw9HBCT-0UwPngI1.js → NotFoundPage-DLtikmoi-CJn1LsuA.js} +9 -9
- package/dist/assets/{NotificationSettingsPage-D1rRNeRj-Bw3eepl1.js → NotificationSettingsPage-DwsCKyVM-AIL1SOh9.js} +12 -12
- package/dist/assets/{NotificationsListConfig-LrfChZUx-RWUkV3Sx.js → NotificationsListConfig-CMtBeX4D-Dg29H_7b.js} +1 -1
- package/dist/assets/{NotificationsPage-Cx4eb-l6-Bmwqr_H4.js → NotificationsPage-CZrXzWli-9C2iwOMz.js} +24 -24
- package/dist/assets/{OpExByVendorPage-LpdEEb1U-CiRx5TKb.js → OpExByVendorPage-0PLAOQu5-DLLDMhgS.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D2G-CVv7.js +11 -0
- package/dist/assets/{PandLWithForecastPage-DwaVCK2R-DvQKQu5s.js → PandLWithForecastPage-PkrBqcAR-Djqg6ntv.js} +10 -10
- package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js +107 -0
- package/dist/assets/PeoplePage-PyWOVc5M-DILaV4hT.js +727 -0
- package/dist/assets/{Preview-BCmMZb_d.js → Preview-DaDKYAzg.js} +1 -1
- package/dist/assets/{ProductsCarousel-Dp5Of83--C9TEcIb9.js → ProductsCarousel-fMS3PJAc-r1K9Xxoj.js} +5 -5
- package/dist/assets/{PromoBaseCards-Bpmi7do2-DeOoBn1O.js → PromoBaseCards-HY42c1kU-DSpx7Fy3.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-BCOigpzW-BBWvt6M8.js → QBOConnectionDialog-B_AOC_hG-BSWcu79k.js} +3 -3
- package/dist/assets/{QBOSetupSection-Blf2QxYu-Bt1Iazrw.js → QBOSetupSection-CQHdqpJF-CH_S6Ewi.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D0oeO5MZ-95x-7hZW.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cq3lTD4B-BL73XOQv.js → ReimbursementApprovalRulesPage-Beg7ljMA-Cr4MOQVc.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CxP7ZEyW-DzWZJWkr.js → ReimbursementDetailPage-DBxKNhum-DE3tfEga.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-tSycJK9l-DgiKrFaE.js → ReimbursementPromoPage-DxZeTOQW-CNGgL2HL.js} +22 -22
- package/dist/assets/{ReimbursementSetUpPage-iGjNkC8E-B8NnEeyY.js → ReimbursementSetUpPage-CN4LhFrS-BfRZlJ5w.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HrLSNRHq-CeYe3rfm.js → ReimbursementsBulkReviewDrawerPage--6OUmjzW-D3GoPfdC.js} +1 -1
- package/dist/assets/{ReloadCard-CuRTghCv-3_xFCAvr.js → ReloadCard-BluhBNO--D0eilzgR.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C2oaqgZL-LiKiujIv.js → ReportTableViewSelector-8KYimU0G-YYB33_Xu.js} +31 -31
- package/dist/assets/{ReportsPage-D5DDZHox-oQcDXAqo.js → ReportsPage-D-UfdQ34-CNx_b_ly.js} +5 -5
- package/dist/assets/{RevenueChart-Na7paK3w-xsPSohkz.js → RevenueChart-C9EztEKi-BbW9YFNy.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-BFj3ZJyp-C3ZZt6ZX.js → ReviewDetailsPage-B6SYtYUA-d0bXCGW4.js} +32 -32
- package/dist/assets/{ReviewOverlay-Cz8LqkKC-LpMuOjyz.js → ReviewOverlay-C2enVZqt-C_vH9CpL.js} +18 -18
- package/dist/assets/RoleWithToolTip-DA3BIg5j-DG-Lih0N.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-UVIM7eda-DfB6eFkU.js → ScheduleDetailsFixedAssetsPage-DmBVVX79-6-1NS4t6.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-_mUOLW28-BO_4j_pg.js → ScheduleDetailsPage-Bp3d9tdD-Ct_0Fci8.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-VSvFhL5f.js +324 -0
- package/dist/assets/{ScreenRoutes-CtQ8gAzw.js → ScreenRoutes-CvjimsD0.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C_DCt5R8-CR6h0hZw.js → SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js} +5 -5
- package/dist/assets/SignIn-T74bkrxk-ptxkK8PP.js +491 -0
- package/dist/assets/SignInScreen-BYcec7re.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-Cxe5movK-Cp5y9Fyu.js → SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-Dj9VrJCp-DyydCk6c.js → SpendManagementPerTabPage-DRrECrxC-dCEqiObE.js} +25 -25
- package/dist/assets/{SpendManagementSection-DGGqh0xs-DYfYRUAC.js → SpendManagementSection-xoH8d-PB-6nPhw1xu.js} +23 -23
- package/dist/assets/StatementItem-BthXwXFQ-j2l7jY5v.js +31 -0
- package/dist/assets/StatementsPage-FmjXzQ3g-oWNeSYKv.js +58 -0
- package/dist/assets/{StatusSwitcher-DsSflF9D-C9Uj39S-.js → StatusSwitcher-C-2QxP_3-DVOlvAn4.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DxUZTJB0-BcVJNQoB.js → SubTabSwitcher-D3iTZY-F-CSjMFn8K.js} +2 -2
- package/dist/assets/{SummaryCard-B1mg84fd-BMICGbB9.js → SummaryCard-BbzDLzif-jCXiXuPT.js} +1 -1
- package/dist/assets/{TaskManagementPage-Z40FApxJ-DL--AmQh.js → TaskManagementPage-DI_lMbra-CdUdFSOY.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-B4sHEx1F-DFE9Lsm5.js → TimeRangeSwitcher-C3mH2YE7-CZoVUBkm.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-D8zfgEX_-De-R1snt.js → TimeframeSwitcher-C8iVJfJz-B35AQLzW.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-DF2bdFav.js +31 -0
- package/dist/assets/{TopExCard-BpicN73M-Dj1d-6JO.js → TopExCard-DlberdWy-AXYKUOGt.js} +6 -6
- package/dist/assets/{TopExDetailPage-iw-7HulH-BloggZUw.js → TopExDetailPage-DZyUPQ9i-kejvgUv1.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-D7oH2hs_-CmbXQuTN.js → TransactionActivityLogPage-Bpdbc21v-DQ1FP9jB.js} +15 -15
- package/dist/assets/TransactionDetailPage-CaRcJukf-CnifEZvn.js +903 -0
- package/dist/assets/TransactionList-BAziC6eS-6qNOgl8E.js +153 -0
- package/dist/assets/{TransactionListBig-BYHLJtlB-7uyuVHel.js → TransactionListBig-D6Q9QimF-DjvcRG58.js} +13 -13
- package/dist/assets/TransactionListPage-Ce_lSS6C-YqGl74XY.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CEAFUrTl-DPFjrUzW.js → TransactionVendorDetailPage-B4A4amjV-rbnaqzN7.js} +7 -7
- package/dist/assets/{TransferDrawerPage-C6hdavbT-D88FiI-0.js → TransferDrawerPage-Dfhpu5Yd-D-lZQHfG.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-BP26JP5_-CseTVHsp.js → TreasuryOverviewPage-B6WhqRDb-BYZSOn3C.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DjVR20gs-CLIAZ8sX.js → TreasuryPromoPage-C5DXueHJ-DvuJR2wv.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-8qXJLq1U-C7VbrxO2.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-xsnS5RHz.js +58 -0
- package/dist/assets/{TrendChart-sup0F9JZ-DSEAIHAe.js → TrendChart-FPLC1aMv-BpKn1lA4.js} +3 -3
- package/dist/assets/{TrendWithTransactions-C7azwT25-Bax9K_N2.js → TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-Etkl_fAG-CrNZiboy.js → UncategorizedAccountsMappingPage-rdMygvxx-CB5luTSv.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-ZsJHRr7Z-DnB4_Zct.js → UnitIntegrationPage-WfFukh9_-Db1kSxll.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-Z5AuwaDQ-B2Cs9t2G.js → UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DK98Bntc-CHLdTtz5.js +1 -0
- package/dist/assets/VendorACHDetailsPage-Bxo11l9N-DiVKko5M.js +1 -0
- package/dist/assets/{VendorDetailPage-Dnr8_eWj-oFCPIA59.js → VendorDetailPage-Cexet52V-fximdJ6Q.js} +25 -25
- package/dist/assets/VendorDomesticWireDetailsPage-DbhChvIp-Cn8HKuB3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C7SK3oAX-BeOVSOYX.js → VendorFiling1099EditablePage-Bnwp2JiZ-B1voyhYV.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-sMOzaFlZ-DmFO_p3M.js → VendorFirstReviewPage-C_xSf47L-YlGbjVwi.js} +37 -37
- package/dist/assets/{VendorInternationalWireDetailsPage-B2c1Rev--CSKl1Vjc.js → VendorInternationalWireDetailsPage-DVuenbq8-CpmeIHQG.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-CvXAX7v6.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Df4nOfCb-DAl3nupW.js → VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js} +2 -2
- package/dist/assets/{VerifyDevice-ogibIJ0s-BnNQtXiS.js → VerifyDevice-MbuunHNJ-0NsL1ICM.js} +9 -9
- package/dist/assets/{VideoPlayer-C5JZyeyT-DadgGvmc.js → VideoPlayer-B-oV4gcS-IlmjYyud.js} +2 -2
- package/dist/assets/{VideoPopup-Dw-9lQNK-yoJdS8GI.js → VideoPopup-DFfn4tne-e-69xGLM.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CR9wWm5g-C6z513Mb.js → WarningsDrawerPage-C_nKfBpS-CgVWLVpY.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-CP6XbPoi-BIH8iyXn.js → ZeniAccountDetailPage-jYwDoLiN-C9ExO4Jo.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-B-8rvc59-BKuFOztM.js → ZeniAccountListViewPage-CWiWh2ld-BsZ-NitY.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BhUfl-Q9.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DmXuuPc3-LNpY_fdO.js → ZeniAccountPromoPage-DPab5PDZ-CdBoWbQ6.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-CiLrh0yu-AtE9vx6M.js → ZeniAccountSetupPage-Dbqa1LpU-DR-JNx31.js} +1 -1
- package/dist/assets/{ZeniCopyright-DIzbP27w-BBhz6Xwh.js → ZeniCopyright-SDIPg48K-6zG7DJUz.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CYZYkuN_-ZAbh5fe3.js → ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DsabBTTA.js → add-to-wallet-DgdBD8_G-4MTVGYLk.js} +1 -1
- package/dist/assets/{analytics-DyCH8fdj.js → analytics-DkApCpAh.js} +1 -1
- package/dist/assets/analyticsHelper-DAh0LrcL.js +1 -0
- package/dist/assets/{analyticsHelper-CirorDP7-BBwgJh2i.js → analyticsHelper-DfCXurTN-CSH8s8BS.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-u4TBRWYh.js → arrow-south-east-round-PEovUgvH-sjXlUHVP.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CKdpG0Wv.js → auto-transfer-rule-mbafm5D3-8P5UKTjR.js} +1 -1
- package/dist/assets/{chartTypes-B9iWOG3r-B1tHasb2.js → chartTypes-H306f0ce-DSh0OTeZ.js} +1 -1
- package/dist/assets/{commonDimensions-SFn2jHVc-W5oDY-Cl.js → commonDimensions-CWffpElu-DyTXC1xY.js} +1 -1
- package/dist/assets/commonTypes-DP3nDhtI-D-fLD29s.js +1 -0
- package/dist/assets/{constants-BPypkR2d.js → constants-42un7CRh.js} +1 -1
- package/dist/assets/{core-abG3s-mt.js → core-DQ8U4CJb.js} +1 -1
- package/dist/assets/{dash.all.min-BxgXbuTP.js → dash.all.min-xDoItceu.js} +1 -1
- package/dist/assets/{detailCommon-BTjqps8N-BxbaqYHY.js → detailCommon-CfrL4ryy-K2hvWKyD.js} +2 -2
- package/dist/assets/downloadPdf-C1zKY9Rq-Bj2M-x0n.js +1 -0
- package/dist/assets/{empty-CpBaMiET.js → empty-DBMIDect.js} +1 -1
- package/dist/assets/{empty-DqczoxtD.js → empty-DMdKDWd5.js} +1 -1
- package/dist/assets/epic-av5bi8Jm.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-muscVLug.js → gift-box-Cmt9OgIZ-CKZgCX5V.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BDzwyc71.js → graphic-no-data-l-DU4J8fDt-B74xUk4A.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DuFj4Okf.js → graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BnjdTShZ.js → handshake-BPg58FML-ci6EVnAm.js} +1 -1
- package/dist/assets/helper-Byvbf3nO-BTmT7Zux.js +223 -0
- package/dist/assets/{index-c9CJIpO5.js → index-BIYLqgct.js} +4065 -4076
- package/dist/assets/{index-BR6z2Cuo.js → index-C-yZdmSC.js} +1 -1
- package/dist/assets/{index-CLsoD8lW.js → index-CP7n6qbn.js} +1 -1
- package/dist/assets/{index-DKJteqIE.js → index-Ci8_ElRT.js} +1 -1
- package/dist/assets/{index-BBfcm2Yq.js → index-DlHdI3-w.js} +1 -1
- package/dist/assets/{index-CzmKgKhh.js → index-MLR605z1.js} +1 -1
- package/dist/assets/{index-CRcaYiy_.js → index-uFwLgEj2.js} +1 -1
- package/dist/assets/{lexical-Ce5kgHxh.js → lexical-CvUIM9vD.js} +1 -1
- package/dist/assets/{liveblocks-CPDN-bxu.js → liveblocks-DXGUxn7J.js} +1 -1
- package/dist/assets/{lottie-DoLcJmSl.js → lottie-C1yptpVV.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-lTETWBpR.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BywQAVX8-BWy9Izzl.js → mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DxWz5zBn.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BCRaNO17-Byu958vH.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-aNtvWBak.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CKjqanKd-DENH9FkH.js → mapTimeframeBalancesToTreeNode-DRCseSgo-Bs0MPeVL.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-DmtLnyQB.js +1 -0
- package/dist/assets/{mui-D41H02IU.js → mui-rLvQ8A4a.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-22LFYKTK.js → page-detail-CWX5S47F-DxBKGqnW.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-DEBUIxiL.js → radio-default-CiSgisfh-D50TMWyl.js} +1 -1
- package/dist/assets/{react--SQFx4Kx.js → react-BFvwO_Qx.js} +1 -1
- package/dist/assets/{react-CGgueq7f.js → react-BGRcEI9e.js} +1 -1
- package/dist/assets/{react-Cm0EHNfW.js → react-CD-rvAYw.js} +1 -1
- package/dist/assets/{react-BqjJcaMR.js → react-CKPzfXiX.js} +1 -1
- package/dist/assets/{react-DUspGHoH.js → react-CaPJ_R38.js} +2 -2
- package/dist/assets/{react-CtY0Cknp.js → react-CeXW-10t.js} +1 -1
- package/dist/assets/{react-DDATozhB.js → react-D5l7wk4q.js} +2 -2
- package/dist/assets/{react-B04F0wBA.js → react-XCvfp0dN.js} +1 -1
- package/dist/assets/{recharts-B5Zd2InX.js → recharts-BYppTjSs.js} +1 -1
- package/dist/assets/{sentry-BhPnLTGd.js → sentry-DhNwX3jk.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CNdwFJ12.js → shield-DOlUxcFf-1dcmCA6e.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BDzeodcz-CM7cQRcs.js +1 -0
- package/dist/assets/{toChartData-mAeXlYNV-BLp7cdZE.js → toChartData-ILqaSUrn-x9ixmlfa.js} +1 -1
- package/dist/assets/{uploadAttachment-BAVcYsOo-CMKItCdP.js → uploadAttachment-BO1VJaKW-DrgLpT8c.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-MU4yxAi1.js → uploadReceipts-Dge0cNF1-BX-9R6_Z.js} +1 -1
- package/dist/assets/{url-DE7671Su.js → url-C7FJoqre.js} +1 -1
- package/dist/assets/{url-Cp1oOvVY.js → url-DrmuGGE4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DzBEsit3.js → useLongPress-GCK2COYQ-nce713S8.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-D5KVlHSv.js → usp-line-BBd1wKwW-BIn3NV9C.js} +1 -1
- package/dist/assets/{utils-B-wjDpf0.js → utils-BdIPH7k8.js} +1 -1
- package/dist/assets/{zeni-epic-state-CqFcQgfC.js → zeni-epic-state-DwkN4IvA.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DBm3kSeD-DgZsiQsc.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-CQuhFPxK.js +0 -59
- package/dist/assets/AccountRow-D5S7-AKx-DFEd0gRx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DS6Q-S6T.js +0 -6
- package/dist/assets/AppBasePage-BhcC9bkH-DY-zqUv_.js +0 -71
- package/dist/assets/BillingSettingsPage-Br6yvoDv-BVZt-mIm.js +0 -44
- package/dist/assets/BusinessVerificationPage-orZNuqPA-DN6BhpnL.js +0 -138
- package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DO14uvec.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-uWaZK7Rq.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-Dzg2SYW5.js +0 -260
- package/dist/assets/CompanyPassportPage-DrNN8V93-TiBtr88b.js +0 -574
- package/dist/assets/ConfettiBurst-arWK85ba-Dxqk_qSJ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-BdhST5rY.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-Bqk6osmf.js +0 -66
- package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-MYrZCy5c.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-C8g6lMFj-DhpqWc07.js +0 -12
- package/dist/assets/EditPeoplePage-XMLOGiwc-DwxtBXpN.js +0 -55
- package/dist/assets/EntityDetailPage-CtIcsfb_-CIHO5j6s.js +0 -18
- package/dist/assets/InsightsSection-CwYXRQBN-ojTww2r2.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-YuglosZT-CTIGwFwe.js +0 -292
- package/dist/assets/InvitePeoplePage-C0n05Aw5-Dsg4dRJP.js +0 -12
- package/dist/assets/InvoiceUploadSection-UXlA1jqD-LW2eaB-9.js +0 -140
- package/dist/assets/LabeledAddressValueField-ClBxKhYQ-IyPU1pJT.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-B8sC2eqF-Cc7yYQUL.js +0 -16
- package/dist/assets/LabeledDocumentField-D520KMMj-Ca86pecT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-BwoAMxs1-CvSeEIy1.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-C-VMVcjc.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-BY_F4ivB.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-je_9TTbm.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-B16t-MQB.js +0 -31
- package/dist/assets/MailingDetailsSection-wmwBSANL-CATLTkX5.js +0 -21
- package/dist/assets/MyProfileSettingsPage-BKCzLBD9-POWCCK43.js +0 -85
- package/dist/assets/NoDataTable-0l_09Wxn-B_nhuKqo.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-COZLtgYN.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-CZjIpPrr.js +0 -107
- package/dist/assets/PeoplePage-z8ZDLJp4-C8fD_Q1w.js +0 -675
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-DOAEAlFb.js +0 -32
- package/dist/assets/RoleWithToolTip-CSC65531-D3hYJ9aX.js +0 -22
- package/dist/assets/ScheduleSequenceTable-DQlMdMO0-DgF9ktNo.js +0 -324
- package/dist/assets/SignIn-1fhq5RCV-CQjnMsbe.js +0 -491
- package/dist/assets/SignInScreen-DXMVSzLX.js +0 -1
- package/dist/assets/StatementItem-ChfKUse--4KWnN4Iu.js +0 -31
- package/dist/assets/StatementsPage-BAg2GA58-DVyh5doh.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-CD1f2F9o-Co90HEzt.js +0 -31
- package/dist/assets/TransactionDetailPage-DLiA4XLe-CZEokP0a.js +0 -903
- package/dist/assets/TransactionList-CFz4Gf7Z-DDUxkM97.js +0 -153
- package/dist/assets/TransactionListPage-BxtVNNib-BUJHEG2b.js +0 -35
- package/dist/assets/TreasuryStatementsPage-Beixz0Ou-CYBR4Dk7.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-BW2fTHN--Cd-eOWfE.js +0 -58
- package/dist/assets/Vendor2FAPopup-BcnPzCr1-iYA-Hjx9.js +0 -1
- package/dist/assets/VendorACHDetailsPage-D5SdrDy6-C-r4VMgU.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-CYnwGxHP.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-BHvGh8LV.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-0Xy7FGjE.js +0 -14
- package/dist/assets/analyticsHelper-THi-SdkR.js +0 -1
- package/dist/assets/downloadPdf-CqjEwKR5-D2e_dzuk.js +0 -1
- package/dist/assets/epic-ChSldDcQ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-zvmTcvmi.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-nn83cq1C-BG8mZHCj.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-Ksjnj8VQ.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-DZGfgxcv.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-eIiX1Dum.js +0 -4
- package/dist/assets/toCOABalancesWithID-DvC1wuTC-BtXflXCv.js +0 -1
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
import{e as G,J as U,F as J,V as t,ae as Y,aR as ae,a9 as re,cG as ne,bD as se,T as de,ac as ce,aS as ue,o as i,y as g,am as Q,kU as K,e$ as pe,al as Z,N as me,f1 as he,b as T,u as d,cP as ge,cQ as fe,cZ as be,p as L,cT as xe,c$ as ye,d0 as we,bI as $e,bJ as F,kV as ve,c as X,bH as Se}from"./index-c9CJIpO5.js";import{a as B}from"./sentry-BhPnLTGd.js";import{n as u}from"./mui-D41H02IU.js";import{bL as R,bh as je}from"./zeni-epic-state-CqFcQgfC.js";import{Y as Fe}from"./LabeledDocumentField-D520KMMj-Ca86pecT.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a9791a70-d8a2-4564-8018-5d23e657212d",e._sentryDebugIdIdentifier="sentry-dbid-a9791a70-d8a2-4564-8018-5d23e657212d")}catch{}})();const De=({name:e,registerOptions:l,defaultValue:r,isDisabled:m,style:s,placeholder:n})=>{const{control:f,formState:{errors:C}}=xe(),P=G(),z=ye(C,e??""),b=o=>({value:o.value,label:o.label}),y=o=>o.map(p=>b(p)),O=o=>{if(!(o==null||!o))return{value:o,label:r.allOptions.find(p=>p.value===o)?.label??o}},h=o=>o.map(p=>O(p)),k={container:o=>({...o,width:"100%",...s}),menu:o=>({...o,backgroundColor:P.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${P.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:o=>({...o,borderRadius:i.sp1})},w={hasError:z};return t.jsx(we,{name:e,control:f,defaultValue:r,rules:l,render:({field:{onChange:o,onBlur:p,value:v,ref:V}})=>t.jsx($e,{...w,ref:V,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:n,value:h(v.selectedOptions),options:y(v.allOptions),onChange:a=>{o({selectedOptions:a.map(c=>c?.value),allOptions:v.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:p,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Pe,Option:Te,Input:Ie,MultiValue:Ce,MultiValueLabel:ze,MultiValueRemove:Oe,ValueContainer:ke,DropdownIndicator:Ue,IndicatorSeparator:Ye,Placeholder:Ee,ClearIndicator:Ve},hideSelectedOptions:!1,styles:k,isDisabled:m!=null})})},Pe=e=>{const{menuIsOpen:l,isFocused:r,isDisabled:m,selectProps:s}=e,{value:n,hasError:f}=s;return t.jsx(Me,{menuIsOpen:l,isFocused:r,isDisabled:m,optionsLen:n.length,hasError:f,children:t.jsx(F.Control,{...e,className:"select-control",children:e.children})})},ke=e=>{const{selectProps:l}=e,{value:r}=l;return t.jsxs(F.ValueContainer,{...e,className:"select-value-container",children:[e.children,t.jsx(_e,{className:"selected-options",children:r.map(m=>m.label).join(", ")})]})},Ie=e=>{const{selectProps:l}=e,{placeholder:r,value:m}=l;return t.jsx(F.Input,{...e,autoComplete:"new-password",placeholder:m.length===0?r:void 0,children:e.children})},Ce=e=>t.jsx(F.MultiValue,{...e,children:e.children}),ze=e=>{const{data:l}=e;return t.jsx(F.MultiValueLabel,{...e,children:l.label})},Oe=e=>t.jsx(F.MultiValueRemove,{...e,children:t.jsx(ee,{style:{marginTop:"2px"}})}),Ve=e=>t.jsx(F.ClearIndicator,{...e,children:t.jsx(ee,{})}),Ee=()=>null,Te=e=>{const{isSelected:l,isDisabled:r,isFocused:m}=e;return t.jsx(Le,{isFocused:m,isSelected:l,isDisabled:r,children:t.jsx(F.Option,{...e,className:"select-option",children:t.jsxs(Be,{children:[t.jsx(ve,{countryCode3:e.value}),t.jsx(Ne,{children:t.jsx(Re,{isSelected:l,isDisabled:r,children:e.label})}),l?t.jsxs(We,{children:[t.jsx(He,{className:"right-tick-icon"}),t.jsx(X,{className:"close-tick-icon"})]}):null]})})})},Me=u.div`
|
|
2
|
-
width: 100%;
|
|
3
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
4
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
5
|
-
|
|
6
|
-
.select-control {
|
|
7
|
-
border: none;
|
|
8
|
-
padding: 0 ${i.sp3};
|
|
9
|
-
min-height: 100%;
|
|
10
|
-
background-color: inherit;
|
|
11
|
-
box-shadow: none;
|
|
12
|
-
|
|
13
|
-
&:hover {
|
|
14
|
-
fill: ${e=>e.theme.colors.primary};
|
|
15
|
-
background-color: ${e=>e.hasError?L.importantLight:e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
16
|
-
border: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
width: auto;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
|
|
22
|
-
.multi-select-field__indicators {
|
|
23
|
-
display: ${e=>e.isFocused?"flex":"none"};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.multi-select-field__clear-indicator {
|
|
27
|
-
padding: 0;
|
|
28
|
-
margin-left: ${i.sp2};
|
|
29
|
-
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
transition: none;
|
|
31
|
-
&:hover {
|
|
32
|
-
background-color: transparent;
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.multi-select-field__value-container {
|
|
38
|
-
gap: ${e=>e.isFocused?`${i.sp2}`:`${i.sp0}`};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.select-value-container {
|
|
43
|
-
width: 100%;
|
|
44
|
-
padding: 6px ${i.sp0};
|
|
45
|
-
overflow: auto;
|
|
46
|
-
display: ${e=>e.isFocused===!1&&e.optionsLen===0?"block":"flex"};
|
|
47
|
-
justify-content: flex-start;
|
|
48
|
-
align-items: center;
|
|
49
|
-
flex-wrap: wrap;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
|
|
52
|
-
${T.extraSmallRegular.css}
|
|
53
|
-
|
|
54
|
-
.selected-options {
|
|
55
|
-
display: ${e=>e.isFocused?"none":"block"};
|
|
56
|
-
overflow: initial;
|
|
57
|
-
text-overflow: unset;
|
|
58
|
-
white-space: initial;
|
|
59
|
-
text-align: right;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.multi-select-field__multi-value {
|
|
63
|
-
padding: 1px ${i.sp2};
|
|
64
|
-
min-width: fit-content;
|
|
65
|
-
background-color: transparent;
|
|
66
|
-
margin: ${i.sp0};
|
|
67
|
-
display: ${e=>e.isFocused?"flex":"none"};
|
|
68
|
-
color: ${e=>e.theme.colors.primary};
|
|
69
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
border-radius: ${i.sp1};
|
|
72
|
-
:last-of-type {
|
|
73
|
-
margin: ${i.sp0};
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.multi-select-field__input-container {
|
|
78
|
-
display: flex;
|
|
79
|
-
width: ${e=>e.isFocused===!1&&e.optionsLen===0?"100%":e.isFocused===!1&&e.optionsLen>0?i.sp0:"fit-content"};
|
|
80
|
-
${T.standardRegular.css};
|
|
81
|
-
color: ${e=>e.theme.colors.primary};
|
|
82
|
-
margin: ${i.sp0};
|
|
83
|
-
cursor: inherit;
|
|
84
|
-
color: ${e=>e.hasError?L.important:e.theme.colors.primary};
|
|
85
|
-
|
|
86
|
-
> input {
|
|
87
|
-
text-align: ${e=>e.isFocused===!1&&e.optionsLen===0?"right":"initial"};
|
|
88
|
-
align-items: center;
|
|
89
|
-
z-index: 2;
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
cursor: inherit;
|
|
92
|
-
|
|
93
|
-
::placeholder {
|
|
94
|
-
color: ${e=>e.hasError?L.important:e.theme.colors.grey1};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
:disabled {
|
|
99
|
-
visibility: visible;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.multi-select-field__multi-value__label {
|
|
105
|
-
color: inherit;
|
|
106
|
-
padding: 0;
|
|
107
|
-
margin-right: ${i.sp1};
|
|
108
|
-
${T.standardRegular.css};
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
text-overflow: ellipsis;
|
|
111
|
-
white-space: nowrap;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.multi-select-field__multi-value__remove {
|
|
115
|
-
padding: 0;
|
|
116
|
-
&:hover {
|
|
117
|
-
background-color: transparent;
|
|
118
|
-
color: ${e=>e.theme.colors.primary};
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
`,_e=u(Z)`
|
|
123
|
-
color: ${e=>e.theme.colors.primary};
|
|
124
|
-
width: 100%;
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
text-overflow: ellipsis;
|
|
127
|
-
white-space: nowrap;
|
|
128
|
-
text-align: right;
|
|
129
|
-
`,Le=u.div`
|
|
130
|
-
.select-option {
|
|
131
|
-
${T.smallRegular.css};
|
|
132
|
-
height: ${i.sp6};
|
|
133
|
-
padding: 9px ${i.sp3};
|
|
134
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
135
|
-
background-color: ${e=>e.isSelected||e.isFocused?e.theme.colors.background:e.theme.colors.grey5};
|
|
136
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
137
|
-
border-top: none;
|
|
138
|
-
|
|
139
|
-
.close-tick-icon {
|
|
140
|
-
display: none;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&:hover {
|
|
144
|
-
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
145
|
-
color: ${e=>e.isDisabled?e.theme.colors.champion:e.theme.colors.primary};
|
|
146
|
-
|
|
147
|
-
.right-tick-icon {
|
|
148
|
-
display: none;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.close-tick-icon {
|
|
152
|
-
display: inline-block;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
`,Be=u.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: row;
|
|
159
|
-
align-items: center;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
`,Re=u.label`
|
|
162
|
-
padding-right: 10px;
|
|
163
|
-
overflow: hidden;
|
|
164
|
-
text-overflow: ellipsis;
|
|
165
|
-
white-space: nowrap;
|
|
166
|
-
cursor: ${e=>e.isDisabled?"not-allowed":e.isSelected?"default":"pointer"};
|
|
167
|
-
`,Ne=u.div`
|
|
168
|
-
width: 100%;
|
|
169
|
-
display: flex;
|
|
170
|
-
align-items: center;
|
|
171
|
-
`,We=u.div`
|
|
172
|
-
display: flex;
|
|
173
|
-
`,He=u(Se)`
|
|
174
|
-
width: 12px;
|
|
175
|
-
height: 12px;
|
|
176
|
-
margin-right: 2px;
|
|
177
|
-
color: ${e=>e.theme.colors.primary};
|
|
178
|
-
`,ee=u(X)`
|
|
179
|
-
width: ${i.sp3};
|
|
180
|
-
height: ${i.sp3};
|
|
181
|
-
color: ${e=>e.theme.colors.primary};
|
|
182
|
-
`,Ue=()=>null,Ye=()=>null,$={width:new g(343,580,726),height:new g(d[6],d[6]),controlHeight:new g(d[6],d[6]),paddingTopBottom:new g(d[2],d[2]),marginRight:new g(d[2],d[2]),labelMarginLeft:new g(d[3],d[4]),labelMarginRight:new g(d[3],d[4]),labelMarginTop:new g(d[2],d[2])};function qe({isDisabled:e,label:l,multiSelectField:r,style:m}){const s=U();return t.jsxs(Ae,{size:s,style:m,isDisabled:e!=null,children:[t.jsx(be,{isDisabled:e,label:l.label,htmlFor:r.name,style:{marginLeft:$.labelMarginLeft.value(s),marginRight:$.labelMarginRight.value(s),marginTop:$.labelMarginTop.value(s),width:l.width??"auto"}}),t.jsx(De,{...r,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",minHeight:$.controlHeight.value(s)}})]})}const Ae=u.div`
|
|
183
|
-
display: flex;
|
|
184
|
-
flex-direction: row;
|
|
185
|
-
align-items: flex-start;
|
|
186
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
187
|
-
width: ${e=>$.width.valuePx(e.size)};
|
|
188
|
-
min-height: ${e=>$.height.valuePx(e.size)};
|
|
189
|
-
padding-right: ${e=>$.marginRight.valuePx(e.size)};
|
|
190
|
-
padding-top: ${e=>$.paddingTopBottom.valuePx(e.size)};
|
|
191
|
-
padding-bottom: ${e=>$.paddingTopBottom.valuePx(e.size)};
|
|
192
|
-
|
|
193
|
-
:first-of-type {
|
|
194
|
-
border-top-left-radius: inherit;
|
|
195
|
-
border-top-right-radius: inherit;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
:last-of-type {
|
|
199
|
-
border-bottom-left-radius: inherit;
|
|
200
|
-
border-bottom-right-radius: inherit;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
:first-of-type {
|
|
204
|
-
border-top-left-radius: inherit;
|
|
205
|
-
border-top-right-radius: inherit;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
:last-of-type {
|
|
209
|
-
border-bottom-left-radius: inherit;
|
|
210
|
-
border-bottom-right-radius: inherit;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
&:focus-within {
|
|
214
|
-
z-index: 2;
|
|
215
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
216
|
-
.select-control {
|
|
217
|
-
background-color: ${e=>e.theme.colors.background};
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
&:hover {
|
|
222
|
-
z-index: 2;
|
|
223
|
-
outline: ${e=>e.isDisabled===!0?"none":`1px solid ${e.theme.colors.primary}`};
|
|
224
|
-
.select-control {
|
|
225
|
-
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
`,q={largeLabelWidth:new g(150,210,252),paddingBottom:new g(d[3],d[2])},Ge=({sectionId:e,internationalOnboardingDetails:l,filesEndPoint:r,authParams:m,isReadonly:s,deleteFileStatusById:n,updateFileStatusById:f,onEditFileName:C,onDeleteFile:P,updateFilesEntity:z})=>{const b=U(),{verificationFormLocalData:y}=l,{dateFormat:{visual:O},common:{documents:h},commonSetUp:{businessVerification:k},spendManagement:{billPay:{vendorCreation:{wireDetails:{international:w}}}}}=J.getLocalizedStrings(),o=q.largeLabelWidth.value(b),[p,v]=B.useState(!1),V=l.verificationFormFields.slice().sort((a,c)=>a.type==="file"&&c.type!=="file"?-1:0);return t.jsx(Je,{children:t.jsx(Qe,{children:V.map(a=>{switch(a.type){case"file":return t.jsxs(t.Fragment,{children:[t.jsx(Fe,{name:S(e,a.name),isDisabled:s,sizeLimit:fe,deleteFileStatusById:n,updateFileStatusById:f,filesEndPoint:r,authParams:m,label:{label:a.label,width:o},filemetadataPayload:{documentType:"certificate_of_good_standing",purposeId:"international_wire_business_verification",documentSide:"front"},file:l.userFiles.find(c=>c.fileId===y[a.name]),acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},hasError:p,updateFilesEntity:z,onEditFileName:C,onDeleteFile:P,onFileSizeError:c=>v(c),placeholderText:k.dragDropClickPlaceholder,showPhotoPicker:!0,useMobileCam:!0,showWebCamPopUpCloseIcon:!0},S(e,a.name)),s!=="readonly"?t.jsx(Ke,{windowSize:b,isError:!1,children:h.formatDocumentText10MB}):null,t.jsx(_,{})]});case"date":return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isDisabled:s,label:{label:a.label+w.colon,width:o},style:{paddingBottom:q.paddingBottom.valuePx(b)},dateField:{name:S(e,a.name),placeholder:a.placeholder,defaultValue:y[a.name]?R(y[a.name]):void 0,dateFormat:O.defaultInput,maxDate:je().subtract(1,"day"),minDate:R("01 Jan 1900"),autoComplete:"off",registerOptions:{required:!0}}},S(e,a.name)),t.jsx(_,{})]});case"enum":return a.isMultipleValuesAllowed===!1?t.jsxs(t.Fragment,{children:[t.jsx(he,{isDisabled:s,label:{label:a.label+w.colon,width:o},singleSelectPickerField:{name:S(e,a.name),placeholder:a.placeholder,optionHeight:d[6],optionTextStyle:T.smallRegular,maxMenuHeight:206,registerOptions:{required:!0,validate:c=>c!=null&&!!c.selectedOption},defaultValue:{selectedOption:y[a.name],allOptions:a.fieldValues.map(c=>({label:c.description,value:c.code}))}}},S(e,a.name)),t.jsx(_,{})]}):t.jsx(qe,{isDisabled:s,label:{label:a.label+w.colon,width:o},style:{zIndex:0},multiSelectField:{name:S(e,a.name),placeholder:a.placeholder,registerOptions:{required:!0,validate:c=>c!=null&&!!c.selectedOptions&&c.selectedOptions.length>0},defaultValue:K(y[a.name],a.fieldValues.map(c=>c.code))}},S(e,a.name));default:return t.jsx(_,{})}})})})},S=(e,l)=>`${e}.formData.${l}`,Je=u.div`
|
|
229
|
-
display: flex;
|
|
230
|
-
flex-direction: column;
|
|
231
|
-
`,Qe=u.div`
|
|
232
|
-
display: flex;
|
|
233
|
-
flex-direction: column;
|
|
234
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
235
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
236
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
237
|
-
border-radius: ${i.sp2};
|
|
238
|
-
`,_=u.div`
|
|
239
|
-
display: flex;
|
|
240
|
-
flex: 1;
|
|
241
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
242
|
-
min-height: 1px;
|
|
243
|
-
max-height: 1px;
|
|
244
|
-
`,Ke=u(Q)`
|
|
245
|
-
padding: ${i.sp1} ${i.sp4};
|
|
246
|
-
|
|
247
|
-
background: ${e=>e.theme.colors.grey4};
|
|
248
|
-
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
249
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
250
|
-
color: ${e=>e.isError?L.important:e.theme.colors.grey1};
|
|
251
|
-
`,j={width:new g(343,580,726),titleWidth:new g(343,580,726,826),subTitlePaddingTop:new g(12,d[3]),subTitlePaddingBottom:new g(d[3],d[3]),verificationDetailsRowGap:new g(12,d[5],d[5]),termsPaddingLeftRight:new g(d[0],d[3])},Ze={title:new me("standardSemiBold","largeSemiBold")},H="intlWireVerification",xt=({internationalOnboardingDetails:e,filesEndPoint:l,authParams:r,isReadonly:m,analytics:s,isLocalCurrencyEnabled:n,onEditFileName:f,onDeleteFile:C,updateFilesEntity:P,onFormDataChange:z,onCancelClick:b,onSubmitClick:y})=>{const O=G(),h=U(),k="IntlWireverificationPage",{verificationFormFetchState:w,verificationFormSubmitState:o}=e,{commonSetUp:{internationalWire:p},common:{footer:v},dateFormat:{analytics:{YYYYDashMMDashDDFormat:V}}}=J.getLocalizedStrings(),a=t.jsxs(ot,{children:[p.terms1,t.jsx(Y,{href:p.tosUrl,linkText:p.tos}),p.and,t.jsx(Y,{href:p.privacyPolicyUrl,linkText:p.privacyPolicy})]}),c=ae(o.fetchState),M=re({mode:"all",reValidateMode:"onChange",defaultValues:B.useMemo(()=>Xe(e),[e])}),{isValid:te}=M.formState;B.useEffect(()=>{c==="In-Progress"&&o.fetchState==="Completed"&&b()},[c,o,b]);const ie=M.handleSubmit(()=>{te&&(s?.trackSubmitIntlWire(n),y())}),le=async N=>{const x=N[H].formData;if(x!=null){let E={};Object.keys(x).forEach(D=>{const W=e.verificationFormFields.find(I=>I.name===D);if(x[D]!=null&&W!=null){let I;switch(W.type){case"file":I=x[D].fileId;break;case"date":I=R(x[D].toString()).format(V);break;default:I=W.isMultipleValuesAllowed===!0?x[D].selectedOptions.map(oe=>pe(oe)):x[D].selectedOption;break}E={...E,[D]:I}}}),z(E)}};return B.useEffect(()=>{const N=M.watch((x,{name:E})=>{E!=null&&x!=null&&ne(()=>le(x))});return()=>{N.unsubscribe()}}),t.jsxs(et,{children:[t.jsx(se,{title:p.title,backgroundColor:O.colors.grey4,style:{zIndex:4},onBackClick:()=>{b()},showBackButton:!0,showMenuIcon:!1,source:"InternationalWireVerificationPage"}),t.jsxs(it,{windowSize:h,children:[t.jsx(tt,{windowSize:h,children:p.subTitle}),w.fetchState==="In-Progress"||w.fetchState==="Not-Started"?t.jsx(lt,{children:t.jsx(de,{size:"ExtraLarge",start:!0})}):t.jsx(ce,{...M,children:t.jsxs("form",{id:A(k),onSubmit:ie,children:[t.jsx(at,{windowSize:h,children:p.header}),t.jsx(Ge,{internationalOnboardingDetails:e,sectionId:H,updateFilesEntity:P,onEditFileName:f,onDeleteFile:C,isReadonly:m,filesEndPoint:l,authParams:r,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById})]})})]}),m!=="readonly"&&w.fetchState==="Completed"?t.jsx(ue,{formId:A(k),primaryBtn:{label:v.submit,style:{width:"auto",minWidth:h==="small"?"auto":"82px"},isLoading:o.fetchState==="In-Progress"},containerStyle:{width:h==="small"?j.width.valuePx(h):"auto",justifyContent:h==="small"?"space-between":"center"},helperStyle:{width:h==="small"?j.width.valuePx(h):"auto",paddingLeft:j.termsPaddingLeftRight.valuePx(h),paddingRight:j.termsPaddingLeftRight.valuePx(h),textAlign:h==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:v.cancel,style:{width:h==="small"?"auto":"82px"},onClick:()=>{b()}},helperText:a,style:{padding:`12px ${i.sp3}`,zIndex:4}}):null]})},Xe=e=>{const{verificationFormFields:l,verificationFormLocalData:r,userFiles:m}=e,s={};return l.forEach(n=>{n.type==="enum"?n.isMultipleValuesAllowed===!1?s[n.name]={selectedOption:r[n.name],allOptions:n.fieldValues.map(f=>({label:f.description,value:f.code}))}:s[n.name]=K(r[n.name],n.fieldValues.map(f=>f.code)):n.type==="date"?s[n.name]=r[n.name]?R(r[n.name]).toDate():void 0:n.type==="file"?s[n.name]=m.find(f=>f.fileId!==r[n.name]):s[n.name]=r[n.name]}),{[H]:{formData:s}}},A=e=>`${e}_form`,et=u.div`
|
|
252
|
-
display: flex;
|
|
253
|
-
min-height: 100%;
|
|
254
|
-
flex-direction: column;
|
|
255
|
-
width: 100%;
|
|
256
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
257
|
-
`,tt=u(Z)`
|
|
258
|
-
color: ${e=>e.theme.colors.hero};
|
|
259
|
-
display: flex;
|
|
260
|
-
justify-content: center;
|
|
261
|
-
width: ${e=>j.titleWidth.valuePx(e.windowSize)};
|
|
262
|
-
padding-top: ${e=>j.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
263
|
-
padding-bottom: ${e=>j.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
264
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
265
|
-
`,it=u.div`
|
|
266
|
-
display: flex;
|
|
267
|
-
justify-content: flex-start;
|
|
268
|
-
height: 100%;
|
|
269
|
-
overflow-y: auto;
|
|
270
|
-
flex-direction: column;
|
|
271
|
-
align-items: center;
|
|
272
|
-
padding-bottom: ${i.sp9};
|
|
273
|
-
row-gap: ${e=>j.verificationDetailsRowGap.valuePx(e.windowSize)};
|
|
274
|
-
`,lt=u.div`
|
|
275
|
-
display: flex;
|
|
276
|
-
width: 100%;
|
|
277
|
-
height: calc(100vh - 110px);
|
|
278
|
-
flex-direction: row;
|
|
279
|
-
justify-content: center;
|
|
280
|
-
align-items: center;
|
|
281
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
282
|
-
`,ot=u(Q)`
|
|
283
|
-
text-align: center;
|
|
284
|
-
max-width: 750px;
|
|
285
|
-
color: ${e=>e.theme.colors.hero};
|
|
286
|
-
`,at=u.div`
|
|
287
|
-
display: flex;
|
|
288
|
-
align-items: center;
|
|
289
|
-
margin-bottom: ${i.sp3};
|
|
290
|
-
color: ${e=>e.theme.colors.primary};
|
|
291
|
-
${e=>`${Ze.title.style(e.windowSize)}`};
|
|
292
|
-
`;export{xt as default,A as uniqueName};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{J as G,fU as H,e as ee,a9 as te,u as f,V as d,gQ as le,ac as ne,aQ as oe,aS as se,o as re,y as D,cC as Z,fX as q,fY as N,fZ as V,F as ie,R as ae}from"./index-c9CJIpO5.js";import{a as x}from"./sentry-BhPnLTGd.js";import{n as Q}from"./mui-D41H02IU.js";import{FF as de,bg as ce}from"./zeni-epic-state-CqFcQgfC.js";import{f as ue}from"./AllUserItems-CUPJzOon-ByAd3cpG.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.js";import"./LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-BmguFMb2.js";import"./RoleWithToolTip-CSC65531-D3hYJ9aX.js";import"./LabeledZeniRolesDropDownField-UiY4N_NF-Djo3S0ey.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d0b1943c-db36-4b75-acf0-03cccee153b8",e._sentryDebugIdIdentifier="sentry-dbid-d0b1943c-db36-4b75-acf0-03cccee153b8")}catch{}})();const S={containerPaddingLeft:new D(f[3],f[6],f[8]),containerPaddingRight:new D(f[3],f[6],f[8]),buttonWidth:new D(85,85)},A="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Pe=({peopleDetails:e,managersList:t,classList:g,controllersList:z,mode:o,isZeniTenant:_,onPeopleLocalDataUpdated:T,onCloseClick:$,onSaveClick:r,isReimbursementDisabled:O,isZeniAccountsDisabled:s,isChargeCardDisabled:k,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:w,isLiteRoleDisabled:U})=>{const c=G(),[K,F]=x.useState(-1),[j,P]=x.useState(""),B=x.useRef(null),L=x.useMemo(()=>H(O,s,k,R,w,U,E),[O,s,k,R,w,U,E]),W=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,L,t,g,R,w),values:J(e.people,o,L,t,g,R,w)}),Y=i.handleSubmit(()=>{M()?r():console.warn("Invite People form error")}),M=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((b,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=b;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${C}.role`,{type:"required"}),n=!1);else{const y=v?.userRole.selectedRole;(y!=null&&v!=null?v.productsByUserRole[y].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&y!=="investor_or_banker"&&!R&&!w&&(i.setError(`${I}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&y!=="investor_or_banker"&&(i.setError(`${I}.${C}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const b=[],{userItems:C}=n;C.forEach(a=>{let v={};if(o==="zeni_only")v={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const y=ce(m);v={email:a.email,role:m,departmentId:y?void 0:a.department?.selectedOption?.value,managerId:y?void 0:a.manager?.selectedUser}}b.push(v)}),T(b)};return x.useEffect(()=>{const l=i.watch((n,{name:b})=>{b!=null&&n!=null&&X(b,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=B.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):P(""))};return c==="small"?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&P(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,j,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:j,backgroundColor:W.colors.grey4,style:{zIndex:4},onCloseClick:$,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:B,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${A}_form`,onSubmit:Y,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:K,updateDeleteConfirmationIndex:F,mode:o,isZeniTenant:_,classList:g,managersList:t,controllersList:z,isBankingOnlyTenant:R,isCardsOnlyTenant:w,customerRoleOptions:L,isEdit:!1})})})]}),d.jsx(se,{formId:`${A}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:$},separatorStyle:{marginRight:re.sp4}})]})},J=(e,t,g,z,o,_,T)=>{const $=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?V(e[0].role):void 0,allRootRole:N(_,T)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,O)=>({userIndex:O,email:r.email,role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?V(r.role):void 0,allRootRole:N(_,T)},productsByUserRole:q(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:z,selectedUser:r.managerId}})):$}},Se=(e,t)=>`${e}.${t}`,me=Q.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
-
|
|
6
|
-
padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
-
padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
`,pe=Q(ae)`
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
`;export{Pe as default,Se as uniqueName};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{e as s1,J as d1,F as q,V as l,T as K,o as i,p as d,y as B,gA as L1,gB as B1,aQ as J,cq as E1,cr as j1,cs as z1,as as A1,ba as c1,u as C,b as o1,a as T1,d as H1,ai as p1,gC as P1}from"./index-c9CJIpO5.js";import{a as t}from"./sentry-BhPnLTGd.js";import{n as o}from"./mui-D41H02IU.js";import R1 from"./AttachmentView-BNb1kv2i-DkhgYBN2.js";import{l as M1}from"./uploadReceipts-Dge0cNF1-MU4yxAi1.js";import"./liveblocks-CPDN-bxu.js";import"./core-abG3s-mt.js";import"./recharts-B5Zd2InX.js";import"./zeni-epic-state-CqFcQgfC.js";import"./lottie-DoLcJmSl.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="2e747ca2-fdb6-4094-aeaa-738493d69e01",e._sentryDebugIdIdentifier="sentry-dbid-2e747ca2-fdb6-4094-aeaa-738493d69e01")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new B(12,C[3]),billReceiptSize:new B(60,C[10]),rootContainerPaddingTop:new B(C[3],62),rootContainerPaddingRight:new B(C[3],C[6]),rootContainerPaddingBottom:new B(C[5],C[9]),rootContainerPaddingLeft:new B(C[3],C[8])},r1=o(T1)`
|
|
2
|
-
color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
|
|
3
|
-
white-space: pre-wrap;
|
|
4
|
-
text-align: center;
|
|
5
|
-
${e=>e.isPlaceholderText===!0?o1.largeRegular.css:o1.extraSmallRegular.css};
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: baseline;
|
|
8
|
-
`,n1=o(H1)`
|
|
9
|
-
color: ${e=>e.theme.colors.hero};
|
|
10
|
-
white-space: pre-wrap;
|
|
11
|
-
text-align: center;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: baseline;
|
|
14
|
-
`,a1=o(c1)`
|
|
15
|
-
color: ${e=>e.theme.colors.champion};
|
|
16
|
-
`,E=o.div`
|
|
17
|
-
padding: 0 2px;
|
|
18
|
-
`,D1=o.div`
|
|
19
|
-
height: 100%;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
flex: 1 1 auto;
|
|
24
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
border-radius: ${i.sp2};
|
|
27
|
-
padding: ${e=>g.memoPaddingTopBottomRight.valuePx(e.windowSize)};
|
|
28
|
-
align-items: center;
|
|
29
|
-
width: 100%;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
-
.uploadIconStyled {
|
|
33
|
-
fill: ${e=>e.theme.colors.grey1};
|
|
34
|
-
}
|
|
35
|
-
&:hover {
|
|
36
|
-
.uploadIconStyled {
|
|
37
|
-
fill: ${e=>e.theme.colors.primary};
|
|
38
|
-
}
|
|
39
|
-
.textContent {
|
|
40
|
-
color: ${e=>e.theme.colors.primary};
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`,m1=o.div`
|
|
44
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
45
|
-
border-radius: ${i.sp2};
|
|
46
|
-
display: flex;
|
|
47
|
-
flex: 1 1 auto;
|
|
48
|
-
width: 100%;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
align-items: center;
|
|
52
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
53
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
54
|
-
`,F1=o.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
box-sizing: border-box;
|
|
58
|
-
border-radius: ${i.sp2};
|
|
59
|
-
align-items: center;
|
|
60
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
61
|
-
justify-content: center;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
padding: ${e=>e.type==="w9"?i.sp0:e.showTitlebar===!0&&e.windowSize!=="small"?i.sp3:i.sp0};
|
|
65
|
-
img {
|
|
66
|
-
width: inherit;
|
|
67
|
-
height: inherit;
|
|
68
|
-
}
|
|
69
|
-
`,U1=o.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
align-items: center;
|
|
73
|
-
padding-top: ${e=>g.rootContainerPaddingTop.valuePx(e.windowSize)};
|
|
74
|
-
padding-right: ${e=>g.rootContainerPaddingRight.valuePx(e.windowSize)};
|
|
75
|
-
padding-bottom: ${e=>g.rootContainerPaddingBottom.valuePx(e.windowSize)};
|
|
76
|
-
padding-left: ${e=>g.rootContainerPaddingLeft.valuePx(e.windowSize)};
|
|
77
|
-
height: ${e=>e.windowSize==="small"&&e.showAutofill?"100%":e.windowSize==="small"?"490px":"auto"};
|
|
78
|
-
overflow: ${e=>e.windowSize==="small"?"unset":"hidden"};
|
|
79
|
-
width: ${e=>e.windowSize=="small"?"100%":"42%"};
|
|
80
|
-
background-color: ${e=>e.showAutofill&&e.windowSize!=="small"?d.overlayDark:e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
|
|
81
|
-
margin-top: ${e=>e.windowSize==="small"&&(e.type==="bill"||e.type==="w9")?"76px":"unset"};
|
|
82
|
-
`,Z1=o.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
flex-grow: 1;
|
|
88
|
-
`,O1=o.div`
|
|
89
|
-
display: flex;
|
|
90
|
-
justify-content: flex-end;
|
|
91
|
-
align-items: center;
|
|
92
|
-
`,W1=o.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
95
|
-
align-content: center;
|
|
96
|
-
align-items: center;
|
|
97
|
-
margin-top: ${i.sp3};
|
|
98
|
-
`,N1=o(p1)`
|
|
99
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
|
-
margin-right: ${i.sp3};
|
|
101
|
-
`,G1=o.div`
|
|
102
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
|
-
padding: ${i.sp1} ${i.sp2};
|
|
104
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
105
|
-
&:hover {
|
|
106
|
-
border-color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
107
|
-
}
|
|
108
|
-
border-radius: ${i.sp1};
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
`,N=o.div`
|
|
111
|
-
background: ${d.importantLight};
|
|
112
|
-
padding: ${i.sp2};
|
|
113
|
-
border-radius: ${i.sp1};
|
|
114
|
-
margin: ${i.sp3} 0;
|
|
115
|
-
max-width: 330px;
|
|
116
|
-
text-align: center;
|
|
117
|
-
`,q1=o(I1)`
|
|
118
|
-
color: ${e=>e.theme.colors.grey1};
|
|
119
|
-
margin-bottom: ${i.sp3};
|
|
120
|
-
`,K1=o(V1)`
|
|
121
|
-
color: ${e=>e.theme.colors.grey1};
|
|
122
|
-
margin-bottom: ${i.sp3};
|
|
123
|
-
`,J1=o(_1)`
|
|
124
|
-
width: ${i.sp7};
|
|
125
|
-
height: ${i.sp7};
|
|
126
|
-
color: ${e=>e.theme.colors.hero};
|
|
127
|
-
`,G=o(p1)`
|
|
128
|
-
color: ${d.important};
|
|
129
|
-
`,Q1=({type:e="bill",attachmentIdBeingUploaded:x,uploadError:f,uploadErrorMsg:y,showAutofill:h,allowMultiFiles:j=!1,customError:z,dropFilePlaceholder:n,showInfoText:R,showTitlebar:A,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:v,uploadStatus:T})=>{const w=s1(),[I,b]=t.useState(!1),S=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&I&&b(!1)},_=function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);v?.(m,a,"dragdrop")}else{const a=s[0];v?.([a],[a.name],"dragdrop")}}},p=d1(),H=t.useRef(null),k=q.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{H.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);v?.(m,a,"dragdrop")}else{const a=s[0];v?.([a],[a.name],"upload")}}},F=T!=null?T.fetchState=="In-Progress":x;return l.jsxs(F1,{showTitlebar:A,windowSize:p,type:e,children:[A===!0?l.jsx(Y1,{windowSize:p,type:e,children:M}):null,F==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(K,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${w.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${w.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${w.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(K,{size:"ExtraLarge",start:!0})}):l.jsx(X1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(D1,{windowSize:p,onClick:()=>L(),onDragEnter:S,onDragLeave:S,onDragOver:S,onDrop:_,"data-testid":J("upload-tag",e),children:[l.jsxs(Z1,{onDragEnter:S,children:[e==="receipt"?l.jsx(q1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(K1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(E,{children:n?.upload}):null,n?.single!=null?l.jsx(E,{children:l.jsx(a1,{themeContext:w,children:n?.single})}):null,n?.or!=null?l.jsx(E,{children:n?.or}):null,n?.multiple!=null?l.jsx(E,{children:l.jsx(a1,{themeContext:w,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(E,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(E,{children:n?.receipt}):null]}):e==="w9"?l.jsx(n1,{children:k.dropW9}):l.jsx(n1,{children:k.dropInvoice}),z!=null&&l.jsx(N,{children:l.jsx(G,{children:z})}),f&&y==="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:k.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:k.uploadError.replace("__type__",e)})})]}),l.jsx(L1,{fileRef:H,name:"invoice",onFileChange:D,multiple:j,sizeLimit:B1,onFileSizeError:V}),R===!0?l.jsxs(O1,{children:[l.jsx(J1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:i.sp1},children:k.currencyInfo})]}):null]})})]})},X1=o.div`
|
|
130
|
-
padding: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"&&e.showAutofill===!1?i.sp3:i.sp0};
|
|
131
|
-
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
|
|
132
|
-
height: 100%;
|
|
133
|
-
width: 100%;
|
|
134
|
-
border-radius: ${i.sp2};
|
|
135
|
-
`,Y1=o(c1)`
|
|
136
|
-
padding-bottom: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"?"12px":i.sp3};
|
|
137
|
-
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
|
|
138
|
-
width: 100%;
|
|
139
|
-
color: ${e=>e.theme.colors.primary};
|
|
140
|
-
`,he=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:h="bill",customError:j,pdfTitle:z,entityId:n,shouldNotShowAttachment:R,analytics:A,style:M,noAttachmentText:V,dropFilePlaceholder:v,showInfoText:T,showTitlebar:w,showTitlebarIcon:I,file:b,attachmentTitle:S,vendorLegalName:_,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:k,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,Q]=t.useState(!1),X=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,U]=t.useState(!1),[u1,Y]=t.useState(!1),[C1,g1]=t.useState(""),[f1,Z]=t.useState(!1),[O,w1]=t.useState({title:"",description:"",primaryButtonText:""});t.useEffect(()=>{b!=null?U(!0):U(!1)},[b]);async function e1($,u,P,i1,y1){Q(!0),Y(!1);const b1=y===!0?P:[P[0]],k1=y===!0?i1:[i1[0]],{blobs:$1,names:v1}=await P1(b1,k1);await M1(`${$}/1.0/processors/${h}`,u,$1,v1,g1).then(S1=>{p?.(S1),U(!0),k?.()}).catch(()=>{Y(!0),y1?.("Error")}),Q(!1)}const t1=$=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;$?(w1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),Z(!0)):Z(!1)},x1={onOkClick:()=>{Z(!1)}};let l1=n!=null||(r!=null?r?.fetchState=="Completed":h1);h==="bill"&&R===!0&&(l1=!1);const W=h==="bill"?"bill_pay":h==="receipt"?"reimbursement":"w9";return l.jsx(U1,{showAutofill:f,windowSize:m,style:M,type:h,"data-testid":J("upload-section",W),children:s?l.jsx(m1,{children:l.jsx(K,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(E1,{titleComponent:l.jsx(z1,{children:O.title}),descriptionComponent:l.jsx(j1,{children:O.description}),primaryButtonText:O.primaryButtonText,action:x1}):null,!s&&r?.fetchState!=="In-Progress"&&l1?l.jsx(R1,{title:S,type:h,file:b,noAttachmentText:V,showTitlebar:w,showTitlebarIcon:I,pdfTitle:z,onReplaceClick:D,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:t1,onUploadAttachment:($,u)=>{L?.("In-Progress"),e1(e,x,$,u,L)}}):l.jsx(Q1,{type:h,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:c,dropFilePlaceholder:v,showInfoText:T,allowMultiFiles:y,customError:j,showTitlebar:w,pdfTitle:z,showAutofill:f,openSizeLimitPopup:t1,uploadStatus:r,onUploadAttachment:($,u,P)=>{A?.trackUploadInvoice(P,W,_),L?.("In-Progress"),e1(e,x,$,u,L)}}),f?l.jsxs(W1,{windowSize:m,children:[l.jsx(N1,{windowSize:m,themeContext:a,children:X.skipAutofillInfo}),l.jsx(G1,{windowSize:m,themeContext:a,"data-testid":J("skip-autofill",W),onClick:()=>H?.(!f),children:l.jsx(A1,{children:X.skipAutofill})})]}):null]})})};export{Q1 as AttachmentElement,he as default};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import{J as x,cT as y,c$ as w,V as d,cZ as v,y as a,eZ as $,aQ as T,F as D,p as g,u as i,N as z}from"./index-c9CJIpO5.js";import{n as s}from"./mui-D41H02IU.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]="352f1082-8a87-4b43-8748-22b509bb3e82",e._sentryDebugIdIdentifier="sentry-dbid-352f1082-8a87-4b43-8748-22b509bb3e82")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),controlMinHeight:new a(i[4],i[4]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},B={infoLabel:new z("extraSmallRegular","smallRegular")},L=D.getLocalizedStrings();function H({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:b,showAdditionalInfoLabel:h=!1,style:p,hasHoverBorder:f,isOptional:u}){const l=x(),{formState:{errors:m}}=y(),n=w(m,r.name),c=n?b:L.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(M,{size:l,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:f??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:u,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(l),marginRight:t.labelMarginRight.value(l),marginTop:t.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsxs(I,{labelWidth:o.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(l),paddingTop:t.paddingTopBottom.valuePx(l),paddingBottom:t.paddingTopBottom.valuePx(l),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(h||n)&&d.jsx(R,{size:l,isError:n,children:c})]})]})}const M=s.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>t.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>t.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>t.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
|
|
12
|
-
&:focus-within {
|
|
13
|
-
z-index: 1;
|
|
14
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:first-of-type {
|
|
18
|
-
border-top-left-radius: inherit;
|
|
19
|
-
border-top-right-radius: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:last-of-type {
|
|
23
|
-
border-bottom-left-radius: inherit;
|
|
24
|
-
border-bottom-right-radius: inherit;
|
|
25
|
-
}
|
|
26
|
-
&:hover {
|
|
27
|
-
z-index: 1;
|
|
28
|
-
outline: ${e=>e.hasHoverBorder?`1px solid ${e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary}`:"none"};
|
|
29
|
-
.address-value {
|
|
30
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?g.importantLight:e.theme.colors.background};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
`,I=s.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
37
|
-
align-items: flex-end;
|
|
38
|
-
flex-grow: 1;
|
|
39
|
-
`,R=s.label`
|
|
40
|
-
display: flex;
|
|
41
|
-
color: ${e=>e.isError?g.important:e.theme.colors.grey1};
|
|
42
|
-
${e=>`${B.infoLabel.style(e.size)}`};
|
|
43
|
-
padding-right: 12px;
|
|
44
|
-
text-align: right;
|
|
45
|
-
`;export{H as C};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{J as a,V as i,eM as o,cZ as n,o as s,aQ as r,y as c}from"./index-c9CJIpO5.js";import{c as b,n as y}from"./mui-D41H02IU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="212e1873-f4b3-486d-8a3a-e3c963c7dc97",e._sentryDebugIdIdentifier="sentry-dbid-212e1873-f4b3-486d-8a3a-e3c963c7dc97")}catch{}})();const f={width:new c(343,580,726)};function u({label:e,checkBoxField:l,style:t}){const d=a();return i.jsxs(h,{size:d,style:t,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=y.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
width: ${e=>f.width.valuePx(e.size)};
|
|
6
|
-
min-height: ${s.sp4};
|
|
7
|
-
|
|
8
|
-
label {
|
|
9
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
10
|
-
${e=>e.isDisabled==="disabled"&&b`
|
|
11
|
-
color: ${e.theme.colors.grey2};
|
|
12
|
-
`};
|
|
13
|
-
cursor: ${e=>e.isDisabled==="disabled"?"not-allowed":"pointer"};
|
|
14
|
-
pointer-events: ${e=>e.isDisabled==="disabled"||e.isDisabled==="readonly"?"none":"initial"};
|
|
15
|
-
}
|
|
16
|
-
`;export{u as x};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import{J as N,cT as W,c$ as g,V as r,cZ as j,y as a,eV as U,F as k,aQ as O,u as i,o,p as V,N as _}from"./index-c9CJIpO5.js";import{n as d}from"./mui-D41H02IU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="92e73269-4576-4baf-b1c7-508e8e808233",e._sentryDebugIdIdentifier="sentry-dbid-92e73269-4576-4baf-b1c7-508e8e808233")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},A={infoLabel:new _("extraSmallRegular","smallRegular")};function Y({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:D=!1,placeholderText:E,showPhotoPicker:S,useMobileCam:T,showUploadSuccessAnimation:v,showWebCamPopUpCloseIcon:I,updateFilesEntity:L,onDeleteFile:B,onEditFileName:M,onFileSizeError:R}){const s=N(),{formState:{errors:m}}=W(),b=g(m,n),C=g(m,`${n}.fileName`);return r.jsxs(J,{size:s,style:u,isDisabled:l!=null,"data-testid":O("document-field",n),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(q,{labelWidth:e.width,size:s,children:[r.jsx(U,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:D,updateFilesEntity:L,onFileSizeError:R,onDeleteFile:B,onEditFileName:M,placeholderText:E,showPhotoPicker:S,useMobileCam:T,showWebCamPopUpCloseIcon:I,showUploadSuccessAnimation:v}),b&&r.jsx(G,{size:s,isError:b,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const J=d.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
width: ${e=>t.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>t.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>t.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
|
|
12
|
-
:first-of-type {
|
|
13
|
-
border-top-left-radius: inherit;
|
|
14
|
-
border-top-right-radius: inherit;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:last-of-type {
|
|
18
|
-
border-bottom-left-radius: inherit;
|
|
19
|
-
border-bottom-right-radius: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
z-index: 1;
|
|
24
|
-
outline: 1px solid
|
|
25
|
-
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
`,q=d.div`
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
31
|
-
padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
|
|
32
|
-
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
|
-
align-items: flex-end;
|
|
34
|
-
flex-grow: 1;
|
|
35
|
-
`,G=d.label`
|
|
36
|
-
display: flex;
|
|
37
|
-
color: ${e=>e.isError?V.important:e.theme.colors.grey1};
|
|
38
|
-
${e=>`${A.infoLabel.style(e.size)}`};
|
|
39
|
-
padding-right: ${o.sp3};
|
|
40
|
-
text-align: right;
|
|
41
|
-
`;export{Y};
|