@zeniai/web-cockpit-ui 1.14.99-prod → 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-BGIv1oaj.js → AIPerformancePage-DpXZ7sco-B8d5E6QI.js} +107 -107
- package/dist/assets/AccountInfoPage-BEOrrVQS-L5aJOIaA.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-_hAyQHXK.js → AccountInfoPageContent-BJkLJK6O-CmMcM25y.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-GYy2K63e.js → AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js} +12 -12
- package/dist/assets/{AccountRow-BM3xLbeh-LSvaNMl5.js → AccountRow-B0gU16A_-Ks_Pft1z.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-CYXZwH-K.js → AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js +6 -0
- package/dist/assets/{AddToWalletPage-OJBvAKUj-BCWDL4sh.js → AddToWalletPage-DNPLnpTq-CxRyEwld.js} +23 -23
- package/dist/assets/{AgingReportsPage-n-UKn3Ei-BRiBj-cl.js → AgingReportsPage-Bff4u7T1-DOBvEqCj.js} +10 -10
- package/dist/assets/{AllUserItems-BsvKEVcx-MMgTwBEV.js → AllUserItems-D8zdAu_1-C-zZqgmo.js} +10 -10
- package/dist/assets/ApAgingDetailPage-2NsAj3gO-DfogwLMb.js +46 -0
- package/dist/assets/{AppBasePage-DoCF494Z-CnvPfO_f.js → AppBasePage-Uyk9GOud-D7f8hWuo.js} +8 -8
- package/dist/assets/{AppDrawerContent-DM1t0oLS-DH7eKMj_.js → AppDrawerContent-RX7rx40V-DlBxQF_L.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-DsqjaiCh.js → ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js} +6 -6
- package/dist/assets/{ArAgingChart-CsFDVdeO-DVRC9Zw_.js → ArAgingChart-BxTkvrC9-BgC5YBPR.js} +4 -4
- package/dist/assets/ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js +46 -0
- package/dist/assets/{AttachmentView-B0d42oAf-CXhefwMW.js → AttachmentView-zHGhIkWo-C64qXCAp.js} +6 -6
- package/dist/assets/{BankAccountSection-Bgdk93V0-CBGAHi6W.js → BankAccountSection-HRSyjIxV-CV6PAaFg.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DMRmF2yM-8sv_FXc-.js → BankAccountWarningSection-CNusQFRM-4Y94-VD5.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-BzA7tupy.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-B31U7mEh.js → BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js} +4 -4
- package/dist/assets/BillingSettingsPage-ZupDcNHz-B6O6l_7B.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-CM01CzA6.js → BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js} +1 -1
- package/dist/assets/{BoxItem-WOrvBzns-DeYLQS9P.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-DM_m3Pbc.js → CashbackDetailPage-B2drd1Nz-BAvHe1xx.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-BqOML7j0.js → ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js} +254 -254
- package/dist/assets/ChargeCardListPage-DlI8ZfB0-CMLNFzih.js +412 -0
- package/dist/assets/{ChargeCardListTable-EGkwcy7i-tKLI1qa_.js → ChargeCardListTable-CooASbVZ-CSvbg9sF.js} +71 -71
- package/dist/assets/ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js +553 -0
- package/dist/assets/{ChargeCardPromoPage-BwqrXrY--BIBCTDIo.js → ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js} +38 -38
- package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-BMsw70X3.js → ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-DFEobVrF.js → ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js} +9 -9
- package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-D2Sutkxs.js → CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js} +18 -18
- package/dist/assets/{CollapsableReportTable-xkNXkjfh-C1PiZIcU.js → CollapsableReportTable-DLOi0feI-SZFbl9NV.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js +330 -0
- package/dist/assets/{CompanyPassportCard-BOxM716U-DDGzDD6a.js → CompanyPassportCard-B8PLT6MG-BUc5HZU7.js} +7 -7
- package/dist/assets/CompanyPassportPage-CQZPgrNF-KJN_fT4M.js +347 -0
- package/dist/assets/{CompleteProfile-BjGSPASa-B6ClspdM.js → CompleteProfile-fNSWTbef-pSYliRNx.js} +3 -3
- package/dist/assets/ConfettiBurst-B6ej_xoO-BzptsIBR.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-CvHzuStm.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-Ddk75hhe.js → CurrencySelectField-DsZTOj_T-DmNXNRTP.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-BJhw-PvI-C1M1JTtp.js → CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-3pvCMT54.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-Br9P4eg7.js → Dashboard-cbXIPzMy-DLCpLMr4.js} +21 -21
- package/dist/assets/{DashboardReportPage-Cu5wqWkj-2emLbNj7.js → DashboardReportPage-Pc0G2Tok-BRmpg3ok.js} +28 -28
- package/dist/assets/DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-OoXxiYYg.js → DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-CjhxGWP2.js → DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-BmnJGHNS.js → DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js} +1 -1
- package/dist/assets/{DownloadOverlay-c57lEf_V-kUhL6sL-.js → DownloadOverlay-C7r6PAam-BvXPoC9j.js} +25 -25
- package/dist/assets/{DrawerPage-inbhWwND-bJgqbs-V.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-jmJoevV_.js → EntityDetailPage-BaKoO9FG-BDiZrnyD.js} +2 -2
- package/dist/assets/{EntitySummarySection-CHgrPo86-DVaVVDmD.js → EntitySummarySection-C361-4tS-UJPRLBoI.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-7NybPU7s.js → ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js} +30 -30
- package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-CriSifje.js → ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js} +58 -58
- package/dist/assets/{ExpressPayPage-CIp_R6ZQ-CFUjtYX5.js → ExpressPayPage-CDowSjHC-DolGHHJS.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-qsUO3mUu-BVPfHQvE.js → FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js} +2 -2
- package/dist/assets/{FollowStepsSection-ebmR-eLP-uLIDYbWC.js → FollowStepsSection-h449vQkQ-BXixJ0VK.js} +8 -8
- package/dist/assets/{GlobalReviewListPage-9V-xoqvs-BPoJhVnZ.js → GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js} +18 -18
- package/dist/assets/{InformationCardStack-DnB7TmOk-Dqnfy0Yc.js → InformationCardStack-xhdujEcL-COTShhF9.js} +9 -9
- package/dist/assets/{InsightsCardStack-BBczCYEz-uznJ_FG1.js → InsightsCardStack-zRynyTFj-CqnhwImM.js} +9 -9
- package/dist/assets/InsightsSection-C4fMfxQ4-BGGNiljS.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-Baapsfzv.js → IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-3ON4N7iI.js → InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js} +22 -22
- package/dist/assets/InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js +65 -0
- package/dist/assets/{InviteFormPage-XsnZcAvb-81TFAlP4.js → InviteFormPage-C7fxnyMS-ChsV2A2J.js} +37 -37
- package/dist/assets/{InvitePageListView-HfsehyxK-DZrJL0tJ.js → InvitePageListView-ktOXziSw-ClMd1Rgx.js} +67 -67
- package/dist/assets/InvitePeoplePage-C_4adNch-DPbyAjsn.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-CcMZPhRD.js → InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-xbfFhV0O-CkFxOxQ8.js → IssueChargeCardPage-CdV757XH-B0b8pyku.js} +19 -19
- package/dist/assets/{LabeledAddressValue-CB_KH7v5-DkXWlhfj.js → LabeledAddressValue-Ce_wDml5-CoYtFscl.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-Bq9dv--c.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-BF-q4n65.js → LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js} +4 -4
- package/dist/assets/LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-DrEeJ43_.js → LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js} +8 -8
- package/dist/assets/LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js +220 -0
- package/dist/assets/{LabeledText-yhm8qxrA-Ckmd_Iex.js → LabeledText-D7eLbH80-Bs-kfAE-.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BlovKIqH.js → LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js} +25 -25
- package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-DsF511cn.js → LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js} +28 -28
- package/dist/assets/LinkJETransactionPage-DicS5kKg-DOb356xm.js +98 -0
- package/dist/assets/{LockCardPage-DaVzuRMw-b63S9lNy.js → LockCardPage-DRYg_fxU-CFGUEJ0X.js} +76 -76
- package/dist/assets/{LowBalancePopup-Dd9HLWlh-BitR3QKH.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-DGdqpf5D.js → MagicLinkSuccessPage-BRWymdWH-suMYBps1.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-Bx92291D-DaAfWQeo.js → MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js} +4 -4
- package/dist/assets/{MailingDetailsSection-D-tnK244-olsajwbw.js → MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js} +1 -1
- package/dist/assets/{Menu-0YHUdU0n-IPIsvkjG.js → Menu-C9v-W9TY-DRVyGpH4.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-Du0OUgfx.js → MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-CQGGPBvE.js → MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-DngfbSyH.js → MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js} +9 -9
- package/dist/assets/{NavBarWithPicker-aXn2QYh1-BacMgpdl.js → NavBarWithPicker-Cv7tOmjd-BXBZWsng.js} +5 -5
- package/dist/assets/{NavigationArrow-JLUXaIrz-DkSHUPyh.js → NavigationArrow-DAs7ECFZ-rFu_aZmo.js} +8 -8
- package/dist/assets/{NavigationDots-B0_dDbgu-64vTTXrM.js → NavigationDots-DISWi4Mq-BdTnuTup.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B_019EtP-P53QZFfP.js → NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js} +7 -7
- package/dist/assets/{NoDataChart-DLKHNXD4-CSUSkljl.js → NoDataChart-gfqauMvY-CAbYCdyQ.js} +1 -1
- package/dist/assets/NoDataTable-C1_gqVi7-D4ANXF0d.js +8 -0
- package/dist/assets/{NotFoundPage-BEya4LS2-DmPN4bXN.js → NotFoundPage-CdWhiWjz-DDjAX_Ng.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-C9SjRKCu-HaxxQ5tD.js → NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js} +23 -23
- package/dist/assets/{NotificationsListConfig-OCeJNw1G-C5G9uADV.js → NotificationsListConfig-B-g9kb6x-CND-RON9.js} +1 -1
- package/dist/assets/{NotificationsPage-FJHx_WBG-aa7rt_Ex.js → NotificationsPage-jxpX3iRG-UGS5Y_9i.js} +29 -29
- package/dist/assets/{OpExByVendorPage-Dxk68R6U-dBwEW9Vr.js → OpExByVendorPage-B13tAq03-Dd8cq0hz.js} +24 -24
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DzT4W646.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-Jsca0pZu.js → PeoplePage-Du_TRX4h-C2Rmmn5d.js} +18 -18
- package/dist/assets/Preview-CSeZ_uBx.js +1 -0
- package/dist/assets/{ProductsCarousel-6gthLCkf-CbvQwlx1.js → ProductsCarousel-y6q9BbqK-B9m9tH0o.js} +12 -12
- package/dist/assets/{PromoBaseCards-CzPzj69A-ckajKpLX.js → PromoBaseCards-CLQMN7aT-BxeQG0rP.js} +8 -8
- package/dist/assets/{QBOConnectionDialog-BFy0lMZd-DEWNZFAL.js → QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js} +6 -6
- package/dist/assets/{QBOSetupSection-DcLYyQ5m-DD_HLX8G.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-CH9DJqDJ.js → ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-D7YhNMtE.js → ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-BmWmh7cm.js → ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js} +1 -1
- package/dist/assets/{ReloadCard-9KpQCrce-Ci-Mht5Q.js → ReloadCard-BT0lSFUP-CF34SUO7.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BPliEsuo-CuYEkMDQ.js → ReportTableViewSelector-rl6XGWA_-CSxPHelL.js} +5 -5
- package/dist/assets/{ReportsPage-h2DAaQfK-BNN_IZ1a.js → ReportsPage-DV0bbi_D-1o0LJL4r.js} +10 -10
- package/dist/assets/{RevenueChart-DY2s_upY-BRRP2J2O.js → RevenueChart-CxvHfkxr-BmSB0A7U.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BiYxRnvA-BuoSRBvI.js → ReviewDetailsPage-CX2XB44j-BHiKofo4.js} +52 -52
- package/dist/assets/{ReviewOverlay-BvPN7IKD-BaLfoXpq.js → ReviewOverlay-DdOo3pcK-BVp3d9bK.js} +9 -9
- package/dist/assets/RoleWithToolTip-C08wfnGb-CFjb8VCB.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-CFd72Zp1.js → ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DebosLND-BruMK2cM.js → ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-DWb3vxk3.js → ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js} +50 -50
- package/dist/assets/ScreenRoutes-BOb1-zin.js +201 -0
- package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-CAlyCSdk.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-DHOF_kGv.js → StatementsPage-DgoXqABR-NsGiWIFr.js} +3 -3
- package/dist/assets/{StatusSwitcher-Cy5ITFgi-DfClkauU.js → StatusSwitcher-DRDFuzoj-DFWyQSIu.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DhsES2OW-nu5P_Gvc.js → SubTabSwitcher-Bj1N3zLn-DocBm2NX.js} +3 -3
- package/dist/assets/{SummaryCard-Byv4Hw8Q-Ds0_iR1i.js → SummaryCard-BNrPt21W-z-I2nOL_.js} +1 -1
- package/dist/assets/{TaskManagementPage-CVXMOPf2-CgC2myS1.js → TaskManagementPage-svW7FNT3-CdR83JXD.js} +27 -27
- package/dist/assets/{TimeRangeSwitcher-jct2_5PE-DXTaPGIR.js → TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js} +4 -4
- package/dist/assets/{TimeframeSwitcher-BK-qliOX-pY0R_NBB.js → TimeframeSwitcher-234cbGUX-GrV_gRdd.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js +31 -0
- package/dist/assets/{TopExCard-o4Q3ze1b-DR6eJ8e9.js → TopExCard-DFm0V6Sa-CuS6D-g2.js} +7 -7
- package/dist/assets/{TopExDetailPage-BsCwwwDi-DJiMrANo.js → TopExDetailPage-B4UamIS--DvTevd6J.js} +11 -11
- package/dist/assets/{TransactionDetailPage-rpCG65yC-Bjgwstuq.js → TransactionDetailPage-BiGPVM2O-BIqR8D1A.js} +23 -23
- package/dist/assets/{TransactionList-YI4oZaim-B4PaclMN.js → TransactionList-BQ2dvALf-DExPb7_Y.js} +15 -15
- package/dist/assets/{TransactionListBig-D_Jw9Ip2-41HgavBx.js → TransactionListBig-Ca4yYTqY-DpBtFr0L.js} +10 -10
- package/dist/assets/{TransactionListPage-B2yWm7eA-CMV1jv_5.js → TransactionListPage-CaSfmS5A-B8TNgEwP.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-Dr5C4-7q-Cm81yKDA.js → TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BnEVH7Mc-B2zX-7pq.js → TransferDrawerPage-5IgzdfVN-CuTPVgyu.js} +41 -41
- package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BGj7SLbV.js → TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js} +43 -43
- package/dist/assets/{TreasuryPromoPage-C6D3bF2f-DL7QfoJv.js → TreasuryPromoPage-DQabp_BI-lYWtZagK.js} +15 -15
- package/dist/assets/TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-BpeKtJJK.js → TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js} +3 -3
- package/dist/assets/{TrendChart-BI4Tz813-BVtkP_eQ.js → TrendChart-DLlQzxzM-PPRPEN_l.js} +4 -4
- package/dist/assets/{TrendWithTransactions-BicIDSlC-BhfZg3hL.js → TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-Dw-5yHbf.js → UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-CZUyjeh5-B7QDgK2H.js → UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-4AWDV_HK-Ctdwf8Wx.js → UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js} +8 -8
- package/dist/assets/{Vendor2FAPopup-C_PmEAQ7-CadPcPxw.js → Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js +1 -0
- package/dist/assets/{VendorDetailPage-CLFKkF8I-B0PZpYBG.js → VendorDetailPage-DcpigP-V-CLpuuI3V.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-D1GTAKgZ.js → VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-C6MnbIan-_m0cRQ-9.js → VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js} +61 -61
- package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Ckh47g1P.js → VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CVh1n81R-C8jXxowx.js → VendorsAccountsSection-V7IwNhkN-D-eiPu30.js} +4 -4
- package/dist/assets/{VerifyDevice-BHocExfO-CQoMm8_B.js → VerifyDevice-Dc3oeJbw-D5d8Wn7A.js} +7 -7
- package/dist/assets/{VideoPlayer-9rYRtSLf-DorCYgVw.js → VideoPlayer-XU1YwohK-BaDXYiVP.js} +2 -2
- package/dist/assets/{VideoPopup-D1o92dj6-BFu9IU_w.js → VideoPopup-BKLcIVcV-C8tsI7gn.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CzufXgaN-8Rujw8_E.js → WarningsDrawerPage-DE6hNSem-DTjl6BDC.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-ja4-g4BS.js → ZeniAccountDetailPage-B3txxml4-BrnXOri_.js} +38 -38
- package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-BNP6ZrXZ.js → ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js} +17 -17
- package/dist/assets/ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-CovivIFX.js → ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js} +20 -20
- package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP--LIFFq5Z.js → ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js} +1 -1
- package/dist/assets/{ZeniCopyright-CztmWsFm-CzCquhez.js → ZeniCopyright-DqbjGQWk-D3uyyuTN.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-DAA0oX-0.js → ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-DvDDqNhd.js → add-to-wallet-DgdBD8_G-CF63trjm.js} +1 -1
- package/dist/assets/{analytics-C6WkxZh-.js → analytics-D0z7Cz17.js} +1 -1
- package/dist/assets/{analyticsHelper-D4lKCWjQ-b64x3LOr.js → analyticsHelper-C2PAija--B2XRbUD9.js} +1 -1
- package/dist/assets/{analyticsHelper-B5Md2Ia4.js → analyticsHelper-D1UvETVa.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-XMkCQvrE.js → arrow-south-east-round-PEovUgvH-Cun1Cxd1.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BiYANkgv.js → auto-transfer-rule-mbafm5D3-DPk-N0wE.js} +1 -1
- package/dist/assets/{chartTypes-BPPSjkhb-DfkSlGWK.js → chartTypes-B9jQTJLQ-B-uICCus.js} +1 -1
- package/dist/assets/{commonDimensions-Ds75pRzR-qK02JKN8.js → commonDimensions-BgvFMAEM-jw0M4GDE.js} +1 -1
- package/dist/assets/commonTypes-PtDfk70--ByVvU-Tm.js +1 -0
- package/dist/assets/{constants-Dg6mQQY6.js → constants-DleDZ7Hr.js} +1 -1
- package/dist/assets/{core-DFStV9qP.js → core-9PMMelIA.js} +2 -2
- package/dist/assets/{dash.all.min-CLeZourL.js → dash.all.min-ClWxXI22.js} +1 -1
- package/dist/assets/{detailCommon-DdZdfmYT-DoufCRKP.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-9jBwo3Eu.js → empty-D5Zf29Ub.js} +1 -1
- package/dist/assets/epic-Di7g1fbQ.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Djk98QZj.js → gift-box-Cmt9OgIZ-m0hJlqL5.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CA5oC_0o.js → graphic-no-data-l-DU4J8fDt-cg6FAACa.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-kLBr7Ui4.js → graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cwp-V32J.js → handshake-BPg58FML-DFhtOw8z.js} +1 -1
- package/dist/assets/{index-DgdXFOf1.js → index-0WIxY_w_.js} +1 -1
- package/dist/assets/{index-P2rRhQWC.js → index-4hZvJwkO.js} +1 -1
- package/dist/assets/{index-C3P63Yp1.js → index-BLOmj_st.js} +1 -1
- package/dist/assets/{index-DdzfMgPc.js → index-Bs2B-MQ4.js} +4506 -4494
- package/dist/assets/{empty-CEQRbPFC.js → index-CbXRL6aP.js} +1 -1
- package/dist/assets/index-DNxMom6d.js +1 -0
- package/dist/assets/{index-CtuhYobB.js → index-DW6fMwk4.js} +1 -1
- package/dist/assets/{lexical-CQ0YMwSG.js → lexical-CaQwXIc3.js} +1 -1
- package/dist/assets/{liveblocks-BrQ1Hhfc.js → liveblocks-48Yy2aTy.js} +1 -1
- package/dist/assets/{lottie-yOsTwyri.js → lottie-ChwWMuYN.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-rrJBbsC8-CY-Jyp2B.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-BK6yxwiQ.js → mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-Cnh-OfFC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js} +1 -1
- package/dist/assets/{mui-Devhk6Tb.js → mui-snKYaegN.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CTiRqVQh.js → page-detail-CWX5S47F-D1nl1r9M.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BGwvJOK8.js → radio-default-CiSgisfh-BY9nqKUM.js} +1 -1
- package/dist/assets/{react-UFtPnYI9.js → react-B2deW7HO.js} +1 -1
- package/dist/assets/{react-CAf7PCqE.js → react-BNn_K56n.js} +2 -2
- package/dist/assets/{react-CNZm8YNK.js → react-BddMC_36.js} +3 -3
- package/dist/assets/{react-7me0BeHj.js → react-BpEW9tPq.js} +2 -2
- package/dist/assets/{react-C2jhEcBa.js → react-C-MrqhIX.js} +2 -2
- package/dist/assets/{react-CNkOjGwN.js → react-CiQEdtzT.js} +2 -2
- package/dist/assets/{react-B8jCYQVB.js → react-DHTHtXgj.js} +1 -1
- package/dist/assets/{react-B4Cq_X0j.js → react-o70ZlKb0.js} +1 -1
- package/dist/assets/{recharts-D6gmV5h7.js → recharts-DGmpNqLb.js} +1 -1
- package/dist/assets/{sentry-BYtPx_05.js → sentry-gm2R3TtK.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-BUsdj7SJ.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-DUjElXv9.js → uploadAttachment-CBATb9_e-Bf8RMkbX.js} +22 -22
- package/dist/assets/{uploadReceipts-CPw64UYa-T5kQYzUC.js → uploadReceipts-CPw64UYa-DwtdWb2a.js} +1 -1
- package/dist/assets/{url-BcKUlxMH.js → url-B3spPAaB.js} +1 -1
- package/dist/assets/{url-Dy-JIJ5C.js → url-CsktLD4A.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BZv7k2wH.js → useLongPress-GCK2COYQ-5GfLl0ml.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DsAV2C4t.js → usp-line-BBd1wKwW-DO5-Shw0.js} +1 -1
- package/dist/assets/{utils-CiFud5zD.js → utils-C7Aiy3iw.js} +1 -1
- package/dist/assets/{zeni-epic-state-BS68m2Ti.js → zeni-epic-state-D2RxwWrl.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BRWOdhMx-fSodlmR4.js +0 -21
- package/dist/assets/AccountInfoPage-Ca_vKG58-DKAB6kye.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq-DQoTSuMO.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-ZcBxLWpM.js +0 -6
- package/dist/assets/ApAgingDetailPage-Duu2uAEr-DCWI3rP1.js +0 -46
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-T_qmvtc7.js +0 -46
- package/dist/assets/BillDetailPage-BG7FhHEq-DgdLQJXk.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-DZt2zDSO.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-Bpqkkm7a.js +0 -235
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-snTalGsv.js +0 -84
- package/dist/assets/BillingSettingsPage-CdYb74V7-CGniLxwH.js +0 -44
- package/dist/assets/BusinessVerificationPage-CbqJIVpz-TRnbDlZp.js +0 -138
- package/dist/assets/CardNumberSubText-DBOH0_yP-nGSxEDDC.js +0 -21
- package/dist/assets/ChargeCardListPage-130ILwkr-DO0DCEVX.js +0 -412
- package/dist/assets/CompanyOfficerDetailsSection-BtUBatbQ-DjcUjadU.js +0 -260
- package/dist/assets/CompanyPassportPage-DzE7sm8S-DHWy2d-d.js +0 -574
- package/dist/assets/ConfettiBurst-1rYKpbAj-bfvy4BJ7.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-BkMZmvTc.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-CgOg7i1W.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-CV9KPIGe.js +0 -66
- package/dist/assets/CustomerOnboardingPage-CvN9Jrdy-DISfDtfc.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-D9uw7Mrh.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-Bj8vx2zR.js +0 -12
- package/dist/assets/EditPeoplePage-DJthuIP4-amr9j6iP.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-BbU-vxcX.js +0 -865
- package/dist/assets/InsightsSection-BTXj5WUe-CzCubRrB.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-kIajgPZt-C8IlkAsB.js +0 -292
- package/dist/assets/InvitePeoplePage-DrBtwpMH-CJWepZyO.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-DEyh_yS4.js +0 -16
- package/dist/assets/LabeledDocumentField-C73vQNgq-hhNLfVRz.js +0 -41
- package/dist/assets/LinkJETransactionPage-C0onrP5t-CYP8n31W.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-BU8gtw8v.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-O4D-8jQh.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-BR3YxXzI.js +0 -1
- package/dist/assets/NoDataTable-BMD2qygC-DZ5BMLqA.js +0 -8
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-DWkP0oIc.js +0 -107
- package/dist/assets/PaymentAccountSetupBillingAddressSection-s9EEHxoG-Swyfjnb9.js +0 -107
- package/dist/assets/Preview-CGBhDGn-.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-X2PdT28i.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-D6zSjgss.js +0 -237
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-DK6auGYU.js +0 -314
- package/dist/assets/RoleWithToolTip-aW95rpRe-4o8KGg0K.js +0 -22
- package/dist/assets/ScreenRoutes-CMa_inP7.js +0 -201
- package/dist/assets/SignIn-DQBJB5ad-5TppkfEI.js +0 -448
- package/dist/assets/SignInScreen-CB7iPhmk.js +0 -1
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-CwcSf65Z.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-M6VBym3A.js +0 -754
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-DvSGNHqF.js +0 -230
- package/dist/assets/StatementItem-hcBoe79o-MmMeHEym.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-DqkCETLP.js +0 -31
- package/dist/assets/TreasuryStatementsPage-BE54gWl6-alij2cZC.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-B_qj6P0I.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-wB8VEV-U.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-FJgStf2K.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-OfECKHdR.js +0 -14
- package/dist/assets/downloadPdf-B8UMaJCC-CC380COH.js +0 -1
- package/dist/assets/epic-BqMCK6Zx.js +0 -2
- package/dist/assets/index-BGUgNcG-.js +0 -1
- package/dist/assets/index-CB17y4TJ.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-CuppdKzn.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-zHsuX5ey.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-BrwzQ7vE.js +0 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-B35DCO9-.js +0 -1
- package/dist/assets/toChartData-CMi2WgAy-CJfFuyki.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-BcdIvtER.js +0 -1
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import{q as Zn,aw as Kn,d as Un,gf as qn,gg as Hn,gh as Vn,gi as Gn,cb as Xn,aO as Yn,y,V as t,f4 as ct,f5 as Jn,o as a,f6 as Qn,f7 as ea,f8 as ta,aL as Se,f9 as na,aN as b,bA as pt,bn as mt,dq as ut,cn as yt,co as ht,cp as bt,gj as aa,gk as ia,gl as la,gm as oa,fe as j,gn as I,fg as A,fh as k,fd as ra,b as gt,p as oe,ff as Ot,fn as sa,fi as da,fj as ca,go as pa,gp as ma,aP as ua,ao as ft,bR as ve,gq as ya,gr as L,F as ha,c as s,ag as ba,c0 as ga,gs as fa,L as xa,gt as wa,fo as xt,R as Ta,c$ as va,cg as Da,gu as wt,b6 as $a,b8 as ja,l as Ia,bT as Ft,d0 as Aa,gv as ka,ai as Et,aX as Sa,b4 as Ca,bs as Pa,eK as Ba,al as Ra}from"./index-Bs2B-MQ4.js";import{a as p}from"./sentry-gm2R3TtK.js";import{n as i}from"./mui-snKYaegN.js";import{a as za}from"./liveblocks-48Yy2aTy.js";import{bO as Ma,bL as Na,bP as La,FH as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-D2RxwWrl.js";import{o as Wa,t as Za}from"./LowBalancePopup-BJfagMN7-DFWlKz1e.js";import"./core-9PMMelIA.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./recharts-DGmpNqLb.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="83403932-f699-46ec-9d7e-80d14ca70d7a",e._sentryDebugIdIdentifier="sentry-dbid-83403932-f699-46ec-9d7e-80d14ca70d7a")}catch{}})();const Ka=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"})))),Ua={formTitle:new Ta("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:qa,common:{noText:C,strings:{empty:c},currency:Tt,via:Ha,more:Va,edit:Ga},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:$t,title:{comments:Xa}}}}=ha.getLocalizedStrings(),$e=qa.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:re,isAdmin:Wt,isRealTimeApprovalEnabled:Zt,isInternationalPaymentShaVsOurEnabled:Kt,hasZeniAssistAccess:Ut,analytics:M,showMarkAsPaidButtonToCreator:K,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:qt,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:Ht,redirectToEditableBillScreen:Vt,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:ze,deleteBill:Gt,cancelAndDeleteBill:Me,approveOrRejectBill:Ne,onAddNewRule:Xt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Jt,onBackClick:Oe,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:U})=>{const l=Zn(),o=Kn(),Fe=Un(),[an,q]=p.useState(!1),[Ee,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[We,J]=p.useState(!1),h=e.transactionDetails?.id,on=qt?qn:Hn,{requestToOpenThread:ue,setRequestToOpenThread:Q,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{U?.threadId!=null&&U?.companyId!=null&&U?.entityType!=null&&Q(U)},[U,Q]);const[rn,H]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:V,isLoading:P}=Vn(T,"both",!1),x=Be&&h!=null,Ze=p.useMemo(()=>h==null?[]:V.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[V,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),H(!1)},[ee,H]);p.useEffect(()=>{ue?.threadId!=null&&V.length>0&&!P&&(ee(ue.threadId),Q(null))},[ue,V,P,ee,Q]);const Ke=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ke.current&&(Ke.current=!0,cn(!0))});Xn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ue,qe]=p.useState("approved"),[mn,He]=p.useState(!1),[un,Ve]=p.useState(!1),[Ge,Xe]=p.useState(!1),Ye=()=>He(!1),yn=()=>He(!0),Je=Yn(e.zeniAssist?.refundStatus.fetchState),ne=p.useCallback(()=>{Y()},[Y]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(ze(),Y())},[e,Y,ze]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Je,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&G?.code?G:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:G?.code!=null&&(ae?.code=="approved"||G.code==="mark_as_paid")?G:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Vt(e.transactionDetails?.id??"")},bn=()=>{te({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),q(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),q(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),q(!0)},xn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),te({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),ce(!0)},wn={onOkClick:()=>{q(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?Me?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Me?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{q(!1),ce(!1)}},Tn={onOkClick:r=>{me(!1),Ne({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{me(!1)}},vn=()=>{const[r]=Sa("ZeniAssist");return r!=null?t.jsx(Ca,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{pe(!_e),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},ie={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??Tt.currencyCode},be=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}})??[],Dn=e.transactionDetails?.recipientTotalAmount.amount??0,ge=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},$=m.labelWidth.value(l),$n=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):"",In=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${jn}`,An=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx($i,{})})]}):void 0,et=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),kn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Aa(r.toLowerCase()):r??"";return`${De.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
2
|
+
${De.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${De.achDetails.accountTypeLabel} ${u}`},le=e.transactionDetails?.billPayInfo!=null?Ma(e.transactionDetails?.billPayInfo):void 0,Sn=le!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Na(La(le?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,tt=e.transactionDetails?.billPayInfo.expectedDepositDate??Sn,nt=ct(d?.paymentType?.method??"").replace("Same Day",""),Cn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Jn,{paymentTypeLabel:nt,onClick:yn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Pn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(ka,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,at=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,fe=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&at),it=!((w?.code==="scheduled"||w?.code==="pending_approval")&&at),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,we=e.zeniAssist?.isEligibleForRefund===!0,Bn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Rn=Ut&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||we)&&Bn===!1,Te=xe||we,zn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,Mn=!zn&&(!et||D?.code==="processing"&&!B),lt=!et,ot=["small","medium-compact","medium-regular"].includes(l),X=Oa(e.transactionDetails?.bulkProcessingDetail?.type),F=Fa(e.paymentMethodType?.method),Nn=!X&&(E!=="processing"&&it||E==="processing"&&!B||E==="processing"&<||f&&F&&Pe),Ln=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,Ge,r)},rt=()=>{Ve(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Xe(!0),rt()},Fn=()=>{Jt(),Ve(!1),Ge&&Xe(!1)},En=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]),_=Ht&&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,st=()=>{qe("approved"),We===!0&&J(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Ne({billId:e.transactionDetails?.id??"",type:"approved"})},_n=()=>{qe("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),me(!0)},dt=p.useRef(null);return t.jsxs(pi,{windowSize:l,ref:dt,children:[t.jsx(ea,{anchor:"right",open:mn,onClose:Ye,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ta,{companyName:na(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format($e)??"",paymentType:nt,amount:Se("0,0.[00]",ge),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ye})}),t.jsxs(hi,{ref:pn.current,windowSize:l,children:[t.jsx(ki,{windowSize:l,children:l==="small"?t.jsx(pt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),source:"BillDetailPage"}):t.jsx(pt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),enableTitleOnScroll:!0,scrollableContent:dt,source:"BillDetailPage"})}),t.jsxs(bi,{windowSize:l,children:[We?t.jsx(Wa,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:st,onCancelClick:()=>{J(!1),Qe()},onClickAway:()=>{J(!1)}}):null,un?t.jsx(Za,{onCancel:Fn,onProceedForMarkAsPaid:Ln,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,an||de?t.jsx(yt,{titleComponent:t.jsx(bt,{children:N.title}),descriptionComponent:t.jsx(ht,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:de?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:wn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:de?Ja(l,e):null}):null,ln?t.jsx(yt,{titleComponent:t.jsx(bt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(ht,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Tn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(fi,{windowSize:l,children:[l!=="small"?t.jsxs(xi,{windowSize:l,children:[he,e.isRecurring?t.jsx(ke,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Ce.tabsById.overdue?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(ia,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ti(X,e,_),t.jsx(la,{sectionId:oa,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Be,isBillPaid:ye,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Le,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(Ie,{children:[t.jsx(Ae,{children:n.whatForTitle}),t.jsxs(je,{children:[t.jsx(j,{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:$},text:ie.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:ie.invoiceDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:ie.billDueDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:ie.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(Ie,{children:[t.jsx(gi,{windowSize:l,children:t.jsx(Ae,{children:n.lineItemsTitle})}),be.length>0?be.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Wn=>Wn.id===r.lineId)?.recipientAmount;return t.jsxs(mi,{children:[be.length>1?t.jsx(ui,{windowSize:l,children:t.jsx(yi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(je,{children:[t.jsx(j,{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:$},text:R!=null?Se("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:r.billable!=null?$n(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{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:$},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(wi,{windowSize:l,children:[t.jsx(Ti,{children:n.total}),t.jsx(vi,{children:ge!=null?t.jsx(ra,{amount:ge,integerStyles:gt.h6Medium.cssObject,decimalStyles:gt.standardMedium.cssObject}):C})]}),t.jsxs(Ie,{children:[t.jsx(Ae,{children:n.paymentDetailsTitle}),t.jsxs(je,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx(j,{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:$},text:e.withdrawFrom!=null?Ot(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:oe.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?_t.addMoney:_})}),t.jsx(z,{})]}),t.jsx(j,{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(Ea)&&Kt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ai,{children:sa(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:$},text:F&&e.outsideZeniPaymentInfo!=null?ei(e.outsideZeniPaymentInfo):ct(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{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:$},text:d.paymentToBankAccount!=null?In:d.paymentToPI!=null?d.paymentToPI.displayText:An,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:kn(),additionalInfoLabel:t.jsx(ni,{children:Cn})}),Pn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{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:$},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ca(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:da(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(Ii,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(pa,{onAttachmentClick:Le,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??Tt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ma,{amount:Dn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Xt,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:Wt,signedInUserId:re?.userId,showRealTimeApproval:Zt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Qt,onSaveRealTimeApprovals:en},historicActivities:e.billHistory.activities}),t.jsx(Di,{})]}),e.transactionDetails?.vendor!=null&&!ye&&!e.transactionDetails.isDeleted?t.jsx(ua,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:K||f,showCancel:!K&&f,cancelBtn:{label:ot?n.buttons.reject:n.buttons.rejectBill,isLoading:Ue==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:_n,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Qa(K,ot),isLoading:Ue==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:K?rt:()=>{_!=null?J(!0):st()},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(ii,{children:t.jsxs(ci,{windowSize:l,children:[!X&&Ee?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs(It,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&it?t.jsx(W,{onClick:bn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(W,{onClick:gn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&<?t.jsx(W,{onClick:fn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Pe?t.jsx(W,{onClick:On,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,_e?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs(It,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,we?t.jsx(W,{onClick:xn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(di,{windowSize:l,children:[Rn===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Te?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:Te,"data-testid":b("other-actions-icon-container"),children:Te?t.jsx(vn,{}):t.jsx(oi,{})})}):null,!X&&fe===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(si,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(ri,{})})}):null,!X&&Mn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Va,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(li,{onClick:()=>se(!Ee)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(za,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Xa,threads:V,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:Dt.addANewComment,replyComposerPlaceholder:Dt.replyAComment,threadResolve:$t.resolveComment,threadUnResolve:$t.unResolveComment},threadMetadata:En,onThreadClick:sn,onCloseAllThreadsDrawer:()=>H(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Fe.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Ya=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:Ce.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(_a(),"date")===!0?{value:Ce.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(Ai,{windowSize:e,children:[t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.accountNumber}),t.jsx(Mt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.amount}),t.jsx(Mt,{children:f!=null?Se("0,0[.]00",f):C})]})]})},Qa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,ei=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(re=>re.value===g)?.label;return`${f} ${Ha} ${Z}`},ti=(e,g,f)=>{if(e)return t.jsx(wt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:vt.duplicateWarning.title,description:vt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(wt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${_t.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ni=i.div``,ai=i.div``,ii=i.div`
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: flex-end;
|
|
5
|
+
`,li=i(Ba)`
|
|
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
|
+
`,oi=i(Ka)`
|
|
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
|
+
`,ri=i(Pa)`
|
|
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
|
+
`,si=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
|
+
`,di=i.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
`,It=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
|
+
`,ci=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(Et)`
|
|
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
|
+
`,At=i(ga)`
|
|
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
|
+
`,kt=i.div`
|
|
94
|
+
margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
`,St=i(xa)`
|
|
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
|
+
`,Ct=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
|
+
`,Pt=i.div`
|
|
112
|
+
float: right;
|
|
113
|
+
width: ${a.sp4};
|
|
114
|
+
height: ${a.sp4};
|
|
115
|
+
display: flex;
|
|
116
|
+
`,pi=i.div`
|
|
117
|
+
height: 100%;
|
|
118
|
+
overflow: scroll;
|
|
119
|
+
`,je=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
|
+
`,Ie=i.div`
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
padding-top: ${a.sp3};
|
|
131
|
+
`,mi=i.div``,Ae=i($a)`
|
|
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
|
+
`,ui=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
|
+
`,yi=i(Ia)`
|
|
147
|
+
color: ${e=>e.theme.colors.champion};
|
|
148
|
+
`,hi=i.div`
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
`,bi=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
|
+
`,gi=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
|
+
`,fi=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
|
+
`,xi=i(va)`
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
flex-grow: 1;
|
|
174
|
+
${e=>`${Ua.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
|
+
`,wi=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
|
+
`,Ti=i(Ft)`
|
|
191
|
+
display: flex;
|
|
192
|
+
width: 176px;
|
|
193
|
+
color: ${e=>e.theme.colors.primary};
|
|
194
|
+
`,vi=i(Ft)`
|
|
195
|
+
display: flex;
|
|
196
|
+
width: calc(100% - 176px);
|
|
197
|
+
justify-content: flex-end;
|
|
198
|
+
color: ${e=>e.theme.colors.primary};
|
|
199
|
+
`,Bt=i(Da)`
|
|
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
|
+
`,Di=i.div`
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
height: ${a.sp11};
|
|
212
|
+
`,$i=i(ba)`
|
|
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
|
+
`,ke=i(wa)`
|
|
223
|
+
margin-left: ${a.sp2};
|
|
224
|
+
color: ${e=>e.theme.colors.hero};
|
|
225
|
+
`,Ii=i.div``,Ai=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
|
+
`,Rt=i.div`
|
|
231
|
+
display: flex;
|
|
232
|
+
justify-content: space-between;
|
|
233
|
+
width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
|
|
234
|
+
`,zt=i(Et)`
|
|
235
|
+
text-align: left;
|
|
236
|
+
color: ${e=>e.theme.colors.grey1};
|
|
237
|
+
`,Mt=i(Ra)`
|
|
238
|
+
justify-content: end;
|
|
239
|
+
display: flex;
|
|
240
|
+
flex: 1;
|
|
241
|
+
`,Nt=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
|
+
`,Lt=i(fa)`
|
|
253
|
+
display: flex;
|
|
254
|
+
width: ${a.sp4};
|
|
255
|
+
height: ${a.sp4};
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
`,ki=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{_i as default};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import{y as O,c as L,q as M,F as U,a9 as W,aO as G,aH as H,cC as X,V as o,bA as J,ac as K,aP as Q,o as c,g3 as Y}from"./index-Bs2B-MQ4.js";import{a as T}from"./sentry-gm2R3TtK.js";import{n as h}from"./mui-snKYaegN.js";import{b as Z,f as ee,o as _,l as C}from"./FollowStepsSection-h449vQkQ-BXixJ0VK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.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]="ad49d52d-52cc-4bb2-9fbe-e7a5b3b7fdd8",e._sentryDebugIdIdentifier="sentry-dbid-ad49d52d-52cc-4bb2-9fbe-e7a5b3b7fdd8")}catch{}})();const k="billPayApprovalRuleDetailPage",j="lowerBound",E="upperBound",w="steps",m="applyToExistingBills",le={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:y=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const P=M(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,g=ae(e,l==="approval_create"&&!n),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(u?.fetchState),{upperBound:$}=g,{allApprovalRules:d,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let b=d.length>1?d.length-1:0,v=d.length>0?d[b].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;b=d.findIndex(p=>p.approvalRuleId===i),v=b>0?d[b-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{N()}),q=async(i,p)=>{r(p)};return T.useEffect(()=>{const i=x.watch((p,{name:D})=>{if(D!=null&&p!=null){const z=H(p);X(()=>q(D,z))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&u?.fetchState==="Completed"&&I()},[B,u?.fetchState,I]),o.jsxs(se,{children:[o.jsx(J,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsxs(K,{...x,children:[o.jsx(ne,{children:o.jsx("form",{id:R(k),onSubmit:V,children:o.jsxs(ie,{children:[o.jsx(Z,{label:{label:A?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:j,placeholder:"$0",options:{required:!0,max:$===1/0?Number.MAX_SAFE_INTEGER-1:$-1,min:v,validate:i=>n?!0:i!=null&&i>v},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:y,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(de,{}),o.jsx(ee,{sectionId:w,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:F,stepsInfo:g[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),o.jsx(Q,{formId:R(k),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"?null:o.jsx(Y,{name:m,mode:"always_on",checkBoxes:[{value:m,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:P==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(P)},separatorStyle:{marginRight:c.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[m]:[m],[w]:te(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),_(e.allAttributes),_(e.filteredAttributes),r??[])??[],[j]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,r,s)=>s&&s.length>0?s.map((n,y)=>({stepIndex:y,stepType:{selectedOption:n.action,allOptions:C},actors:{allUsers:l,selectedUsers:oe(e,n.actors),allNonUsers:r,selectedNonUsers:re(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:C},actors:{allUsers:l,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(r=>r.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(r=>r.subType===a.value)>-1),R=e=>`${e}_form`,Ie=e=>`${e}`,se=h.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
|
+
`,ie=h.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
|
+
`,ne=h.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
|
+
`,de=h.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{le as D,Ae as default,R as uniqueFormName,Ie as uniqueName};
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import{q as L,F as v,V as t,bA as _,k as M,aN as S,y as r,al as j,o,aL as P,cn as E,co as H,cp as U,cX as V,c as l,b8 as G,R as k,b7 as q,p as z,cW as F,bs as X,b as J}from"./index-Bs2B-MQ4.js";import{n as i}from"./mui-snKYaegN.js";import{a as K}from"./sentry-gm2R3TtK.js";import"./liveblocks-48Yy2aTy.js";import"./core-9PMMelIA.js";import"./recharts-DGmpNqLb.js";import"./zeni-epic-state-D2RxwWrl.js";import"./lottie-ChwWMuYN.js";import"./analytics-D0z7Cz17.js";import"./lexical-CaQwXIc3.js";import"./utils-C7Aiy3iw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="92767562-455e-4896-a41d-842e462457f8",e._sentryDebugIdIdentifier="sentry-dbid-92767562-455e-4896-a41d-842e462457f8")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},A={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeMedium")},O=({showDeleteBtn:e=!1,isLastSection:h=!1,approvalRule:d,onEditRuleClick:b,onDeleteRuleClick:w})=>{const[x,g]=K.useState(!1),n=L(),{range:u}=d.criteria[0],{steps:$,approvalRuleId:m}=d,a=v.getLocalizedStrings().commonSetUp.approval,y=()=>{g(!0)},W={onOkClick:()=>{g(!1),w?.(m)},onCancelClick:()=>{g(!1)}};return t.jsxs(Q,{windowSize:n,isLastSection:h,children:[t.jsxs(Y,{windowSize:n,children:[t.jsxs(se,{children:[t.jsxs(B,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(Z,{children:[t.jsx(T,{}),t.jsx(ee,{}),t.jsx(T,{})]}),u.max==null?t.jsx(de,{}):t.jsx(B,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e&&t.jsx(ae,{onClick:y,"data-testid":S("delete-approval-rule-bill-pay",d.approvalRuleId)}),t.jsx(pe,{onClick:()=>{b(m)},"data-testid":S("edit-approval-rule-bill-pay",d.approvalRuleId)})]})]}),t.jsx(te,{windowSize:n,children:t.jsx(oe,{isSingleStep:$.length===1,windowSize:n,children:$.map((c,D)=>t.jsxs(ie,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[c.action==="require_approval"?t.jsx(re,{children:a.requireText}):t.jsx(le,{children:a.notifyText}),c.nonUserActors!=null&&c.nonUserActors.filter(p=>p.subType!=null).map((p,N)=>t.jsxs(C,{children:[t.jsx(I,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),c.operator!="is"?t.jsx(R,{className:"operator",children:c.operator}):null]},`${p.subType}_${N}`)),c.actors.map(p=>t.jsxs(C,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),c.operator!="is"?t.jsx(R,{className:"operator",children:c.operator}):null]},p.userId))]},D))})}),x?t.jsx(E,{titleComponent:t.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(H,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},Q=i.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
5
|
+
margin-bottom: ${e=>e.isLastSection?s.lastWrapperMarginBottom.valuePx(e.windowSize):s.wrapperMarginBottom.valuePx(e.windowSize)};
|
|
6
|
+
.icons {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
&:hover {
|
|
10
|
+
.icons {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
> div:last-of-type {
|
|
14
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`,Y=i(G)`
|
|
18
|
+
display: flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
text-align: center;
|
|
23
|
+
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
24
|
+
gap: ${o.sp2};
|
|
25
|
+
`,Z=i.div`
|
|
26
|
+
align-items: center;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
`,ee=i.div`
|
|
30
|
+
width: ${o.sp8};
|
|
31
|
+
height: 2px;
|
|
32
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
33
|
+
`,T=i.div`
|
|
34
|
+
width: 6px;
|
|
35
|
+
height: 6px;
|
|
36
|
+
border-radius: 3px;
|
|
37
|
+
background-color: ${e=>e.theme.colors.primary};
|
|
38
|
+
`,te=i.div`
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
padding: ${e=>s.ruleWrapperPadding.valuePx(e.windowSize)};
|
|
43
|
+
gap: 10px;
|
|
44
|
+
|
|
45
|
+
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
46
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
47
|
+
|
|
48
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
49
|
+
|
|
50
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
51
|
+
border-radius: ${o.sp2};
|
|
52
|
+
|
|
53
|
+
flex: none;
|
|
54
|
+
order: 1;
|
|
55
|
+
flex-grow: 0;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
position: relative;
|
|
59
|
+
`,oe=i.ul`
|
|
60
|
+
${e=>`${A.stepper.style(e.windowSize)}`};
|
|
61
|
+
position: relative;
|
|
62
|
+
padding-left: ${o.sp6};
|
|
63
|
+
list-style: none;
|
|
64
|
+
box-sizing: initial;
|
|
65
|
+
margin: 0;
|
|
66
|
+
&::before {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
content: "";
|
|
69
|
+
position: absolute;
|
|
70
|
+
top: ${e=>s.stepperTop.valuePx(e.windowSize)};
|
|
71
|
+
left: ${e=>s.stepperLeft.valuePx(e.windowSize)};
|
|
72
|
+
width: 10px;
|
|
73
|
+
height: ${e=>e.isSingleStep?"0%":"100%"};
|
|
74
|
+
border-left: 2px solid ${e=>e.theme.colors.grey1};
|
|
75
|
+
}
|
|
76
|
+
`,ie=i.li`
|
|
77
|
+
position: relative;
|
|
78
|
+
counter-increment: list;
|
|
79
|
+
min-height: ${e=>s.stepperItemMinHeight.valuePx(e.windowSize)};
|
|
80
|
+
display: flex;
|
|
81
|
+
justify-content: flex-start;
|
|
82
|
+
align-items: center;
|
|
83
|
+
padding-left: ${e=>s.stepperItemPaddingLeft.valuePx(e.windowSize)};
|
|
84
|
+
gap: ${o.sp1};
|
|
85
|
+
|
|
86
|
+
> div:last-of-type > span.operator:last-of-type {
|
|
87
|
+
visibility: hidden;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:not(:last-child) {
|
|
91
|
+
padding-bottom: 20px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&::before {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
content: "";
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: ${e=>s.stepperItemTop.valuePx(e.windowSize)};
|
|
99
|
+
left: ${e=>s.stepperItemLeft.valuePx(e.windowSize)};
|
|
100
|
+
height: ${e=>e.isSingleStep?"0%":"100%"};
|
|
101
|
+
width: 10px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.stepperItem {
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
&::before {
|
|
107
|
+
border-left: 2px solid ${e=>e.theme.colors.grey1};
|
|
108
|
+
}
|
|
109
|
+
&:last-child::before {
|
|
110
|
+
border-left: 2px solid ${e=>e.theme.colors.grey5};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&::after {
|
|
114
|
+
content: counter(list);
|
|
115
|
+
position: absolute;
|
|
116
|
+
width: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
117
|
+
height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
|
|
118
|
+
top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
|
|
119
|
+
left: -${o.sp6};
|
|
120
|
+
${J.standardMedium.css};
|
|
121
|
+
text-align: center;
|
|
122
|
+
color: ${e=>e.theme.colors.grey1};
|
|
123
|
+
border: 2px solid ${e=>e.theme.colors.grey1};
|
|
124
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
125
|
+
display: flex;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
`,re=i.span`
|
|
132
|
+
color: ${z.alertDark};
|
|
133
|
+
`,le=i.span`
|
|
134
|
+
color: ${z.successDark};
|
|
135
|
+
`,I=i.span`
|
|
136
|
+
color: ${e=>e.theme.colors.primary};
|
|
137
|
+
`,se=i.div`
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: ${o.sp2};
|
|
141
|
+
`,ne=i.div`
|
|
142
|
+
display: flex;
|
|
143
|
+
gap: ${o.sp5};
|
|
144
|
+
`,ae=i(F)`
|
|
145
|
+
width: ${o.sp3};
|
|
146
|
+
height: ${o.sp3};
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
color: ${e=>e.theme.colors.hero};
|
|
149
|
+
&:hover {
|
|
150
|
+
color: ${z.important};
|
|
151
|
+
}
|
|
152
|
+
`,pe=i(X)`
|
|
153
|
+
width: ${o.sp3};
|
|
154
|
+
height: ${o.sp3};
|
|
155
|
+
cursor: pointer;
|
|
156
|
+
color: ${e=>e.theme.colors.hero};
|
|
157
|
+
&:hover {
|
|
158
|
+
color: ${e=>e.theme.colors.primary};
|
|
159
|
+
}
|
|
160
|
+
`,de=i(q)`
|
|
161
|
+
width: ${o.sp4};
|
|
162
|
+
height: ${o.sp4};
|
|
163
|
+
color: ${e=>e.theme.colors.hero};
|
|
164
|
+
`,R=i.span`
|
|
165
|
+
color: ${e=>e.theme.colors.hero};
|
|
166
|
+
`,C=i.div`
|
|
167
|
+
display: inherit;
|
|
168
|
+
gap: inherit;
|
|
169
|
+
`,B=i.span`
|
|
170
|
+
${e=>`${A.amount.style(e.windowSize)}`};
|
|
171
|
+
color: ${e=>e.theme.colors.primary};
|
|
172
|
+
word-break: break-word;
|
|
173
|
+
`,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Re=({approvalView:e,onBackClick:h,onEditRuleClick:d,onDeleteRuleClick:b})=>{const w=L(),{fetchState:x,deleteStatus:g}=e,n=v.getLocalizedStrings().commonSetUp.approval,u=v.getLocalizedStrings().spendManagement.billPay.billPayApproval,$=g.fetchState,m=e.listeningToPusherEvent;return t.jsxs(ce,{children:[t.jsx(_,{title:n.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{h()},source:"BillPayApprovalRulesPage"}),t.jsxs(he,{children:[t.jsx(me,{windowSize:w,children:u.approvalPageSubTitle}),x==="In-Progress"||x==="Not-Started"||$==="In-Progress"||m===!0?t.jsxs(ue,{children:[t.jsx(M,{size:m===!0?"Large":"ExtraLarge",start:!0}),m===!0&&t.jsx(we,{windowSize:w,children:n.updatingApprovalRules.replace("__entity__","bills")})]}):x==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,y)=>t.jsx(O,{showDeleteBtn:y!==0,approvalRule:a,isLastSection:y===e.allApprovalRules.length-1,onEditRuleClick:d,onDeleteRuleClick:b},a.approvalRuleId)),t.jsxs(xe,{windowSize:w,onClick:()=>{d()},"data-testid":S("add-approval-rule-bill-pay"),children:[t.jsx(ge,{}),t.jsx($e,{children:n.addApprovalText})]})]}):null]})]})},ce=i.div`
|
|
174
|
+
display: flex;
|
|
175
|
+
min-height: 100%;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
width: 100%;
|
|
178
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
179
|
+
`,he=i.div`
|
|
180
|
+
display: flex;
|
|
181
|
+
justify-content: flex-start;
|
|
182
|
+
height: 100%;
|
|
183
|
+
overflow-y: auto;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
align-items: center;
|
|
186
|
+
`,ue=i.div`
|
|
187
|
+
display: flex;
|
|
188
|
+
width: 100%;
|
|
189
|
+
min-height: calc(100vh - 150px);
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
align-items: center;
|
|
193
|
+
gap: ${o.sp3};
|
|
194
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
195
|
+
`,me=i(j)`
|
|
196
|
+
color: ${e=>e.theme.colors.hero};
|
|
197
|
+
display: flex;
|
|
198
|
+
justify-content: center;
|
|
199
|
+
width: ${e=>f.titleWidth.valuePx(e.windowSize)};
|
|
200
|
+
padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
201
|
+
padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
202
|
+
`,we=i(j)`
|
|
203
|
+
color: ${e=>e.theme.colors.hero};
|
|
204
|
+
display: flex;
|
|
205
|
+
justify-content: center;
|
|
206
|
+
margin-top: ${o.sp3};
|
|
207
|
+
`,xe=i(j)`
|
|
208
|
+
cursor: pointer;
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: row;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
align-items: center;
|
|
213
|
+
padding: ${o.sp3} ${o.sp4};
|
|
214
|
+
gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
|
|
215
|
+
|
|
216
|
+
width: ${e=>f.width.valuePx(e.windowSize)};
|
|
217
|
+
height: ${o.sp8};
|
|
218
|
+
|
|
219
|
+
background: ${e=>e.theme.colors.grey5};
|
|
220
|
+
|
|
221
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
222
|
+
|
|
223
|
+
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1}
|
|
224
|
+
${e.theme.colors.dropShadowNormal}`};
|
|
225
|
+
border-radius: ${o.sp2};
|
|
226
|
+
box-sizing: border-box;
|
|
227
|
+
color: ${e=>e.theme.colors.hero};
|
|
228
|
+
&:hover {
|
|
229
|
+
color: ${e=>e.theme.colors.primary};
|
|
230
|
+
div {
|
|
231
|
+
color: ${e=>e.theme.colors.primary};
|
|
232
|
+
}
|
|
233
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
234
|
+
}
|
|
235
|
+
margin-bottom: ${o.sp6};
|
|
236
|
+
`,ge=i(V)`
|
|
237
|
+
width: ${o.sp3};
|
|
238
|
+
height: ${o.sp3};
|
|
239
|
+
`,$e=i.div`
|
|
240
|
+
color: ${e=>e.theme.colors.hero};
|
|
241
|
+
`;export{Re as default};
|