@zeniai/web-cockpit-ui 1.14.98-dev → 1.14.99-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-BRWOdhMx-B-izv--D.js +21 -0
- package/dist/assets/{AIPerformancePage-TtdFArUl-j0kjTnVR.js → AIPerformancePage-4v4Fkm9f-8H5taohv.js} +108 -108
- package/dist/assets/AccountInfoPage-Ca_vKG58--BfC_vXh.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js → AccountInfoPageContent-Dv1IPcdF-BHWFRnzI.js} +19 -19
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq-BMstREsN.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js → AccountReconDetailsDrawerPage-DYKjrPwN-Drg0SGIJ.js} +54 -54
- package/dist/assets/{AccountRow-COxNWv3J-Dkf6Savq.js → AccountRow-BM3xLbeh-BSdpkM-d.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js → AccountsPromoCardStack-CTkwARBJ-Cy5pYNXf.js} +30 -30
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-DhjpIE6j.js +6 -0
- package/dist/assets/{AddToWalletPage-CXhBOHda-b2nCfyTx.js → AddToWalletPage-OJBvAKUj-B4ZmMeKh.js} +13 -13
- package/dist/assets/{AgingReportsPage-CX3Te0mD-BjuuVeMz.js → AgingReportsPage-n-UKn3Ei-CZEEMMir.js} +10 -10
- package/dist/assets/{AllUserItems-Cd2jEIM9-DycIVbwH.js → AllUserItems-BsvKEVcx-lxn8aic0.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-BCBhgQDY-m3orWzJK.js → ApAgingDetailPage-Duu2uAEr-DUMvdGKK.js} +5 -5
- package/dist/assets/{AppBasePage-BRcQ7IPJ-DssY-F_Q.js → AppBasePage-DoCF494Z-qPWVG34b.js} +16 -16
- package/dist/assets/{AppDrawerContent-DQlHQEcs-DrKgTlSj.js → AppDrawerContent-DM1t0oLS-9US_DgsB.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js → ApprovalRulesSettingsPage-GZCo6_i2-CJH6P32S.js} +6 -6
- package/dist/assets/{ArAgingChart-BvAQf_dB-CCF75Uiv.js → ArAgingChart-CsFDVdeO-C4PujVrW.js} +4 -4
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-B5uL9zyI.js +46 -0
- package/dist/assets/{AttachmentView-e6OZT5St-CRHdzPSa.js → AttachmentView-B0d42oAf-DVHm34mB.js} +6 -6
- package/dist/assets/{BankAccountSection-DWKYMZid-XH_pxLOm.js → BankAccountSection-Bgdk93V0-Cg5PjZDc.js} +7 -7
- package/dist/assets/BankAccountWarningSection-DMRmF2yM-BgfDzJHZ.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js → BankConnectionsSettingsPage-BpwKq93l-Brctq4SF.js} +16 -16
- package/dist/assets/BillDetailPage-BG7FhHEq-DUv2nuJK.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-A9_oblKa.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-BjMEKdHG.js +235 -0
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-eBwd93N4.js +84 -0
- package/dist/assets/{BillPaySetUpPage-CneIMbul-lrmOziwC.js → BillPaySetUpPage-DRCjyEfB-XKTwWmRS.js} +2 -2
- package/dist/assets/{BillingSettingsPage-35KDGxi0-Ct237R_x.js → BillingSettingsPage-CdYb74V7-HQVzU-6G.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js → BillsBulkReviewDrawerPage-D8EGfY5P-B0Wqyx4s.js} +1 -1
- package/dist/assets/{BoxItem-BGDuiQll-BzndiGjI.js → BoxItem-WOrvBzns-DN4WYKEf.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js → BusinessVerificationPage-CbqJIVpz-DVX5hTQl.js} +10 -10
- package/dist/assets/{CardNumberSubText-COHmqgEx-BK8P_Xt5.js → CardNumberSubText-DBOH0_yP-3HOBgKpF.js} +8 -8
- package/dist/assets/{CashbackDetailPage-DvA_0POP-D_6kuYkj.js → CashbackDetailPage-D-kXy6LW-CbbkR_T0.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-DF69jsTG-COjz_Wle.js → ChargeCardDetailPage-BQnJsfn5-C0NtbZa-.js} +244 -244
- package/dist/assets/ChargeCardListPage-130ILwkr-ZB2yzsHG.js +412 -0
- package/dist/assets/{ChargeCardListTable-BEYWfP5G-1q8VKxw1.js → ChargeCardListTable-EGkwcy7i-DEc29h5o.js} +67 -67
- package/dist/assets/ChargeCardPromoPage-BwqrXrY--IstKF_Na.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js → ChargeCardSetupPage-DRzB7Rt4-DmQFjafd.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js → ChargeCardStatementsPage-C3NxKjmB-C8FsLWHJ.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js → CheckDepositDrawerPage-ClxKj2js-Do24RzJh.js} +17 -17
- package/dist/assets/{CollapsableReportTable-Bju2JSCg-BqWf1iHn.js → CollapsableReportTable-xkNXkjfh-CtzSwjPt.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js → CompanyOfficerDetailsSection-BtUBatbQ-Con3Jm3w.js} +30 -30
- package/dist/assets/{CompanyPassportCard-ClihOV6I-659ckUvl.js → CompanyPassportCard-BOxM716U-TVvNmGP9.js} +7 -7
- package/dist/assets/{CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js → CompanyPassportPage-DzE7sm8S-Bu9tLN80.js} +40 -40
- package/dist/assets/{CompleteProfile-C88rpvIR-CPwa_ZcH.js → CompleteProfile-BjGSPASa-AWB6Qzlv.js} +3 -3
- package/dist/assets/ConfettiBurst-1rYKpbAj-DRsprSNw.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js → CreateOrEditVendorPage-WQeDCj-E-D6Y6HtQ7.js} +20 -20
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-CloaEiop.js +224 -0
- package/dist/assets/{CurrencySelectField-9MMlAXHh-7T5GvQvy.js → CurrencySelectField-AjAWhg6e-BY-FVQ5N.js} +4 -4
- package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-BRcGbX9s.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-ByC2CvtB.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js → CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-DKx0xsM-.js} +15 -15
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-pyXbZEvq.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js → CustomerOnboardingPage-CvN9Jrdy-CzriWSkS.js} +4 -4
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-7zbQywoe.js +202 -0
- package/dist/assets/{Dashboard-Zq5BpBhF-C6unAaBQ.js → Dashboard-_o0Ftdv8-_2fT5Ubv.js} +55 -55
- package/dist/assets/{DashboardReportPage-Pie-FQ1e-CpPHLX-r.js → DashboardReportPage-Cu5wqWkj-BHVvAcwu.js} +20 -20
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-Ds_VkWfq.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C6o7UraM-ERw30shi.js → DepositAccTransactionItem-BOPK7-7P-CUK10p36.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js → DepositAccTransactionListPage-oj9tntbI-BS3VI9z2.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js → DomesticWireDetailsPage-FGdEilUB-DiafQBWa.js} +1 -1
- package/dist/assets/{DownloadOverlay-smXqu_-_-DbNqWY1P.js → DownloadOverlay-c57lEf_V-LFGP7g4c.js} +39 -39
- package/dist/assets/{DrawerPage-C-NGhaFc-Bdiyy2BL.js → DrawerPage-inbhWwND-Db0y8xmo.js} +18 -18
- package/dist/assets/EditPeoplePage-DJthuIP4-C5mu6ajz.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-CsQHoeMv.js +865 -0
- package/dist/assets/EntityDetailPage-DbTiF9Hs-C-1lJOCB.js +18 -0
- package/dist/assets/{EntitySummarySection-D7ui3VxW-BWyvfwWL.js → EntitySummarySection-CHgrPo86-DQf0eS91.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js → ExpenseAutomationOverviewPage-QZT_UFXf-CqWIAvtS.js} +27 -27
- package/dist/assets/{ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js → ExpenseAutomationPage-Y7V_Z8rd-BtMIiHAT.js} +63 -63
- package/dist/assets/{ExpressPayPage-ddPMg7wE-Tlo0T7f7.js → ExpressPayPage-CIp_R6ZQ-bLqdW2c-.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js → FeaturePreviewPage-qsUO3mUu-Bg5tciIN.js} +3 -3
- package/dist/assets/{FollowStepsSection-WUNvyjJh-Bpyevbi9.js → FollowStepsSection-ebmR-eLP-DUvk8yUe.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js → GlobalReviewListPage-9V-xoqvs-DgQFHT5d.js} +14 -14
- package/dist/assets/{InformationCardStack-cYN7bwE3-B7UR3-b4.js → InformationCardStack-DnB7TmOk-DRRzuuUg.js} +8 -8
- package/dist/assets/{InsightsCardStack-CAuhoPST-MWY5O8lc.js → InsightsCardStack-BBczCYEz-DTWoyTqN.js} +12 -12
- package/dist/assets/InsightsSection-BTXj5WUe-ByTIWrkc.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js → IntegrationsSettingsPage-CByj2tO4-C70tL_8j.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js → InternationalWireSwiftDetailsPage-4-pl1ozv-BerAwOXU.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js → InternationalWireVerificationPage-kIajgPZt-CeT00ZG8.js} +26 -26
- package/dist/assets/{InviteFormPage-a7CtHDQi-gCSqizmu.js → InviteFormPage-XsnZcAvb-CP-m9x5T.js} +24 -24
- package/dist/assets/{InvitePageListView-D0flsJMi-CW5tcQ7p.js → InvitePageListView-HfsehyxK-NVvr8Ith.js} +78 -78
- package/dist/assets/InvitePeoplePage-DrBtwpMH-CbYg413Q.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D6gMuygS-CT-0_4kq.js → InvoiceUploadSection-DPd4VmqZ-CDlXjsFg.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js → IssueChargeCardPage-xbfFhV0O-D9cPo91Q.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js → LabeledAddressValue-CB_KH7v5-BfaoCJC2.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D-0wb98p-CSTw9NrL.js → LabeledAddressValueField-Bt41wdNQ-C-99cOeY.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-BqFptUno.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js → LabeledCreatableSingleSelectField-fycRE7PX-Hf4cCYiq.js} +4 -4
- package/dist/assets/LabeledDocumentField-C73vQNgq-BAncal8r.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js → LabeledDropDownFormattedTextField-DGb_bDyp-BCPR37EJ.js} +7 -7
- package/dist/assets/{LabeledText-BJi28Cmu-KVGobttz.js → LabeledText-yhm8qxrA-Bs5CTGJn.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js → LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-DC0r0kWN.js} +23 -23
- package/dist/assets/{LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js → LabeledZeniRolesDropDownField-DGkU72cd-ub025LyJ.js} +25 -25
- package/dist/assets/LinkJETransactionPage-C0onrP5t-BH-iwj4o.js +98 -0
- package/dist/assets/{LockCardPage-4ihNCAhG-Zb-UDpxz.js → LockCardPage-DaVzuRMw-Dq4q5Qyn.js} +21 -21
- package/dist/assets/{LowBalancePopup-YdUL24Wb-PfAaWR1_.js → LowBalancePopup-Dd9HLWlh-9AO78nGr.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-CbO6Gy8N.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-6hv3VXVe.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-DGyc9KKZ.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js → MagicLinkSuccessPage-DbhdGmhh-Dlqur3CF.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js → MagicLinkTitleSection-Bx92291D-eyJD0RqY.js} +4 -4
- package/dist/assets/MailingDetailsSection-D-tnK244-DkMA7qYY.js +21 -0
- package/dist/assets/Menu-0YHUdU0n-DClJzSBJ.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js → MyBankConnectionsSettingsPage-Dn9AT8p1-DOZcDQsI.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js → MyPendingActivationChargeCardListPage-DrQu6s7j-CuceVEXz.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js → MyProfileSettingsPage-CBvjEd7r-BTYXHZnd.js} +10 -10
- package/dist/assets/{NavBarWithPicker-C7xr7tTs-CsJWjiOL.js → NavBarWithPicker-aXn2QYh1-wbQMsyuO.js} +5 -5
- package/dist/assets/{NavigationArrow-rBOsZ92g-CvJ7c17R.js → NavigationArrow-JLUXaIrz-Dqbhc2Cm.js} +8 -8
- package/dist/assets/{NavigationDots-CautbD-g-AEb3JA6J.js → NavigationDots-B0_dDbgu-D0YfkCXB.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js → NewGlobalMerchantPage-B_019EtP-DM6Ow8UK.js} +12 -12
- package/dist/assets/NoDataChart-DLKHNXD4-tDLmbg2P.js +26 -0
- package/dist/assets/NoDataTable-BMD2qygC-BimI42bf.js +8 -0
- package/dist/assets/{NotFoundPage-D-nIKeoL-DS39BiNV.js → NotFoundPage-BEya4LS2-BAtVahFo.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DP3xTLvr-C8krffT3.js → NotificationSettingsPage-C9SjRKCu-AB1K2bpw.js} +23 -23
- package/dist/assets/NotificationsListConfig-OCeJNw1G-D_0tuWLm.js +1 -0
- package/dist/assets/{NotificationsPage-DkDGBzhT-B-IU27Zt.js → NotificationsPage-FJHx_WBG-DVMmN4nH.js} +49 -49
- package/dist/assets/{OpExByVendorPage-CtcdC3f9-DjyRt_lN.js → OpExByVendorPage-Dxk68R6U-DAiWfakx.js} +12 -12
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-D0iblwqz.js → OverlayContainerPage-Daz3A7cI-8v0sqF2w.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-CfqbniUD.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js → PaymentAccountSetupBillingAddressSection-s9EEHxoG-ByN70cgf.js} +8 -8
- package/dist/assets/{PeoplePage-DCI7v6ru-BQGxB0UL.js → PeoplePage-DN5VtG7Q-BobeSyfg.js} +29 -29
- package/dist/assets/Preview-B4cYjk3Q.js +1 -0
- package/dist/assets/{ProductsCarousel-Dqm1bC2_-C9nhPtyf.js → ProductsCarousel-6gthLCkf-CBWUX5-H.js} +8 -8
- package/dist/assets/{PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js → PromoBaseCards-CzPzj69A-VNtWOXHP.js} +6 -6
- package/dist/assets/{QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js → QBOConnectionDialog-BFy0lMZd-DQ6dF1fn.js} +6 -6
- package/dist/assets/{QBOSetupSection-HhIe91hw-09HBN8uJ.js → QBOSetupSection-DcLYyQ5m-BZmieU8G.js} +16 -16
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-DMhGskvy.js +26 -0
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-17BV5IdU.js +237 -0
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-DDHL4NDq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BZoZAydM-_dTEqW97.js → ReimbursementPromoPage-MweW-4DO-DOu17agw.js} +10 -10
- package/dist/assets/{ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js → ReimbursementSetUpPage-BD2LWlbW-CPGJalxA.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js → ReimbursementsBulkReviewDrawerPage-DV_PLm_g-C-hMp3nk.js} +1 -1
- package/dist/assets/{ReloadCard-BMn_7fNI-DobUmKfH.js → ReloadCard-9KpQCrce-CJxth4v-.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js → ReportTableViewSelector-BPliEsuo-CYSspAKt.js} +8 -8
- package/dist/assets/{ReportsPage-C4HDLBDq-nmW__s9z.js → ReportsPage-h2DAaQfK-BbjLhSlv.js} +14 -14
- package/dist/assets/{RevenueChart-q15U89i8-DTxTOafZ.js → RevenueChart-DY2s_upY-BrlpK408.js} +2 -2
- package/dist/assets/{ReviewDetailsPage-4mhC2jOb-D75AxfOq.js → ReviewDetailsPage-BiYxRnvA-B6yUj6Im.js} +20 -20
- package/dist/assets/{ReviewOverlay-Co22Cju1-u5iV88jr.js → ReviewOverlay-BvPN7IKD-Dzf2W2o-.js} +12 -12
- package/dist/assets/RoleWithToolTip-aW95rpRe-BSqBI82l.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js → ScheduleDetailsFixedAssetsPage-DlXqz1QQ-DCo0J0MC.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js → ScheduleDetailsPage-DebosLND-Dr3_f1Ao.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js → ScheduleSequenceTable-Dd4Ep_c0-BGLZarfG.js} +36 -36
- package/dist/assets/ScreenRoutes-RCtfctxM.js +201 -0
- package/dist/assets/{SetUpAccountSection-AZk8_IC3-BgRTrYL7.js → SetUpAccountSection-Dhb8A0Oe-DTgzquEa.js} +8 -8
- package/dist/assets/SignIn-DQBJB5ad-Df-bXPXY.js +448 -0
- package/dist/assets/{SignInScreen-DJh1xRdL.js → SignInScreen-ymJeGv_l.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DDL7odAh.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-B-iCv2wr.js +754 -0
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-Cl4Y2hmX.js +230 -0
- package/dist/assets/StatementItem-hcBoe79o-3MewkfUT.js +31 -0
- package/dist/assets/{StatementsPage-CBIa00EK-BjIWTE3I.js → StatementsPage-DVR5LhTi-yR6sBvKB.js} +3 -3
- package/dist/assets/{StatusSwitcher-Blc3-MDg-B12KNYTc.js → StatusSwitcher-Cy5ITFgi-BPjCuaKT.js} +1 -1
- package/dist/assets/{SubTabSwitcher-3oir5lzq-Cmzice7W.js → SubTabSwitcher-DhsES2OW-Bo9PDg54.js} +4 -4
- package/dist/assets/{SummaryCard-DO09QLUp-DPmkfJxO.js → SummaryCard-Byv4Hw8Q-CRXX5OyN.js} +1 -1
- package/dist/assets/{TaskManagementPage-C_EZJRtM-P8DErI3a.js → TaskManagementPage-CVXMOPf2-BPgLGH37.js} +42 -42
- package/dist/assets/TimeRangeSwitcher-jct2_5PE-CLdBT1H-.js +64 -0
- package/dist/assets/{TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js → TimeframeSwitcher-BK-qliOX-H_AqcOc6.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-B90xLHLZ.js +31 -0
- package/dist/assets/{TopExCard-Cn8iW3fO-DMUR1qBk.js → TopExCard-o4Q3ze1b-BhWZC02k.js} +12 -12
- package/dist/assets/{TopExDetailPage-BS8qCkLq-Cq17vLoi.js → TopExDetailPage-BsCwwwDi-CQb-1xKa.js} +12 -12
- package/dist/assets/{TransactionDetailPage-CUeVImfA-D9txujQI.js → TransactionDetailPage-rpCG65yC-DrwxmLfQ.js} +36 -36
- package/dist/assets/{TransactionList-CnjoEn7K-D2hvg7ek.js → TransactionList-YI4oZaim-BA7WlPL4.js} +15 -15
- package/dist/assets/{TransactionListBig-xVKV1MCm-GtEvft_N.js → TransactionListBig-D_Jw9Ip2-D2rLxw32.js} +12 -12
- package/dist/assets/TransactionListPage-B2yWm7eA-DHwvAIPN.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-cB0L9hlJ.js +80 -0
- package/dist/assets/{TransferDrawerPage-uBmvyc-P-CFJl7D9L.js → TransferDrawerPage-BnEVH7Mc-BoQvOiLs.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js → TreasuryOverviewPage-C927Rdkg-CauQRw4k.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-DymCO6nN-Dc1dLp52.js → TreasuryPromoPage-C6D3bF2f-OrOyQ7OO.js} +14 -14
- package/dist/assets/{TreasuryStatementsPage-YEgI38zU-DOHp07qg.js → TreasuryStatementsPage-BE54gWl6-D5_ViYZY.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js → TreasuryTaxLetterPage-BaHut8Wc-CEbpmHg1.js} +3 -3
- package/dist/assets/{TrendChart-Dzc9yPKs-Blv6Qzrf.js → TrendChart-BI4Tz813-fFdjYEGq.js} +4 -4
- package/dist/assets/{TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js → TrendWithTransactions-BicIDSlC-CR1UupOW.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js → UncategorizedAccountsMappingPage-sbn4Sdr2-Cp0yxgAi.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-EaVWz4pX-CbKtqluY.js → UnitIntegrationPage-CZUyjeh5-CHXW7rW2.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-BN630Ftn.js +38 -0
- package/dist/assets/Vendor2FAPopup-C_PmEAQ7-CPcuM1Lv.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-D0o8agib.js +1 -0
- package/dist/assets/{VendorDetailPage-C_B_CmoV-DZeP35Np.js → VendorDetailPage-CLFKkF8I-C1yDRJ_V.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-C47siTp3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js → VendorFiling1099EditablePage-CrWrhHZl-jwDcG4lR.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js → VendorFirstReviewPage-C6MnbIan-DEgAFFp_.js} +60 -60
- package/dist/assets/{VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js → VendorInternationalWireDetailsPage-CzPRK4E2-DPbUqt-0.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-OZPxcMNL.js +1 -0
- package/dist/assets/{VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js → VendorsAccountsSection-CVh1n81R-DKMXaRY8.js} +5 -5
- package/dist/assets/{VerifyDevice-Cu9P83rS-BlGa7yZF.js → VerifyDevice-BHocExfO-BBG3ubvW.js} +7 -7
- package/dist/assets/{VideoPlayer-Dml6r7Q7-CtFMcnbA.js → VideoPlayer-9rYRtSLf-BqgUiaDS.js} +2 -2
- package/dist/assets/{VideoPopup-B7E5ZfFp-BvZy2q4i.js → VideoPopup-D1o92dj6-CPKE8Mhx.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js → WarningsDrawerPage-CzufXgaN-PU9KYQuW.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js → ZeniAccountDetailPage-ZZ3Ra-Jf-C6vBQEO7.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js → ZeniAccountListViewPage-Cxid0mfh-BWdmN1tO.js} +10 -10
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-CakYiqJV.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js → ZeniAccountPromoPage-YIYFkPIB-DeTeBxx_.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js → ZeniAccountSetupPage-BJ9UJ0dP-BVBV8wvJ.js} +1 -1
- package/dist/assets/{ZeniCopyright-CDfvakjf-8KnokS3w.js → ZeniCopyright-CztmWsFm-BfzonAhy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js → ZeniTransferAmountSlider-g9qU5Lsq-Xlt7u852.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-Bp_adk0W.js → add-to-wallet-DgdBD8_G-C9HdEEg2.js} +1 -1
- package/dist/assets/{analytics-GoB8GGlk.js → analytics-DHoFVrJa.js} +1 -1
- package/dist/assets/{analyticsHelper-C164AjRf-tG0aq5YR.js → analyticsHelper-D4lKCWjQ-D3kvyQYi.js} +1 -1
- package/dist/assets/analyticsHelper-ogjXN0a1.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BlptIYjS.js → arrow-south-east-round-PEovUgvH-DTpfnp7v.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DNmdc0t7.js → auto-transfer-rule-mbafm5D3-Drj2iH_J.js} +1 -1
- package/dist/assets/{chartTypes-DQ1OffIu-Bo_aesHa.js → chartTypes-BPPSjkhb-B7nnCmyE.js} +1 -1
- package/dist/assets/{commonDimensions-j5_IHOmP-jvW6K-um.js → commonDimensions-Ds75pRzR-BWQNp0GW.js} +1 -1
- package/dist/assets/{constants-DTxI1rHn.js → constants-JMxq3kKJ.js} +1 -1
- package/dist/assets/{core-cG0U1y2d.js → core-DbjebHB2.js} +2 -2
- package/dist/assets/{dash.all.min-CKz_ZRDI.js → dash.all.min-DW9Kl4IB.js} +1 -1
- package/dist/assets/{detailCommon-BdYIBs8o-CJ5ceH6M.js → detailCommon-DdZdfmYT-DKTM1aWX.js} +6 -6
- package/dist/assets/downloadPdf-B8UMaJCC-DUveB_dN.js +1 -0
- package/dist/assets/{empty-DAIP1XxB.js → empty-6lxZMaF0.js} +1 -1
- package/dist/assets/{index-BMQnSjFr.js → empty-wNjVfCDj.js} +1 -1
- package/dist/assets/epic-DThgZpcq.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CTtI5cXz.js → gift-box-Cmt9OgIZ-CNk2xYWr.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-PUQeicgl.js → graphic-no-data-l-DU4J8fDt-ClpG2ri3.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js → graphic-no-data-net-burn-l-CzmycA0m-BOz-3nes.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BXfsCAUf.js → handshake-BPg58FML-k1WIZYu1.js} +1 -1
- package/dist/assets/{index-BqrFe7eC.js → index-7ciVtOQ7.js} +1 -1
- package/dist/assets/{index-CO_Updpp.js → index-BqVFY7NZ.js} +4410 -4418
- package/dist/assets/{index-DVGnYxP0.js → index-C1PhqSzi.js} +1 -1
- package/dist/assets/{index-uRSEmDsl.js → index-Cryszh5n.js} +1 -1
- package/dist/assets/{index-CpulHfxu.js → index-JDXIN5Fj.js} +1 -1
- package/dist/assets/index-JN-1XlIu.js +1 -0
- package/dist/assets/index-TZkjLPoA.js +1 -0
- package/dist/assets/{lexical-CUq6kk0g.js → lexical-B-aBuW2Y.js} +1 -1
- package/dist/assets/{liveblocks-BOlC_Koo.js → liveblocks-DBgNWxtT.js} +1 -1
- package/dist/assets/{lottie-DQ5EyuJ6.js → lottie-DbNQVAcx.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-DGzOqzir.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-TBViCt8n.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-HhIsCvlh.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-CrmG1KLX.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-D-1vMkLl.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DDk9yv3G.js +1 -0
- package/dist/assets/{mui-ByF8ZmHV.js → mui-BdKs9UwT.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C2KjOx45.js → page-detail-CWX5S47F-Dil4tjIc.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-B7-vB3nP.js → radio-default-CiSgisfh-DIcxqpZX.js} +1 -1
- package/dist/assets/{react-B3-oq61_.js → react--GRYl8Vw.js} +2 -2
- package/dist/assets/{react-B1eYDq6e.js → react-1ymFMNft.js} +3 -3
- package/dist/assets/{react-B20ZDkLv.js → react-2NSNcP_P.js} +2 -2
- package/dist/assets/{react-osFWCkxJ.js → react-D1OXMWSN.js} +2 -2
- package/dist/assets/{react-D74rpLXu.js → react-DEyP-vQs.js} +1 -1
- package/dist/assets/{react-CeCukAHo.js → react-DaVNNE91.js} +1 -1
- package/dist/assets/{react-BU_tzuye.js → react-DfSxWhpD.js} +1 -1
- package/dist/assets/{react-iY_JqSpg.js → react-Dmst1txh.js} +2 -2
- package/dist/assets/{recharts-C9z9JCsM.js → recharts-CU0wfbyQ.js} +1 -1
- package/dist/assets/{sentry-DdXOXL3j.js → sentry-DfYwagp9.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-hMFlex27.js → shield-DOlUxcFf-C7eXS_DD.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-BaA2_x3K.js +1 -0
- package/dist/assets/toChartData-CMi2WgAy-JL4zgl5e.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-C6Cgts33.js +1 -0
- package/dist/assets/{uploadAttachment-DiJJciQx-DORmL_G6.js → uploadAttachment-B4ddYCCL-BXwz-FZi.js} +27 -27
- package/dist/assets/{uploadReceipts-CPw64UYa-CIYZXcqS.js → uploadReceipts-CPw64UYa-CTZvsl83.js} +1 -1
- package/dist/assets/{url-PLN9h9fH.js → url-CNQZElM1.js} +1 -1
- package/dist/assets/{url-DnfeNFje.js → url-K5H6qIZr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-aie8BHVS.js → useLongPress-GCK2COYQ-hK0wtujH.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-nbZRH-xL.js → usp-line-BBd1wKwW-C0__t1n1.js} +1 -1
- package/dist/assets/{utils-BMrfBn9K.js → utils-DTmuLq6q.js} +1 -1
- package/dist/assets/{zeni-epic-state-BiQIJCwr.js → zeni-epic-state-DcbIZGFH.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DSdNOxQ9-Cve45-FP.js +0 -21
- package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +0 -6
- package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +0 -46
- package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +0 -51
- package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +0 -241
- package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +0 -84
- package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +0 -412
- package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +0 -534
- package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +0 -222
- package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +0 -227
- package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +0 -12
- package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +0 -865
- package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +0 -18
- package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +0 -27
- package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +0 -16
- package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +0 -41
- package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +0 -1
- package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +0 -21
- package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +0 -17
- package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +0 -26
- package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +0 -8
- package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +0 -1
- package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +0 -107
- package/dist/assets/Preview-D56XCw0A.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +0 -243
- package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +0 -314
- package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +0 -22
- package/dist/assets/ScreenRoutes-BRmamOlw.js +0 -201
- package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +0 -480
- package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +0 -785
- package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +0 -246
- package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +0 -31
- package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +0 -31
- package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +0 -38
- package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +0 -14
- package/dist/assets/analyticsHelper-OMYXGOV0.js +0 -1
- package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +0 -1
- package/dist/assets/empty-D_oWKko5.js +0 -1
- package/dist/assets/epic-4bGyY7Fz.js +0 -2
- package/dist/assets/index-D4nV_3XK.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +0 -1
- package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +0 -1
- package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +0 -1
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-BqVFY7NZ.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-DfYwagp9.js"><link rel="modulepreload" crossorigin href="/assets/core-DbjebHB2.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-DcbIZGFH.js"><link rel="modulepreload" crossorigin href="/assets/recharts-CU0wfbyQ.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-DBgNWxtT.js"><link rel="modulepreload" crossorigin href="/assets/mui-BdKs9UwT.js"><link rel="modulepreload" crossorigin href="/assets/lottie-DbNQVAcx.js"><link rel="modulepreload" crossorigin href="/assets/analytics-DHoFVrJa.js"><link rel="modulepreload" crossorigin href="/assets/lexical-B-aBuW2Y.js"><link rel="modulepreload" crossorigin href="/assets/utils-DTmuLq6q.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-cockpit-ui",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.99-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@sentry/core": "^9.42.1",
|
|
27
27
|
"@sentry/react": "^9.42.1",
|
|
28
28
|
"@types/crypto-js": "^4.1.0",
|
|
29
|
-
"@zeniai/client-analytics": "1.6.
|
|
30
|
-
"@zeniai/client-epic-state": "4.19.
|
|
31
|
-
"@zeniai/web-components": "3.17.
|
|
29
|
+
"@zeniai/client-analytics": "1.6.81",
|
|
30
|
+
"@zeniai/client-epic-state": "4.19.60",
|
|
31
|
+
"@zeniai/web-components": "3.17.26",
|
|
32
32
|
"color": "3.1.3",
|
|
33
33
|
"cross-fetch": "^4.0.0",
|
|
34
34
|
"crypto-js": "4.2.0",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,d as t}from"./index-CO_Updpp.js";import{a as k}from"./sentry-DdXOXL3j.js";import{n as u}from"./mui-ByF8ZmHV.js";import{W as G,A as J}from"./BankAccountWarningSection-neFg-P9--B7Ex5Gby.js";import{M as K}from"./MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js";import{e as X}from"./BankAccountSection-DWKYMZid-XH_pxLOm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="84ead54b-0131-4cb6-bc6b-0a853c178c86",e._sentryDebugIdIdentifier="sentry-dbid-84ead54b-0131-4cb6-bc6b-0a853c178c86")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},T="achDetailsPage",f="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(p,d)=>{const s=d[f].bankRoutingNumber;N(d),p===`${f}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const p=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>M(s,d))});return()=>{p.unsubscribe()}});const R=i.handleSubmit(p=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:f,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
|
-
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
|
-
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
|
-
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
5
|
-
padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
6
|
-
`,ne=u.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
`,te=u.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
flex-grow: 1;
|
|
15
|
-
`,ae=u(U)`
|
|
16
|
-
color: ${e=>e.theme.colors.champion};
|
|
17
|
-
margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
|
|
18
|
-
margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
|
|
19
|
-
`,ie=u.div`
|
|
20
|
-
margin-top: ${Z.sp5};
|
|
21
|
-
`;export{ue as f};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{f as y,q as b,V as t,gK as x,o as r,y as d,hw as D,d as i}from"./index-CO_Updpp.js";import{a as $}from"./sentry-DdXOXL3j.js";import{n as o}from"./mui-ByF8ZmHV.js";import{K as P}from"./StatusSwitcher-Blc3-MDg-B12KNYTc.js";import{r as z}from"./AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./downloadPdf-BduTAGPj-DUom1tyc.js";import"./commonDimensions-j5_IHOmP-jvW6K-um.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f8b36f42-cfa5-43b7-a387-074eecb4d0d3",e._sentryDebugIdIdentifier="sentry-dbid-f8b36f42-cfa5-43b7-a387-074eecb4d0d3")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},F=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=b(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(x,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(v,{windowSize:c,children:a.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},A=o.div`
|
|
2
|
-
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
-
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
-
`,T=o.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
`,v=o(D)`
|
|
12
|
-
color: ${e=>e.theme.colors.primary};
|
|
13
|
-
padding: ${r.sp3} ${r.sp0};
|
|
14
|
-
margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
-
`,S=o.div`
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: flex-start;
|
|
18
|
-
`;export{F as default};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import{f as g,F as l,V as t,al as x,b9 as d,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-CO_Updpp.js";import{n as r}from"./mui-ByF8ZmHV.js";import{t as v}from"./handshake-BPg58FML-BXfsCAUf.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8619bca6-f1cb-4c94-95f0-7d7bf1c2b6a2",e._sentryDebugIdIdentifier="sentry-dbid-8619bca6-f1cb-4c94-95f0-7d7bf1c2b6a2")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(C,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
row-gap: ${o.sp6};
|
|
7
|
-
`,D=r(y)`
|
|
8
|
-
color: ${p.important};
|
|
9
|
-
text-align: center;
|
|
10
|
-
`,I=r.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
row-gap: ${o.sp5};
|
|
16
|
-
`,a=r.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: flex-start;
|
|
20
|
-
column-gap: 12px;
|
|
21
|
-
text-align: start;
|
|
22
|
-
width: 100%;
|
|
23
|
-
color: ${e=>e.theme.colors.primary};
|
|
24
|
-
`,_=r.a`
|
|
25
|
-
text-decoration: underline;
|
|
26
|
-
color: ${e=>e.theme.colors.primary};
|
|
27
|
-
`,C=r(d)`
|
|
28
|
-
font-weight: ${w.medium};
|
|
29
|
-
`,L=r.span`
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
margin-left: ${o.sp1};
|
|
32
|
-
margin-right: ${o.sp1};
|
|
33
|
-
`,c=r.div`
|
|
34
|
-
width: ${o.sp7};
|
|
35
|
-
height: ${o.sp7};
|
|
36
|
-
background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
flex-shrink: 0;
|
|
39
|
-
color: ${e=>e.theme.colors.primary};
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
`,z=r($)`
|
|
44
|
-
width: ${o.sp4};
|
|
45
|
-
height: ${o.sp4};
|
|
46
|
-
`,Y=r(j)`
|
|
47
|
-
width: ${o.sp4};
|
|
48
|
-
height: ${o.sp4};
|
|
49
|
-
`,A=r(v)`
|
|
50
|
-
width: ${o.sp4};
|
|
51
|
-
height: ${o.sp4};
|
|
52
|
-
`,F=r.div`
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
width: 456px;
|
|
56
|
-
padding: ${o.sp5} ${o.sp6};
|
|
57
|
-
background: ${e=>e.theme.colors.grey5};
|
|
58
|
-
border-radius: ${o.sp2};
|
|
59
|
-
`,R=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,R as a};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{f as y,q as S,aO as T,b as r,V as l,jo as w,o as t,y as m,aN as B,F as x,d as n}from"./index-CO_Updpp.js";import{a as C}from"./sentry-DdXOXL3j.js";import{n as j}from"./mui-ByF8ZmHV.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="34235f3b-9a1f-4de8-a513-a2b1909333b8",e._sentryDebugIdIdentifier="sentry-dbid-34235f3b-9a1f-4de8-a513-a2b1909333b8")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:I}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:a,customAddressStatus:o,onDismissClick:d,onSubmitHandler:u})=>{const c=y(),s=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&d()},[o.fetchState,d,i]);const f=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,b=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:a,onSubmitHandler:h=>u(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:c.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:I.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=j.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
`;export{K as default};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import{f as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as q,bB as K,y as z,cd as U,ce as J,cf as V,d as y}from"./index-CO_Updpp.js";import{a as _}from"./sentry-DdXOXL3j.js";import{n as s}from"./mui-ByF8ZmHV.js";import{W,L as Z}from"./EntitySummarySection-D7ui3VxW-BWyvfwWL.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="019c9da1-df0f-4910-8d1a-2dc6f1c7a32a",e._sentryDebugIdIdentifier="sentry-dbid-019c9da1-df0f-4910-8d1a-2dc6f1c7a32a")}catch{}})();const b={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:G,reports:{common:Q,aging:{agingDetail:X}},dateFormat:M}=S.getLocalizedStrings();function be(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:C,timezone:v}=d,{fetchState:p,invoices:I,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[P,j]=_.useState(!1),E=_.useCallback((g,f)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,f)},[r.customer,m,a,t]);if(_.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:v,reportDate:t};await ee(C,k,f),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}P&&u!=="In-Progress"&&(j(!1),w("In-Progress"),g())},[k,C,d.companyName,u,P,t,x,D,v,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(L,{})}),o.jsx(ne,{children:Q.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(O,{fetchState:p});const R=o.jsx(K,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:G.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:R,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(W,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:I.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(Z,{uiState:$,invoices:I,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await U({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();V(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
max-width: 99.9%;
|
|
6
|
-
`,te=s.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: calc(100% - 60px);
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`,ae=s.div`
|
|
14
|
-
height: 96px;
|
|
15
|
-
width: 96px;
|
|
16
|
-
background: ${e=>e.theme.colors.background};
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
& svg {
|
|
20
|
-
margin: ${A.sp5};
|
|
21
|
-
color: ${e=>e.theme.colors.grey1};
|
|
22
|
-
}
|
|
23
|
-
&:hover {
|
|
24
|
-
& svg {
|
|
25
|
-
color: ${e=>e.theme.colors.primary};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`,ne=s(q)`
|
|
29
|
-
margin-top: ${A.sp3};
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
`,ie=s.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
min-height: 100%;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
width: 100%;
|
|
36
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
-
`,se=s.div`
|
|
38
|
-
display: block;
|
|
39
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
-
height: calc(100vh - 178px);
|
|
41
|
-
margin-top: ${e=>b.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
-
`,le=s.div`
|
|
43
|
-
margin-left: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
-
margin-right: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
-
height: 100%;
|
|
46
|
-
`;export{be as default,oe as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import{q as w,V as n,aN as u,bR as b,o as i,y as t,c0 as x,M as f,a as y,F as k,p as s,g as v,al as z,d as o}from"./index-CO_Updpp.js";import{n as r}from"./mui-ByF8ZmHV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="934b0238-c243-4a19-8b5e-e1d3efe3b7ed",e._sentryDebugIdIdentifier="sentry-dbid-934b0238-c243-4a19-8b5e-e1d3efe3b7ed")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,o[3]),customTitleMarginBottom:new t(o[0],o[3]),customTitleMarginLeft:new t(o[3],o[6]),customTitleMarginRight:new t(o[5],o[8])},M={formTitle:new f("h6Medium","h5Medium")},I=({header:e,isDirty:a,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const l=w();return n.jsxs(n.Fragment,{children:[l==="small"?n.jsxs(S,{windowSize:l,children:[g?null:n.jsx(h,{onClick:()=>a?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),n.jsx($,{windowSize:l,children:e})]}):n.jsx(P,{children:g?null:n.jsx(b,{title:j,enterDelay:600,placement:"bottom",children:n.jsx(h,{onClick:()=>a?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),l!=="small"?n.jsx($,{windowSize:l,children:e}):null]})},$=r(y)`
|
|
2
|
-
${e=>`${M.formTitle.style(e.windowSize)}`};
|
|
3
|
-
color: ${e=>e.theme.colors.primary};
|
|
4
|
-
margin-bottom: ${e=>d.customTitleMarginBottom.valuePx(e.windowSize)};
|
|
5
|
-
margin-top: ${i.sp3};
|
|
6
|
-
margin-left: ${e=>d.customTitleMarginLeft.valuePx(e.windowSize)};
|
|
7
|
-
margin-right: ${e=>d.customTitleMarginRight.valuePx(e.windowSize)};
|
|
8
|
-
`,h=r(x)`
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
color: ${e=>e.theme.colors.hero};
|
|
11
|
-
width: 20px;
|
|
12
|
-
height: 20px;
|
|
13
|
-
&:hover {
|
|
14
|
-
color: ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,P=r.div`
|
|
17
|
-
margin: ${i.sp3} ${i.sp8} ${i.sp3} ${i.sp6};
|
|
18
|
-
`,S=r.div`
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: ${i.sp0};
|
|
23
|
-
padding-top: ${e=>d.navBarContainerPadding.valuePx(e.windowSize)};
|
|
24
|
-
padding-bottom: ${e=>d.navBarContainerPadding.valuePx(e.windowSize)};
|
|
25
|
-
padding-right: ${i.sp5};
|
|
26
|
-
padding-left: ${i.sp0};
|
|
27
|
-
z-index: 2;
|
|
28
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
29
|
-
`,c={marginBottom:new t(o[5],o[3]),marginRight:new t(o[3],o[8]),marginLeft:new t(o[3],o[6])},_=({warningText:e})=>{const a=w();return n.jsxs(B,{size:a,children:[n.jsx(T,{children:n.jsx(D,{})}),n.jsx(C,{children:e})]})},B=r.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
background-color: ${s.alertLight};
|
|
32
|
-
border: 1px solid ${s.brandColorGoldDark};
|
|
33
|
-
border-radius: ${i.sp2};
|
|
34
|
-
color: ${s.alertDark};
|
|
35
|
-
margin-bottom: ${e=>c.marginBottom.valuePx(e.size)};
|
|
36
|
-
padding: ${i.sp3} ${i.sp4} ${i.sp3} ${i.sp4};
|
|
37
|
-
margin-right: ${e=>c.marginRight.valuePx(e.size)};
|
|
38
|
-
margin-left: ${e=>c.marginLeft.valuePx(e.size)};
|
|
39
|
-
`,C=r(z)`
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-grow: 1;
|
|
42
|
-
color: ${s.brandColorGoldDark};
|
|
43
|
-
`,T=r.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
margin-right: ${i.sp2};
|
|
47
|
-
`,D=r(v)`
|
|
48
|
-
width: ${i.sp4};
|
|
49
|
-
height: ${i.sp4};
|
|
50
|
-
color: ${s.brandColorGoldDark};
|
|
51
|
-
`;export{_ as A,I as W};
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import{q as Zn,aw as Un,f as Kn,gd as Hn,ge as Vn,gf as qn,gg 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,ds as ut,cn as yt,co as ht,cp as bt,gh as aa,gi as ia,gj as la,gk as oa,fe as j,gl 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,gm as pa,gn as ma,aP as ua,ao as ft,bR as ve,go as ya,gp as L,F as ha,d as s,ag as ba,c0 as ga,gq as fa,_ as xa,gr as wa,fo as xt,M as Ta,d1 as va,cg as Da,gs as wt,b6 as $a,b8 as ja,l as Ia,bT as Ft,d2 as Aa,gt as ka,ai as Et,aX as Sa,b4 as Ca,bs as Pa,eK as Ba,al as Ra}from"./index-CO_Updpp.js";import{a as p}from"./sentry-DdXOXL3j.js";import{n as i}from"./mui-ByF8ZmHV.js";import{a as Ma}from"./liveblocks-BOlC_Koo.js";import{bO as za,bL as Na,bP as La,FH as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-BiQIJCwr.js";import{o as Wa,t as Za}from"./LowBalancePopup-YdUL24Wb-PfAaWR1_.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./recharts-C9z9JCsM.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="aac1f7ce-84fb-4edc-a5cb-273b077d064c",e._sentryDebugIdIdentifier="sentry-dbid-aac1f7ce-84fb-4edc-a5cb-273b077d064c")}catch{}})();const Ua=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new 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:Ha,common:{noText:C,strings:{empty:c},currency:Tt,via:Va,more:qa,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=Ha.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:re,isAdmin:Wt,isRealTimeApprovalEnabled:Zt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:z,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Ht,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:Vt,redirectToEditableBillScreen:qt,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:Me,deleteBill:Gt,cancelAndDeleteBill:ze,approveOrRejectBill:Ne,onAddNewRule:Xt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Jt,onBackClick:Oe,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Zn(),o=Un(),Fe=Kn(),[an,H]=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=Ht?Hn:Vn,{requestToOpenThread:ue,setRequestToOpenThread:Q,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&Q(K)},[K,Q]);const[rn,V]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:q,isLoading:P}=qn(T,"both",!1),x=Be&&h!=null,Ze=p.useMemo(()=>h==null?[]:q.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[q,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),V(!1)},[ee,V]);p.useEffect(()=>{ue?.threadId!=null&&q.length>0&&!P&&(ee(ue.threadId),Q(null))},[ue,q,P,ee,Q]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Xn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,He]=p.useState("approved"),[mn,Ve]=p.useState(!1),[un,qe]=p.useState(!1),[Ge,Xe]=p.useState(!1),Ye=()=>Ve(!1),yn=()=>Ve(!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")&&(Me(),Y())},[e,Y,Me]),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&&qt(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}),H(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),H(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),H(!0)},xn=()=>{z.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:()=>{H(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?ze?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?ze?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(z.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{H(!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),z.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?za(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=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||we)&&Bn===!1,Te=xe||we,Mn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,zn=!Mn&&(!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=>{z.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,Ge,r)},rt=()=>{qe(!0),z.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Xe(!0),rt()},Fn=()=>{Jt(),qe(!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]),_=Vt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Qn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,st=()=>{He("approved"),We===!0&&J(!1),_!=null&&z.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=()=>{He("rejected"),_!=null&&z.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(),V(!0),z.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(),V(!0),z.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(M,{}),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(M,{}),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(M,{}),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(M,{}),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(M,{}),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(M,{}),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(M,{}),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(M,{}),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(M,{})]}),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)&&Ut&&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(M,{}),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(M,{}),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:U||f,showCancel:!U&&f,cancelBtn:{label:ot?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:_n,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Qa(U,ot),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?rt:()=>{_!=null?J(!0):st()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"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:()=>{z.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&&zn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,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(Ma,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Xa,threads:q,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:()=>V(!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(Mt,{children:n.zeniAssist.accountNumber}),t.jsx(zt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(Mt,{children:n.zeniAssist.amount}),t.jsx(zt,{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} ${Va} ${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(Ua)`
|
|
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
|
-
`,M=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=>`${Ka.formTitle.style(e.windowSize)}`};
|
|
175
|
-
color: ${e=>e.theme.colors.primary};
|
|
176
|
-
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
177
|
-
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
178
|
-
word-break: break-all;
|
|
179
|
-
padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
|
|
180
|
-
`,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
|
-
`,Mt=i(Et)`
|
|
235
|
-
text-align: left;
|
|
236
|
-
color: ${e=>e.theme.colors.grey1};
|
|
237
|
-
`,zt=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};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import{y as O,d 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 u,g3 as Y}from"./index-CO_Updpp.js";import{a as T}from"./sentry-DdXOXL3j.js";import{n as h}from"./mui-ByF8ZmHV.js";import{b as Z,f as ee,o as _,l as C}from"./FollowStepsSection-WUNvyjJh-Bpyevbi9.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="9f87a65a-8f2d-47e4-913b-0fc49a0bfa00",e._sentryDebugIdIdentifier="sentry-dbid-9f87a65a-8f2d-47e4-913b-0fc49a0bfa00")}catch{}})();const k="billPayApprovalRuleDetailPage",j="lowerBound",E="upperBound",w="steps",b="applyToExistingBills",ae={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:a,onBackClick:l,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=le(e,a==="approval_create"&&!n),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),c=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(c?.fetchState),{upperBound:$}=g,{allApprovalRules:d,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),v=m>0?d[m-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"&&c?.fetchState==="Completed"&&I()},[B,c?.fetchState,I]),o.jsxs(se,{children:[o.jsx(J,{title:a==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{l()},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:c?.fetchState==="In-Progress",isDisabled:c?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:a==="approval_create"?null:o.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,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:ae.footerPadding.valuePx(P)},separatorStyle:{marginRight:u.sp4}})]})]})}const le=(e,a)=>{const{criteria:l,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[b]:[b],[w]:te(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),_(e.allAttributes),_(e.filteredAttributes),r??[])??[],[j]:a?void 0:l!=null?l.range.min.amount??0:0,[E]:l!=null?l.range.max==null?1/0:l.range.max.amount:1/0}},te=(e,a,l,r,s)=>s&&s.length>0?s.map((n,y)=>({stepIndex:y,stepType:{selectedOption:n.action,allOptions:C},actors:{allUsers:a,selectedUsers:oe(e,n.actors),allNonUsers:r,selectedNonUsers:re(l,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:C},actors:{allUsers:a,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],oe=(e,a)=>e.filter(l=>l.userId!=null&&a.findIndex(r=>r.userId===l.userId)>-1),re=(e,a)=>e.filter(l=>a.findIndex(r=>r.subType===l.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=>`${u.sp0} 2px ${u.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=>`${u.sp0} 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
13
|
-
border-radius: ${u.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{ae as D,Ae as default,R as uniqueFormName,Ie as uniqueName};
|