@zeniai/web-cockpit-ui 1.14.99-qa → 1.15.0-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-DYlcHRQe-lxtPXqrl.js +21 -0
- package/dist/assets/{AIPerformancePage-4v4Fkm9f-DUcsUVHO.js → AIPerformancePage-DpXZ7sco-B8d5E6QI.js} +107 -107
- package/dist/assets/AccountInfoPage-BEOrrVQS-L5aJOIaA.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-wIa9sgDk.js → AccountInfoPageContent-BJkLJK6O-CmMcM25y.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-CVe_BGr2.js → AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js} +12 -12
- package/dist/assets/{AccountRow-BM3xLbeh-C9nPMFva.js → AccountRow-B0gU16A_-Ks_Pft1z.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-DDt_Zemi.js → AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js +6 -0
- package/dist/assets/{AddToWalletPage-OJBvAKUj-XVOfQuES.js → AddToWalletPage-DNPLnpTq-CxRyEwld.js} +23 -23
- package/dist/assets/{AgingReportsPage-n-UKn3Ei-CjF9jy-F.js → AgingReportsPage-Bff4u7T1-DOBvEqCj.js} +10 -10
- package/dist/assets/{AllUserItems-BsvKEVcx-vYDMuwob.js → AllUserItems-D8zdAu_1-C-zZqgmo.js} +10 -10
- package/dist/assets/ApAgingDetailPage-2NsAj3gO-DfogwLMb.js +46 -0
- package/dist/assets/{AppBasePage-DoCF494Z-BRxN6hsW.js → AppBasePage-Uyk9GOud-D7f8hWuo.js} +8 -8
- package/dist/assets/{AppDrawerContent-DM1t0oLS--F7ZXSDX.js → AppDrawerContent-RX7rx40V-DlBxQF_L.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-NDfqC6oW.js → ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js} +6 -6
- package/dist/assets/{ArAgingChart-CsFDVdeO-_8aNigLw.js → ArAgingChart-BxTkvrC9-BgC5YBPR.js} +4 -4
- package/dist/assets/ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js +46 -0
- package/dist/assets/{AttachmentView-B0d42oAf-Dwm5X4k6.js → AttachmentView-zHGhIkWo-C64qXCAp.js} +6 -6
- package/dist/assets/{BankAccountSection-Bgdk93V0-Chzpiy1x.js → BankAccountSection-HRSyjIxV-CV6PAaFg.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DMRmF2yM-BdJjldMh.js → BankAccountWarningSection-CNusQFRM-4Y94-VD5.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-BN6MQ3Wf.js → BankConnectionsSettingsPage-CzumYsEx-f1xJXYSm.js} +22 -22
- package/dist/assets/BillDetailPage-CgCMZFw1-pAtGUG0W.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-DnhdBw3a-BtwlYdoz.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-S80WUW0f-Cw75zLq9.js +241 -0
- package/dist/assets/BillPayPromoPage-DOEbuNgH-BglT_61W.js +84 -0
- package/dist/assets/{BillPaySetUpPage-DRCjyEfB-CPwXijdB.js → BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js} +4 -4
- package/dist/assets/BillingSettingsPage-ZupDcNHz-B6O6l_7B.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-CpoIPy5L.js → BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js} +1 -1
- package/dist/assets/{BoxItem-WOrvBzns-CXp5-zCF.js → BoxItem-42doFhpg-BDC_fDqi.js} +5 -5
- package/dist/assets/BusinessVerificationPage-De9zCAm7-geq4Sk8A.js +138 -0
- package/dist/assets/CardNumberSubText-C6jdBRC2-YbNbzp0H.js +21 -0
- package/dist/assets/{CashbackDetailPage-D-kXy6LW-CVfqswmT.js → CashbackDetailPage-B2drd1Nz-BAvHe1xx.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-nORZSqLY.js → ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js} +254 -254
- package/dist/assets/ChargeCardListPage-DlI8ZfB0-CMLNFzih.js +412 -0
- package/dist/assets/{ChargeCardListTable-EGkwcy7i-L1WMinl5.js → ChargeCardListTable-CooASbVZ-CSvbg9sF.js} +71 -71
- package/dist/assets/ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js +553 -0
- package/dist/assets/{ChargeCardPromoPage-BwqrXrY--Cc4CzTaW.js → ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js} +38 -38
- package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-Dp9uDn2Z.js → ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-jXnZgPWF.js → ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js} +9 -9
- package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-BOtwhkHh.js → CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js} +18 -18
- package/dist/assets/{CollapsableReportTable-xkNXkjfh-fTkLh_hx.js → CollapsableReportTable-DLOi0feI-SZFbl9NV.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js +330 -0
- package/dist/assets/{CompanyPassportCard-BOxM716U-C-8IS15c.js → CompanyPassportCard-B8PLT6MG-BUc5HZU7.js} +7 -7
- package/dist/assets/CompanyPassportPage-CQZPgrNF-KJN_fT4M.js +347 -0
- package/dist/assets/{CompleteProfile-BjGSPASa-BJc80ypG.js → CompleteProfile-fNSWTbef-pSYliRNx.js} +3 -3
- package/dist/assets/ConfettiBurst-B6ej_xoO-BzptsIBR.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-BNAzVQDc.js → CreateOrEditVendorPage-BO4_TNWg-EUNhPwxD.js} +17 -17
- package/dist/assets/CreditCardPaymentDrawerPage-CsHjU-sm-BX_z_XTl.js +227 -0
- package/dist/assets/{CurrencySelectField-AjAWhg6e-XBhQHgG3.js → CurrencySelectField-DsZTOj_T-DmNXNRTP.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-BJhw-PvI-DiGnLxj5.js → CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-mvqO2b3D.js → CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-CtIWYEfR-CA6QH1RJ.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Db6sGSGl-C--ab3S1.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-DHSPLF5F-BeorfiRM.js +202 -0
- package/dist/assets/{Dashboard-_o0Ftdv8-CDqjjP2e.js → Dashboard-cbXIPzMy-DLCpLMr4.js} +21 -21
- package/dist/assets/{DashboardReportPage-Cu5wqWkj-DFUvXwPl.js → DashboardReportPage-Pc0G2Tok-BRmpg3ok.js} +28 -28
- package/dist/assets/DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-DMX2MMgq.js → DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-9RjTUtB-.js → DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-FGdEilUB--8ykG62O.js → DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js} +1 -1
- package/dist/assets/{DownloadOverlay-c57lEf_V-bd6stznG.js → DownloadOverlay-C7r6PAam-BvXPoC9j.js} +25 -25
- package/dist/assets/{DrawerPage-inbhWwND-T1v5rbMQ.js → DrawerPage-BEV7nWrL-CqfdeYhP.js} +18 -18
- package/dist/assets/EditPeoplePage-BnQqStEx-Cbm0H-hi.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DLjRDR48-DAmxctvz.js +865 -0
- package/dist/assets/{EntityDetailPage-DbTiF9Hs-BDSzDuf0.js → EntityDetailPage-BaKoO9FG-BDiZrnyD.js} +2 -2
- package/dist/assets/{EntitySummarySection-CHgrPo86-DCLGdQrf.js → EntitySummarySection-C361-4tS-UJPRLBoI.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-PT7ngRRs.js → ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js} +30 -30
- package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-C6AraAtl.js → ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js} +58 -58
- package/dist/assets/{ExpressPayPage-CIp_R6ZQ-CBlwPWei.js → ExpressPayPage-CDowSjHC-DolGHHJS.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-qsUO3mUu-Rwf8tTxB.js → FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js} +2 -2
- package/dist/assets/{FollowStepsSection-ebmR-eLP-DoIxQlf0.js → FollowStepsSection-h449vQkQ-BXixJ0VK.js} +8 -8
- package/dist/assets/{GlobalReviewListPage-9V-xoqvs-VS2DUZKK.js → GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js} +18 -18
- package/dist/assets/{InformationCardStack-DnB7TmOk-Cw6GDJcT.js → InformationCardStack-xhdujEcL-COTShhF9.js} +9 -9
- package/dist/assets/{InsightsCardStack-BBczCYEz-c7iZPQzY.js → InsightsCardStack-zRynyTFj-CqnhwImM.js} +9 -9
- package/dist/assets/InsightsSection-C4fMfxQ4-BGGNiljS.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-Cu1qCaSF.js → IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-FMNGU2_9.js → InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js} +22 -22
- package/dist/assets/InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js +65 -0
- package/dist/assets/{InviteFormPage-XsnZcAvb-C7pXISKZ.js → InviteFormPage-C7fxnyMS-ChsV2A2J.js} +37 -37
- package/dist/assets/{InvitePageListView-HfsehyxK-B0_zaBFS.js → InvitePageListView-ktOXziSw-ClMd1Rgx.js} +67 -67
- package/dist/assets/InvitePeoplePage-C_4adNch-DPbyAjsn.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-CRiQw4ob.js → InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-xbfFhV0O-CwB3p9IN.js → IssueChargeCardPage-CdV757XH-B0b8pyku.js} +19 -19
- package/dist/assets/{LabeledAddressValue-CB_KH7v5-CTa2kSF8.js → LabeledAddressValue-Ce_wDml5-CoYtFscl.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-CaMqjCgZ.js → LabeledAddressValueField-BrYbXck--8qVwdGMU.js} +5 -5
- package/dist/assets/LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js +234 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-BMOfzbkc.js → LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js} +4 -4
- package/dist/assets/LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-GLWqacX3.js → LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js} +8 -8
- package/dist/assets/LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js +220 -0
- package/dist/assets/{LabeledText-yhm8qxrA-CAV7zkMz.js → LabeledText-D7eLbH80-Bs-kfAE-.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-DaFuaU2w.js → LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js} +25 -25
- package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-CfX5Nizk.js → LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js} +28 -28
- package/dist/assets/LinkJETransactionPage-DicS5kKg-DOb356xm.js +98 -0
- package/dist/assets/{LockCardPage-DaVzuRMw-WfXdd7GO.js → LockCardPage-DRYg_fxU-CFGUEJ0X.js} +76 -76
- package/dist/assets/{LowBalancePopup-Dd9HLWlh-CzozjvI8.js → LowBalancePopup-BJfagMN7-DFWlKz1e.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-BeUu65LP-h79CD54_.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CO7IswK8-3R9uoHM3.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-bKdrX7dk-BH9XfZTx.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-Co-KdioC.js → MagicLinkSuccessPage-BRWymdWH-suMYBps1.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-Bx92291D-Cip3RyJg.js → MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js} +4 -4
- package/dist/assets/{MailingDetailsSection-D-tnK244-iwYcV_GF.js → MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js} +1 -1
- package/dist/assets/{Menu-0YHUdU0n-ykadCuU8.js → Menu-C9v-W9TY-DRVyGpH4.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-CMJSje5O.js → MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-lkcW7KY-.js → MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-ClGN_Ywf.js → MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js} +9 -9
- package/dist/assets/{NavBarWithPicker-aXn2QYh1-EJKdDhD-.js → NavBarWithPicker-Cv7tOmjd-BXBZWsng.js} +5 -5
- package/dist/assets/{NavigationArrow-JLUXaIrz-DTB6lnvW.js → NavigationArrow-DAs7ECFZ-rFu_aZmo.js} +8 -8
- package/dist/assets/{NavigationDots-B0_dDbgu-C1OUFooh.js → NavigationDots-DISWi4Mq-BdTnuTup.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B_019EtP-DQaHcEZD.js → NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js} +7 -7
- package/dist/assets/{NoDataChart-DLKHNXD4-CZveDZyz.js → NoDataChart-gfqauMvY-CAbYCdyQ.js} +1 -1
- package/dist/assets/NoDataTable-C1_gqVi7-D4ANXF0d.js +8 -0
- package/dist/assets/{NotFoundPage-BEya4LS2-CeoKWJuY.js → NotFoundPage-CdWhiWjz-DDjAX_Ng.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-C9SjRKCu-F18qKnKq.js → NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js} +23 -23
- package/dist/assets/{NotificationsListConfig-OCeJNw1G-DGmqr_WZ.js → NotificationsListConfig-B-g9kb6x-CND-RON9.js} +1 -1
- package/dist/assets/{NotificationsPage-FJHx_WBG-DuB0DLNl.js → NotificationsPage-jxpX3iRG-UGS5Y_9i.js} +29 -29
- package/dist/assets/{OpExByVendorPage-Dxk68R6U-BqVDaMyS.js → OpExByVendorPage-B13tAq03-Dd8cq0hz.js} +24 -24
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-j7YCqph9.js → OverlayContainerPage-Daz3A7cI-DlMlal7_.js} +1 -1
- package/dist/assets/PandLWithForecastPage-D3kcPKd0-sYhFB1EB.js +107 -0
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js +107 -0
- package/dist/assets/{PeoplePage-DN5VtG7Q-nYdb8W0g.js → PeoplePage-Du_TRX4h-C2Rmmn5d.js} +18 -18
- package/dist/assets/Preview-CSeZ_uBx.js +1 -0
- package/dist/assets/{ProductsCarousel-6gthLCkf-Csrsm4r_.js → ProductsCarousel-y6q9BbqK-B9m9tH0o.js} +12 -12
- package/dist/assets/{PromoBaseCards-CzPzj69A-BfaxdPQK.js → PromoBaseCards-CLQMN7aT-BxeQG0rP.js} +8 -8
- package/dist/assets/{QBOConnectionDialog-BFy0lMZd-C1tu8oqS.js → QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js} +6 -6
- package/dist/assets/{QBOSetupSection-DcLYyQ5m-D0DkS0no.js → QBOSetupSection-D--nxfIh-Difre144.js} +16 -16
- package/dist/assets/ReimbursementApprovalRuleDetailPage-OXenWhiy-Cj4gr0h0.js +32 -0
- package/dist/assets/ReimbursementApprovalRulesPage-BJaSXRQF-DF9kihjD.js +243 -0
- package/dist/assets/ReimbursementDetailPage-BeFEzgmP-DZ-1wgaR.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-MweW-4DO-DmsMevam.js → ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-2g5gata7.js → ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-KY60bbA9.js → ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js} +1 -1
- package/dist/assets/{ReloadCard-9KpQCrce-DSFKeIcW.js → ReloadCard-BT0lSFUP-CF34SUO7.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BPliEsuo-C5akejbK.js → ReportTableViewSelector-rl6XGWA_-CSxPHelL.js} +5 -5
- package/dist/assets/{ReportsPage-h2DAaQfK-rm8V3hZY.js → ReportsPage-DV0bbi_D-1o0LJL4r.js} +10 -10
- package/dist/assets/{RevenueChart-DY2s_upY-BteR_6zS.js → RevenueChart-CxvHfkxr-BmSB0A7U.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BiYxRnvA-BdMJ-sdU.js → ReviewDetailsPage-CX2XB44j-BHiKofo4.js} +52 -52
- package/dist/assets/{ReviewOverlay-BvPN7IKD-BXG7ADPa.js → ReviewOverlay-DdOo3pcK-BVp3d9bK.js} +9 -9
- package/dist/assets/RoleWithToolTip-C08wfnGb-CFjb8VCB.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-KB7qB_BG.js → ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DebosLND-BrNQar2A.js → ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-QwBSHiHh.js → ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js} +50 -50
- package/dist/assets/ScreenRoutes-BOb1-zin.js +201 -0
- package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-BE16TcfB.js → SetUpAccountSection-Clz60vjw-CDcwloM0.js} +15 -15
- package/dist/assets/SignIn-B79R5ayU-BtVW5pl0.js +491 -0
- package/dist/assets/SignInScreen-CsaRmLqD.js +1 -0
- package/dist/assets/SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-DmCZhFWY-Dsjzi1bn.js +785 -0
- package/dist/assets/SpendManagementSection-mtTZeiX8-DB_R_dFU.js +246 -0
- package/dist/assets/StatementItem-C9KsTdoM-CvW9SwJx.js +31 -0
- package/dist/assets/{StatementsPage-DVR5LhTi-CK4DNN1F.js → StatementsPage-DgoXqABR-NsGiWIFr.js} +3 -3
- package/dist/assets/{StatusSwitcher-Cy5ITFgi-WNbBQL_H.js → StatusSwitcher-DRDFuzoj-DFWyQSIu.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DhsES2OW-Ba9WstlT.js → SubTabSwitcher-Bj1N3zLn-DocBm2NX.js} +3 -3
- package/dist/assets/{SummaryCard-Byv4Hw8Q-Cya4iYRL.js → SummaryCard-BNrPt21W-z-I2nOL_.js} +1 -1
- package/dist/assets/{TaskManagementPage-CVXMOPf2-Cj3it9IL.js → TaskManagementPage-svW7FNT3-CdR83JXD.js} +27 -27
- package/dist/assets/{TimeRangeSwitcher-jct2_5PE-jdBQXqjL.js → TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js} +4 -4
- package/dist/assets/{TimeframeSwitcher-BK-qliOX-D6zGRAVk.js → TimeframeSwitcher-234cbGUX-GrV_gRdd.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js +31 -0
- package/dist/assets/{TopExCard-o4Q3ze1b-DaQrihbx.js → TopExCard-DFm0V6Sa-CuS6D-g2.js} +7 -7
- package/dist/assets/{TopExDetailPage-BsCwwwDi-CoRmHcau.js → TopExDetailPage-B4UamIS--DvTevd6J.js} +11 -11
- package/dist/assets/{TransactionDetailPage-rpCG65yC-pn0dPq-f.js → TransactionDetailPage-BiGPVM2O-BIqR8D1A.js} +23 -23
- package/dist/assets/{TransactionList-YI4oZaim-BeW25N4W.js → TransactionList-BQ2dvALf-DExPb7_Y.js} +15 -15
- package/dist/assets/{TransactionListBig-D_Jw9Ip2-DUthp3Uu.js → TransactionListBig-Ca4yYTqY-DpBtFr0L.js} +10 -10
- package/dist/assets/{TransactionListPage-B2yWm7eA-DoyaJLS9.js → TransactionListPage-CaSfmS5A-B8TNgEwP.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-Dr5C4-7q-LcfF0abM.js → TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BnEVH7Mc-Cc2Z_6P5.js → TransferDrawerPage-5IgzdfVN-CuTPVgyu.js} +41 -41
- package/dist/assets/{TreasuryOverviewPage-C927Rdkg-mfpMLnDZ.js → TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js} +43 -43
- package/dist/assets/{TreasuryPromoPage-C6D3bF2f-CzyRKa5_.js → TreasuryPromoPage-DQabp_BI-lYWtZagK.js} +15 -15
- package/dist/assets/TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-CskcJOaK.js → TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js} +3 -3
- package/dist/assets/{TrendChart-BI4Tz813-PlKdXGQX.js → TrendChart-DLlQzxzM-PPRPEN_l.js} +4 -4
- package/dist/assets/{TrendWithTransactions-BicIDSlC-Bhg4sKIS.js → TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-BfCTTems.js → UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-CZUyjeh5-3UKmMNlz.js → UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-4AWDV_HK-fyZHHxgB.js → UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js} +8 -8
- package/dist/assets/{Vendor2FAPopup-C_PmEAQ7-CN2t48ys.js → Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js +1 -0
- package/dist/assets/{VendorDetailPage-CLFKkF8I-C1IdXHu1.js → VendorDetailPage-DcpigP-V-CLpuuI3V.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-B1pRF1hT.js → VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-C6MnbIan-SeG_ubbN.js → VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js} +61 -61
- package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-r_6eJH9r.js → VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CVh1n81R-BiCjwBhE.js → VendorsAccountsSection-V7IwNhkN-D-eiPu30.js} +4 -4
- package/dist/assets/{VerifyDevice-BHocExfO-DjIMPNA8.js → VerifyDevice-Dc3oeJbw-D5d8Wn7A.js} +7 -7
- package/dist/assets/{VideoPlayer-9rYRtSLf-BjvT2OMT.js → VideoPlayer-XU1YwohK-BaDXYiVP.js} +2 -2
- package/dist/assets/{VideoPopup-D1o92dj6-CD3Smh1W.js → VideoPopup-BKLcIVcV-C8tsI7gn.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CzufXgaN-BMm0pY72.js → WarningsDrawerPage-DE6hNSem-DTjl6BDC.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-Ge7VgWuS.js → ZeniAccountDetailPage-B3txxml4-BrnXOri_.js} +38 -38
- package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-DvSsusPJ.js → ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js} +17 -17
- package/dist/assets/ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-D5lVCJaq.js → ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js} +20 -20
- package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-C1Wgqq9R.js → ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js} +1 -1
- package/dist/assets/{ZeniCopyright-CztmWsFm-Bq1pkV4V.js → ZeniCopyright-DqbjGQWk-D3uyyuTN.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-bFllmPoH.js → ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-Bk9iUnjH.js → add-to-wallet-DgdBD8_G-CF63trjm.js} +1 -1
- package/dist/assets/{analytics-BUkj7jvZ.js → analytics-D0z7Cz17.js} +1 -1
- package/dist/assets/{analyticsHelper-D4lKCWjQ-DwDJBUY0.js → analyticsHelper-C2PAija--B2XRbUD9.js} +1 -1
- package/dist/assets/{analyticsHelper-B4bPMH3g.js → analyticsHelper-D1UvETVa.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D6-JBGih.js → arrow-south-east-round-PEovUgvH-Cun1Cxd1.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DyrE-vz9.js → auto-transfer-rule-mbafm5D3-DPk-N0wE.js} +1 -1
- package/dist/assets/{chartTypes-BPPSjkhb-qpDZo76P.js → chartTypes-B9jQTJLQ-B-uICCus.js} +1 -1
- package/dist/assets/{commonDimensions-Ds75pRzR-CknYEsxH.js → commonDimensions-BgvFMAEM-jw0M4GDE.js} +1 -1
- package/dist/assets/commonTypes-PtDfk70--ByVvU-Tm.js +1 -0
- package/dist/assets/{constants-e1joQwxq.js → constants-DleDZ7Hr.js} +1 -1
- package/dist/assets/{core-DSEA1DeO.js → core-9PMMelIA.js} +2 -2
- package/dist/assets/{dash.all.min-ErqzSjBm.js → dash.all.min-ClWxXI22.js} +1 -1
- package/dist/assets/{detailCommon-DdZdfmYT-BGt3SMo9.js → detailCommon-BjRXEZFj-BMuJy_GS.js} +7 -7
- package/dist/assets/downloadPdf-ZSABdzxr-CSS_LmUU.js +1 -0
- package/dist/assets/empty-Bp9uyDV_.js +1 -0
- package/dist/assets/{empty-C0VR_6w-.js → empty-D5Zf29Ub.js} +1 -1
- package/dist/assets/epic-Di7g1fbQ.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CpWMLhiV.js → gift-box-Cmt9OgIZ-m0hJlqL5.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Ck-UlMHZ.js → graphic-no-data-l-DU4J8fDt-cg6FAACa.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B0NcDeLD.js → graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BKg5Zl7K.js → handshake-BPg58FML-DFhtOw8z.js} +1 -1
- package/dist/assets/{index-CrF-DUPb.js → index-0WIxY_w_.js} +1 -1
- package/dist/assets/{index-CzZbMptt.js → index-4hZvJwkO.js} +1 -1
- package/dist/assets/{index-L_AK35Oo.js → index-BLOmj_st.js} +1 -1
- package/dist/assets/{index-DKQM71dS.js → index-Bs2B-MQ4.js} +4523 -4511
- package/dist/assets/{empty-BC8tDj-C.js → index-CbXRL6aP.js} +1 -1
- package/dist/assets/index-DNxMom6d.js +1 -0
- package/dist/assets/{index-BpWgzcsf.js → index-DW6fMwk4.js} +1 -1
- package/dist/assets/{lexical-D8ee32sQ.js → lexical-CaQwXIc3.js} +1 -1
- package/dist/assets/{liveblocks-Bth6iRPZ.js → liveblocks-48Yy2aTy.js} +1 -1
- package/dist/assets/{lottie-BcjGrMJ9.js → lottie-ChwWMuYN.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-rrJBbsC8--SbDIUwj.js → mapSectionWithAcOnlyToTreeNode-DCsXPZ77-B7l0JH-0.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CEKoJAIb-Ca0optUS.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DfQk4Tsr-UXPU4xby.js → mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-C_x9HXWn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js} +1 -1
- package/dist/assets/{mui-Bm7nuuAo.js → mui-snKYaegN.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Cdu8-KMO.js → page-detail-CWX5S47F-D1nl1r9M.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Bl0MojvA.js → radio-default-CiSgisfh-BY9nqKUM.js} +1 -1
- package/dist/assets/{react-nT9GYl0Y.js → react-B2deW7HO.js} +1 -1
- package/dist/assets/{react-3iEIv6n1.js → react-BNn_K56n.js} +2 -2
- package/dist/assets/{react-BN52OPO2.js → react-BddMC_36.js} +3 -3
- package/dist/assets/{react-CkNFk2ew.js → react-BpEW9tPq.js} +2 -2
- package/dist/assets/{react-jcR3ufXW.js → react-C-MrqhIX.js} +2 -2
- package/dist/assets/{react-D6HVaxcq.js → react-CiQEdtzT.js} +2 -2
- package/dist/assets/{react-CybtaVCD.js → react-DHTHtXgj.js} +1 -1
- package/dist/assets/{react-Cq1uO9gu.js → react-o70ZlKb0.js} +1 -1
- package/dist/assets/{recharts-sqzNidKh.js → recharts-DGmpNqLb.js} +1 -1
- package/dist/assets/{sentry-3Q4-6z2o.js → sentry-gm2R3TtK.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-BkG4GSM2.js → shield-DOlUxcFf-DNx-Nq5U.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js +1 -0
- package/dist/assets/toChartData-CVxc3i6E-Jb1kbIeZ.js +1 -0
- package/dist/assets/{uploadAttachment-B4ddYCCL-Cj9tfjtm.js → uploadAttachment-CBATb9_e-Bf8RMkbX.js} +22 -22
- package/dist/assets/{uploadReceipts-CPw64UYa-BgpQylmh.js → uploadReceipts-CPw64UYa-DwtdWb2a.js} +1 -1
- package/dist/assets/{url-Dvga04s1.js → url-B3spPAaB.js} +1 -1
- package/dist/assets/{url-Cenve78-.js → url-CsktLD4A.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-usvVYHad.js → useLongPress-GCK2COYQ-5GfLl0ml.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-ByjIwRIy.js → usp-line-BBd1wKwW-DO5-Shw0.js} +1 -1
- package/dist/assets/{utils-gMT26ExF.js → utils-C7Aiy3iw.js} +1 -1
- package/dist/assets/{zeni-epic-state-1LR8oCdb.js → zeni-epic-state-D2RxwWrl.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BRWOdhMx-B5vqTcQC.js +0 -21
- package/dist/assets/AccountInfoPage-Ca_vKG58-CmolE_M0.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq--KHKaMTx.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-tEW9jx2i.js +0 -6
- package/dist/assets/ApAgingDetailPage-Duu2uAEr-CHYiB4_n.js +0 -46
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-DExwExvL.js +0 -46
- package/dist/assets/BillDetailPage-BG7FhHEq-BJc5bg2f.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-BxxZuroQ.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-D3Z89838.js +0 -235
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-DyPqmebu.js +0 -84
- package/dist/assets/BillingSettingsPage-CdYb74V7-C_ZbNI2K.js +0 -44
- package/dist/assets/BusinessVerificationPage-CbqJIVpz-D5Pnrd4V.js +0 -138
- package/dist/assets/CardNumberSubText-DBOH0_yP-NStUUB4L.js +0 -21
- package/dist/assets/ChargeCardListPage-130ILwkr-Bn2UNOpv.js +0 -412
- package/dist/assets/CompanyOfficerDetailsSection-BtUBatbQ-BgEQYkh1.js +0 -260
- package/dist/assets/CompanyPassportPage-DzE7sm8S-F-LnGTlT.js +0 -574
- package/dist/assets/ConfettiBurst-1rYKpbAj-7_ntB1dO.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-DWTS2vWG.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-FKs-62hv.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-eoICSPrF.js +0 -66
- package/dist/assets/CustomerOnboardingPage-CvN9Jrdy-TK7lm7QW.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-DLYrpbnI.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-B8QX9JeN.js +0 -12
- package/dist/assets/EditPeoplePage-DJthuIP4-DFiVe4fX.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-oGYtPUJx.js +0 -865
- package/dist/assets/InsightsSection-BTXj5WUe-Dnd7T8n1.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-kIajgPZt-BCl1VoBc.js +0 -292
- package/dist/assets/InvitePeoplePage-DrBtwpMH-jVWIt_-k.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-FQPDCWhk.js +0 -16
- package/dist/assets/LabeledDocumentField-C73vQNgq-ClbLbe81.js +0 -41
- package/dist/assets/LinkJETransactionPage-C0onrP5t-qiX2Dqs6.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-DW1n8bX2.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-DHDPluRy.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-BcWdztI5.js +0 -1
- package/dist/assets/NoDataTable-BMD2qygC-D3zLqMv-.js +0 -8
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-B1CQW0Ds.js +0 -107
- package/dist/assets/PaymentAccountSetupBillingAddressSection-s9EEHxoG-4TpDZPEe.js +0 -107
- package/dist/assets/Preview-a-JlTlEm.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-DfP6S3rb.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-BDz7EXy3.js +0 -237
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-CXM71NE4.js +0 -314
- package/dist/assets/RoleWithToolTip-aW95rpRe-BrXKfiz8.js +0 -22
- package/dist/assets/ScreenRoutes-C3DV_-a8.js +0 -201
- package/dist/assets/SignIn-DQBJB5ad-D2MMlFVA.js +0 -448
- package/dist/assets/SignInScreen-B7P5eb-y.js +0 -1
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-BO9QxuYF.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-BQjpDK4V.js +0 -754
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-HulA5gL6.js +0 -230
- package/dist/assets/StatementItem-hcBoe79o-Du93pBl-.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-Do0VDrMC.js +0 -31
- package/dist/assets/TreasuryStatementsPage-BE54gWl6-BmltGAJ9.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-XMV6oQdd.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-1eo_KTtv.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-Bp91Qzlg.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-sO3GACzv.js +0 -14
- package/dist/assets/downloadPdf-B8UMaJCC-BFUHIY4h.js +0 -1
- package/dist/assets/epic-ChbeUbgS.js +0 -2
- package/dist/assets/index-BBszPXVa.js +0 -1
- package/dist/assets/index-BjHrSGfO.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-C9B3pLm1.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-BXiUP_C8.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-CsmN8zhY.js +0 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-CHosyNVt.js +0 -1
- package/dist/assets/toChartData-CMi2WgAy-C7CbsXKi.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-D5UmMc1z.js +0 -1
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-Bs2B-MQ4.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-gm2R3TtK.js"><link rel="modulepreload" crossorigin href="/assets/core-9PMMelIA.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-D2RxwWrl.js"><link rel="modulepreload" crossorigin href="/assets/recharts-DGmpNqLb.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-48Yy2aTy.js"><link rel="modulepreload" crossorigin href="/assets/mui-snKYaegN.js"><link rel="modulepreload" crossorigin href="/assets/lottie-ChwWMuYN.js"><link rel="modulepreload" crossorigin href="/assets/analytics-D0z7Cz17.js"><link rel="modulepreload" crossorigin href="/assets/lexical-CaQwXIc3.js"><link rel="modulepreload" crossorigin href="/assets/utils-C7Aiy3iw.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-cockpit-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@sentry/core": "^9.42.1",
|
|
27
27
|
"@sentry/react": "^9.42.1",
|
|
28
28
|
"@types/crypto-js": "^4.1.0",
|
|
29
|
-
"@zeniai/client-analytics": "1.6.
|
|
30
|
-
"@zeniai/client-epic-state": "4.19.
|
|
31
|
-
"@zeniai/web-components": "3.17.
|
|
29
|
+
"@zeniai/client-analytics": "1.6.80",
|
|
30
|
+
"@zeniai/client-epic-state": "4.19.62",
|
|
31
|
+
"@zeniai/web-components": "3.17.36",
|
|
32
32
|
"color": "3.1.3",
|
|
33
33
|
"cross-fetch": "^4.0.0",
|
|
34
34
|
"crypto-js": "4.2.0",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{q as E,a8 as W,F as w,cB as _,V as n,cm as V,cn as F,co as H,ab as O,aO as q,y as r,eR as Q,b5 as U,o as Z,c as t}from"./index-DKQM71dS.js";import{a as x}from"./sentry-3Q4-6z2o.js";import{n as u}from"./mui-Bm7nuuAo.js";import{W as G,A as J}from"./BankAccountWarningSection-DMRmF2yM-BdJjldMh.js";import{M as K}from"./MagicLinkTitleSection-Bx92291D-Cip3RyJg.js";import{e as X}from"./BankAccountSection-Bgdk93V0-Chzpiy1x.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]="9c1b7788-5e10-4ef7-a3d0-d3dc2a506f18",e._sentryDebugIdIdentifier="sentry-dbid-9c1b7788-5e10-4ef7-a3d0-d3dc2a506f18")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:B,onSaveHandler:S,onBackClick:h,onACHDetailsUpdated:v,onFetchBankName:N,isMagicLink:m,companyName:D,currencySymbol:j,amount:$,bankAccountContext:P})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Y(o),[o])}),[z,b]=x.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=d,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,l)=>{const s=l[p].bankRoutingNumber;v(l),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&N?.(s)};x.useEffect(()=>{const f=i.watch((l,{name:s})=>{s!=null&&l!=null&&_(()=>L(s,l))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&S("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:d.discardTitle}),descriptionComponent:n.jsx(F,{children:d.discardDescription}),primaryButtonText:d.discard,secondaryButtonText:d.cancel,action:I}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:$??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,P==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
|
-
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
|
-
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
|
-
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
5
|
-
padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
6
|
-
`,ne=u.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
`,te=u.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
flex-grow: 1;
|
|
15
|
-
`,ae=u(U)`
|
|
16
|
-
color: ${e=>e.theme.colors.champion};
|
|
17
|
-
margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
|
|
18
|
-
margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
|
|
19
|
-
`,ie=u.div`
|
|
20
|
-
margin-top: ${Z.sp5};
|
|
21
|
-
`;export{ue as f};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{d as y,q as x,V as t,gJ as b,o as r,y as d,hv as D,c as i}from"./index-DKQM71dS.js";import{a as $}from"./sentry-3Q4-6z2o.js";import{n as o}from"./mui-Bm7nuuAo.js";import{K as P}from"./StatusSwitcher-Cy5ITFgi-WNbBQL_H.js";import{r as v}from"./AccountInfoPageContent-Dv1IPcdF-wIa9sgDk.js";import"./liveblocks-Bth6iRPZ.js";import"./core-DSEA1DeO.js";import"./recharts-sqzNidKh.js";import"./zeni-epic-state-1LR8oCdb.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.js";import"./downloadPdf-B8UMaJCC-BFUHIY4h.js";import"./commonDimensions-Ds75pRzR-CknYEsxH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0ef3b055-ab9a-4f98-949e-cf647dce5d20",e._sentryDebugIdIdentifier="sentry-dbid-0ef3b055-ab9a-4f98-949e-cf647dce5d20")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=x(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(A,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:c,children:a.accountName}),t.jsx(j,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(z,{windowSize:c,children:t.jsx(v,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},z=o.div`
|
|
2
|
-
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
-
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
-
`,A=o.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
`,T=o(D)`
|
|
12
|
-
color: ${e=>e.theme.colors.primary};
|
|
13
|
-
padding: ${r.sp3} ${r.sp0};
|
|
14
|
-
margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
-
`,j=o.div`
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: flex-start;
|
|
18
|
-
`;export{B as default};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import{d as g,F as l,V as t,ak as x,b8 as c,n as y,o as r,p,ap as b,bW as j,bX as $,bY as w,bP as k}from"./index-DKQM71dS.js";import{n as o}from"./mui-Bm7nuuAo.js";import{t as v}from"./handshake-BPg58FML-BKg5Zl7K.js";import"./sentry-3Q4-6z2o.js";import"./liveblocks-Bth6iRPZ.js";import"./core-DSEA1DeO.js";import"./recharts-sqzNidKh.js";import"./zeni-epic-state-1LR8oCdb.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.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]="d0aefe30-271f-4eaa-94fa-41623662d5bf",e._sentryDebugIdIdentifier="sentry-dbid-d0aefe30-271f-4eaa-94fa-41623662d5bf")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(_,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(C,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=o.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
row-gap: ${r.sp6};
|
|
7
|
-
`,D=o(b)`
|
|
8
|
-
color: ${p.important};
|
|
9
|
-
text-align: center;
|
|
10
|
-
`,_=o.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
row-gap: ${r.sp5};
|
|
16
|
-
`,a=o.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: flex-start;
|
|
20
|
-
column-gap: 12px;
|
|
21
|
-
text-align: start;
|
|
22
|
-
width: 100%;
|
|
23
|
-
color: ${e=>e.theme.colors.primary};
|
|
24
|
-
`,C=o.a`
|
|
25
|
-
text-decoration: underline;
|
|
26
|
-
color: ${e=>e.theme.colors.primary};
|
|
27
|
-
`,I=o(c)`
|
|
28
|
-
font-weight: ${w.medium};
|
|
29
|
-
`,L=o.span`
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
margin-left: ${r.sp1};
|
|
32
|
-
margin-right: ${r.sp1};
|
|
33
|
-
`,d=o.div`
|
|
34
|
-
width: ${r.sp7};
|
|
35
|
-
height: ${r.sp7};
|
|
36
|
-
background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
flex-shrink: 0;
|
|
39
|
-
color: ${e=>e.theme.colors.primary};
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
`,z=o($)`
|
|
44
|
-
width: ${r.sp4};
|
|
45
|
-
height: ${r.sp4};
|
|
46
|
-
`,A=o(j)`
|
|
47
|
-
width: ${r.sp4};
|
|
48
|
-
height: ${r.sp4};
|
|
49
|
-
`,F=o(v)`
|
|
50
|
-
width: ${r.sp4};
|
|
51
|
-
height: ${r.sp4};
|
|
52
|
-
`,T=o.div`
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
width: 456px;
|
|
56
|
-
padding: ${r.sp5} ${r.sp6};
|
|
57
|
-
background: ${e=>e.theme.colors.grey5};
|
|
58
|
-
border-radius: ${r.sp2};
|
|
59
|
-
`,W=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,W as a};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{d as y,q as S,aN as T,b as d,V as l,jm as w,o as t,y as c,aM as B,F as x,c as n}from"./index-DKQM71dS.js";import{a as C}from"./sentry-3Q4-6z2o.js";import{n as I}from"./mui-Bm7nuuAo.js";import"./liveblocks-Bth6iRPZ.js";import"./core-DSEA1DeO.js";import"./recharts-sqzNidKh.js";import"./zeni-epic-state-1LR8oCdb.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="29dfb081-2d2f-461d-9e18-13bcf4c4cf5a",e._sentryDebugIdIdentifier="sentry-dbid-29dfb081-2d2f-461d-9e18-13bcf4c4cf5a")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=y(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>g(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:m.marginTop.valuePx(a),marginBottom:m.marginBottom.valuePx(a),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=I.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
`;export{K as default};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as f}from"./index-DKQM71dS.js";import{a as _}from"./sentry-3Q4-6z2o.js";import{n as i}from"./mui-Bm7nuuAo.js";import{W as Q,L as X}from"./EntitySummarySection-CHgrPo86-DCLGdQrf.js";import"./liveblocks-Bth6iRPZ.js";import"./core-DSEA1DeO.js";import"./recharts-sqzNidKh.js";import"./zeni-epic-state-1LR8oCdb.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c40995a6-5939-4c30-9ba7-b9d102e10a1b",e._sentryDebugIdIdentifier="sentry-dbid-c40995a6-5939-4c30-9ba7-b9d102e10a1b")}catch{}})();const S={wrapperContainerMarginTop:new M(f[4],f[0]),wrapperContaineHorizontalrMargin:new M(f[0],f[8])},ee=i.div`
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
max-width: 99.9%;
|
|
6
|
-
`,oe=i.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: calc(100% - 60px);
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`,te=i.div`
|
|
14
|
-
height: 96px;
|
|
15
|
-
width: 96px;
|
|
16
|
-
background: ${e=>e.theme.colors.background};
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
& svg {
|
|
20
|
-
margin: ${L.sp5};
|
|
21
|
-
color: ${e=>e.theme.colors.grey1};
|
|
22
|
-
}
|
|
23
|
-
&:hover {
|
|
24
|
-
& svg {
|
|
25
|
-
color: ${e=>e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`,re=i(U)`
|
|
29
|
-
margin-top: ${L.sp3};
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
`,ae=i.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
min-height: 100%;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
width: 100%;
|
|
36
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
-
`,ne=i.div`
|
|
38
|
-
display: block;
|
|
39
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
-
height: calc(100vh - 178px);
|
|
41
|
-
margin-top: ${e=>S.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
-
`,ie=i.div`
|
|
43
|
-
margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
-
margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
-
height: 100%;
|
|
46
|
-
`;function _e(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:z}=a,{fetchState:m,invoices:I,apAgingDetailUIState:$,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=$,[j,P]=_.useState(!1),A=g.getLocalizedStrings(),F=A.reports.aging.agingDetail,Y=_.useCallback((c,u)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,u,t.format(A.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,u)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const u={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:z,reportDate:t};await se(k,C,u),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,y,j,t,D,b,z,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const O=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(q,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:I.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:$,invoices:I,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:Y,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=Z(t.headers,a.defaultFileName),w=await t.arrayBuffer();G(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import{d as Y,q as F,V as o,bL as O,g1 as R,bz as B,cj as H,F as S,o as M,aQ as K,bA as Z,y as z,cc as q,cd as J,ce as U,c as y}from"./index-DKQM71dS.js";import{a as b}from"./sentry-3Q4-6z2o.js";import{n as s}from"./mui-Bm7nuuAo.js";import{W as V,L as W}from"./EntitySummarySection-CHgrPo86-DCLGdQrf.js";import"./liveblocks-Bth6iRPZ.js";import"./core-DSEA1DeO.js";import"./recharts-sqzNidKh.js";import"./zeni-epic-state-1LR8oCdb.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="b205f40e-6f97-4430-a50d-79db53f830f8",e._sentryDebugIdIdentifier="sentry-dbid-b205f40e-6f97-4430-a50d-79db53f830f8")}catch{}})();const _={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:G,reports:{common:Q,aging:{agingDetail:X}},dateFormat:A}=S.getLocalizedStrings();function _e(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=d,{fetchState:p,invoices:v,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[j,P]=b.useState(!1),E=b.useCallback((g,f)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,f)},[r.customer,m,a,t]);if(b.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:t};await ee(k,C,f),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}j&&u!=="In-Progress"&&(P(!1),w("In-Progress"),g())},[C,k,d.companyName,u,j,t,x,D,I,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(O,{})}),o.jsx(ne,{children:Q.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(R,{fetchState:p});const L=o.jsx(Z,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:G.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:L,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(V,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:v.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(W,{uiState:$,invoices:v,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await q({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();U(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
max-width: 99.9%;
|
|
6
|
-
`,te=s.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: calc(100% - 60px);
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`,ae=s.div`
|
|
14
|
-
height: 96px;
|
|
15
|
-
width: 96px;
|
|
16
|
-
background: ${e=>e.theme.colors.background};
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
& svg {
|
|
20
|
-
margin: ${M.sp5};
|
|
21
|
-
color: ${e=>e.theme.colors.grey1};
|
|
22
|
-
}
|
|
23
|
-
&:hover {
|
|
24
|
-
& svg {
|
|
25
|
-
color: ${e=>e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`,ne=s(K)`
|
|
29
|
-
margin-top: ${M.sp3};
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
`,ie=s.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
min-height: 100%;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
width: 100%;
|
|
36
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
-
`,se=s.div`
|
|
38
|
-
display: block;
|
|
39
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
-
height: calc(100vh - 178px);
|
|
41
|
-
margin-top: ${e=>_.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
-
`,le=s.div`
|
|
43
|
-
margin-left: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
-
margin-right: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
-
height: 100%;
|
|
46
|
-
`;export{_e as default,oe as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import{q as Wn,av as Zn,d as Kn,gc as Un,gd as Vn,ge as Gn,gf as Hn,ca as qn,aN as Xn,y,V as t,f3 as dt,f4 as Jn,o as a,f5 as Qn,f6 as Yn,f7 as ea,aK as Ae,f8 as ta,aM as b,bz as ct,bm as pt,dr as mt,cm as ut,cn as yt,co as ht,gg as na,gh as aa,gi as ia,gj as la,fd as $,gk as I,ff as A,fg as k,fc as oa,b as bt,p as ie,fe as Lt,fm as ra,fh as sa,fi as da,gl as ca,gm as pa,aO as ma,an as gt,bQ as we,gn as ua,go as L,F as ya,c as s,ah as ha,b$ as ba,gp as ga,L as fa,gq as xa,fn as ft,a as wa,d0 as Ta,cf as va,gr as xt,b5 as Da,b7 as ja,l as $a,bS as Ot,d1 as Ia,gs as Aa,ag as Ft,aW as ka,b3 as Sa,br as Ca,eJ as Pa,ak as Ba}from"./index-DKQM71dS.js";import{a as p}from"./sentry-3Q4-6z2o.js";import{n as i}from"./mui-Bm7nuuAo.js";import{a as Ra}from"./liveblocks-Bth6iRPZ.js";import{bO as za,bL as Ma,bP as Na,FB as La,bN as Oa,bH as Fa,bh as Ea}from"./zeni-epic-state-1LR8oCdb.js";import{o as _a,t as Wa}from"./LowBalancePopup-Dd9HLWlh-CzozjvI8.js";import"./core-DSEA1DeO.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./recharts-sqzNidKh.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="ad91825d-1fe3-4578-8676-c37b9b7cf9b1",e._sentryDebugIdIdentifier="sentry-dbid-ad91825d-1fe3-4578-8676-c37b9b7cf9b1")}catch{}})();const Za=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new wa("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Ua,common:{noText:C,strings:{empty:c},currency:wt,via:Va,more:Ga,edit:Ha},spendManagement:{billPay:{billDetails:n,billsByTabs:ke,bulkActions:Tt,vendorCreation:Te,insufficientFunds:Et}},collaboration:{threads:{placeholder:vt,tooltip:Dt,title:{comments:qa}}}}=ya.getLocalizedStrings(),ve=Ua.visual.MMMDCommaYYYYformat,Ei=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:le,isAdmin:_t,isRealTimeApprovalEnabled:Wt,isInternationalPaymentShaVsOurEnabled:Zt,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:K,showMarkAsPaidButtonToApprover:Se,isBillPayCommentingEnabled:Ce,isZeniUser:Ut,showBackButton:Pe=!0,isDetectInsufficientFundsEnabled:Vt,redirectToEditableBillScreen:Gt,redirectToBillsScreen:X,discardBillDetailsFromLocalStore:Be,deleteBill:Ht,cancelAndDeleteBill:Re,approveOrRejectBill:ze,onAddNewRule:qt,onAttachmentClick:Me,saveBillDetails:Xt,discardOutsideZeniPaymentData:Jt,onBackClick:Ne,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:Yt,onRetryPaymentClick:en,onRefundPaymentClick:tn})=>{const l=Wn(),o=Zn(),Le=Kn(),[nn,U]=p.useState(!1),[Oe,oe]=p.useState(!1),[re,se]=p.useState(!1),[Fe,de]=p.useState(!1),[an,ce]=p.useState(!1),[Ee,J]=p.useState(!1),h=e.transactionDetails?.id,ln=Ut?Un:Vn,{requestToOpenThread:pe,setRequestToOpenThread:_e,setOpenThread:Q}=p.useContext(ln),[on,V]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:G,isLoading:P}=Gn(T,"both",!1),x=Ce&&h!=null,We=p.useMemo(()=>h==null?[]:G.filter(r=>r.resolved===!1&&!r.id.includes(Hn)),[G,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,rn=p.useCallback((r,u)=>{Q(u),V(!1)},[Q,V]);p.useEffect(()=>{pe?.threadId!=null&&G.length>0&&!P&&(Q(pe.threadId),_e(null))},[pe,G,P,Q,_e]);const Ze=p.useRef(!1),[sn,dn]=p.useState(!1),cn=p.useRef(r=>{r&&!Ze.current&&(Ze.current=!0,dn(!0))});qn({componentName:"bill.details",enabled:sn});const[N,Y]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ue]=p.useState("approved"),[pn,Ve]=p.useState(!1),[mn,Ge]=p.useState(!1),[He,qe]=p.useState(!1),Xe=()=>Ve(!1),un=()=>Ve(!0),Je=Xn(e.zeniAssist?.refundStatus.fetchState),ee=p.useCallback(()=>{X()},[X]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Be(),X())},[e,X,Be]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(se(!1),ee())},[Je,e.zeniAssist?.refundStatus,ee]);const w=e.transactionDetails?.billPayInfo.stage,te=e.transactionDetails?.billPayInfo.billStatus,H=e.transactionDetails?.billPayInfo.billPaymentStatus,yn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,me=w?.code==="paid",D=me?w:te?.code=="approved"&&H?.code?H:te,S=Xa(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?yn:H?.code!=null&&(te?.code=="approved"||H.code==="mark_as_paid")?H:te,ue=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Gt(e.transactionDetails?.id??"")},hn=()=>{Y({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),U(!0)},bn=()=>{Y({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},gn=()=>{Y({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},fn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Y({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),se(!0)},xn={onOkClick:()=>{U(!1),N.primaryButtonText===n.delete?Ht?.(e.isRecurring):N.title===n.cancelBillTitle?Re?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Re?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn())},onCancelClick:()=>{U(!1),se(!1)}},wn={onOkClick:r=>{ce(!1),ze({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{ce(!1)}},Tn=()=>{const[r]=ka("ZeniAssist");return r!=null?t.jsx(Sa,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{de(!Fe),M.trackZeniAssistClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},ne={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??wt.currencyCode},ye=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],vn=e.transactionDetails?.recipientTotalAmount.amount??0,he=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},j=m.labelWidth.value(l),Dn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,jn=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",$n=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${jn}`,In=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx(Di,{})})]}):void 0,Ye=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),An=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Ia(r.toLowerCase()):r??"";return`${Te.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
2
|
-
${Te.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${Te.achDetails.accountTypeLabel} ${u}`},ae=e.transactionDetails?.billPayInfo!=null?za(e.transactionDetails?.billPayInfo):void 0,kn=ae!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Ma(Na(ae?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,et=e.transactionDetails?.billPayInfo.expectedDepositDate??kn,tt=dt(d?.paymentType?.method??"").replace("Same Day",""),Sn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Jn,{paymentTypeLabel:tt,onClick:un,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Cn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(Aa,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,nt=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,be=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&nt),at=!((w?.code==="scheduled"||w?.code==="pending_approval")&&nt),ge=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,fe=e.zeniAssist?.isEligibleForRefund===!0,Pn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Bn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(ge||fe)&&Pn===!1,xe=ge||fe,Rn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,zn=!Rn&&(!Ye||D?.code==="processing"&&!B),it=!Ye,lt=["small","medium-compact","medium-regular"].includes(l),q=La(e.transactionDetails?.bulkProcessingDetail?.type),F=Oa(e.paymentMethodType?.method),Mn=!q&&(E!=="processing"&&at||E==="processing"&&!B||E==="processing"&&it||f&&F&&Se),Nn=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Xt(!0,He,r)},ot=()=>{Ge(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},Ln=()=>{qe(!0),ot()},On=()=>{Jt(),Ge(!1),He&&qe(!1)},Fn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:h??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,h]),_=Vt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Qn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,rt=()=>{Ue("approved"),Ee===!0&&J(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",ft(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ze({billId:e.transactionDetails?.id??"",type:"approved"})},En=()=>{Ue("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",ft(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ce(!0)},st=p.useRef(null);return t.jsxs(ci,{windowSize:l,ref:st,children:[t.jsx(Yn,{anchor:"right",open:pn,onClose:Xe,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ea,{companyName:ta(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(ve)??"",paymentType:tt,amount:Ae("0,0.[00]",he),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Xe})}),t.jsxs(yi,{ref:cn.current,windowSize:l,children:[t.jsx(Ai,{windowSize:l,children:l==="small"?t.jsx(ct,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Le.colors.grey4,rightSideComponent:t.jsxs(St,{windowSize:l,children:[x?t.jsxs(Mt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),V(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>mt(u)),void 0,void 0,"page icon")},children:[t.jsx(pt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Nt,{})]}):null,t.jsx(Ct,{onClick:()=>ee(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(kt,{})})]}),leftSideComponent:t.jsx(At,{windowSize:l,onClick:Ne,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Pe?"visible":"hidden"}`},children:t.jsx(It,{})}),source:"BillDetailPage"}):t.jsx(ct,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(St,{windowSize:l,children:[x?t.jsxs(Mt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),V(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>mt(u)),void 0,void 0,"page icon")},children:[t.jsx(pt,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Nt,{})]}):null,t.jsx(Ct,{onClick:()=>ee(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(kt,{})})]}),leftSideComponent:t.jsx(At,{windowSize:l,onClick:Ne,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Pe?"visible":"hidden"}`},children:t.jsx(It,{})}),enableTitleOnScroll:!0,scrollableContent:st,source:"BillDetailPage"})}),t.jsxs(hi,{windowSize:l,children:[Ee?t.jsx(_a,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:rt,onCancelClick:()=>{J(!1),Qe()},onClickAway:()=>{J(!1)}}):null,mn?t.jsx(Wa,{onCancel:On,onProceedForMarkAsPaid:Nn,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,nn||re?t.jsx(ut,{titleComponent:t.jsx(ht,{children:N.title}),descriptionComponent:t.jsx(yt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:re?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:xn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:re?Ja(l,e):null}):null,an?t.jsx(ut,{titleComponent:t.jsx(ht,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(yt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:wn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(gi,{windowSize:l,children:[l!=="small"?t.jsxs(fi,{windowSize:l,children:[ue,e.isRecurring?t.jsx(Ie,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Pt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===ke.tabsById.overdue?t.jsx(Pt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(na,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:et,scheduleDate:ae,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:et,scheduleDate:ae,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ei(q,e,_),t.jsx(ia,{sectionId:la,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Ce,isBillPaid:me,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Me,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(je,{children:[t.jsx($e,{children:n.whatForTitle}),t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx(I,{label:{label:n.invoiceNumber,width:j},text:ne.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx(I,{label:{label:n.invoiceDate,width:j},text:ne.invoiceDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx(I,{label:{label:n.billDueDate,width:j},text:ne.billDueDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"memo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx(I,{label:{label:n.memo,width:j},text:ne.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(je,{children:[t.jsx(bi,{windowSize:l,children:t.jsx($e,{children:n.lineItemsTitle})}),ye.length>0?ye.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(_n=>_n.id===r.lineId)?.recipientAmount;return t.jsxs(pi,{children:[ye.length>1?t.jsx(mi,{windowSize:l,children:t.jsx(ui,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx(I,{label:{label:n.amount,width:j},text:R!=null?Ae("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx(I,{label:{label:n.description,width:j},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx(I,{label:{label:n.category,width:j},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx(I,{label:{label:n.class,width:j},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx(I,{label:{label:n.billable,width:j},text:r.billable!=null?Dn(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx(I,{label:{label:n.customer,width:j},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(xi,{windowSize:l,children:[t.jsx(wi,{children:n.total}),t.jsx(Ti,{children:he!=null?t.jsx(oa,{amount:he,integerStyles:bt.h6Medium.cssObject,decimalStyles:bt.standardMedium.cssObject}):C})]}),t.jsxs(je,{children:[t.jsx($e,{children:n.paymentDetailsTitle}),t.jsxs(De,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx(I,{label:{label:n.withdrawFrom,width:j},text:e.withdrawFrom!=null?Lt(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:ie.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?Et.addMoney:_})}),t.jsx(z,{})]}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx(I,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Fa)&&Zt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ni,{children:ra(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:j},text:F&&e.outsideZeniPaymentInfo!=null?Ya(e.outsideZeniPaymentInfo):dt(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(I,{label:{label:n.paymentTo,width:j},text:d.paymentToBankAccount!=null?$n:d.paymentToPI!=null?d.paymentToPI.displayText:In,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:An(),additionalInfoLabel:t.jsx(ti,{children:Sn})}),Cn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(I,{label:{label:n.paymentType,width:j},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:da(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:sa(l,e.isRecurring,F,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx($i,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(ca,{onAttachmentClick:Me,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??wt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(pa,{amount:vn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:qt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:_t,signedInUserId:le?.userId,showRealTimeApproval:Wt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Qt,onSaveRealTimeApprovals:Yt},historicActivities:e.billHistory.activities}),t.jsx(vi,{})]}),e.transactionDetails?.vendor!=null&&!me&&!e.transactionDetails.isDeleted?t.jsx(ma,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:K||f,showCancel:!K&&f,cancelBtn:{label:lt?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:En,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Qa(K,lt),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:K?ot:()=>{_!=null?J(!0):rt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:K?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(ai,{children:t.jsxs(di,{windowSize:l,children:[!q&&Oe?t.jsx(gt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&at?t.jsx(W,{onClick:hn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(W,{onClick:bn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&&it?t.jsx(W,{onClick:gn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Se?t.jsx(W,{onClick:Ln,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,Fe?t.jsx(gt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[ge?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),en()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,fe?t.jsx(W,{onClick:fn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(si,{windowSize:l,children:[Bn===!0?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:xe?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:be,isIconClickable:xe,"data-testid":b("other-actions-icon-container"),children:xe?t.jsx(Tn,{}):t.jsx(li,{})})}):null,!q&&be===!0?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ha,placement:"top",children:t.jsx(ri,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(oi,{})})}):null,!q&&zn===!0&&Mn?t.jsx(we,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:be,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(ii,{onClick:()=>oe(!Oe)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(Ra,{id:v,children:t.jsx(ua,{isDrawerOpen:on,allowComposer:!0,drawerTitle:qa,threads:G,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:vt.addANewComment,replyComposerPlaceholder:vt.replyAComment,threadResolve:Dt.resolveComment,threadUnResolve:Dt.unResolveComment},threadMetadata:Fn,onThreadClick:rn,onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Le.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Xa=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:ke.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(Ea(),"date")===!0?{value:ke.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[f].color,bgColor:L[f].bgColor,borderColor:L[f].borderColor}},Ja=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ii,{windowSize:e,children:[t.jsxs(Bt,{windowSize:e,children:[t.jsx(Rt,{children:n.zeniAssist.accountNumber}),t.jsx(zt,{children:g.withdrawFrom!=null?Lt(g.withdrawFrom,e):c})]}),t.jsxs(Bt,{windowSize:e,children:[t.jsx(Rt,{children:n.zeniAssist.amount}),t.jsx(zt,{children:f!=null?Ae("0,0[.]00",f):C})]})]})},Qa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,Ya=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(le=>le.value===g)?.label;return`${f} ${Va} ${Z}`},ei=(e,g,f)=>{if(e)return t.jsx(xt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:Tt.duplicateWarning.title,description:Tt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(xt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Et.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ti=i.div``,ni=i.div``,ai=i.div`
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: flex-end;
|
|
5
|
-
`,ii=i(Pa)`
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
color: ${e=>e.theme.colors.hero};
|
|
8
|
-
width: ${a.sp4};
|
|
9
|
-
height: ${a.sp4};
|
|
10
|
-
&:hover {
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
}
|
|
13
|
-
`,jt=i.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
|
|
16
|
-
cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
|
|
17
|
-
color: ${e=>e.theme.colors.grey1};
|
|
18
|
-
&:hover {
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
}
|
|
21
|
-
`,li=i(Za)`
|
|
22
|
-
color: ${e=>e.theme.colors.hero};
|
|
23
|
-
width: ${a.sp5};
|
|
24
|
-
height: ${a.sp5};
|
|
25
|
-
margin-bottom: ${a.sp2};
|
|
26
|
-
&:hover {
|
|
27
|
-
color: ${e=>e.theme.colors.primary};
|
|
28
|
-
}
|
|
29
|
-
`,oi=i(Ca)`
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
color: ${e=>e.theme.colors.hero};
|
|
32
|
-
width: ${a.sp4};
|
|
33
|
-
height: ${a.sp4};
|
|
34
|
-
&:hover {
|
|
35
|
-
color: ${e=>e.theme.colors.primary};
|
|
36
|
-
}
|
|
37
|
-
`,ri=i.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
color: ${e=>e.theme.colors.grey1};
|
|
41
|
-
margin-left: ${a.sp4};
|
|
42
|
-
&:hover {
|
|
43
|
-
color: ${e=>e.theme.colors.primary};
|
|
44
|
-
}
|
|
45
|
-
`,si=i.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
align-items: center;
|
|
49
|
-
`,$t=i.div`
|
|
50
|
-
display: flex;
|
|
51
|
-
width: max-content;
|
|
52
|
-
align-items: center;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
56
|
-
color: ${e=>e.theme.colors.hero};
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
padding-top: ${a.sp1};
|
|
59
|
-
padding-bottom: ${a.sp1};
|
|
60
|
-
position: absolute;
|
|
61
|
-
bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
62
|
-
z-index: 3;
|
|
63
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
64
|
-
border-radius: ${a.sp1};
|
|
65
|
-
right: ${e=>m.right.valuePx(e.windowSize)};
|
|
66
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
|
|
67
|
-
`,di=i.div`
|
|
68
|
-
width: auto;
|
|
69
|
-
justify-content: flex-end;
|
|
70
|
-
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
71
|
-
right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
|
|
72
|
-
height: 100%;
|
|
73
|
-
display: flex;
|
|
74
|
-
`,W=i(Ft)`
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
width: 100%;
|
|
78
|
-
padding-left: ${a.sp3};
|
|
79
|
-
padding-right: ${a.sp3};
|
|
80
|
-
height: ${a.sp6};
|
|
81
|
-
box-sizing: border-box;
|
|
82
|
-
&:hover {
|
|
83
|
-
background-color: ${e=>e.theme.colors.background};
|
|
84
|
-
}
|
|
85
|
-
`,It=i(ba)`
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
color: ${e=>e.theme.colors.hero};
|
|
88
|
-
width: 20px;
|
|
89
|
-
height: 20px;
|
|
90
|
-
&:hover {
|
|
91
|
-
color: ${e=>e.theme.colors.primary};
|
|
92
|
-
}
|
|
93
|
-
`,At=i.div`
|
|
94
|
-
margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
|
|
95
|
-
display: flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
`,kt=i(fa)`
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
width: ${a.sp4};
|
|
100
|
-
height: ${a.sp4};
|
|
101
|
-
color: ${e=>e.theme.colors.hero};
|
|
102
|
-
&:hover {
|
|
103
|
-
color: ${e=>e.theme.colors.primary};
|
|
104
|
-
}
|
|
105
|
-
`,St=i.div`
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-direction: row;
|
|
108
|
-
align-items: center;
|
|
109
|
-
gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
|
|
110
|
-
margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
|
|
111
|
-
`,Ct=i.div`
|
|
112
|
-
float: right;
|
|
113
|
-
width: ${a.sp4};
|
|
114
|
-
height: ${a.sp4};
|
|
115
|
-
display: flex;
|
|
116
|
-
`,ci=i.div`
|
|
117
|
-
height: 100%;
|
|
118
|
-
overflow: scroll;
|
|
119
|
-
`,De=i.div`
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
123
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
124
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
125
|
-
border-radius: ${a.sp2};
|
|
126
|
-
margin: ${a.sp3} 0;
|
|
127
|
-
`,je=i.div`
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-direction: column;
|
|
130
|
-
padding-top: ${a.sp3};
|
|
131
|
-
`,pi=i.div``,$e=i(Da)`
|
|
132
|
-
color: ${e=>e.theme.colors.primary};
|
|
133
|
-
`,z=i.div`
|
|
134
|
-
display: flex;
|
|
135
|
-
flex: 1;
|
|
136
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
137
|
-
min-height: 1px;
|
|
138
|
-
max-height: 1px;
|
|
139
|
-
`,mi=i(ja)`
|
|
140
|
-
display: flex;
|
|
141
|
-
align-items: center;
|
|
142
|
-
justify-content: space-between;
|
|
143
|
-
color: ${e=>e.theme.colors.champion};
|
|
144
|
-
margin-top: ${a.sp2};
|
|
145
|
-
height: 31px;
|
|
146
|
-
`,ui=i($a)`
|
|
147
|
-
color: ${e=>e.theme.colors.champion};
|
|
148
|
-
`,yi=i.div`
|
|
149
|
-
display: flex;
|
|
150
|
-
flex-direction: column;
|
|
151
|
-
`,hi=i.div`
|
|
152
|
-
display: flex;
|
|
153
|
-
flex-direction: column;
|
|
154
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
|
|
156
|
-
padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
|
|
157
|
-
overflow-x: hidden;
|
|
158
|
-
margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
|
|
159
|
-
`,bi=i.div`
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
162
|
-
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
163
|
-
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
164
|
-
`,gi=i.div`
|
|
165
|
-
display: flex;
|
|
166
|
-
margin-bottom: ${a.sp3};
|
|
167
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
168
|
-
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
169
|
-
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
170
|
-
`,fi=i(Ta)`
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
flex-grow: 1;
|
|
174
|
-
${e=>`${Ka.formTitle.style(e.windowSize)}`};
|
|
175
|
-
color: ${e=>e.theme.colors.primary};
|
|
176
|
-
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
177
|
-
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
178
|
-
word-break: break-all;
|
|
179
|
-
padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
|
|
180
|
-
`,xi=i.div`
|
|
181
|
-
padding: ${a.sp3};
|
|
182
|
-
display: flex;
|
|
183
|
-
align-items: center;
|
|
184
|
-
justify-content: center;
|
|
185
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
186
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
187
|
-
border-radius: ${a.sp2};
|
|
188
|
-
color: ${e=>e.theme.colors.hero};
|
|
189
|
-
margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
|
|
190
|
-
`,wi=i(Ot)`
|
|
191
|
-
display: flex;
|
|
192
|
-
width: 176px;
|
|
193
|
-
color: ${e=>e.theme.colors.primary};
|
|
194
|
-
`,Ti=i(Ot)`
|
|
195
|
-
display: flex;
|
|
196
|
-
width: calc(100% - 176px);
|
|
197
|
-
justify-content: flex-end;
|
|
198
|
-
color: ${e=>e.theme.colors.primary};
|
|
199
|
-
`,Pt=i(va)`
|
|
200
|
-
display: flex;
|
|
201
|
-
color: ${e=>e.borderColor};
|
|
202
|
-
align-items: center;
|
|
203
|
-
justify-content: flex-end;
|
|
204
|
-
padding: 1px 6px 1px 6px;
|
|
205
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
206
|
-
border-radius: ${a.sp1};
|
|
207
|
-
min-width: fit-content;
|
|
208
|
-
`,vi=i.div`
|
|
209
|
-
display: flex;
|
|
210
|
-
flex-direction: column;
|
|
211
|
-
height: ${a.sp11};
|
|
212
|
-
`,Di=i(ha)`
|
|
213
|
-
height: ${a.sp3};
|
|
214
|
-
width: ${a.sp3};
|
|
215
|
-
color: ${e=>e.theme.colors.hero};
|
|
216
|
-
`,ji=i.div`
|
|
217
|
-
display: flex;
|
|
218
|
-
align-items: center;
|
|
219
|
-
margin-left: ${a.sp2};
|
|
220
|
-
margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
|
|
221
|
-
align-self: center;
|
|
222
|
-
`,Ie=i(xa)`
|
|
223
|
-
margin-left: ${a.sp2};
|
|
224
|
-
color: ${e=>e.theme.colors.hero};
|
|
225
|
-
`,$i=i.div``,Ii=i.div`
|
|
226
|
-
display: flex;
|
|
227
|
-
flex-direction: column;
|
|
228
|
-
gap: ${a.sp2};
|
|
229
|
-
margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
|
|
230
|
-
`,Bt=i.div`
|
|
231
|
-
display: flex;
|
|
232
|
-
justify-content: space-between;
|
|
233
|
-
width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
|
|
234
|
-
`,Rt=i(Ft)`
|
|
235
|
-
text-align: left;
|
|
236
|
-
color: ${e=>e.theme.colors.grey1};
|
|
237
|
-
`,zt=i(Ba)`
|
|
238
|
-
justify-content: end;
|
|
239
|
-
display: flex;
|
|
240
|
-
flex: 1;
|
|
241
|
-
`,Mt=i.div`
|
|
242
|
-
display: flex;
|
|
243
|
-
align-items: center;
|
|
244
|
-
justify-content: center;
|
|
245
|
-
position: relative;
|
|
246
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
247
|
-
color: ${e=>e.theme.colors.hero};
|
|
248
|
-
opacity: ${e=>e.isDisabled?.5:1};
|
|
249
|
-
&:hover {
|
|
250
|
-
color: ${e=>e.theme.colors.primary};
|
|
251
|
-
}
|
|
252
|
-
`,Nt=i(ga)`
|
|
253
|
-
display: flex;
|
|
254
|
-
width: ${a.sp4};
|
|
255
|
-
height: ${a.sp4};
|
|
256
|
-
align-items: center;
|
|
257
|
-
justify-content: center;
|
|
258
|
-
`,Ai=i.div`
|
|
259
|
-
display: flex;
|
|
260
|
-
justify-content: space-evenly;
|
|
261
|
-
margin-top: 0px;
|
|
262
|
-
position: fixed;
|
|
263
|
-
top: 0px;
|
|
264
|
-
width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
|
|
265
|
-
z-index: 3;
|
|
266
|
-
`;export{Ei as default};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import{y as z,c as D,q as O,F as U,a8 as G,aN as M,aG as W,cB as X,V as o,bz as Z,ab as H,aO as J,o as c}from"./index-DKQM71dS.js";import{a as L}from"./sentry-3Q4-6z2o.js";import{n as b}from"./mui-Bm7nuuAo.js";import{b as K,f as Q,o as R,l as T}from"./FollowStepsSection-ebmR-eLP-DoIxQlf0.js";import"./liveblocks-Bth6iRPZ.js";import"./core-DSEA1DeO.js";import"./recharts-sqzNidKh.js";import"./zeni-epic-state-1LR8oCdb.js";import"./lottie-BcjGrMJ9.js";import"./analytics-BUkj7jvZ.js";import"./lexical-D8ee32sQ.js";import"./utils-gMT26ExF.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]="c8c7ff08-896a-4029-a194-1fd41ea29b2d",e._sentryDebugIdIdentifier="sentry-dbid-c8c7ff08-896a-4029-a194-1fd41ea29b2d")}catch{}})();const _="billPayApprovalRuleDetailPage",C="lowerBound",N="upperBound",v="steps",Y={footerPadding:new z(D[2],D[3])};function ve({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:h=!0,hideUpperBoundField:I=!1,onSaveRuleClick:k,onSaveRuleSuccess:A}){const w=O(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ee(e,l==="approval_create"&&!n),g=G({mode:"all",reValidateMode:"onChange",defaultValues:y}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,P=M(u?.fetchState),{upperBound:B}=y,{allApprovalRules:d,allAccountingClasses:E,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,x=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),x=m>0?d[m-1].criteria[0].range.min.amount:0}const F=g.handleSubmit(()=>{k()}),V=async(i,p)=>{r(p)};return L.useEffect(()=>{const i=g.watch((p,{name:$})=>{if($!=null&&p!=null){const q=W(p);X(()=>V($,q))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&A()},[P,u?.fetchState,A]),o.jsxs(re,{children:[o.jsx(Z,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsx(se,{children:o.jsx(H,{...g,children:o.jsx("form",{id:j(_),onSubmit:F,children:o.jsxs(oe,{children:[o.jsx(K,{label:{label:I?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:B===1/0?Number.MAX_SAFE_INTEGER-1:B-1,min:x,validate:i=>n?!0:i!=null&&i>x},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:N,placeholder:"Infinity",isDisabled:h,hideField:I,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(ie,{}),o.jsx(Q,{sectionId:v,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:E,stepsInfo:y[v],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})})}),o.jsx(J,{formId:j(_),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:Y.footerPadding.valuePx(w)},separatorStyle:{marginRight:c.sp4}})]})}const ee=(e,l)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[v]:ae(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),R(e.allAttributes),R(e.filteredAttributes),r??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[N]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},ae=(e,l,a,r,s)=>s&&s.length>0?s.map((n,h)=>({stepIndex:h,stepType:{selectedOption:n.action,allOptions:T},actors:{allUsers:l,selectedUsers:le(e,n.actors),allNonUsers:r,selectedNonUsers:te(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:l,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],le=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(r=>r.userId===a.userId)>-1),te=(e,l)=>e.filter(a=>l.findIndex(r=>r.subType===a.value)>-1),j=e=>`${e}_form`,Ie=e=>`${e}`,re=b.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
-
`,oe=b.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
12
|
-
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
13
|
-
border-radius: ${c.sp2};
|
|
14
|
-
`,se=b.div`
|
|
15
|
-
display: flex;
|
|
16
|
-
justify-content: flex-start;
|
|
17
|
-
height: 100%;
|
|
18
|
-
overflow-y: auto;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
align-items: center;
|
|
21
|
-
`,ie=b.div`
|
|
22
|
-
display: flex;
|
|
23
|
-
flex: 1;
|
|
24
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
25
|
-
min-height: 1px;
|
|
26
|
-
max-height: 1px;
|
|
27
|
-
`;export{Y as D,ve as default,j as uniqueFormName,Ie as uniqueName};
|