@zeniai/web-cockpit-ui 1.15.7-qa → 1.15.8-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-C4kSZtcW-DXbi1tk_.js +21 -0
- package/dist/assets/{AIPerformancePage-XDCygRgj-bazvPjld.js → AIPerformancePage-nAXYlFHx-B-yNLxsI.js} +108 -108
- package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +18 -0
- package/dist/assets/{AccountInfoPageContent-wjaeVokT-C5AG_-Y4.js → AccountInfoPageContent-C6fN_njt-BfclYIhc.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-a2stjcsR-BkN6xApL.js → AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js} +52 -52
- package/dist/assets/{AccountRow-DlccmtgU-C-w5dWss.js → AccountRow-C0plHrDu-BlMGnWxc.js} +32 -32
- package/dist/assets/{AccountsPromoCardStack-BE0vjkiK-CiwoACHR.js → AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +6 -0
- package/dist/assets/{AddToWalletPage-6OCJaNcg-Dq5I4Hk6.js → AddToWalletPage-CKPw3FXG-D61c3n-w.js} +25 -25
- package/dist/assets/{AgingReportsPage-hgg1L3pv-BqEr1m1D.js → AgingReportsPage-BLYXtrbx-DW-1ybPL.js} +17 -17
- package/dist/assets/{AllUserItems-BmNtc-69-DvRnddR8.js → AllUserItems-CIuKSRs--B0618Ye4.js} +14 -14
- package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +46 -0
- package/dist/assets/AppBasePage-zQkWIZIS-COyO76Q-.js +71 -0
- package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js +47 -0
- package/dist/assets/{ArAgingChart-CeaYIqlX-Ca3jC1zb.js → ArAgingChart-Dv9GPrlk-1IjLiFwv.js} +7 -7
- package/dist/assets/ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js +46 -0
- package/dist/assets/{AttachmentView-BsNhULL3-gsW6g8SL.js → AttachmentView-CHgDKLit-BOkUOxft.js} +7 -7
- package/dist/assets/{BankAccountSection-ZWR_hXjD-CgxlXo0x.js → BankAccountSection-danXlJW--Ci61_HQI.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-C-2eE9pL-ucJNqY4n.js → BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CjbaVbou-DEnaNBhh.js → BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js} +14 -14
- package/dist/assets/{BillDetailPage-B_zbQLLp-DNFzkA--.js → BillDetailPage-BD2IX-iP-C1AsdsRK.js} +12 -12
- package/dist/assets/{BillPayApprovalRuleDetailPage-CtJLn_JO-TVM-mtyG.js → BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-vvgGBmoM-DdObKGUs.js → BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js} +8 -8
- package/dist/assets/BillPayPromoPage-C7PX-EVL-RrQTQk3r.js +84 -0
- package/dist/assets/{BillPaySetUpPage-m15SlV0c-Ce-KrDgA.js → BillPaySetUpPage-Czno3Zre-B54xXO94.js} +2 -2
- package/dist/assets/BillingSettingsPage-DwBAvbyP-BA7TOSu8.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +1 -0
- package/dist/assets/{BoxItem-Cmrt_yxF-DEJ8WZ3Y.js → BoxItem-CQn8-mlp-3WaKvXCN.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js +138 -0
- package/dist/assets/{CardNumberSubText-B6Fprh6S--yVD-Bee.js → CardNumberSubText-2Tw37MOu-DLENhMmY.js} +9 -9
- package/dist/assets/{CashbackDetailPage-CWExYaIT-gCsfihki.js → CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js} +32 -32
- package/dist/assets/{ChargeCardDetailPage-B3hr0WBI-9dqzYf3y.js → ChargeCardDetailPage-draAZn9S-DVIwh9R-.js} +74 -74
- package/dist/assets/{ChargeCardListPage-g9gCfpoh-BtXCc3BC.js → ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js} +18 -18
- package/dist/assets/{ChargeCardListTable-BoDSmzn_-CXkARxuG.js → ChargeCardListTable-DVFpdT9f-BEElVTwC.js} +31 -31
- package/dist/assets/{ChargeCardPaymentHistoryPage-xs346JMC--iYsoeUe.js → ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js} +32 -32
- package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +222 -0
- package/dist/assets/ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-Da9NY51a-e0yUyde3.js → ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CcSRXOv7-DHGyjFH5.js → CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js} +17 -17
- package/dist/assets/{CollapsableReportTable-D1b80h2R-BMHZ2IWN.js → CollapsableReportTable-D9EGRkFb-DwhLMO0b.js} +88 -88
- package/dist/assets/CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js +331 -0
- package/dist/assets/{CompanyPassportCard-vAocVa7X-D6X4ClK3.js → CompanyPassportCard--3g9aidd-CxwOeh5K.js} +9 -9
- package/dist/assets/CompanyPassportPage-BhF3zWN0-Cn2clYh0.js +417 -0
- package/dist/assets/{CompleteProfile-B-Hhosch-BP7RTj13.js → CompleteProfile-iee5HgiC-iD1IzEAE.js} +2 -2
- package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bgc7zC_D-BGbH6pul.js → CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-Bs5RpFes-C8YxxZPe.js → CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js} +10 -10
- package/dist/assets/{CurrencySelectField-BC9QkDwI-DfI6ODzD.js → CurrencySelectField-CcU9PAOW-u3CiOTPH.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-Br4RFzGo-DI6b-OYs.js → CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DLKJINnV-DGcctm88.js → CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js} +17 -17
- package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +66 -0
- package/dist/assets/CustomerOnboardingPage-CP969grW-CLGTaPd5.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-Dx3FU6Fe-C2ncOquj.js → CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js} +11 -11
- package/dist/assets/{Dashboard-EWWj1Uby-Dg6BU04Z.js → Dashboard-CKSEolZn-B8UGwGX2.js} +513 -472
- package/dist/assets/{DashboardReportPage-D4kzdnvI-BbhybSGk.js → DashboardReportPage-JLORU_HF-JuRm0_l-.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-xvCtIj9v-sZYB8bjn.js → DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js +21 -0
- package/dist/assets/{DownloadOverlay-wlAXZwF0-JiJizrHx.js → DownloadOverlay-D7AI3CGS-DY9OdGrk.js} +20 -20
- package/dist/assets/{DrawerPage-DroW95LB-BGP0nAjD.js → DrawerPage-BiQurb8Q-CEeTnVDp.js} +18 -18
- package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BgcII79s-tmNQZoW9.js → EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js} +47 -47
- package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +18 -0
- package/dist/assets/{EntitySummarySection-D6HekhK7-sx3TyeLI.js → EntitySummarySection-dbyZ3ZMD-WaXS93t5.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-VN-P6f2z-DKRfiCP-.js → ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js} +31 -31
- package/dist/assets/{ExpenseAutomationPage-CvnkIuMf-cEeQ3hKP.js → ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js} +47 -47
- package/dist/assets/{ExpressPayPage-C_yRTeDh-CPvItmoy.js → ExpressPayPage-CaBFl4M3-N5saqSFG.js} +16 -16
- package/dist/assets/{FeaturePreviewPage-BLRhajFn-BXnjngQa.js → FeaturePreviewPage-BY7VDaUB-C72FE9k5.js} +3 -3
- package/dist/assets/{FollowStepsSection-DhiGIylh-szXLMCmb.js → FollowStepsSection-BGZ3rzSO-DAxx1unm.js} +47 -47
- package/dist/assets/{GlobalReviewListPage-Tg986b2s-BzLFqxLt.js → GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js} +16 -16
- package/dist/assets/{InformationCardStack-3Lmn6LJr-CXjZGiMk.js → InformationCardStack-BZIU9Bwm-DWOE8xSt.js} +4 -4
- package/dist/assets/{InsightsCardStack-Dc6OL9Od-Dt4Qr58R.js → InsightsCardStack-BZ6yws_x-DiUvTias.js} +11 -11
- package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DACHBlEm-Cf4NvQHE.js → IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-BaqSqvWh-C9W2lkTr.js → InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js} +29 -29
- package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +65 -0
- package/dist/assets/{InviteFormPage-CXcHy9Sz-CIXArq1q.js → InviteFormPage-C-_fbwpS-DFnpH_Sg.js} +36 -36
- package/dist/assets/{InvitePageListView-tu82Q2y6-yF7udmBD.js → InvitePageListView-DX3LFpcZ-wgARDxxe.js} +65 -65
- package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +12 -0
- package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DuqGEs5b-BSyP11HH.js → IssueChargeCardPage-BSax9G6t-Ccz8TXME.js} +32 -32
- package/dist/assets/{LabeledAddressValue-D0Gu5Mgp-CuKFb_Fb.js → LabeledAddressValue-kz4tRnLH-XbapS3ut.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DPisU2iY-CBp9buEB.js → LabeledAddressValueField-D950JjHi-B7-ZxMwG.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DLVxVffe-CoUjV52P.js → LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js} +11 -7
- package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +59 -0
- package/dist/assets/LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js +223 -0
- package/dist/assets/{LabeledText-C4GeOHM8-DuQryGxi.js → LabeledText-D0g7m29R-CGPY2mDY.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-CVkvRF0D.js → LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js} +22 -22
- package/dist/assets/{LabeledZeniRolesDropDownField-Bj8qcvuK-1Ux9cfjz.js → LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js} +21 -21
- package/dist/assets/{LinkJETransactionPage-CdWWV_7u-lA2Ieks4.js → LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js} +10 -10
- package/dist/assets/{LockCardPage-BTxCWQ6_-DvcF37D5.js → LockCardPage-XgZwsozn-B7KEhFgG.js} +58 -58
- package/dist/assets/{LowBalancePopup-Dt9KCWOU-CGhklhMm.js → LowBalancePopup-ChBTdcM2-CwIZnZTi.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D45Lu2cc-CkiWTtDQ.js → MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BdiSVi0V-6L4P8c-X.js → MagicLinkTitleSection-CI_X5_g6-DmElUYen.js} +4 -4
- package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CN9EKlOy-BfyXOjUL.js → MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js} +10 -10
- package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +85 -0
- package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +30 -0
- package/dist/assets/{NavigationArrow-B9ZEhJdg-DZLA8bvx.js → NavigationArrow-BuPVGh38-C7FStd2H.js} +5 -5
- package/dist/assets/{NavigationDots-C_N16I15-BceewdOj.js → NavigationDots-CLd0nZZT-DkTweDHl.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-DICWFjCu-A-SqvVYe.js → NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js} +14 -14
- package/dist/assets/{NoDataChart-CCCkzfa4-jwMBvFUj.js → NoDataChart-VrW0gNeK-CoKQWY6y.js} +2 -2
- package/dist/assets/{NoDataTable-DVW_simO-Z05X7jnZ.js → NoDataTable-CZaHTbXi-BvRSGEWZ.js} +1 -1
- package/dist/assets/{NotFoundPage-BHrUY910-T_gZYULO.js → NotFoundPage-CvuhMeh3-DzAU1c1V.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-alUKfWWf-EsM7IXgf.js → NotificationSettingsPage-612cyOPa-BDov0Or2.js} +21 -21
- package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +1 -0
- package/dist/assets/{NotificationsPage-BjhHCUzl-BorCyhwg.js → NotificationsPage-DOq8YY_K-B5AJl0PR.js} +47 -47
- package/dist/assets/{OpExByVendorPage-h_QozoZk-Y_VYI0CL.js → OpExByVendorPage-JhAQyVWO-CgqLDeMB.js} +8 -8
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DjM5NmlL.js → OverlayContainerPage-CEiw6dk7-DNyrAeAy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DdiEIHC--CTPJUly8.js → PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js +107 -0
- package/dist/assets/{PeoplePage-BaOppi8Y-DEWrglnT.js → PeoplePage-BJui-Wgk-Blym3c87.js} +32 -32
- package/dist/assets/{Preview-sW0kMVUo.js → Preview-CWOI4w-4.js} +1 -1
- package/dist/assets/{ProductsCarousel-E65X4lGB-DWS-Tkhs.js → ProductsCarousel-CGhEa82h-Bt-P-vzg.js} +9 -9
- package/dist/assets/{PromoBaseCards-O66NGGWD-Ccv3Jja-.js → PromoBaseCards-1PF_kyGP-DnK5w4Qj.js} +8 -8
- package/dist/assets/{QBOConnectionDialog-BrMv7xjB-C34rkJLz.js → QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js} +8 -8
- package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DJNl2oqj-DeyzK8lw.js → ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-tnc2z3Es-DOwbo35O.js → ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js} +27 -27
- package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +314 -0
- package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-2VrhpV75-a2dhwHIc.js → ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js} +13 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js +1 -0
- package/dist/assets/{ReloadCard-BakyoznA-CA9nzANX.js → ReloadCard-crbWeOPP-CkioU763.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C7w_WVnY-CLbunAZc.js → ReportTableViewSelector-KXoOW677-Cxk4-6kw.js} +8 -8
- package/dist/assets/{ReportsPage-BeZqGQ2i-Btosfa-g.js → ReportsPage-C3Jj54B2-CJg2yyXf.js} +11 -11
- package/dist/assets/{RevenueChart-BcRkSSWz-BKO407XR.js → RevenueChart-B2lwdex1-DM-m44Ax.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CA5CBeB7-C4U0XjzD.js → ReviewDetailsPage-BzJuymlx-B43bDwEk.js} +53 -53
- package/dist/assets/{ReviewOverlay-DNjbv6Ir-Dh-G1Cuh.js → ReviewOverlay-CXHcM5J8-Z1A7mqWB.js} +13 -13
- package/dist/assets/{RoleWithToolTip-CSoHoT3u-B21TJ6ju.js → RoleWithToolTip-q4rQTPKj-BeUt86oC.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CLjpednn-DT-uxt3L.js → ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-MEVdw-l_-CtTG8f0e.js → ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BGx2un0o-C_QwBSSA.js → ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js} +20 -20
- package/dist/assets/{ScreenRoutes-B-Tig-dz.js → ScreenRoutes-BGG-33kI.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Blriup16-C3aJ_ixb.js → SetUpAccountSection-Drp97o6h-xxM8m8_w.js} +11 -11
- package/dist/assets/{SignIn-DqVQU08d-MEtRCmlD.js → SignIn-YqQXhCUb-BOeW8x0h.js} +26 -26
- package/dist/assets/SignInScreen-D-bsy2_u.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-Cd88asmE-CkOyrLvB.js → SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js} +14 -14
- package/dist/assets/{SpendManagementPerTabPage-DyPyPQjh-BvYsoQ15.js → SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js} +62 -62
- package/dist/assets/{SpendManagementSection-C5fvFmdh-Bn0fZjWl.js → SpendManagementSection-WqBeexgm-D6ZHNQRi.js} +23 -23
- package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +31 -0
- package/dist/assets/StatementsPage-ProqQbaP-BB4Fbh50.js +58 -0
- package/dist/assets/{StatusSwitcher-BS4h8SJh-D0u7zV5y.js → StatusSwitcher-CWQs9lpu-RXB7-04g.js} +2 -2
- package/dist/assets/{SubTabSwitcher-vsehXtEO-DrAXmACq.js → SubTabSwitcher-B2uBojsp-DZNkw8WS.js} +3 -3
- package/dist/assets/SummaryCard-Dcd_VUph-BV3h5iTx.js +1 -0
- package/dist/assets/{TaskManagementPage-DlzHdHSu-BhXes2IE.js → TaskManagementPage-BM9VR6Lt-C4YfHc_A.js} +48 -48
- package/dist/assets/{TimeRangeSwitcher-CFZq5KoG-DVRsZPST.js → TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js} +12 -12
- package/dist/assets/{TimeframeSwitcher-Bb7JwirM-aH9WWmWy.js → TimeframeSwitcher--oC4RNb6-CvfDTC-U.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-BXIevpvE-B9ruDiH-.js → TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js} +1 -1
- package/dist/assets/{TopExCard-BQIHsi_z-m7y5kutK.js → TopExCard-DQ50kCvS-_2HPPX6t.js} +6 -6
- package/dist/assets/{TopExDetailPage-BYCn9hZ2-ApVTj9Vd.js → TopExDetailPage-iwv1KNmn-sj6nj5zr.js} +18 -18
- package/dist/assets/{TransactionDetailPage-BMYeFZH7-Doa2Pq6X.js → TransactionDetailPage-dcUFs9xb-CrNRbBcr.js} +32 -32
- package/dist/assets/{TransactionList-BMfwxUes-DEHNXJ_w.js → TransactionList-1g-61_2b-CWHQyly8.js} +14 -14
- package/dist/assets/{TransactionListBig-CSjliLzH-BlhJcsod.js → TransactionListBig-CSrLWjaV-BtYTXkmc.js} +17 -17
- package/dist/assets/TransactionListPage-CKkWpoxH-CDqG5M4K.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js +80 -0
- package/dist/assets/{TransferDrawerPage-4lrBrmvC-CMNGzy3T.js → TransferDrawerPage-nyepeege-Tib1D3Ko.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-DNUrwQ-l-ia-jTHnQ.js → TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js} +50 -50
- package/dist/assets/{TreasuryPromoPage-CjjmLEyR-nrnRjAi8.js → TreasuryPromoPage-B55rqmLO-BovduQF3.js} +16 -16
- package/dist/assets/{TreasuryStatementsPage-CGax-FVg-8vTbW-_F.js → TreasuryStatementsPage-DA72LRB2-COfX6A9q.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DapKFecA-DXgs0ATM.js → TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js} +6 -6
- package/dist/assets/{TrendChart-t_2mlnuR-CERqesit.js → TrendChart-BsSVNJm5-CngvRWQH.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BjQX1uvO-DenLKRO1.js → TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-C9DJ4P_n-Ro3FVDaB.js → UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-CzfmBBVs-BopvpHyA.js → UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +38 -0
- package/dist/assets/{Vendor2FAPopup-Jhuzv3Fs-tUzA32lC.js → Vendor2FAPopup-BPoFrkoj-DQVyS_En.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +1 -0
- package/dist/assets/{VendorDetailPage-D_ia0GnG-B49M2ZP7.js → VendorDetailPage-C0qX459r-CReufchw.js} +24 -24
- package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-6mV7WBuT-BWmRczAy.js → VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-BIh28s7e-ColL0iSX.js → VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CXmAXDcB-DSmfTY7c.js → VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +1 -0
- package/dist/assets/{VendorsAccountsSection-kJAKmxCN-CWJp4NJ-.js → VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js} +2 -2
- package/dist/assets/{VerifyDevice-Cclxcvod-D20OHgjv.js → VerifyDevice-B23jU0_c-B85D_w3i.js} +16 -16
- package/dist/assets/{VideoPlayer-B0jJK498-CGA824ir.js → VideoPlayer-CylTUX4X-BEZtED7z.js} +2 -2
- package/dist/assets/{VideoPopup-BUq4CaWy-DimJ3JCD.js → VideoPopup-C9x0ntQ5-C94oLuE1.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-B7Pmv7_n-kXfVaSXC.js → WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-l5IuVidF-CW_GL18E.js → ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js} +34 -34
- package/dist/assets/{ZeniAccountListViewPage-CtOCukoi-CYfD8pTw.js → ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js} +15 -15
- package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DhuZowvX-CVk5B-kr.js → ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js} +19 -19
- package/dist/assets/ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js +36 -0
- package/dist/assets/{ZeniCopyright-CxIm7c5S--2kE3ceg.js → ZeniCopyright-eB9rNuZ3-BNyg83Vo.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-2_ZqEJN8.js → add-to-wallet-DgdBD8_G-DHrWYIzW.js} +1 -1
- package/dist/assets/{analytics-BBRM4OiD.js → analytics-g5EpLRud.js} +1 -1
- package/dist/assets/{analyticsHelper-BXN2EdPH-CuwfHCAO.js → analyticsHelper-CLY1vV_E-BemgqSJF.js} +1 -1
- package/dist/assets/analyticsHelper-D-tLilsz.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DR4719pa.js → arrow-south-east-round-PEovUgvH-Clrgdbmr.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Ci6J7Ip0.js → auto-transfer-rule-mbafm5D3-DfhOF4oT.js} +1 -1
- package/dist/assets/{chartTypes-qqLvT6t1-7O4vNfmq.js → chartTypes-BjaXr-A2-DXtLo4Yx.js} +1 -1
- package/dist/assets/{commonDimensions-CDU138wy-DgQLDeKn.js → commonDimensions-C0X17W9N-BSrHO4N_.js} +1 -1
- package/dist/assets/commonTypes-BN7Uh_8W-pfbkHgmN.js +1 -0
- package/dist/assets/{constants-BmT2TL-e.js → constants-BnWgOytJ.js} +1 -1
- package/dist/assets/{core-Do2fm07V.js → core-hVMF2uNa.js} +1 -1
- package/dist/assets/{dash.all.min-D2uGWKCW.js → dash.all.min-DDFTHNwM.js} +1 -1
- package/dist/assets/{detailCommon-DP02lgW9-vucebEDD.js → detailCommon-D9PsnkY1-BuBcpPrC.js} +9 -9
- package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +1 -0
- package/dist/assets/{empty-CG4BtfpL.js → empty-B0DaVBWz.js} +1 -1
- package/dist/assets/{empty-BIlH-46e.js → empty-BNJPHWFv.js} +1 -1
- package/dist/assets/epic-BVJNtCg8.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-BdsqEOj4.js → gift-box-Cmt9OgIZ-CLwRJG71.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DF0OrKm5.js → graphic-no-data-l-DU4J8fDt-C7rs195d.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CM78Nc1Q.js → graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BspZ_I_6.js → handshake-BPg58FML-BW29_pZa.js} +1 -1
- package/dist/assets/{index-CR39DFew.js → index-6pOBrRlk.js} +1 -1
- package/dist/assets/{index-Cp1ulRx2.js → index-B3faO1JB.js} +1 -1
- package/dist/assets/{index-pMF5YQ_m.js → index-BAImUaY2.js} +1 -1
- package/dist/assets/{index-DQZa93pl.js → index-CRNmezJu.js} +5847 -5643
- package/dist/assets/{index-DFlS_heD.js → index-C_w5gZ8Z.js} +1 -1
- package/dist/assets/{index-C2f4G0t2.js → index-lOJEokPl.js} +1 -1
- package/dist/assets/{index-Bswxpdzz.js → index-rCukSMbs.js} +1 -1
- package/dist/assets/{lexical-DSAIO3Yn.js → lexical-DYQnWL1V.js} +1 -1
- package/dist/assets/{liveblocks-5qJQL8gF.js → liveblocks-BKvkleJ3.js} +1 -1
- package/dist/assets/{lottie--QmfecC7.js → lottie-N_bekW9H.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DLeyrCPV-BTjehxZr.js → mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bl4MSBc9-BHj6uU7U.js → mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +1 -0
- package/dist/assets/{mui-CmeRX-VQ.js → mui-mhzAEcDs.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CPWyYVtN.js → page-detail-CWX5S47F-C7t8NOxn.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-D7Q2flwX.js → radio-default-CiSgisfh-j32Y6uZn.js} +1 -1
- package/dist/assets/{react-DsqxiHdu.js → react-3qVVe610.js} +1 -1
- package/dist/assets/{react-DrAOa_iQ.js → react-BcEP-SPV.js} +1 -1
- package/dist/assets/{react-DmYoNffX.js → react-CQNyoV6B.js} +1 -1
- package/dist/assets/{react-BKgEbN-_.js → react-CYwBg0du.js} +3 -3
- package/dist/assets/{react-DQ_PkCNg.js → react-DmkejrPd.js} +1 -1
- package/dist/assets/{react-DuQAyt3l.js → react-DtZ57b9E.js} +1 -1
- package/dist/assets/{react-BfxQP3vv.js → react-Dvjzsiej.js} +1 -1
- package/dist/assets/{react-CIctTSs3.js → react-d4G_qR0V.js} +1 -1
- package/dist/assets/{recharts-CJ6qqxTN.js → recharts-BErFcng5.js} +21 -21
- package/dist/assets/{sentry-BNP8a0zR.js → sentry-Dla7mstv.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Cm4FIM1p.js → shield-DOlUxcFf-CJdp4Bi9.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +1 -0
- package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +1 -0
- package/dist/assets/{uploadAttachment-DfTOIWsX-6t7i7104.js → uploadAttachment-BLADYUsp-BO1TVLxu.js} +24 -24
- package/dist/assets/{uploadReceipts-CPw64UYa-BcQPt3-r.js → uploadReceipts-CLN2DLHQ-CHihhpL-.js} +1 -1
- package/dist/assets/{url-VEY1UCYp.js → url-B3SdXouN.js} +1 -1
- package/dist/assets/{url-BTRZ5vkp.js → url-HFFKPU2S.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BCAcXgBo.js → useLongPress-GCK2COYQ-km9xaFy6.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DPIrzT0R.js → usp-line-BBd1wKwW-C5eOwLOD.js} +1 -1
- package/dist/assets/{utils-e2QIiaj6.js → utils-D6NmQd1Q.js} +1 -1
- package/dist/assets/{zeni-epic-state-Dg9gbL0X.js → zeni-epic-state-CSmiPBaP.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-CGG2Hx4v-D7yIQCry.js +0 -21
- package/dist/assets/AccountInfoPage-CSf3J58F-Cl2GeY-g.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DJnj--uc-koeXDtEf.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-BV3QuRmo.js +0 -6
- package/dist/assets/ApAgingDetailPage-DAZAnfcs-DWv5Yh4n.js +0 -46
- package/dist/assets/AppBasePage-D7_krMlm-BcE42pkQ.js +0 -71
- package/dist/assets/AppDrawerContent-DWL57wUk-CC44KEXc.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--BJ2NKaoh.js +0 -47
- package/dist/assets/ArAgingDetailPage-Is5kv2-P-DJnGHSYh.js +0 -46
- package/dist/assets/BillPayPromoPage-DkyMRquU-DTY8MM9Y.js +0 -84
- package/dist/assets/BillingSettingsPage-C4P_B31U-Cfs6pjmS.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-C_Nmv34F-BAM1q_aH.js +0 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-Dgei6fS5.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BADKuNSc.js +0 -222
- package/dist/assets/ChargeCardSetupPage-Dbz_GdRL-DjaSn21P.js +0 -36
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-BbAL-oK2.js +0 -260
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D51_q_Y7.js +0 -574
- package/dist/assets/ConfettiBurst-BV8M1GTR-BVYnD-Q8.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-C1_0JVsL.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-DtveQ7yB.js +0 -66
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-xqvBd5Qh.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-BSwRgXFk-BPePj2Wo.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-BP1udS96.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DF8bLeDL-D0xzJqsD.js +0 -21
- package/dist/assets/EditPeoplePage-CgUM9UYI-BAqH68yz.js +0 -55
- package/dist/assets/EntityDetailPage-ByHvXL2c-Beeyu-G8.js +0 -18
- package/dist/assets/InsightsSection-Drr3r1BL-C9c9bqpC.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-JL0FId5s.js +0 -292
- package/dist/assets/InvitePeoplePage-Bbv2pjhR-CYOtKdsv.js +0 -12
- package/dist/assets/InvoiceUploadSection-CO34IhU8-JbGvXJ0T.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-BKqCiNdy-CM22FFCx.js +0 -16
- package/dist/assets/LabeledDocumentField-DtOCNiEg-DXiIrThr.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CsbwG9At-DIUamMH-.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-pn4oFles.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-B71ZSyrD.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-Db2W2C2p.js +0 -1
- package/dist/assets/MailingDetailsSection-CjO5OVZN-Dz2JVYO4.js +0 -21
- package/dist/assets/Menu-C_kotivE-Ds4oTnIO.js +0 -17
- package/dist/assets/MyPendingActivationChargeCardListPage-rmpT6HFS-C1iVUySe.js +0 -6
- package/dist/assets/MyProfileSettingsPage-CTmDuFNJ-B8SISS7w.js +0 -85
- package/dist/assets/NavBarWithPicker-VzNJnXX3-BDjvvCEc.js +0 -30
- package/dist/assets/NotificationsListConfig-QOeX1KBS-D9NF4wUP.js +0 -1
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-CZR5voSo.js +0 -107
- package/dist/assets/QBOSetupSection-B5D4uUOv-MAL2gOfN.js +0 -79
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-B2XEgJlN.js +0 -314
- package/dist/assets/ReimbursementPromoPage-04Cqe8zH-BF3bPMI0.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CEZlRH0_-MrMy8MR2.js +0 -1
- package/dist/assets/SignInScreen-D9nF3yiB.js +0 -1
- package/dist/assets/StatementItem-CBGi9f9C-Cr6QkeSJ.js +0 -31
- package/dist/assets/StatementsPage-De1wPDzS-B0PK-CHG.js +0 -58
- package/dist/assets/SummaryCard-gehzCCsW-Cjgj1j9L.js +0 -1
- package/dist/assets/TransactionListPage-C2Iz7CDJ-CkfLhDDt.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-DhwshIVT.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-B58eaKgn.js +0 -38
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-B8gcWxAN.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-4WFyiovr.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-B-spEVUY.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DHpWht7s-VBOXJCOm.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-DXmdPnU2-DOblHg7I.js +0 -36
- package/dist/assets/ZeniTransferAmountSlider-7nRSeYbl-BQ73fGD1.js +0 -63
- package/dist/assets/analyticsHelper-xgNCzNxL.js +0 -1
- package/dist/assets/downloadPdf-Dl5UuOv_-DienLm7C.js +0 -1
- package/dist/assets/epic-BdBiMEYK.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-D3IuGgnr.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BNP8a_pF-CPs7JdUi.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-DsHKM7xd.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-oOsdpevM.js +0 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-C8TFs9o9.js +0 -1
- package/dist/assets/toChartData-xURa2wgf-D2bH9o56.js +0 -1
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
import{e as G,q as A,F as J,V as t,ae as q,aO as ae,a9 as re,cC as ne,bA as se,A as de,ac as ce,aP as ue,o as i,y as g,am as K,kN as Q,eW as pe,al as X,M as me,eY as he,b as z,d,cL as ge,cM as fe,cV as be,p as B,cP as xe,cX as ye,cY as we,bF as $e,bG as j,kO as ve,_ as Z,bE as Se}from"./index-DQZa93pl.js";import{a as T}from"./sentry-BNP8a0zR.js";import{n as u}from"./mui-CmeRX-VQ.js";import{bL as R,bh as Fe}from"./zeni-epic-state-Dg9gbL0X.js";import{Y as je}from"./LabeledDocumentField-DtOCNiEg-DXiIrThr.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.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]="4033baa1-7dc9-4ee4-92e1-0958882cf92e",e._sentryDebugIdIdentifier="sentry-dbid-4033baa1-7dc9-4ee4-92e1-0958882cf92e")}catch{}})();const De=({name:e,registerOptions:l,defaultValue:r,isDisabled:m,style:s,placeholder:n})=>{const{control:f,formState:{errors:C}}=xe(),P=G(),O=ye(C,e??""),b=o=>({value:o.value,label:o.label}),y=o=>o.map(p=>b(p)),E=o=>{if(!(o==null||!o))return{value:o,label:r.allOptions.find(p=>p.value===o)?.label??o}},h=o=>o.map(p=>E(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:O};return t.jsx(we,{name:e,control:f,defaultValue:r,rules:l,render:({field:{onChange:o,onBlur:p,value:v,ref:M}})=>t.jsx($e,{...w,ref:M,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:ze,Input:Ie,MultiValue:Ce,MultiValueLabel:Oe,MultiValueRemove:Ee,ValueContainer:ke,DropdownIndicator:Ae,IndicatorSeparator:qe,Placeholder:Ve,ClearIndicator:Me},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(_e,{menuIsOpen:l,isFocused:r,isDisabled:m,optionsLen:n.length,hasError:f,children:t.jsx(j.Control,{...e,className:"select-control",children:e.children})})},ke=e=>{const{selectProps:l}=e,{value:r}=l;return t.jsxs(j.ValueContainer,{...e,className:"select-value-container",children:[e.children,t.jsx(Le,{className:"selected-options",children:r.map(m=>m.label).join(", ")})]})},Ie=e=>{const{selectProps:l}=e,{placeholder:r,value:m}=l;return t.jsx(j.Input,{...e,autoComplete:"new-password",placeholder:m.length===0?r:void 0,children:e.children})},Ce=e=>t.jsx(j.MultiValue,{...e,children:e.children}),Oe=e=>{const{data:l}=e;return t.jsx(j.MultiValueLabel,{...e,children:l.label})},Ee=e=>t.jsx(j.MultiValueRemove,{...e,children:t.jsx(ee,{style:{marginTop:"2px"}})}),Me=e=>t.jsx(j.ClearIndicator,{...e,children:t.jsx(ee,{})}),Ve=()=>null,ze=e=>{const{isSelected:l,isDisabled:r,isFocused:m}=e;return t.jsx(Be,{isFocused:m,isSelected:l,isDisabled:r,children:t.jsx(j.Option,{...e,className:"select-option",children:t.jsxs(Te,{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(Ye,{className:"right-tick-icon"}),t.jsx(Z,{className:"close-tick-icon"})]}):null]})})})},_e=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?B.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
|
-
${z.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
|
-
${z.standardRegular.css};
|
|
81
|
-
color: ${e=>e.theme.colors.primary};
|
|
82
|
-
margin: ${i.sp0};
|
|
83
|
-
cursor: inherit;
|
|
84
|
-
color: ${e=>e.hasError?B.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?B.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
|
-
${z.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
|
-
`,Le=u(X)`
|
|
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
|
-
`,Be=u.div`
|
|
130
|
-
.select-option {
|
|
131
|
-
${z.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
|
-
`,Te=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
|
-
`,Ye=u(Se)`
|
|
174
|
-
width: 12px;
|
|
175
|
-
height: 12px;
|
|
176
|
-
margin-right: 2px;
|
|
177
|
-
color: ${e=>e.theme.colors.primary};
|
|
178
|
-
`,ee=u(Z)`
|
|
179
|
-
width: ${i.sp3};
|
|
180
|
-
height: ${i.sp3};
|
|
181
|
-
color: ${e=>e.theme.colors.primary};
|
|
182
|
-
`,Ae=()=>null,qe=()=>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 He({isDisabled:e,label:l,multiSelectField:r,style:m}){const s=A();return t.jsxs(Ue,{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 Ue=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
|
-
`,H={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:O})=>{const b=A(),{verificationFormLocalData:y}=l,{dateFormat:{visual:E},common:{documents:h},commonSetUp:{businessVerification:k},spendManagement:{billPay:{vendorCreation:{wireDetails:{international:w}}}}}=J.getLocalizedStrings(),o=H.largeLabelWidth.value(b),[p,v]=T.useState(!1),M=l.verificationFormFields.slice().sort((a,c)=>a.type==="file"&&c.type!=="file"?-1:0);return t.jsx(Je,{children:t.jsx(Ke,{children:M.map(a=>{switch(a.type){case"file":return t.jsxs(t.Fragment,{children:[t.jsx(je,{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:O,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(Qe,{windowSize:b,isError:!1,children:h.formatDocumentText10MB}):null,t.jsx(L,{})]});case"date":return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isDisabled:s,label:{label:a.label+w.colon,width:o},style:{paddingBottom:H.paddingBottom.valuePx(b)},dateField:{name:S(e,a.name),placeholder:a.placeholder,defaultValue:y[a.name]?R(y[a.name]):void 0,dateFormat:E.defaultInput,maxDate:Fe().subtract(1,"day"),minDate:R("01 Jan 1900"),autoComplete:"off",registerOptions:{required:!0}}},S(e,a.name)),t.jsx(L,{})]});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:z.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(L,{})]}):t.jsx(He,{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:Q(y[a.name],a.fieldValues.map(c=>c.code))}},S(e,a.name));default:return t.jsx(L,{})}})})})},S=(e,l)=>`${e}.formData.${l}`,Je=u.div`
|
|
229
|
-
display: flex;
|
|
230
|
-
flex-direction: column;
|
|
231
|
-
`,Ke=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
|
-
`,L=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
|
-
`,Qe=u(K)`
|
|
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?B.important:e.theme.colors.grey1};
|
|
251
|
-
`,F={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])},Xe={title:new me("standardSemiBold","largeSemiBold")},Y="intlWireVerification",xt=({internationalOnboardingDetails:e,filesEndPoint:l,authParams:r,isReadonly:m,analytics:s,isLocalCurrencyEnabled:n,onEditFileName:f,onDeleteFile:C,updateFilesEntity:P,onFormDataChange:O,onCancelClick:b,onSubmitClick:y})=>{const E=G(),h=A(),k="IntlWireverificationPage",{verificationFormFetchState:w,verificationFormSubmitState:o}=e,{commonSetUp:{internationalWire:p},common:{footer:v},dateFormat:{analytics:{YYYYDashMMDashDDFormat:M}}}=J.getLocalizedStrings(),a=t.jsxs(ot,{children:[p.terms1,t.jsx(q,{href:p.tosUrl,linkText:p.tos}),p.and,t.jsx(q,{href:p.privacyPolicyUrl,linkText:p.privacyPolicy})]}),c=ae(o.fetchState),_=re({mode:"all",reValidateMode:"onChange",defaultValues:T.useMemo(()=>Ze(e),[e])}),{isValid:te}=_.formState;T.useEffect(()=>{c==="In-Progress"&&o.fetchState==="Completed"&&b()},[c,o,b]);const ie=_.handleSubmit(()=>{te&&(s?.trackSubmitIntlWire(n),y())}),le=async N=>{const x=N[Y].formData;if(x!=null){let V={};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(M);break;default:I=W.isMultipleValuesAllowed===!0?x[D].selectedOptions.map(oe=>pe(oe)):x[D].selectedOption;break}V={...V,[D]:I}}}),O(V)}};return T.useEffect(()=>{const N=_.watch((x,{name:V})=>{V!=null&&x!=null&&ne(()=>le(x))});return()=>{N.unsubscribe()}}),t.jsxs(et,{children:[t.jsx(se,{title:p.title,backgroundColor:E.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,{..._,children:t.jsxs("form",{id:U(k),onSubmit:ie,children:[t.jsx(at,{windowSize:h,children:p.header}),t.jsx(Ge,{internationalOnboardingDetails:e,sectionId:Y,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:U(k),primaryBtn:{label:v.submit,style:{width:"auto",minWidth:h==="small"?"auto":"82px"},isLoading:o.fetchState==="In-Progress"},containerStyle:{width:h==="small"?F.width.valuePx(h):"auto",justifyContent:h==="small"?"space-between":"center"},helperStyle:{width:h==="small"?F.width.valuePx(h):"auto",paddingLeft:F.termsPaddingLeftRight.valuePx(h),paddingRight:F.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]})},Ze=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]=Q(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]}),{[Y]:{formData:s}}},U=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(X)`
|
|
258
|
-
color: ${e=>e.theme.colors.hero};
|
|
259
|
-
display: flex;
|
|
260
|
-
justify-content: center;
|
|
261
|
-
width: ${e=>F.titleWidth.valuePx(e.windowSize)};
|
|
262
|
-
padding-top: ${e=>F.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
263
|
-
padding-bottom: ${e=>F.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=>F.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(K)`
|
|
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=>`${Xe.title.style(e.windowSize)}`};
|
|
292
|
-
`;export{xt as default,U as uniqueName};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{q as Y,fP as H,e as ee,a9 as te,d as f,V as d,gK as le,ac as ne,aN as oe,aP as se,o as re,y as z,cy as j,fS as q,fT as A,fU as V,F as ie,c as ae}from"./index-DQZa93pl.js";import{a as x}from"./sentry-BNP8a0zR.js";import{n as Q}from"./mui-CmeRX-VQ.js";import{FB as de,bg as ce}from"./zeni-epic-state-Dg9gbL0X.js";import{f as ue}from"./AllUserItems-BmNtc-69-DvRnddR8.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.js";import"./LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-CVkvRF0D.js";import"./RoleWithToolTip-CSoHoT3u-B21TJ6ju.js";import"./LabeledZeniRolesDropDownField-Bj8qcvuK-1Ux9cfjz.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]="e1f2f7f3-0870-410a-9c61-edcb67ea394a",e._sentryDebugIdIdentifier="sentry-dbid-e1f2f7f3-0870-410a-9c61-edcb67ea394a")}catch{}})();const S={containerPaddingLeft:new z(f[3],f[6],f[8]),containerPaddingRight:new z(f[3],f[6],f[8]),buttonWidth:new z(85,85)},G="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Oe=({peopleDetails:e,managersList:t,classList:g,controllersList:L,mode:o,isZeniTenant:P,onPeopleLocalDataUpdated:T,onCloseClick:C,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:D,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:w,isLiteRoleDisabled:B})=>{const c=Y(),[K,M]=x.useState(-1),[U,O]=x.useState(""),Z=x.useRef(null),k=x.useMemo(()=>H($,s,D,R,w,B,E),[$,s,D,R,w,B,E]),W=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:N(e.people,o,k,t,g,R,w),values:N(e.people,o,k,t,g,R,w)}),F=i.handleSubmit(()=>{X()?r():console.warn("Invite People form error")}),X=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,_)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${_}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${_}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!w&&(i.setError(`${I}.${_}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${_}.manager`,{type:"required"}),n=!1)}}),n},J=async(l,n)=>{const v=[],{userItems:_}=n;_.forEach(a=>{let y={};if(o==="zeni_only")y={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 b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return x.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&J(v,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=Z.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):O(""))};return c==="small"?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&O(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,U,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:U,backgroundColor:W.colors.grey4,style:{zIndex:4},onCloseClick:C,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:Z,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:`${G}_form`,onSubmit:F,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:K,updateDeleteConfirmationIndex:M,mode:o,isZeniTenant:P,classList:g,managersList:t,controllersList:L,isBankingOnlyTenant:R,isCardsOnlyTenant:w,customerRoleOptions:k,isEdit:!1})})})]}),d.jsx(se,{formId:`${G}_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:C},separatorStyle:{marginRight:re.sp4}})]})},N=(e,t,g,L,o,P,T)=>{const C=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?V(e[0].role):void 0,allRootRole:A(P,T)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?V(r.role):void 0,allRootRole:A(P,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:L,selectedUser:r.managerId}})):C}},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{Oe as default,Se as uniqueName};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{e as s1,q as d1,F as q,V as l,A as J,o,p as d,y as E,gu as $1,gv as E1,aN as Q,cn as B1,co as j1,cp as z1,at as A1,b8 as c1,d as C,b as i1,a as T1,l as H1,ai as p1,gw as P1}from"./index-DQZa93pl.js";import{a as t}from"./sentry-BNP8a0zR.js";import{n as i}from"./mui-CmeRX-VQ.js";import R1 from"./AttachmentView-BsNhULL3-gsW6g8SL.js";import{l as M1}from"./uploadReceipts-CPw64UYa-BcQPt3-r.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./zeni-epic-state-Dg9gbL0X.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.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]="14df2e38-c06e-49ee-9462-cbf0d4dff087",e._sentryDebugIdIdentifier="sentry-dbid-14df2e38-c06e-49ee-9462-cbf0d4dff087")}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"})))),_1=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"})))),I1=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 E(12,C[3]),billReceiptSize:new E(60,C[10]),rootContainerPaddingTop:new E(C[3],62),rootContainerPaddingRight:new E(C[3],C[6]),rootContainerPaddingBottom:new E(C[5],C[9]),rootContainerPaddingLeft:new E(C[3],C[8])},r1=i(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?i1.largeRegular.css:i1.extraSmallRegular.css};
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: baseline;
|
|
8
|
-
`,n1=i(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=i(c1)`
|
|
15
|
-
color: ${e=>e.theme.colors.champion};
|
|
16
|
-
`,B=i.div`
|
|
17
|
-
padding: 0 2px;
|
|
18
|
-
`,D1=i.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: ${o.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=i.div`
|
|
44
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
45
|
-
border-radius: ${o.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=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
54
|
-
`,F1=i.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
box-sizing: border-box;
|
|
58
|
-
border-radius: ${o.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"?o.sp0:e.showTitlebar===!0&&e.windowSize!=="small"?o.sp3:o.sp0};
|
|
65
|
-
img {
|
|
66
|
-
width: inherit;
|
|
67
|
-
height: inherit;
|
|
68
|
-
}
|
|
69
|
-
`,U1=i.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=i.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
flex-grow: 1;
|
|
88
|
-
`,O1=i.div`
|
|
89
|
-
display: flex;
|
|
90
|
-
justify-content: flex-end;
|
|
91
|
-
align-items: center;
|
|
92
|
-
`,W1=i.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
95
|
-
align-content: center;
|
|
96
|
-
align-items: center;
|
|
97
|
-
margin-top: ${o.sp3};
|
|
98
|
-
`,N1=i(p1)`
|
|
99
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
|
-
margin-right: ${o.sp3};
|
|
101
|
-
`,G1=i.div`
|
|
102
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
|
-
padding: ${o.sp1} ${o.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: ${o.sp1};
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
`,N=i.div`
|
|
111
|
-
background: ${d.importantLight};
|
|
112
|
-
padding: ${o.sp2};
|
|
113
|
-
border-radius: ${o.sp1};
|
|
114
|
-
margin: ${o.sp3} 0;
|
|
115
|
-
max-width: 330px;
|
|
116
|
-
text-align: center;
|
|
117
|
-
`,q1=i(_1)`
|
|
118
|
-
color: ${e=>e.theme.colors.grey1};
|
|
119
|
-
margin-bottom: ${o.sp3};
|
|
120
|
-
`,J1=i(V1)`
|
|
121
|
-
color: ${e=>e.theme.colors.grey1};
|
|
122
|
-
margin-bottom: ${o.sp3};
|
|
123
|
-
`,Q1=i(I1)`
|
|
124
|
-
width: ${o.sp7};
|
|
125
|
-
height: ${o.sp7};
|
|
126
|
-
color: ${e=>e.theme.colors.hero};
|
|
127
|
-
`,G=i(p1)`
|
|
128
|
-
color: ${d.important};
|
|
129
|
-
`,Y1=({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(),[_,b]=t.useState(!1),L=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&_&&b(!1)},I=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,$=()=>{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(X1,{windowSize:p,type:e,children:M}):null,F==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(J,{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:`${o.sp0} 2px ${o.sp1} ${w.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(J,{size:"ExtraLarge",start:!0})}):l.jsx(K1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(D1,{windowSize:p,onClick:()=>$(),onDragEnter:L,onDragLeave:L,onDragOver:L,onDrop:I,"data-testid":Q("upload-tag",e),children:[l.jsxs(Z1,{onDragEnter:L,children:[e==="receipt"?l.jsx(q1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(J1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(B,{children:n?.upload}):null,n?.single!=null?l.jsx(B,{children:l.jsx(a1,{themeContext:w,children:n?.single})}):null,n?.or!=null?l.jsx(B,{children:n?.or}):null,n?.multiple!=null?l.jsx(B,{children:l.jsx(a1,{themeContext:w,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(B,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(B,{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($1,{fileRef:H,name:"invoice",onFileChange:D,multiple:j,sizeLimit:E1,onFileSizeError:V}),R===!0?l.jsxs(O1,{children:[l.jsx(Q1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:o.sp1},children:k.currencyInfo})]}):null]})})]})},K1=i.div`
|
|
130
|
-
padding: ${e=>e.type==="w9"?o.sp0:e.windowSize==="small"&&e.showAutofill===!1?o.sp3:o.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: ${o.sp2};
|
|
135
|
-
`,X1=i(c1)`
|
|
136
|
-
padding-bottom: ${e=>e.type==="w9"?o.sp0:e.windowSize==="small"?"12px":o.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:_,file:b,attachmentTitle:L,vendorLegalName:I,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:k,updateInvoiceUploadFetchState:$,onReplaceClick:D,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,Y]=t.useState(!1),K=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,U]=t.useState(!1),[u1,X]=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(S,u,P,o1,y1){Y(!0),X(!1);const b1=y===!0?P:[P[0]],k1=y===!0?o1:[o1[0]],{blobs:S1,names:v1}=await P1(b1,k1);await M1(`${S}/1.0/processors/${h}`,u,S1,v1,g1).then(L1=>{p?.(L1),U(!0),k?.()}).catch(()=>{X(!0),y1?.("Error")}),Y(!1)}const t1=S=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;S?(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":Q("upload-section",W),children:s?l.jsx(m1,{children:l.jsx(J,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(B1,{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:L,type:h,file:b,noAttachmentText:V,showTitlebar:w,showTitlebarIcon:_,pdfTitle:z,onReplaceClick:D,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:t1,onUploadAttachment:(S,u)=>{$?.("In-Progress"),e1(e,x,S,u,$)}}):l.jsx(Y1,{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:(S,u,P)=>{A?.trackUploadInvoice(P,W,I),$?.("In-Progress"),e1(e,x,S,u,$)}}),f?l.jsxs(W1,{windowSize:m,children:[l.jsx(N1,{windowSize:m,themeContext:a,children:K.skipAutofillInfo}),l.jsx(G1,{windowSize:m,themeContext:a,"data-testid":Q("skip-autofill",W),onClick:()=>H?.(!f),children:l.jsx(A1,{children:K.skipAutofill})})]}):null]})})};export{Y1 as AttachmentElement,he as default};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{q as a,V as i,eF as o,cV as n,o as s,aN as r,y as b}from"./index-DQZa93pl.js";import{c as f,n as c}from"./mui-CmeRX-VQ.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]="4ad547bb-d20e-492f-a294-3fd864ef37da",e._sentryDebugIdIdentifier="sentry-dbid-4ad547bb-d20e-492f-a294-3fd864ef37da")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:l,style:d}){const t=a();return i.jsxs(h,{size:t,style:d,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=c.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
width: ${e=>y.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"&&f`
|
|
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{q as W,cP as j,cX as u,V as r,cV as N,y as a,eQ as U,F as k,aN as O,d as i,o,p as V,M as _}from"./index-DQZa93pl.js";import{n as d}from"./mui-CmeRX-VQ.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]="311f7036-d861-461e-8973-373104bc707c",e._sentryDebugIdIdentifier="sentry-dbid-311f7036-d861-461e-8973-373104bc707c")}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:b,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:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:M,onDeleteFile:L,onEditFileName:B,onFileSizeError:R}){const s=W(),{formState:{errors:m}}=j(),g=u(m,n),C=u(m,`${n}.fileName`);return r.jsxs(q,{size:s,style:b,isDisabled:l!=null,"data-testid":O("document-field",n),children:[r.jsx(N,{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(X,{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:M,onFileSizeError:R,onDeleteFile:L,onEditFileName:B,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),g&&r.jsx(G,{size:s,isError:g,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const q=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
|
-
`,X=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};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import{q as C,e as T,cP as h,cX as P,V as r,o,cY as R,bP as M,b as _,gc as q,p as s,M as Y,bE as A}from"./index-DQZa93pl.js";import{n as i}from"./mui-CmeRX-VQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8f013aac-d02d-4706-8727-8326a20a7952",e._sentryDebugIdIdentifier="sentry-dbid-8f013aac-d02d-4706-8727-8326a20a7952")}catch{}})();const F={infoLabel:new Y("extraSmallRegular","smallRegular")};function X({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:j}){const n=C(),g=T(),{formState:{errors:S}}=h(),c=P(S,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(O,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(H,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...f},children:r.jsx(R,{name:E,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:V}})=>r.jsx(M,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:v,titleTextStyle:_.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(U,{children:[r.jsx(q,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:D})]})]})}const O=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
align-items: center;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
min-height: ${o.sp6};
|
|
7
|
-
padding-top: ${o.sp2};
|
|
8
|
-
padding-bottom: ${o.sp2};
|
|
9
|
-
padding-right: ${o.sp2};
|
|
10
|
-
|
|
11
|
-
:first-of-type {
|
|
12
|
-
border-top-left-radius: inherit;
|
|
13
|
-
border-top-right-radius: inherit;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:last-of-type {
|
|
17
|
-
border-bottom-left-radius: inherit;
|
|
18
|
-
border-bottom-right-radius: inherit;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:focus-within {
|
|
22
|
-
z-index: 1;
|
|
23
|
-
|
|
24
|
-
input {
|
|
25
|
-
background-color: ${e=>e.isError?s.importantLight:e.theme.colors.background};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
input {
|
|
29
|
-
background-color: ${e=>e.isError?s.importantLight:e.theme.colors.grey5};
|
|
30
|
-
}
|
|
31
|
-
&:hover {
|
|
32
|
-
input {
|
|
33
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?s.importantLight:e.theme.colors.background};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
`,U=i.div`
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
align-items: flex-end;
|
|
40
|
-
flex-grow: 1;
|
|
41
|
-
`,b=i.label`
|
|
42
|
-
display: flex;
|
|
43
|
-
color: ${e=>e.isError?s.important:e.theme.colors.grey1};
|
|
44
|
-
${e=>`${F.infoLabel.style(e.size)}`};
|
|
45
|
-
padding-right: ${o.sp3};
|
|
46
|
-
text-align: right;
|
|
47
|
-
`,B=i.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
margin-right: ${o.sp1};
|
|
50
|
-
align-items: center;
|
|
51
|
-
`,G=i(A)`
|
|
52
|
-
width: ${o.sp3};
|
|
53
|
-
height: ${o.sp3};
|
|
54
|
-
color: ${s.successDark};
|
|
55
|
-
`,H=i.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
width: 100%;
|
|
58
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
-
`,J=i.div``;export{X as Y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as b}from"./index-DQZa93pl.js";import{f as l}from"./ACHDetailsPage-CGG2Hx4v-D7yIQCry.js";import"./sentry-BNP8a0zR.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./zeni-epic-state-Dg9gbL0X.js";import"./mui-CmeRX-VQ.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.js";import"./BankAccountWarningSection-C-2eE9pL-ucJNqY4n.js";import"./MagicLinkTitleSection-BdiSVi0V-6L4P8c-X.js";import"./BankAccountSection-ZWR_hXjD-CgxlXo0x.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]="e0618986-f639-481e-a737-a2b41a74dee6",e._sentryDebugIdIdentifier="sentry-dbid-e0618986-f639-481e-a737-a2b41a74dee6")}catch{}})();const _=({magicLinkViewState:e,magicLinkBankAccountDetails:t,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:m,error:s,bankNameByRouting:c,bankAccountToCreate:d,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:f,amount:p}=e;return b.jsx(l,{bankAccountToCreate:d,bankAccountCreationState:{fetchState:m,error:s},bankNameByRouting:c,fetchBankNameByRoutingStatus:u,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:f,amount:p})};export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as y}from"./index-DQZa93pl.js";import{w as g}from"./DomesticWireDetailsPage-DF8bLeDL-D0xzJqsD.js";import"./sentry-BNP8a0zR.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./zeni-epic-state-Dg9gbL0X.js";import"./mui-CmeRX-VQ.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.js";import"./BankAccountSection-ZWR_hXjD-CgxlXo0x.js";import"./MagicLinkTitleSection-BdiSVi0V-6L4P8c-X.js";import"./BankAccountWarningSection-C-2eE9pL-ucJNqY4n.js";import"./MailingDetailsSection-CjO5OVZN-Dz2JVYO4.js";import"./LabeledAddressValueField-DPisU2iY-CBp9buEB.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]="b279d7a7-6b71-41ef-bcaf-b0d966860024",e._sentryDebugIdIdentifier="sentry-dbid-b279d7a7-6b71-41ef-bcaf-b0d966860024")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,companyName:n,onSaveHandler:r,onWireDetailsUpdated:i,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:b}=t,{currencySymbol:f,amount:l}=e;return y.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:o,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:f,amount:l})};export{E as default};
|