@zeniai/web-cockpit-ui 1.15.8-qa → 1.15.9-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-BVkQ4K87-2mUod8Ze.js +21 -0
- package/dist/assets/{AIPerformancePage-nAXYlFHx-D8t7UfO6.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
- package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C6fN_njt-HYk5LymM.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-xGH31FUE.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
- package/dist/assets/{AccountRow-C0plHrDu-BHbrjlQa.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
- package/dist/assets/{AccountsPromoCardStack-BCRuoijH-BiUfxCis.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
- package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
- package/dist/assets/{AddToWalletPage-CKPw3FXG-1yjoUpl3.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
- package/dist/assets/{AgingReportsPage-BLYXtrbx-ChP2VVRq.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
- package/dist/assets/{AllUserItems-CIuKSRs--BSTdrFJx.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
- package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
- package/dist/assets/{AppBasePage-zQkWIZIS-J73aeT5P.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
- package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-Cn6qw6gU.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
- package/dist/assets/{ArAgingChart-Dv9GPrlk-BDO04yvC.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-vW-JcTgF-CdtFinK-.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
- package/dist/assets/{AttachmentView-CHgDKLit-CNDwc0Eo.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
- package/dist/assets/{BankAccountSection-danXlJW--CGFGOQdm.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
- package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-DBmd09rV.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
- package/dist/assets/{BillDetailPage-BD2IX-iP-QIATdRex.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-JKxreggo.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-DrTI5_46.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
- package/dist/assets/{BillPayPromoPage-C7PX-EVL-DDmbTE9O.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-Czno3Zre-BE6uTwDe.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
- package/dist/assets/{BillingSettingsPage-DwBAvbyP-BOeTv55Y.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
- package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
- package/dist/assets/{BoxItem-CQn8-mlp-BpjhTACd.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Pj_43PYG-BBfAZpRu.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
- package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
- package/dist/assets/{CashbackDetailPage-BPGA9iT0-pfH6WY-d.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-draAZn9S-BLHAWsUD.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
- package/dist/assets/{ChargeCardListPage-gsG1eX_i-DncsEeIV.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DVFpdT9f-D6Qv1C8v.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
- package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-KYpdTWjw.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
- package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-63DpNOd1.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-BSLQYECC.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-D2wZXg2E.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
- package/dist/assets/{CollapsableReportTable-D9EGRkFb-rtyJvli3.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
- package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
- package/dist/assets/{CompanyPassportCard--3g9aidd-DEP92iFu.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
- package/dist/assets/{CompanyPassportPage-BhF3zWN0-D1AeDDw0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
- package/dist/assets/{CompleteProfile-iee5HgiC-DWDz1H5n.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
- package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-DUgUVqol.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-BQoH4AnG.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
- package/dist/assets/{CurrencySelectField-CcU9PAOW-UhjAv5pw.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-BfLZrVA_.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CP969grW-DSt_mh2c.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-KXFyyrbX.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
- package/dist/assets/{Dashboard-CKSEolZn-KkJW27CG.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
- package/dist/assets/{DashboardReportPage-JLORU_HF-Cpq1a7z1.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-AvtdKUwZ.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BCChPgpu.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-DBkE3G1h.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
- package/dist/assets/{DownloadOverlay-D7AI3CGS-BSXz1TYL.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
- package/dist/assets/{DrawerPage-BiQurb8Q-CwosoM_H.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
- package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-C2zvDGNE.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
- package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
- package/dist/assets/{EntitySummarySection-dbyZ3ZMD-DIUFVdBF.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-D_hqg6CV.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
- package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-ozrsfKpW.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
- package/dist/assets/{ExpressPayPage-CaBFl4M3-CpnlRAIb.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
- package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
- package/dist/assets/{FollowStepsSection-BGZ3rzSO-DZqA0Ls-.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-DIiVT0qf-C1h-R-9P.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
- package/dist/assets/{InformationCardStack-BZIU9Bwm-BPjI_Aqf.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
- package/dist/assets/{InsightsCardStack-BZ6yws_x-l5SDGStI.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
- package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-D0GHOz8k.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-D4jFazij.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
- package/dist/assets/{InviteFormPage-C-_fbwpS-Dc7fjvDO.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
- package/dist/assets/{InvitePageListView-DX3LFpcZ-x0SBH5kb.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
- package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
- package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BSax9G6t-li0Yc8Qz.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
- package/dist/assets/{LabeledAddressValue-kz4tRnLH-fkTasFZL.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D950JjHi-CobscTGb.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--D8QByb_Y.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
- package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
- package/dist/assets/{LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
- package/dist/assets/{LabeledText-D0g7m29R-cxnm614T.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
- package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
- package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
- package/dist/assets/{LockCardPage-XgZwsozn-DcNxXIWb.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
- package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-hreLPWO1.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
- package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-D0Sufsix.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
- package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
- package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
- package/dist/assets/{NavigationArrow-BuPVGh38-XNHRi9o5.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
- package/dist/assets/{NavigationDots-CLd0nZZT-CV65Lnrl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DrYC7XeB.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
- package/dist/assets/{NoDataChart-VrW0gNeK-D9AHc7Vl.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
- package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
- package/dist/assets/{NotFoundPage-CvuhMeh3-DqU44v-s.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-612cyOPa-B2Br4UTC.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
- package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
- package/dist/assets/{NotificationsPage-DOq8YY_K-DXXt11Bj.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
- package/dist/assets/{OpExByVendorPage-JhAQyVWO-CFIAoogA.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
- package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B8WG6VDM-DheE6AGf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
- package/dist/assets/{PeoplePage-BJui-Wgk-ZqLOzULs.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
- package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
- package/dist/assets/{ProductsCarousel-CGhEa82h-DIdMDRd_.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
- package/dist/assets/{PromoBaseCards-1PF_kyGP-BRJ2sUha.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BVpU5kvg-HDDG_kF6.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
- package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-zXLIrPpr.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-ClYVlFhQ.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
- package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-BjjCmbcS.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-DF7X2SfJ.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
- package/dist/assets/{ReloadCard-crbWeOPP-CXnI4BBC.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-KXoOW677-VB10UJ6e.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
- package/dist/assets/{ReportsPage-C3Jj54B2-BeGQBjYf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
- package/dist/assets/{RevenueChart-B2lwdex1-Cn6eIKBB.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BzJuymlx-De8jeqFq.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
- package/dist/assets/{ReviewOverlay-CXHcM5J8-CWmuYC1c.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
- package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-4LVdyrEA.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-MEIZsagy-Bs57M6oJ.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
- package/dist/assets/{ScreenRoutes-Br3O3Bv3.js → ScreenRoutes-esZWtP8Y.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Drp97o6h-CUmuMQTP.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
- package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
- package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-DsXDsMNB.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CDT-okI2.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
- package/dist/assets/{SpendManagementSection-WqBeexgm-FC3yMOoP.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
- package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
- package/dist/assets/{StatementsPage-ProqQbaP-Bwe3MvOf.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
- package/dist/assets/{StatusSwitcher-CWQs9lpu-vdzoI5uC.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
- package/dist/assets/{SubTabSwitcher-B2uBojsp-BscSJfWm.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
- package/dist/assets/{SummaryCard-Dcd_VUph-CtvPqFVw.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
- package/dist/assets/{TaskManagementPage-BM9VR6Lt-96HNn42p.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
- package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-C7Lz4In0.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
- package/dist/assets/{TimeframeSwitcher--oC4RNb6-9wGsnDTh.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-IGT58opJ.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
- package/dist/assets/{TopExCard-DQ50kCvS-ChFGt_1f.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
- package/dist/assets/{TopExDetailPage-iwv1KNmn-D2goxRJ1.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
- package/dist/assets/{TransactionDetailPage-dcUFs9xb-D1c2i9oL.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
- package/dist/assets/{TransactionList-1g-61_2b-BsVHB-dP.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
- package/dist/assets/{TransactionListBig-CSrLWjaV-DmreU3Pg.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
- package/dist/assets/{TransactionListPage-CKkWpoxH-DwZxceId.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Da7F6NI9.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
- package/dist/assets/{TransferDrawerPage-nyepeege-C5aOIw_t.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-CkaOtstB-Cb7VOc7Q.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-B55rqmLO-B6nyli4-.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
- package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
- package/dist/assets/{TrendChart-BsSVNJm5-C5P4NUjk.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-BzXjBs-h.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CEtqPMTy-CkFNHSgJ.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BPoFrkoj-CrkNrLcq.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
- package/dist/assets/{VendorDetailPage-C0qX459r-DAL6sRtd.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
- package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-DUD0rine.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-BgMJtPzx.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
- package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DKjAmytq.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
- package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-BmGEajTn.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
- package/dist/assets/{VerifyDevice-B23jU0_c-Y4SYDFq4.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
- package/dist/assets/{VideoPlayer-CylTUX4X-DSxfswME.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
- package/dist/assets/{VideoPopup-C9x0ntQ5-BVA3i-oV.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DrjxA1t_-BoFSpSiS.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-CIWx2G2v.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-C79um01B.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-B2My929b.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-BE975QGg-D-DppFIe.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
- package/dist/assets/{ZeniCopyright-eB9rNuZ3-cNG8Rw7j.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
- package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
- package/dist/assets/{analyticsHelper-CLY1vV_E-BwSnChaf.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
- package/dist/assets/{analyticsHelper-fz25hsmq.js → analyticsHelper-CM3pI6rO.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
- package/dist/assets/{chartTypes-BjaXr-A2-D3DBmfud.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
- package/dist/assets/{commonDimensions-C0X17W9N-CR9paNIq.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
- package/dist/assets/{commonTypes-BN7Uh_8W-BM1Dtb_1.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
- package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
- package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
- package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
- package/dist/assets/{detailCommon-D9PsnkY1-D9_PN47h.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
- package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
- package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
- package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
- package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
- package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
- package/dist/assets/{index-e-SZUuyN.js → index-AqGiWrum.js} +4262 -4259
- package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
- package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
- package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
- package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
- package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
- package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
- package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
- package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
- package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
- package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
- package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
- package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
- package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
- package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
- package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
- package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
- package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
- package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
- package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
- package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
- package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
- package/dist/assets/{uploadAttachment-BLADYUsp-CuyJL9Ae.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
- package/dist/assets/{uploadReceipts-CLN2DLHQ-BcmoXhPJ.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
- package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
- package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
- package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
- package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-C4kSZtcW-CRAncXjZ.js +0 -21
- package/dist/assets/AccountInfoPage-BgYgT10O-BPubXPU8.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DRmaVRzS-Dz8UCOQu.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-HjaseCvO.js +0 -6
- package/dist/assets/ApAgingDetailPage-DeqICFKW-BGrGI80f.js +0 -46
- package/dist/assets/AppDrawerContent-OIrm7j-k-CAl-h4tc.js +0 -91
- package/dist/assets/BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js +0 -51
- package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-Btjur5rB.js +0 -1
- package/dist/assets/CardNumberSubText-2Tw37MOu-Na5odSIe.js +0 -21
- package/dist/assets/ChargeCardPromoPage-DIxy-YcS-CPRuhZCR.js +0 -222
- package/dist/assets/ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-DlPVcAtZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-CBl7xIv9.js +0 -66
- package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-DgEcVBWB.js +0 -66
- package/dist/assets/EditPeoplePage-DkLTV485-DSmYd3gF.js +0 -55
- package/dist/assets/EntityDetailPage-ougFUO1M-D5lOJcsX.js +0 -18
- package/dist/assets/FeaturePreviewPage-BY7VDaUB-BlOtvf2P.js +0 -11
- package/dist/assets/InsightsSection-CdlmvyOs-CSbQ6jxV.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-CzF6c2rU.js +0 -65
- package/dist/assets/InvitePeoplePage-DOfw4ntH-Bnv1S2jS.js +0 -12
- package/dist/assets/InvoiceUploadSection-7NLq2wUY-D1Ujr_CT.js +0 -140
- package/dist/assets/LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-8L8nXgg2.js +0 -59
- package/dist/assets/LinkJETransactionPage-DQUYzOEN-CAqtea48.js +0 -98
- package/dist/assets/LowBalancePopup-ChBTdcM2-BRhnRaDc.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-Caq0ps9o.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-Cl_8tBOk.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-oQ1LN-Ng.js +0 -1
- package/dist/assets/MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-BmwV3pjH.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BHZrydBY-B_909T6y.js +0 -85
- package/dist/assets/NavBarWithPicker-DfM5Vi5g-BWJESbaI.js +0 -30
- package/dist/assets/NoDataTable-CZaHTbXi-cbckRR4v.js +0 -8
- package/dist/assets/NotificationsListConfig-CrNHxW9v-KkWyZsCx.js +0 -1
- package/dist/assets/OverlayContainerPage-CEiw6dk7-D-uaIGKT.js +0 -11
- package/dist/assets/QBOSetupSection-QpfgbXqT-DygUgRVU.js +0 -79
- package/dist/assets/ReimbursementDetailPage-BntmMmsa-DBIHpTWQ.js +0 -314
- package/dist/assets/ReimbursementPromoPage--ddzF7ri-C8Whx13o.js +0 -84
- package/dist/assets/RoleWithToolTip-q4rQTPKj-DnZtHqjj.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-RHoI8Wq9.js +0 -37
- package/dist/assets/SignIn-YqQXhCUb-DTchfIMW.js +0 -491
- package/dist/assets/SignInScreen-BEl-iT5I.js +0 -1
- package/dist/assets/StatementItem-DNtPyOiC-Cwms937J.js +0 -31
- package/dist/assets/TreasuryStatementsPage-DA72LRB2-BCFMT-Wb.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-BvK8_LPp.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-19i7WD8j.js +0 -38
- package/dist/assets/VendorACHDetailsPage-_UmamDKx-DnLhvKeC.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-D6ans18-.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-CGNH7X2x.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-Jh4OQT7x.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb-D5scnWJV.js +0 -63
- package/dist/assets/downloadPdf-DE7Hd8jE-BAK9xguG.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-CE09aSrt.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-hu7JWeUA.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-DtuP5OpB.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-BgK_pIe_.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-H65zpMKu.js +0 -1
- package/dist/assets/toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js +0 -1
- package/dist/assets/toChartData-D5QdTlGa-DLv4zZlP.js +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{J as K,fS as Y,e as ee,a9 as te,c as f,V as d,gP as le,ac as ne,aQ as oe,aS as se,o as re,y as z,cB as Z,fV as j,fW as V,fX as A,O as ie,a as ae}from"./index-e-SZUuyN.js";import{a as x}from"./sentry-Dla7mstv.js";import{n as Q}from"./mui-mhzAEcDs.js";import{FB as de,bg as ce}from"./zeni-epic-state-CSmiPBaP.js";import{f as ue}from"./AllUserItems-CIuKSRs--BSTdrFJx.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js";import"./RoleWithToolTip-q4rQTPKj-DnZtHqjj.js";import"./LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.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]="cf34153b-800e-47c3-a7e1-f6f83a9d6e61",e._sentryDebugIdIdentifier="sentry-dbid-cf34153b-800e-47c3-a7e1-f6f83a9d6e61")}catch{}})();const T={containerPaddingLeft:new z(f[3],f[6],f[8]),containerPaddingRight:new z(f[3],f[6],f[8]),buttonWidth:new z(85,85)},N="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Se=({peopleDetails:e,managersList:t,classList:g,controllersList:L,mode:o,isZeniTenant:$,onPeopleLocalDataUpdated:C,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:P,isZeniAccountsDisabled:s,isChargeCardDisabled:D,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:_,isLiteRoleDisabled:B})=>{const c=K(),[W,J]=x.useState(-1),[U,S]=x.useState(""),q=x.useRef(null),k=x.useMemo(()=>Y(P,s,D,R,_,B,E),[P,s,D,R,_,B,E]),X=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,k,t,g,R,_),values:M(e.people,o,k,t,g,R,_)}),F=i.handleSubmit(()=>{G()?r():console.warn("Invite People form error")}),G=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,w)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${w}.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}.${w}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!_&&(i.setError(`${I}.${w}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${w}.manager`,{type:"required"}),n=!1)}}),n},H=async(l,n)=>{const v=[],{userItems:w}=n;w.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)}),C(v)};return x.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&H(v,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=q.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?S(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):S(""))};return c==="small"?S(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&S(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,U,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:U,backgroundColor:X.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:q,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:`${N}_form`,onSubmit:F,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:W,updateDeleteConfirmationIndex:J,mode:o,isZeniTenant:$,classList:g,managersList:t,controllersList:L,isBankingOnlyTenant:R,isCardsOnlyTenant:_,customerRoleOptions:k,isEdit:!1})})})]}),d.jsx(se,{formId:`${N}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:T.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:T.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:re.sp4}})]})},M=(e,t,g,L,o,$,C)=>{const O=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:V($,C)},productsByUserRole:j(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,P)=>({userIndex:P,email:r.email,role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?A(r.role):void 0,allRootRole:V($,C)},productsByUserRole:j(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}})):O}},Te=(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=>`${T.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
-
padding-right: ${e=>`${T.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
`,pe=Q(ae)`
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
`;export{Se as default,Te as uniqueName};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import{e as s1,J as d1,O as J,V as l,T as q,o as i,p as d,y as E,gz as L1,gA as E1,aQ as Q,cp as B1,cq as j1,cr as z1,at as A1,ba as c1,c as C,b as o1,M as T1,l as H1,ai as p1,gB as P1}from"./index-e-SZUuyN.js";import{a as t}from"./sentry-Dla7mstv.js";import{n as o}from"./mui-mhzAEcDs.js";import R1 from"./AttachmentView-CHgDKLit-CNDwc0Eo.js";import{l as M1}from"./uploadReceipts-CLN2DLHQ-BcmoXhPJ.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="7cce1333-7fba-466c-bdf7-ff023b1f9014",e._sentryDebugIdIdentifier="sentry-dbid-7cce1333-7fba-466c-bdf7-ff023b1f9014")}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=o(T1)`
|
|
2
|
-
color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
|
|
3
|
-
white-space: pre-wrap;
|
|
4
|
-
text-align: center;
|
|
5
|
-
${e=>e.isPlaceholderText===!0?o1.largeRegular.css:o1.extraSmallRegular.css};
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: baseline;
|
|
8
|
-
`,n1=o(H1)`
|
|
9
|
-
color: ${e=>e.theme.colors.hero};
|
|
10
|
-
white-space: pre-wrap;
|
|
11
|
-
text-align: center;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: baseline;
|
|
14
|
-
`,a1=o(c1)`
|
|
15
|
-
color: ${e=>e.theme.colors.champion};
|
|
16
|
-
`,B=o.div`
|
|
17
|
-
padding: 0 2px;
|
|
18
|
-
`,D1=o.div`
|
|
19
|
-
height: 100%;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
flex: 1 1 auto;
|
|
24
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
border-radius: ${i.sp2};
|
|
27
|
-
padding: ${e=>g.memoPaddingTopBottomRight.valuePx(e.windowSize)};
|
|
28
|
-
align-items: center;
|
|
29
|
-
width: 100%;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
-
.uploadIconStyled {
|
|
33
|
-
fill: ${e=>e.theme.colors.grey1};
|
|
34
|
-
}
|
|
35
|
-
&:hover {
|
|
36
|
-
.uploadIconStyled {
|
|
37
|
-
fill: ${e=>e.theme.colors.primary};
|
|
38
|
-
}
|
|
39
|
-
.textContent {
|
|
40
|
-
color: ${e=>e.theme.colors.primary};
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`,m1=o.div`
|
|
44
|
-
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
45
|
-
border-radius: ${i.sp2};
|
|
46
|
-
display: flex;
|
|
47
|
-
flex: 1 1 auto;
|
|
48
|
-
width: 100%;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
align-items: center;
|
|
52
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
53
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
54
|
-
`,F1=o.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
box-sizing: border-box;
|
|
58
|
-
border-radius: ${i.sp2};
|
|
59
|
-
align-items: center;
|
|
60
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
61
|
-
justify-content: center;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
padding: ${e=>e.type==="w9"?i.sp0:e.showTitlebar===!0&&e.windowSize!=="small"?i.sp3:i.sp0};
|
|
65
|
-
img {
|
|
66
|
-
width: inherit;
|
|
67
|
-
height: inherit;
|
|
68
|
-
}
|
|
69
|
-
`,U1=o.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
align-items: center;
|
|
73
|
-
padding-top: ${e=>g.rootContainerPaddingTop.valuePx(e.windowSize)};
|
|
74
|
-
padding-right: ${e=>g.rootContainerPaddingRight.valuePx(e.windowSize)};
|
|
75
|
-
padding-bottom: ${e=>g.rootContainerPaddingBottom.valuePx(e.windowSize)};
|
|
76
|
-
padding-left: ${e=>g.rootContainerPaddingLeft.valuePx(e.windowSize)};
|
|
77
|
-
height: ${e=>e.windowSize==="small"&&e.showAutofill?"100%":e.windowSize==="small"?"490px":"auto"};
|
|
78
|
-
overflow: ${e=>e.windowSize==="small"?"unset":"hidden"};
|
|
79
|
-
width: ${e=>e.windowSize=="small"?"100%":"42%"};
|
|
80
|
-
background-color: ${e=>e.showAutofill&&e.windowSize!=="small"?d.overlayDark:e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
|
|
81
|
-
margin-top: ${e=>e.windowSize==="small"&&(e.type==="bill"||e.type==="w9")?"76px":"unset"};
|
|
82
|
-
`,Z1=o.div`
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
flex-grow: 1;
|
|
88
|
-
`,O1=o.div`
|
|
89
|
-
display: flex;
|
|
90
|
-
justify-content: flex-end;
|
|
91
|
-
align-items: center;
|
|
92
|
-
`,W1=o.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
95
|
-
align-content: center;
|
|
96
|
-
align-items: center;
|
|
97
|
-
margin-top: ${i.sp3};
|
|
98
|
-
`,N1=o(p1)`
|
|
99
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
|
-
margin-right: ${i.sp3};
|
|
101
|
-
`,G1=o.div`
|
|
102
|
-
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
|
-
padding: ${i.sp1} ${i.sp2};
|
|
104
|
-
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
105
|
-
&:hover {
|
|
106
|
-
border-color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
107
|
-
}
|
|
108
|
-
border-radius: ${i.sp1};
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
`,N=o.div`
|
|
111
|
-
background: ${d.importantLight};
|
|
112
|
-
padding: ${i.sp2};
|
|
113
|
-
border-radius: ${i.sp1};
|
|
114
|
-
margin: ${i.sp3} 0;
|
|
115
|
-
max-width: 330px;
|
|
116
|
-
text-align: center;
|
|
117
|
-
`,J1=o(_1)`
|
|
118
|
-
color: ${e=>e.theme.colors.grey1};
|
|
119
|
-
margin-bottom: ${i.sp3};
|
|
120
|
-
`,q1=o(V1)`
|
|
121
|
-
color: ${e=>e.theme.colors.grey1};
|
|
122
|
-
margin-bottom: ${i.sp3};
|
|
123
|
-
`,Q1=o(I1)`
|
|
124
|
-
width: ${i.sp7};
|
|
125
|
-
height: ${i.sp7};
|
|
126
|
-
color: ${e=>e.theme.colors.hero};
|
|
127
|
-
`,G=o(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),$=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),S=J.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{H.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(j){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);v?.(m,a,"dragdrop")}else{const a=s[0];v?.([a],[a.name],"upload")}}},F=T!=null?T.fetchState=="In-Progress":x;return l.jsxs(F1,{showTitlebar:A,windowSize:p,type:e,children:[A===!0?l.jsx(X1,{windowSize:p,type:e,children:M}):null,F==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(q,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${w.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${w.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${w.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(q,{size:"ExtraLarge",start:!0})}):l.jsx(K1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(D1,{windowSize:p,onClick:()=>L(),onDragEnter:$,onDragLeave:$,onDragOver:$,onDrop:I,"data-testid":Q("upload-tag",e),children:[l.jsxs(Z1,{onDragEnter:$,children:[e==="receipt"?l.jsx(J1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(q1,{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:S.dropW9}):l.jsx(n1,{children:S.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:S.uploadFileSizeExceedError})}),f&&y!=="File size is too large"&&l.jsx(N,{children:l.jsx(G,{children:S.uploadError.replace("__type__",e)})})]}),l.jsx(L1,{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:i.sp1},children:S.currencyInfo})]}):null]})})]})},K1=o.div`
|
|
130
|
-
padding: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"&&e.showAutofill===!1?i.sp3:i.sp0};
|
|
131
|
-
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
|
|
132
|
-
height: 100%;
|
|
133
|
-
width: 100%;
|
|
134
|
-
border-radius: ${i.sp2};
|
|
135
|
-
`,X1=o(c1)`
|
|
136
|
-
padding-bottom: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"?"12px":i.sp3};
|
|
137
|
-
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
|
|
138
|
-
width: 100%;
|
|
139
|
-
color: ${e=>e.theme.colors.primary};
|
|
140
|
-
`,he=({uploadInvoiceEndPoint:e,authParams:x,showAutofill:f,allowMultiFiles:y,type:h="bill",customError:j,pdfTitle:z,entityId:n,shouldNotShowAttachment:R,analytics:A,style:M,noAttachmentText:V,dropFilePlaceholder:v,showInfoText:T,showTitlebar:w,showTitlebarIcon:_,file:b,attachmentTitle:$,vendorLegalName:I,onInvoiceUpload:p,onSkipAutofill:H,setFileUploaded:S,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,Y]=t.useState(!1),K=J.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(k,u,P,i1,y1){Y(!0),X(!1);const b1=y===!0?P:[P[0]],S1=y===!0?i1:[i1[0]],{blobs:k1,names:v1}=await P1(b1,S1);await M1(`${k}/1.0/processors/${h}`,u,k1,v1,g1).then($1=>{p?.($1),U(!0),S?.()}).catch(()=>{X(!0),y1?.("Error")}),Y(!1)}const t1=k=>{const u=J.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;k?(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(q,{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:$,type:h,file:b,noAttachmentText:V,showTitlebar:w,showTitlebarIcon:_,pdfTitle:z,onReplaceClick:D,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:t1,onUploadAttachment:(k,u)=>{L?.("In-Progress"),e1(e,x,k,u,L)}}):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:(k,u,P)=>{A?.trackUploadInvoice(P,W,I),L?.("In-Progress"),e1(e,x,k,u,L)}}),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,41 +0,0 @@
|
|
|
1
|
-
import{J as O,cJ as W,es as u,V as r,cO as j,y as l,eS as U,O as k,aQ as J,c as i,o,p as N,F as _}from"./index-e-SZUuyN.js";import{n as d}from"./mui-mhzAEcDs.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]="61818e30-a7da-4abc-a2f9-1484ed66e456",e._sentryDebugIdIdentifier="sentry-dbid-61818e30-a7da-4abc-a2f9-1484ed66e456")}catch{}})();const a={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},A={infoLabel:new _("extraSmallRegular","smallRegular")};function Y({label:e,isDisabled:t,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:S=!1,placeholderText:E,showPhotoPicker:v,useMobileCam:I,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:L,onDeleteFile:M,onEditFileName:B,onFileSizeError:R}){const s=O(),{formState:{errors:m}}=W(),g=u(m,n),C=u(m,`${n}.fileName`);return r.jsxs(V,{size:s,style:b,isDisabled:t!=null,"data-testid":J("document-field",n),children:[r.jsx(j,{isDisabled:t,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(q,{labelWidth:e.width,size:s,children:[r.jsx(U,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:t==="disabled"||t==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:L,onFileSizeError:R,onDeleteFile:M,onEditFileName:B,placeholderText:E,showPhotoPicker:v,useMobileCam:I,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),g&&r.jsx(G,{size:s,isError:g,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=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=>a.width.valuePx(e.size)};
|
|
7
|
-
min-height: ${e=>a.height.valuePx(e.size)};
|
|
8
|
-
padding-right: ${e=>a.marginRight.valuePx(e.size)};
|
|
9
|
-
padding-top: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
10
|
-
padding-bottom: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
11
|
-
|
|
12
|
-
:first-of-type {
|
|
13
|
-
border-top-left-radius: inherit;
|
|
14
|
-
border-top-right-radius: inherit;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:last-of-type {
|
|
18
|
-
border-bottom-left-radius: inherit;
|
|
19
|
-
border-bottom-right-radius: inherit;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
z-index: 1;
|
|
24
|
-
outline: 1px solid
|
|
25
|
-
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
`,q=d.div`
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
31
|
-
padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
|
|
32
|
-
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
|
-
align-items: flex-end;
|
|
34
|
-
flex-grow: 1;
|
|
35
|
-
`,G=d.label`
|
|
36
|
-
display: flex;
|
|
37
|
-
color: ${e=>e.isError?N.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{J as C,e as R,cJ as g,es as T,V as r,o,eB as F,bR as J,b as _,gg as P,p as l,F as A,bG as B}from"./index-e-SZUuyN.js";import{n as i}from"./mui-mhzAEcDs.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]="f96aee3d-f6c5-4a4f-9836-6ac9656ff329",e._sentryDebugIdIdentifier="sentry-dbid-f96aee3d-f6c5-4a4f-9836-6ac9656ff329")}catch{}})();const G={infoLabel:new A("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:t,dropdownStyle:b,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:f,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const n=C(),p=R(),{formState:{errors:S}}=g(),c=T(S,t.name),{control:I}=g(),z=s=>typeof s=="string"?s.toLocaleUpperCase():s.toString().toLocaleUpperCase();return r.jsxs(M,{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(K,{style:{width:"auto",...b},children:r.jsx(F,{name:j,control:I,defaultValue:f.dropDownValue,rules:L,render:({field:{value:s,onChange:V}})=>r.jsx(J,{pickerValues:f.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:s??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:v,titleTextStyle:_.standardRegular,titleColor:p.colors.hero,valueOpacity:1,backgroundColor:p.colors.grey5,placeholder:E})})})}),r.jsxs(O,{children:[r.jsx(P,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(U,{children:r.jsx(q,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const M=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?l.importantLight:e.theme.colors.background};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
input {
|
|
29
|
-
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.grey5};
|
|
30
|
-
}
|
|
31
|
-
&:hover {
|
|
32
|
-
input {
|
|
33
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
`,O=i.div`
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
align-items: flex-end;
|
|
40
|
-
flex-grow: 1;
|
|
41
|
-
`,h=i.label`
|
|
42
|
-
display: flex;
|
|
43
|
-
color: ${e=>e.isError?l.important:e.theme.colors.grey1};
|
|
44
|
-
${e=>`${G.infoLabel.style(e.size)}`};
|
|
45
|
-
padding-right: ${o.sp3};
|
|
46
|
-
text-align: right;
|
|
47
|
-
`,U=i.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
margin-right: ${o.sp1};
|
|
50
|
-
align-items: center;
|
|
51
|
-
`,q=i(B)`
|
|
52
|
-
width: ${o.sp3};
|
|
53
|
-
height: ${o.sp3};
|
|
54
|
-
color: ${l.successDark};
|
|
55
|
-
`,H=i.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
width: 100%;
|
|
58
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
-
`,K=i.div``;export{N as Y};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import{J as G,aR as ue,a9 as pe,cF as me,iI as E,it as I,cG as he,V as a,ac as ge,g5 as fe,aS as be,O as H,o as t,y as m,l as xe,x as ye,cK as O,iJ as we,p as je,b as P,bi as Ce,c as r}from"./index-e-SZUuyN.js";import{a as R}from"./sentry-Dla7mstv.js";import{n as i}from"./mui-mhzAEcDs.js";import{G1 as W,F_ as Se,F$ as De}from"./zeni-epic-state-CSmiPBaP.js";import $e from"./TransactionDetailPage-dcUFs9xb-D1c2i9oL.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./LabeledControlledCheckBoxField-BxXnpjp--D8QByb_Y.js";import"./TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js";import"./TrendChart-BsSVNJm5-C5P4NUjk.js";import"./chartTypes-BjaXr-A2-D3DBmfud.js";import"./toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js";import"./toChartData-D5QdTlGa-DLv4zZlP.js";import"./NoDataChart-VrW0gNeK-D9AHc7Vl.js";import"./InsightsSection-CdlmvyOs-CSbQ6jxV.js";import"./NavigationDots-CLd0nZZT-CV65Lnrl.js";import"./TransactionList-1g-61_2b-BsVHB-dP.js";import"./BoxItem-CQn8-mlp-BpjhTACd.js";import"./commonDimensions-C0X17W9N-CR9paNIq.js";import"./uploadAttachment-BLADYUsp-CuyJL9Ae.js";import"./radio-default-CiSgisfh-j32Y6uZn.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]="c2204516-7ecd-49bc-8e2c-812df78aa0e4",e._sentryDebugIdIdentifier="sentry-dbid-c2204516-7ecd-49bc-8e2c-812df78aa0e4")}catch{}})();const V={labelWidth:new m(120,145,160)},ve=i.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
`,ke=i.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
width: 100%;
|
|
9
|
-
background: ${e=>e.theme.colors.grey5};
|
|
10
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
11
|
-
border-radius: ${t.sp3};
|
|
12
|
-
`,Ee=i.div`
|
|
13
|
-
color: ${e=>e.theme.colors.primary};
|
|
14
|
-
margin: ${t.sp3} ${t.sp1};
|
|
15
|
-
${P.largeMedium.css};
|
|
16
|
-
`,Ie=i.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
flex: 1;
|
|
19
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
20
|
-
min-height: 1px;
|
|
21
|
-
max-height: 1px;
|
|
22
|
-
`,J=(e,l)=>`${e}.${l}`;function Pe({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=G();return a.jsxs(ve,{children:[a.jsx(Ee,{windowSize:g,children:C.header}),a.jsxs(ke,{children:[a.jsx(O,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(Ie,{}),a.jsx(O,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},B="linkJETransactionPage",Z="linkJETransaction",Q=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Le}=Q,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=G(),A=ue(u),y=W(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};R.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),R.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=Q,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",F=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&F&&v||$&&z&&v,k=F&&v;return a.jsxs(Te,{children:[a.jsxs(Ue,{windowSize:p,children:[a.jsx(Re,{windowSize:p,children:b.linkJE}),a.jsx(Fe,{children:a.jsx(Oe,{onClick:U})})]}),a.jsxs(Ae,{children:[a.jsx(Ne,{windowSize:p,children:a.jsx(ge,{...f,children:a.jsx("form",{id:Y(B),onSubmit:f.handleSubmit(oe),children:a.jsx(Pe,{jePostingDate:s.postingDate,sectionId:Z,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Je,{windowSize:p,children:[a.jsx(Be,{})," ",b.zeniRecommendation]}):null,$?a.jsx(ze,{children:a.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Ve,{children:[re?a.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?a.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?a.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?a.jsx(be,{formId:w?Y(B):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Z]:{qboURL:W(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Te=i.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
flex: 1 1 auto;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: fit-content;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
justify-content: flex-start;
|
|
29
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
30
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
31
|
-
`,Ae=i.div`
|
|
32
|
-
padding: ${t.sp0} ${t.sp8};
|
|
33
|
-
flex-grow: 1;
|
|
34
|
-
`,Ue=i.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
top: ${t.sp0};
|
|
38
|
-
z-index: 2;
|
|
39
|
-
padding-left: ${e=>x.containerPaddingLeft.valuePx(e.windowSize)};
|
|
40
|
-
padding-right: ${e=>x.containerPaddingRight.valuePx(e.windowSize)};
|
|
41
|
-
padding-top: ${e=>x.navbarContainerPaddingTop.valuePx(e.windowSize)};
|
|
42
|
-
padding-bottom: ${e=>x.navbarContainerPaddingBottom.valuePx(e.windowSize)};
|
|
43
|
-
`,Ne=i.div`
|
|
44
|
-
max-width: 100%;
|
|
45
|
-
margin-bottom: ${t.sp5};
|
|
46
|
-
`,ze=i.div`
|
|
47
|
-
width: 100%;
|
|
48
|
-
flex: 1;
|
|
49
|
-
margin-bottom: ${t.sp12};
|
|
50
|
-
background-color: inherit;
|
|
51
|
-
`,Fe=i.div`
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: flex-end;
|
|
54
|
-
align-items: center;
|
|
55
|
-
padding: ${t.sp3} ${t.sp0};
|
|
56
|
-
`,Oe=i(ye)`
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
color: ${e=>e.theme.colors.hero};
|
|
59
|
-
width: ${t.sp4};
|
|
60
|
-
height: ${t.sp4};
|
|
61
|
-
&:hover {
|
|
62
|
-
color: ${e=>e.theme.colors.primary};
|
|
63
|
-
}
|
|
64
|
-
`,Re=i(xe)`
|
|
65
|
-
display: flex;
|
|
66
|
-
width: 100%;
|
|
67
|
-
flex-grow: 1;
|
|
68
|
-
color: ${e=>e.theme.colors.primary};
|
|
69
|
-
margin: auto;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
`,q=i.div`
|
|
72
|
-
height: ${e=>x.emptyScheduleHeight.valuePx(e.windowSize)};
|
|
73
|
-
display: flex;
|
|
74
|
-
align-items: center;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
border-radius: ${t.sp2};
|
|
77
|
-
padding: ${t.sp5} ${t.sp2};
|
|
78
|
-
background-color: ${e=>e.theme.colors.background};
|
|
79
|
-
color: ${e=>e.theme.colors.hero};
|
|
80
|
-
margin: ${t.sp3} ${t.sp1};
|
|
81
|
-
${P.standardRegular.css};
|
|
82
|
-
`,Ve=i.div`
|
|
83
|
-
flex-grow: 1;
|
|
84
|
-
width: 100%;
|
|
85
|
-
`,Je=i.div`
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
gap: ${t.sp1};
|
|
89
|
-
border-radius: ${t.sp2};
|
|
90
|
-
padding: ${t.sp3} ${t.sp2};
|
|
91
|
-
color: ${e=>e.theme.colors.hero};
|
|
92
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
|
-
margin: ${t.sp3} ${t.sp1};
|
|
94
|
-
${P.standardRegular.css};
|
|
95
|
-
`,Be=i(Ce)`
|
|
96
|
-
width: ${t.sp3};
|
|
97
|
-
height: ${t.sp3};
|
|
98
|
-
`;export{gt as default,Y as uniqueFormName};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{O as C,J as A,a9 as R,V as a,ac as W,cp as M,cN as V,y as m,cR as z,o as t,cr as E,c as u,bb as J,aV as U,bV as N}from"./index-e-SZUuyN.js";import{n as s}from"./mui-mhzAEcDs.js";import{tM as Y,bL as $,bh as S}from"./zeni-epic-state-CSmiPBaP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="db576e2e-7c9d-44b8-afa4-5ab1cd663796",e._sentryDebugIdIdentifier="sentry-dbid-db576e2e-7c9d-44b8-afa4-5ab1cd663796")}catch{}})();const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},_=s.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
5
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
6
|
-
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
7
|
-
border-radius: ${t.sp2};
|
|
8
|
-
margin: ${e=>e.windowSize==="small"?`${t.sp5} ${t.sp3} ${t.sp6} ${t.sp3}`:`${t.sp5} ${t.sp8} ${t.sp6} ${t.sp8}`};
|
|
9
|
-
`,H=s.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 1;
|
|
12
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
13
|
-
min-height: 1px;
|
|
14
|
-
max-height: 1px;
|
|
15
|
-
`;function ee({saveDetailsFetchState:e,paymentData:o,onProceedForMarkAsPaid:r,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:f,cancel:i}}},dateFormat:{visual:b,analytics:g}}=C.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:B,markAsPaid:F,defaultDateInfo:I,paymentModeOptions:x,selectDate:O,selectMethod:P}=y,l=A(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=R({mode:"all",values:{[p]:{selectedOption:o?.paymentMode,allOptions:x.map(n=>n.value)},[c]:o?.paymentDate?.toDate()}}),j=k.handleSubmit(n=>{r({paymentDate:n[c]!=null?$(n[c].toString()):$(S().startOf("month").format(g.YYYYDashMMDashDDFormat).toString()),paymentMode:n[p]?.selectedOption!=null?Y(n[p]?.selectedOption):"other"})}),L=n=>x.find(T=>T.value===n)?.label??"";return a.jsx(W,{...k,children:a.jsx("form",{id:D,onSubmit:j,children:a.jsx(M,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:F,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:i,isLoading:e==="In-Progress",isDisabled:e==="In-Progress",isEditPopup:!0,shouldClickAway:e!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:h},children:a.jsxs(_,{windowSize:l,children:[a.jsx(V,{label:{label:B,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:L,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:o?.paymentMode,allOptions:x?.map(n=>n.value)??[]}},isFunctional:!0}),a.jsx(H,{}),a.jsx(z,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:t.sp0},additionalPaymentInfoLabel:I,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:t.sp2,borderBottomLeftRadius:t.sp2,paddingTop:t.sp1,paddingBottom:t.sp1,paddingLeft:t.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:O,defaultValue:o?.paymentDate,dateFormat:b.defaultInput,maxDate:S(),minDate:$("01 Jan 1900"),autoComplete:"off"}})]})})})})}const te=({withdrawFrom:e,paymentDate:o,onOkClick:r,onCancelClick:h,onClickAway:y})=>{const{dateFormat:f,spendManagement:{billPay:i},common:{strings:b}}=C.getLocalizedStrings();if(e!=null&&o!=null){const g=`${e?.label} ${e?.maskedAccountNumber}`,w=a.jsx(Z,{children:a.jsxs(q,{children:[a.jsx(v,{children:g}),i.insufficientFunds.popUp.hasLowBalance,b.space,i.insufficientFunds.popUp.addMoney,a.jsx(v,{children:o?.format(f.visual.MMMDFormat)}),i.insufficientFunds.popUp.avoidFailure]})});return a.jsx(M,{titleComponent:a.jsx(G,{children:i.insufficientFunds.popUp.title}),primaryButtonText:i.billDetails.buttons.approveAnyways,secondaryButtonText:i.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:r,onCancelClick:h,onClickAway:y},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:t.sp3},buttonContainerStyle:{paddingBottom:t.sp6}})}},Z=s.div`
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
align-items: center;
|
|
19
|
-
text-align: center;
|
|
20
|
-
padding-left: ${t.sp7};
|
|
21
|
-
padding-right: ${t.sp7};
|
|
22
|
-
margin-top: ${t.sp3};
|
|
23
|
-
white-space: pre-line;
|
|
24
|
-
`,q=s(J)`
|
|
25
|
-
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,v=s(U)`
|
|
27
|
-
color: ${e=>e.theme.colors.primary};
|
|
28
|
-
`,G=s(N)`
|
|
29
|
-
margin-top: ${t.sp6};
|
|
30
|
-
padding-left: ${t.sp8};
|
|
31
|
-
padding-right: ${t.sp8};
|
|
32
|
-
color: ${e=>e.theme.colors.primary};
|
|
33
|
-
word-break: break-word;
|
|
34
|
-
`;export{te as o,ee as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as b}from"./index-e-SZUuyN.js";import{f as l}from"./ACHDetailsPage-C4kSZtcW-CRAncXjZ.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./mui-mhzAEcDs.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js";import"./MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js";import"./BankAccountSection-danXlJW--CGFGOQdm.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="3dc50fa0-3bd3-4015-942a-dacdd59653d5",t._sentryDebugIdIdentifier="sentry-dbid-3dc50fa0-3bd3-4015-942a-dacdd59653d5")}catch{}})();const _=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:d,error:m,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=e,{currencySymbol:f,amount:p}=t;return b.jsx(l,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:d,error:m},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 b}from"./index-e-SZUuyN.js";import{w as g}from"./DomesticWireDetailsPage-DqVaQ5WI-DBkE3G1h.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./mui-mhzAEcDs.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./BankAccountSection-danXlJW--CGFGOQdm.js";import"./MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js";import"./BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js";import"./MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js";import"./LabeledAddressValueField-D950JjHi-CobscTGb.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]="46919994-e8f4-47f8-81c3-f5ed7b5a015c",e._sentryDebugIdIdentifier="sentry-dbid-46919994-e8f4-47f8-81c3-f5ed7b5a015c")}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:f}=t,{currencySymbol:l,amount:y}=e;return b.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:o,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:y})};export{E as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as y}from"./index-e-SZUuyN.js";import{f as b}from"./InternationalWireSwiftDetailsPage-Bt0SYfe8-D4jFazij.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./mui-mhzAEcDs.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js";import"./MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js";import"./LabeledAddressValueField-D950JjHi-CobscTGb.js";import"./MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d9e5808d-156d-4a21-b221-95aad4855c43",t._sentryDebugIdIdentifier="sentry-dbid-d9e5808d-156d-4a21-b221-95aad4855c43")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:l,bankNameBySwift:f}=e,{currencySymbol:p,amount:u}=t;return y.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:f,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:l,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:d,companyName:i,isMagicLink:!0,currencySymbol:p,amount:u})};export{x as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{J as c,O as u,y as s,V as d,o as a,cM as h,ba as $,c as i}from"./index-e-SZUuyN.js";import{n as g}from"./mui-mhzAEcDs.js";import{W as y}from"./LabeledAddressValueField-D950JjHi-CobscTGb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="cbf1af2e-4f01-41b0-a2a8-2b924bbf7e72",e._sentryDebugIdIdentifier="sentry-dbid-cbf1af2e-4f01-41b0-a2a8-2b924bbf7e72")}catch{}})();const r={largeLabelWidth:new s(120,140,220),paddingTopBottom:new s(i[3],i[3]),marginRight:new s(i[3],i[8]),marginLeft:new s(i[3],i[6]),marginLeftTitle:new s(i[4],i[6])},z=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:b,onAddressClick:m})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,p=r.largeLabelWidth.value(l);return d.jsxs(d.Fragment,{children:[d.jsx(v,{size:l,children:t.addressDetailTitle}),d.jsx(x,{size:l,children:d.jsx(y,{isDisabled:b,label:{label:t.address,width:p},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:f=>f!=null},onClick:()=>{m(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
|
|
2
|
-
width: auto;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
-
border-radius: ${a.sp2};
|
|
9
|
-
margin-left: ${e=>r.marginLeft.valuePx(e.size)};
|
|
10
|
-
margin-right: ${e=>r.marginRight.valuePx(e.size)};
|
|
11
|
-
margin-top: ${e=>r.paddingTopBottom.valuePx(e.size)};
|
|
12
|
-
margin-bottom: ${e=>r.paddingTopBottom.valuePx(e.size)};
|
|
13
|
-
&:hover {
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,v=g($)`
|
|
17
|
-
color: ${e=>e.theme.colors.primary};
|
|
18
|
-
margin-bottom: ${a.sp3};
|
|
19
|
-
margin-top: ${a.sp5};
|
|
20
|
-
margin-left: ${e=>r.marginLeftTitle.valuePx(e.size)};
|
|
21
|
-
`;export{z as T};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{e as R,ax as B,iN as a,V as n,bC as D,g5 as x,O as M,o as O}from"./index-e-SZUuyN.js";import{n as P}from"./mui-mhzAEcDs.js";import{EL as $}from"./zeni-epic-state-CSmiPBaP.js";import{r as V,i as _}from"./ChargeCardListTable-DVFpdT9f-D6Qv1C8v.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./RoleWithToolTip-q4rQTPKj-DnZtHqjj.js";import"./CardNumberSubText-2Tw37MOu-Na5odSIe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2450ebe4-c9e5-47b0-933c-de1e67758c8a",e._sentryDebugIdIdentifier="sentry-dbid-2450ebe4-c9e5-47b0-933c-de1e67758c8a")}catch{}})();const{spendManagement:{chargeCard:u}}=M.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:f,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=R(),y=B(),h=$(y.loggedInUserRoleMap),I=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),v=I&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,F=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,E=i&&l&&h===!0?{creditAccountId:c.id,creditAccountLimit:a(c.limit.amount),creditAccountAvailableAmount:a(c.available.amount),creditAccountSpentAmount:a(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,L=o&&s?{debitAccountId:d.depositAccounts.map(t=>t.id),debitAccountName:d.depositAccounts.map(t=>t.accountName),debitAccountBalance:d.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(t=>t.accountStatus)}:void 0,w={isCreditCardOffered:i,isDebitCardOffered:o,isDebitCardEnabled:s,isCreditCardEnabled:l},N={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return n.jsxs(j,{children:[n.jsx(D,{title:v,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:f,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(x,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx(V,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:_,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:w,cashbackInformation:F,creditAccountInformation:E,debitAccountInformation:L,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:N,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,U)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},j=P.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: ${`calc(100vh - ${O.sp9})`};
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
`;export{at as default};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import{J as ie,fS as te,e as be,ax as ge,fT as ye,a9 as we,aE as xe,cG as Pe,cF as $e,O as re,V as l,fU as ve,bC as De,ac as Se,aS as Oe,o as s,cB as ne,fV as de,fW as ce,fX as ue,y as T,am as me,b as Re,F as je,aK as ee,cU as Ce,cK as Te,fY as q,cR as Le,cP as Ie,fZ as Ve,b0 as ze,c as _}from"./index-e-SZUuyN.js";import{a as $}from"./sentry-Dla7mstv.js";import{n as m}from"./mui-mhzAEcDs.js";import{bi as le,bg as pe,bL as Be,bh as ke}from"./zeni-epic-state-CSmiPBaP.js";import{W as Fe}from"./LabeledAddressValueField-D950JjHi-CobscTGb.js";import{Y as Ne}from"./LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./RoleWithToolTip-q4rQTPKj-DnZtHqjj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="436d71b8-04a8-44a6-a7e9-b798bc25072f",e._sentryDebugIdIdentifier="sentry-dbid-436d71b8-04a8-44a6-a7e9-b798bc25072f")}catch{}})();const g=(e,o)=>`${e}.${o}`,k={largeLabelWidth:new T(120,120,160),textFieldPaddingHorizontal:new T(_[2],_[3]),toolTipWidth:new T(215,237),notePadding:new T(_[3],_[4]),noteGap:new T(_[0],6)},{peoplePage:a,common:{settings:se,labels:E,placeholder:B,errorMessage:We},dateFormat:_e}=re.getLocalizedStrings(),Ze=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:v,isLiteRoleDisabled:L,isTreasuryDisabled:h,onAddressClick:w})=>{const n=ie(),{person:r,managersList:F,classList:N,manager:G,department:b,controllersList:A,myProfileLocalData:M,addressData:H}=e,K=e.person.user?.birthday!=null?"readonly":void 0,D=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),Y=$.useMemo(()=>te(y,p,i,f,v,L,h),[y,p,i,f,v,L,h]),{firstController:x,restControllerEmailsStr:S}=$.useMemo(()=>{const c=ee(A),O=c.splice(0,1),R=c.reduce((V,z)=>V.concat(`${z.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),J=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),Z=$.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(qe,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:E.name,width:I},nameField:{name:g(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:We.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Te,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:g(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:K,dateField:{name:g(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:_e.visual.defaultInput,autoComplete:"off",maxDate:ke().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Fe,{label:{label:E.mailingAddress,width:I},addressValueField:{name:g(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:E.phone,width:I},text:{name:g(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:g(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:J},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:g(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,v)},productsByUserRole:de(r.userRole?.userRoles??[],Y)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Ne,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ue,{}),userSingleSelectWithSubTitlesField:{name:g(t,"manager"),value:{allUsers:d?[]:F,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const O=F.findIndex(R=>R.userId===c);if(O!==-1){const R=F[O],V=N.find(Q=>Q.classId===R.userRole.accountingClassIDs[0]),z=[];return V!=null&&z.push(V.className),z}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:g(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===b?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Ge,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(He,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(ze,{className:"arrowIcon"})]}):null]})]})]})},Ue=()=>a.invitePage.managerTooltipText,qe=m.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
5
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
6
|
-
box-shadow: ${e=>`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
7
|
-
border-radius: ${s.sp2};
|
|
8
|
-
margin-bottom: ${s.sp3};
|
|
9
|
-
.single-select-field__menu {
|
|
10
|
-
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
11
|
-
}
|
|
12
|
-
`,C=m.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex: 1;
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
16
|
-
min-height: 1px;
|
|
17
|
-
max-height: 1px;
|
|
18
|
-
`,Ee=m(me)`
|
|
19
|
-
padding: ${e=>`${s.sp1} ${k.notePadding.valuePx(e.windowSize)}`};
|
|
20
|
-
background: ${e=>e.theme.colors.grey4};
|
|
21
|
-
border-radius: ${s.sp0} ${s.sp0} ${s.sp2} ${s.sp2};
|
|
22
|
-
text-align: left;
|
|
23
|
-
color: ${e=>e.theme.colors.grey1};
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
26
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
27
|
-
gap: ${e=>k.noteGap.valuePx(e.windowSize)};
|
|
28
|
-
`,Ge=m.a`
|
|
29
|
-
color: ${e=>e.theme.colors.hero};
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
gap: 6px;
|
|
35
|
-
.arrowIcon {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
height: 12px;
|
|
38
|
-
width: 12px;
|
|
39
|
-
}
|
|
40
|
-
:hover {
|
|
41
|
-
color: ${e=>e.theme.colors.primary};
|
|
42
|
-
.arrowIcon {
|
|
43
|
-
color: ${e=>e.theme.colors.primary};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
`,He=m.span``,he={sectionWidth:new T(343,580,726),subtitleSectionWidth:new T(343,580,1200)},Ke={title:new je("standardMedium","largeMedium")},P="userDetails",yl=({myProfileView:e,isReimbursementDisabled:o,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:f,onClickMenuIcon:v,onAddressClick:L,updateMyProfileLocalData:h,onCancelClick:w,onGetOtp:n,onResendOtp:r,onSaveClick:F,onVerifyOtp:N,onVerifyOtpSuccess:G})=>{const b=ie(),A=$.useMemo(()=>te(o,t,u,p,i,f,y),[o,t,u,p,i,f,y]),[M,H]=$.useState(!1),[K,D]=$.useState(!1),I=be(),Y=ge(),x=ye(Y),S=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,x,A,p,i),values:oe(e,x,A,p,i)}),J=e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday!=null&&!e.myProfileLocalData.dateOfBirth.isSame(e.person.user?.birthday)||e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday==null,d=e.myProfileLocalData.phone!==e.person.user?.phone,Z=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(le(e.addressData?.addressToCreate),le(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=J||d||Z,O=Object.keys(S.formState.errors).length===0,R=Pe(S.formState.dirtyFields),V=O&&(R||c),z=async(X,U)=>{if(X!=null){const j={...U},fe={...e.myProfileLocalData,phone:j[P].phone,isPhoneVerified:j[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:j[P].dateOfBirth!=null?Be(j[P].dateOfBirth.toString()):void 0};h(fe)}};$.useEffect(()=>{const X=S.watch((U,{name:j})=>{j!=null&&U!=null&&$e(()=>z(j,U))});return()=>{X.unsubscribe()}});const Q=S.handleSubmit(()=>{O&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):F())}),{common:W}=re.getLocalizedStrings();return l.jsxs(Ye,{children:[l.jsx(ve,{showOtpPopup:M,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:K,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:N,onVerifyOtpSuccess:G,setShowOtpPopup:H,onResendOtp:r,setShowPhoneNumberPopup:D,onGetOtp:n}),l.jsx(De,{source:"MyProfileSettingsPage",title:W.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:b==="medium-compact"||b==="small",onClickMenuIcon:v}),l.jsxs(Je,{windowSize:b,children:[l.jsx(Qe,{windowSize:b,children:l.jsx(Xe,{windowSize:b,children:W.settings.infoText.myProfile})}),l.jsx(Se,{...S,children:l.jsxs("form",{id:ae(P),onSubmit:Q,children:[l.jsx(el,{windowSize:b,children:l.jsx(ll,{windowSize:b,children:W.settings.subtitle.myProfile})}),l.jsx(Ze,{myProfileView:e,isZeniFinopsRolesUser:x,isDisabled:"readonly",isReimbursementDisabled:o,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:f,onAddressClick:L})]})})]}),V?l.jsx(Oe,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:W.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:W.cancel,onClick:w,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,Ye=m.div`
|
|
47
|
-
display: flex;
|
|
48
|
-
height: 100vh;
|
|
49
|
-
width: 100%;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
row-gap: ${s.sp3};
|
|
52
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
53
|
-
`,Je=m.div`
|
|
54
|
-
display: flex;
|
|
55
|
-
width: 100%;
|
|
56
|
-
margin: auto;
|
|
57
|
-
justify-content: flex-start;
|
|
58
|
-
height: 100%;
|
|
59
|
-
overflow-y: auto;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
align-items: center;
|
|
62
|
-
`,Qe=m(me)`
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
width: ${e=>he.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
67
|
-
margin-bottom: ${s.sp5};
|
|
68
|
-
`,Xe=m.div`
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
|
|
72
|
-
color: ${e=>e.theme.colors.hero};
|
|
73
|
-
${Re.standardMedium.css};
|
|
74
|
-
`,el=m.div`
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
width: ${e=>he.sectionWidth.valuePx(e.windowSize)};
|
|
78
|
-
margin-bottom: ${s.sp3};
|
|
79
|
-
`,ll=m.div`
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
|
|
83
|
-
color: ${e=>e.theme.colors.primary};
|
|
84
|
-
${e=>`${Ke.title.style(e.windowSize)}`};
|
|
85
|
-
`,oe=(e,o,t,u,y)=>{const{classList:p,person:i,managersList:f,manager:v,department:L,myProfileLocalData:h}=e,w=pe(i.userRole!=null?i.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:i.user?.firstName??"",lastName:i.user?.lastName??""},email:i.user?.email??"",role:o?{allOptions:ne.roles,selectedOptions:i.userRole?.userRoles??[]}:void 0,nonZeniRole:o?void 0:{userRole:{selectedRole:ue(i.userRole?.userRoles??[]),allRootRole:ce(u,y)},productsByUserRole:de(i.userRole?.userRoles??[],t)},manager:{allUsers:w?[]:f,selectedUser:sl(w,v)},department:{allOptions:w?[]:n,selectedOption:w?void 0:n.find(r=>r.value===L?.classId)},dateOfBirth:h.dateOfBirth?.toDate(),phone:h.phone,syncToken:h?.syncToken,isPhoneVerified:h?.isPhoneVerified,otpChallenge:h?.otpChallenge,mailingAddress:e.addressData?.addressToCreate}}},sl=(e,o)=>{if(!e)return o!=null?o.userId:"no_manager"};export{yl as default,ae as uniqueFormName};
|