@zeniai/web-cockpit-ui 1.14.97-qa → 1.14.98-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-DSdNOxQ9-Cve45-FP.js +21 -0
- package/dist/assets/{AIPerformancePage-4v4Fkm9f-CpEaAXB6.js → AIPerformancePage-TtdFArUl-j0kjTnVR.js} +108 -108
- package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-DzX4-2vb.js → AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js} +19 -19
- package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-WMmhBBTN.js → AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js} +54 -54
- package/dist/assets/{AccountRow-BM3xLbeh-CkaHX5cA.js → AccountRow-COxNWv3J-Dkf6Savq.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-CweVbsOn.js → AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js} +30 -30
- package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +6 -0
- package/dist/assets/{AddToWalletPage-OJBvAKUj-C4_vhGK0.js → AddToWalletPage-CXhBOHda-b2nCfyTx.js} +13 -13
- package/dist/assets/{AgingReportsPage-n-UKn3Ei-CUIQ2hVl.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js} +10 -10
- package/dist/assets/{AllUserItems-BsvKEVcx-lWN_YCkV.js → AllUserItems-Cd2jEIM9-DycIVbwH.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-Duu2uAEr-C_ltQoSn.js → ApAgingDetailPage-BCBhgQDY-m3orWzJK.js} +5 -5
- package/dist/assets/{AppBasePage-DoCF494Z-Da8oOnmR.js → AppBasePage-BRcQ7IPJ-DssY-F_Q.js} +16 -16
- package/dist/assets/{AppDrawerContent-DM1t0oLS-DcvMiTTX.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-DalFgYOv.js → ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js} +6 -6
- package/dist/assets/{ArAgingChart-CsFDVdeO-Dxvbr92R.js → ArAgingChart-BvAQf_dB-CCF75Uiv.js} +4 -4
- package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +46 -0
- package/dist/assets/{AttachmentView-B0d42oAf-DLojBuaF.js → AttachmentView-e6OZT5St-CRHdzPSa.js} +6 -6
- package/dist/assets/{BankAccountSection-Bgdk93V0-OiEcgwUp.js → BankAccountSection-DWKYMZid-XH_pxLOm.js} +7 -7
- package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-Diplm4EJ.js → BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js} +16 -16
- package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +241 -0
- package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +84 -0
- package/dist/assets/{BillPaySetUpPage-DRCjyEfB-BwNvkIBF.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CdYb74V7-Hvn0Zx0R.js → BillingSettingsPage-35KDGxi0-Ct237R_x.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-JLRt5jBO.js → BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js} +1 -1
- package/dist/assets/{BoxItem-WOrvBzns-C2HR99if.js → BoxItem-BGDuiQll-BzndiGjI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CbqJIVpz-DDL3zyKh.js → BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js} +10 -10
- package/dist/assets/{CardNumberSubText-DBOH0_yP-RteuDDE7.js → CardNumberSubText-COHmqgEx-BK8P_Xt5.js} +8 -8
- package/dist/assets/{CashbackDetailPage-D-kXy6LW-DQIhS9dG.js → CashbackDetailPage-DvA_0POP-D_6kuYkj.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-BwxXeP8t.js → ChargeCardDetailPage-DF69jsTG-COjz_Wle.js} +244 -244
- package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +412 -0
- package/dist/assets/{ChargeCardListTable-EGkwcy7i-BslVZQTH.js → ChargeCardListTable-BEYWfP5G-1q8VKxw1.js} +67 -67
- package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +534 -0
- package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-B94MoxdV.js → ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-CdwuqWvx.js → ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-BHYT0eg1.js → CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js} +17 -17
- package/dist/assets/{CollapsableReportTable-xkNXkjfh-C4fPtgFw.js → CollapsableReportTable-Bju2JSCg-BqWf1iHn.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BtUBatbQ-Dqym6ecM.js → CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js} +30 -30
- package/dist/assets/{CompanyPassportCard-BOxM716U-BuYpv_IQ.js → CompanyPassportCard-ClihOV6I-659ckUvl.js} +7 -7
- package/dist/assets/{CompanyPassportPage-DzE7sm8S-B6uOWYjR.js → CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js} +40 -40
- package/dist/assets/{CompleteProfile-BjGSPASa-C-SekPbe.js → CompleteProfile-C88rpvIR-CPwa_ZcH.js} +3 -3
- package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-Dh8vXIxB.js → CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js} +20 -20
- package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +227 -0
- package/dist/assets/{CurrencySelectField-AjAWhg6e-Eqrjeqk5.js → CurrencySelectField-9MMlAXHh-7T5GvQvy.js} +4 -4
- package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-aWM2Ir-Z.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js} +15 -15
- package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CvN9Jrdy-DuDNyyOP.js → CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js} +4 -4
- package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +202 -0
- package/dist/assets/{Dashboard-_o0Ftdv8-C8xZMg4n.js → Dashboard-Zq5BpBhF-C6unAaBQ.js} +55 -55
- package/dist/assets/{DashboardReportPage-Cu5wqWkj-CbPCJVeu.js → DashboardReportPage-Pie-FQ1e-CpPHLX-r.js} +20 -20
- package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-MpTXf9zM.js → DepositAccTransactionItem-C6o7UraM-ERw30shi.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-fKCleTPc.js → DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-B-HhXSdH.js → DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js} +1 -1
- package/dist/assets/{DownloadOverlay-c57lEf_V-s3fTRYjJ.js → DownloadOverlay-smXqu_-_-DbNqWY1P.js} +39 -39
- package/dist/assets/{DrawerPage-inbhWwND-BXcay5_9.js → DrawerPage-C-NGhaFc-Bdiyy2BL.js} +18 -18
- package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +865 -0
- package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +18 -0
- package/dist/assets/{EntitySummarySection-CHgrPo86-CzG-_BY7.js → EntitySummarySection-D7ui3VxW-BWyvfwWL.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-1st1eoKk.js → ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js} +27 -27
- package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-THbf8Vnw.js → ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js} +63 -63
- package/dist/assets/{ExpressPayPage-CIp_R6ZQ-cs4dOpKa.js → ExpressPayPage-ddPMg7wE-Tlo0T7f7.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-qsUO3mUu-DF4yFb7P.js → FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js} +3 -3
- package/dist/assets/{FollowStepsSection-ebmR-eLP-DjjyPWl7.js → FollowStepsSection-WUNvyjJh-Bpyevbi9.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-9V-xoqvs-Dr_0Sl1U.js → GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js} +14 -14
- package/dist/assets/{InformationCardStack-DnB7TmOk-DUfCbiw0.js → InformationCardStack-cYN7bwE3-B7UR3-b4.js} +8 -8
- package/dist/assets/{InsightsCardStack-BBczCYEz-C7aeJZwT.js → InsightsCardStack-CAuhoPST-MWY5O8lc.js} +12 -12
- package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-B4RJ2uIA.js → IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-BOfMVpiR.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-kIajgPZt-D61ceEqI.js → InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js} +26 -26
- package/dist/assets/{InviteFormPage-XsnZcAvb-BvtcZ_89.js → InviteFormPage-a7CtHDQi-gCSqizmu.js} +24 -24
- package/dist/assets/{InvitePageListView-HfsehyxK-D8xsgZY9.js → InvitePageListView-D0flsJMi-CW5tcQ7p.js} +78 -78
- package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-DUrq1x_3.js → InvoiceUploadSection-D6gMuygS-CT-0_4kq.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-xbfFhV0O-Cj6BbItj.js → IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CB_KH7v5-DxYlmu7D.js → LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-CTr4nBdf.js → LabeledAddressValueField-D-0wb98p-CSTw9NrL.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-BIzidcju.js → LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js} +4 -4
- package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-mUPdI7Ad.js → LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js} +7 -7
- package/dist/assets/{LabeledText-yhm8qxrA-vCsbkcLE.js → LabeledText-BJi28Cmu-KVGobttz.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BJTUh2FG.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js} +23 -23
- package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-Dgxm7I9J.js → LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js} +25 -25
- package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +98 -0
- package/dist/assets/{LockCardPage-DaVzuRMw-CnTFUbry.js → LockCardPage-4ihNCAhG-Zb-UDpxz.js} +21 -21
- package/dist/assets/{LowBalancePopup-Dd9HLWlh-gcMfj24v.js → LowBalancePopup-YdUL24Wb-PfAaWR1_.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-q-iiCtPe.js → MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-Bx92291D-CyS-tk36.js → MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js} +4 -4
- package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +21 -0
- package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-BLkHFwVd.js → MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-B0h6C04K.js → MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-CkA2RGi3.js → MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js} +10 -10
- package/dist/assets/{NavBarWithPicker-aXn2QYh1-D_CWGVEz.js → NavBarWithPicker-C7xr7tTs-CsJWjiOL.js} +5 -5
- package/dist/assets/{NavigationArrow-JLUXaIrz-B7EVHrI2.js → NavigationArrow-rBOsZ92g-CvJ7c17R.js} +8 -8
- package/dist/assets/{NavigationDots-B0_dDbgu-CFZagPOV.js → NavigationDots-CautbD-g-AEb3JA6J.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B_019EtP-CsFXTgsg.js → NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js} +12 -12
- package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +26 -0
- package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +8 -0
- package/dist/assets/{NotFoundPage-BEya4LS2-BJjPiPIQ.js → NotFoundPage-D-nIKeoL-DS39BiNV.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-C9SjRKCu-DGlHcshq.js → NotificationSettingsPage-DP3xTLvr-C8krffT3.js} +23 -23
- package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +1 -0
- package/dist/assets/{NotificationsPage-FJHx_WBG-DgLTiy0T.js → NotificationsPage-DkDGBzhT-B-IU27Zt.js} +49 -49
- package/dist/assets/{OpExByVendorPage-Dxk68R6U-DdpbGAZs.js → OpExByVendorPage-CtcdC3f9-DjyRt_lN.js} +12 -12
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-BmuFuX61.js → OverlayContainerPage-Daz3A7cI-D0iblwqz.js} +1 -1
- package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-s9EEHxoG-B1Y9jQbA.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js} +8 -8
- package/dist/assets/{PeoplePage-DN5VtG7Q-1M0QHDlz.js → PeoplePage-DCI7v6ru-BQGxB0UL.js} +29 -29
- package/dist/assets/Preview-D56XCw0A.js +1 -0
- package/dist/assets/{ProductsCarousel-6gthLCkf-BWrWrJUL.js → ProductsCarousel-Dqm1bC2_-C9nhPtyf.js} +8 -8
- package/dist/assets/{PromoBaseCards-CzPzj69A-C1q5ihB2.js → PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js} +6 -6
- package/dist/assets/{QBOConnectionDialog-BFy0lMZd-BkWnfDHf.js → QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js} +6 -6
- package/dist/assets/{QBOSetupSection-DcLYyQ5m-B5Os9bOC.js → QBOSetupSection-HhIe91hw-09HBN8uJ.js} +16 -16
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +32 -0
- package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +243 -0
- package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-MweW-4DO-CMYyia2y.js → ReimbursementPromoPage-BZoZAydM-_dTEqW97.js} +10 -10
- package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-CtOsTEWl.js → ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-27f2MmSl.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js} +1 -1
- package/dist/assets/{ReloadCard-9KpQCrce-DN4r5hT-.js → ReloadCard-BMn_7fNI-DobUmKfH.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BPliEsuo-CmKeZZbG.js → ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js} +8 -8
- package/dist/assets/{ReportsPage-h2DAaQfK-CbE6jqoD.js → ReportsPage-C4HDLBDq-nmW__s9z.js} +14 -14
- package/dist/assets/{RevenueChart-DY2s_upY-WoF2sAvI.js → RevenueChart-q15U89i8-DTxTOafZ.js} +2 -2
- package/dist/assets/{ReviewDetailsPage-BiYxRnvA-CBiHyEqk.js → ReviewDetailsPage-4mhC2jOb-D75AxfOq.js} +20 -20
- package/dist/assets/{ReviewOverlay-BvPN7IKD-D3oRKOju.js → ReviewOverlay-Co22Cju1-u5iV88jr.js} +12 -12
- package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-Bo3K9iaU.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DebosLND-CZ8MFP_N.js → ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-6ceLm8iU.js → ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js} +36 -36
- package/dist/assets/ScreenRoutes-BRmamOlw.js +201 -0
- package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-Bi3VI7hN.js → SetUpAccountSection-AZk8_IC3-BgRTrYL7.js} +8 -8
- package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +480 -0
- package/dist/assets/{SignInScreen-xSTOtEpZ.js → SignInScreen-DJh1xRdL.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +785 -0
- package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +246 -0
- package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +31 -0
- package/dist/assets/{StatementsPage-DVR5LhTi-DSGHS9Ki.js → StatementsPage-CBIa00EK-BjIWTE3I.js} +3 -3
- package/dist/assets/{StatusSwitcher-Cy5ITFgi-0cTJJtF0.js → StatusSwitcher-Blc3-MDg-B12KNYTc.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DhsES2OW-m-ce65D6.js → SubTabSwitcher-3oir5lzq-Cmzice7W.js} +4 -4
- package/dist/assets/{SummaryCard-Byv4Hw8Q-Bwkpu24g.js → SummaryCard-DO09QLUp-DPmkfJxO.js} +1 -1
- package/dist/assets/{TaskManagementPage-CVXMOPf2-Dj56mspp.js → TaskManagementPage-C_EZJRtM-P8DErI3a.js} +42 -42
- package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +64 -0
- package/dist/assets/{TimeframeSwitcher-BK-qliOX-ClICCmUP.js → TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +31 -0
- package/dist/assets/{TopExCard-o4Q3ze1b-DtPXCUdp.js → TopExCard-Cn8iW3fO-DMUR1qBk.js} +12 -12
- package/dist/assets/{TopExDetailPage-BsCwwwDi-wFH0rcwn.js → TopExDetailPage-BS8qCkLq-Cq17vLoi.js} +12 -12
- package/dist/assets/{TransactionDetailPage-rpCG65yC-CSnR3Ukp.js → TransactionDetailPage-CUeVImfA-D9txujQI.js} +36 -36
- package/dist/assets/{TransactionList-YI4oZaim-BNe9KuEQ.js → TransactionList-CnjoEn7K-D2hvg7ek.js} +15 -15
- package/dist/assets/{TransactionListBig-D_Jw9Ip2-B9g4IUd7.js → TransactionListBig-xVKV1MCm-GtEvft_N.js} +12 -12
- package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +80 -0
- package/dist/assets/{TransferDrawerPage-BnEVH7Mc-DX9bFdaO.js → TransferDrawerPage-uBmvyc-P-CFJl7D9L.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BnjOV5zI.js → TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-C6D3bF2f-Ci0jhUVu.js → TreasuryPromoPage-DymCO6nN-Dc1dLp52.js} +14 -14
- package/dist/assets/{TreasuryStatementsPage-BE54gWl6-CI8n3B5p.js → TreasuryStatementsPage-YEgI38zU-DOHp07qg.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-Draz_l3Z.js → TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js} +3 -3
- package/dist/assets/{TrendChart-BI4Tz813-BAnL14wu.js → TrendChart-Dzc9yPKs-Blv6Qzrf.js} +4 -4
- package/dist/assets/{TrendWithTransactions-BicIDSlC-C7MC_PA1.js → TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-DCMB0DYi.js → UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CZUyjeh5-BXjLciPL.js → UnitIntegrationPage-EaVWz4pX-CbKtqluY.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +38 -0
- package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +1 -0
- package/dist/assets/{VendorDetailPage-CLFKkF8I-Bp6iAqiQ.js → VendorDetailPage-C_B_CmoV-DZeP35Np.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-CtI8BHQ6.js → VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-C6MnbIan-BivIxmzp.js → VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js} +60 -60
- package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Cze5LPGB.js → VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CVh1n81R-KpYWigij.js → VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js} +5 -5
- package/dist/assets/{VerifyDevice-BHocExfO-CwHem-So.js → VerifyDevice-Cu9P83rS-BlGa7yZF.js} +7 -7
- package/dist/assets/{VideoPlayer-9rYRtSLf-DQLpaLZE.js → VideoPlayer-Dml6r7Q7-CtFMcnbA.js} +2 -2
- package/dist/assets/{VideoPopup-D1o92dj6-pqLJzdXX.js → VideoPopup-B7E5ZfFp-BvZy2q4i.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CzufXgaN-C2dHRi6W.js → WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-DYyI3UYD.js → ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-DcMdPWox.js → ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js} +10 -10
- package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-Dotnyt9B.js → ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-D2niJExq.js → ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js} +1 -1
- package/dist/assets/{ZeniCopyright-CztmWsFm-H9omyc8d.js → ZeniCopyright-CDfvakjf-8KnokS3w.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-DxB3ARKz.js → ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6YdFVXu.js → add-to-wallet-DgdBD8_G-Bp_adk0W.js} +1 -1
- package/dist/assets/{analytics-DP4t3Pvl.js → analytics-GoB8GGlk.js} +1 -1
- package/dist/assets/{analyticsHelper-D4lKCWjQ-B-wZ4oH3.js → analyticsHelper-C164AjRf-tG0aq5YR.js} +1 -1
- package/dist/assets/analyticsHelper-OMYXGOV0.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B0Djnnq_.js → arrow-south-east-round-PEovUgvH-BlptIYjS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-D68LcCX2.js → auto-transfer-rule-mbafm5D3-DNmdc0t7.js} +1 -1
- package/dist/assets/{chartTypes-BPPSjkhb-BtU1dRiX.js → chartTypes-DQ1OffIu-Bo_aesHa.js} +1 -1
- package/dist/assets/{commonDimensions-Ds75pRzR-CtGrNWAH.js → commonDimensions-j5_IHOmP-jvW6K-um.js} +1 -1
- package/dist/assets/{constants-kbx9whap.js → constants-DTxI1rHn.js} +1 -1
- package/dist/assets/{core-CBymMU6x.js → core-cG0U1y2d.js} +2 -2
- package/dist/assets/{dash.all.min-BALkicwi.js → dash.all.min-CKz_ZRDI.js} +1 -1
- package/dist/assets/{detailCommon-DdZdfmYT-BRAdodjU.js → detailCommon-BdYIBs8o-CJ5ceH6M.js} +6 -6
- package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +1 -0
- package/dist/assets/{empty-DSFatrf0.js → empty-DAIP1XxB.js} +1 -1
- package/dist/assets/empty-D_oWKko5.js +1 -0
- package/dist/assets/epic-4bGyY7Fz.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CcnP1Mgt.js → gift-box-Cmt9OgIZ-CTtI5cXz.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CUWIryFn.js → graphic-no-data-l-DU4J8fDt-PUQeicgl.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BJnsDnCG.js → graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-knekKUs7.js → handshake-BPg58FML-BXfsCAUf.js} +1 -1
- package/dist/assets/{empty-CvBQFZBN.js → index-BMQnSjFr.js} +1 -1
- package/dist/assets/{index-D9zkGC9B.js → index-BqrFe7eC.js} +1 -1
- package/dist/assets/{index-uZV8M_AO.js → index-CO_Updpp.js} +4424 -4416
- package/dist/assets/{index-frek1-on.js → index-CpulHfxu.js} +1 -1
- package/dist/assets/index-D4nV_3XK.js +1 -0
- package/dist/assets/{index-BxjA4a5B.js → index-DVGnYxP0.js} +1 -1
- package/dist/assets/{index-t4orGi4S.js → index-uRSEmDsl.js} +1 -1
- package/dist/assets/{lexical-CmdNRU7n.js → lexical-CUq6kk0g.js} +1 -1
- package/dist/assets/{liveblocks-GlEiSPeI.js → liveblocks-BOlC_Koo.js} +1 -1
- package/dist/assets/{lottie-CBgZHwli.js → lottie-DQ5EyuJ6.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +1 -0
- package/dist/assets/{mui-0an3sj0x.js → mui-ByF8ZmHV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BBk9EC3A.js → page-detail-CWX5S47F-C2KjOx45.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-C5Myz-XF.js → radio-default-CiSgisfh-B7-vB3nP.js} +1 -1
- package/dist/assets/{react-BBz2ZJU4.js → react-B1eYDq6e.js} +3 -3
- package/dist/assets/{react-DFeWd6RH.js → react-B20ZDkLv.js} +2 -2
- package/dist/assets/{react-HGxWu6DA.js → react-B3-oq61_.js} +2 -2
- package/dist/assets/{react-B5nMiO6o.js → react-BU_tzuye.js} +1 -1
- package/dist/assets/{react-CzdhBOak.js → react-CeCukAHo.js} +1 -1
- package/dist/assets/{react-D4nAWD3E.js → react-D74rpLXu.js} +1 -1
- package/dist/assets/{react-BoXueK1O.js → react-iY_JqSpg.js} +2 -2
- package/dist/assets/{react-D9E37yvm.js → react-osFWCkxJ.js} +2 -2
- package/dist/assets/{recharts-YmjXe7Hc.js → recharts-C9z9JCsM.js} +1 -1
- package/dist/assets/{sentry-DBL0vpYV.js → sentry-DdXOXL3j.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-BTDJ5sGc.js → shield-DOlUxcFf-hMFlex27.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +1 -0
- package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +1 -0
- package/dist/assets/{uploadAttachment-B4ddYCCL-CAA2Hylg.js → uploadAttachment-DiJJciQx-DORmL_G6.js} +27 -27
- package/dist/assets/{uploadReceipts-CPw64UYa-CqYUQW_x.js → uploadReceipts-CPw64UYa-CIYZXcqS.js} +1 -1
- package/dist/assets/{url-Cu1N4ZsY.js → url-DnfeNFje.js} +1 -1
- package/dist/assets/{url-BhkSeX_h.js → url-PLN9h9fH.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BDVexwt4.js → useLongPress-GCK2COYQ-aie8BHVS.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BMT__nj-.js → usp-line-BBd1wKwW-nbZRH-xL.js} +1 -1
- package/dist/assets/{utils-C6VMCny4.js → utils-BMrfBn9K.js} +1 -1
- package/dist/assets/{zeni-epic-state-EnVSjANH.js → zeni-epic-state-BiQIJCwr.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BRWOdhMx-CHW4Y4oA.js +0 -21
- package/dist/assets/AccountInfoPage-Ca_vKG58-Ck55n_mz.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq-uvZlRTJb.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-njcuq535.js +0 -6
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-BxYWpi7f.js +0 -46
- package/dist/assets/BankAccountWarningSection-DMRmF2yM-B4qHDBYu.js +0 -51
- package/dist/assets/BillDetailPage-BG7FhHEq-CfxlpdIE.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-BXzjYi7t.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-l7GsIqqs.js +0 -235
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-BRhKMOSj.js +0 -84
- package/dist/assets/ChargeCardListPage-130ILwkr-CpoDSUvy.js +0 -412
- package/dist/assets/ChargeCardPromoPage-BwqrXrY--CRkcpsfe.js +0 -222
- package/dist/assets/ConfettiBurst-1rYKpbAj-Bd_yylF7.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-BGJkHg58.js +0 -224
- package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-xIXhat36.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-CXZImNkS.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-DC1N045b.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-BRK0kxfQ.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-DRAJtWei.js +0 -12
- package/dist/assets/EditPeoplePage-DJthuIP4-CYsD3t6G.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-Dq3ebm9k.js +0 -865
- package/dist/assets/EntityDetailPage-DbTiF9Hs-Dc_lF-AM.js +0 -18
- package/dist/assets/InsightsSection-BTXj5WUe-DRPj9Z-N.js +0 -27
- package/dist/assets/InvitePeoplePage-DrBtwpMH-ClaPxkWo.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-NjrNn7ZZ.js +0 -16
- package/dist/assets/LabeledDocumentField-C73vQNgq-DBxPjoOu.js +0 -41
- package/dist/assets/LinkJETransactionPage-C0onrP5t-BQSRDFgK.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-Bmz6YzE7.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Csth74dK.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-yvP4uEq5.js +0 -1
- package/dist/assets/MailingDetailsSection-D-tnK244-NJGCqaax.js +0 -21
- package/dist/assets/Menu-0YHUdU0n-BLlGw9kk.js +0 -17
- package/dist/assets/NoDataChart-DLKHNXD4-DyUiEC5E.js +0 -26
- package/dist/assets/NoDataTable-BMD2qygC-gv0yHuam.js +0 -8
- package/dist/assets/NotificationsListConfig-OCeJNw1G-rhlSI2K3.js +0 -1
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-hY2BUMAV.js +0 -107
- package/dist/assets/Preview-kmcYPPXG.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-BQKJNpxr.js +0 -26
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-Cq_QuHRI.js +0 -237
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-DXpkFB8a.js +0 -314
- package/dist/assets/RoleWithToolTip-aW95rpRe-DvIFlyHc.js +0 -22
- package/dist/assets/ScreenRoutes-Vn-jiple.js +0 -201
- package/dist/assets/SignIn-DQBJB5ad-Cb2pZSrY.js +0 -448
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DFU9SYkm.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-BsJa486B.js +0 -754
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-Be-FWQnM.js +0 -230
- package/dist/assets/StatementItem-hcBoe79o-CO-KeIZz.js +0 -31
- package/dist/assets/TimeRangeSwitcher-jct2_5PE-CCFccPp8.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-K7uZZKEZ.js +0 -31
- package/dist/assets/TransactionListPage-B2yWm7eA-DL_P3UOL.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-B7k5Rxuh.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-B5rvljLP.js +0 -38
- package/dist/assets/Vendor2FAPopup-C_PmEAQ7-BJo1CtrY.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-HWJ4xqP6.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-Cw2mdwEx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-DAcuL4kr.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-Qp9CkTCW.js +0 -14
- package/dist/assets/analyticsHelper-BQyen1Zp.js +0 -1
- package/dist/assets/downloadPdf-B8UMaJCC--cwzlyu5.js +0 -1
- package/dist/assets/epic-q1aO5VtE.js +0 -2
- package/dist/assets/index-CKooINZU.js +0 -1
- package/dist/assets/index-CPqC-aUr.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-C5wM4whm.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-APaqby99.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-rEC43j1Y.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-D3n1ZN_S.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-XrIKo0nh.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DEpGdNWt.js +0 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-j2ZyVm5M.js +0 -1
- package/dist/assets/toChartData-CMi2WgAy-CD5sB8aU.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-C9OUxvx1.js +0 -1
package/dist/assets/{AgingReportsPage-n-UKn3Ei-CUIQ2hVl.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as K,q as O,hY as _e,V as t,hZ as De,bM as Ne,h_ as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,d as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-CO_Updpp.js";import{a as f}from"./sentry-DdXOXL3j.js";import{n as y}from"./mui-ByF8ZmHV.js";import{bh as T,FW as Ye}from"./zeni-epic-state-BiQIJCwr.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-BvAQf_dB-CCF75Uiv.js";import{C as ie}from"./NoDataChart-58kSyixy-CZ5Rv3U9.js";import{I as se,R as $}from"./CollapsableReportTable-Bju2JSCg-BqWf1iHn.js";import{d as le}from"./NoDataTable-aDUu8tCI-CN9poHgG.js";import{l as ce}from"./mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./chartTypes-DQ1OffIu-Bo_aesHa.js";import"./AccountRow-COxNWv3J-Dkf6Savq.js";import"./graphic-no-data-l-DU4J8fDt-PUQeicgl.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]="7e8b8eb9-60b2-4320-adf3-e1ffa82838ef",e._sentryDebugIdIdentifier="sentry-dbid-7e8b8eb9-60b2-4320-adf3-e1ffa82838ef")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
flex: 1 1 auto;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
height: ${e=>
|
|
7
|
+
height: ${e=>Re.chartHeight.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${N.sp6};
|
|
9
|
-
`;function
|
|
9
|
+
`;function Te({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(qe,{report:e})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function qe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Le,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(Ke({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ue({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function U({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const Ge=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=U({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ue({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=U({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=U({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const v={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},A=y.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
@@ -16,25 +16,25 @@ import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as k
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=He(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
align-items: center;
|
|
24
24
|
overflow: auto;
|
|
25
|
-
column-gap: ${e=>
|
|
25
|
+
column-gap: ${e=>Ze.summaryColumnGap.valuePx(e.windowSize)};
|
|
26
26
|
`,X=y.div`
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
align-items: center;
|
|
30
30
|
justify-content: center;
|
|
31
|
-
`,ee=y(
|
|
31
|
+
`,ee=y(Me)`
|
|
32
32
|
color: ${e=>e.theme.colors.grey1};
|
|
33
33
|
text-wrap: nowrap;
|
|
34
34
|
width: fit-content;
|
|
35
|
-
`,te=y(
|
|
35
|
+
`,te=y(Ae)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const
|
|
37
|
+
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:L,selectedDate:b,agingDateSelectionType:G}=c,{authParams:H,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),Z=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:E,value:Ce})=>({label:E,value:Ye(Ce)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,C)=>{S(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,S,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:T(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(G),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Z}),[b,V,Z,G]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(W,H,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[H,W,l.companyName,I,o,w,k,z,L,Y,b,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(R,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(R,{controller:j==="Completed",children:[t.jsx(R,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,F.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -74,6 +74,6 @@ import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as k
|
|
|
74
74
|
position: relative;
|
|
75
75
|
box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
76
|
background-color: ${e=>e.theme.colors.grey5};
|
|
77
|
-
padding-left: ${e=>
|
|
78
|
-
padding-right: ${e=>
|
|
77
|
+
padding-left: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
|
|
78
|
+
padding-right: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
|
|
79
79
|
`,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},ae=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Bt as default,at as toDownloadAgingReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cP as Q,ei as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cZ as Pe,cg as Ce,d as L,bR as Se,aH as te,cy as Y,gL as de,fV as R,fS as X,fT as J,fU as ce,fW as pe,a_ as me,gM as Te,p as ue,cW as ge,am as he,cX as Oe,ad as Re}from"./index-CO_Updpp.js";import{n as p}from"./mui-ByF8ZmHV.js";import{FB as ze,bg as K}from"./zeni-epic-state-BiQIJCwr.js";import{a as V}from"./sentry-DdXOXL3j.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c2d763c4-59d0-45ca-88d0-e7e40490770e",e._sentryDebugIdIdentifier="sentry-dbid-c2d763c4-59d0-45ca-88d0-e7e40490770e")}catch{}})();const B=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(Y.roles),[]),u=K(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:B(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(H,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:B(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:J(m,f)},productsByUserRole:X(e.role,w)},registerOptions:{required:!0}}}),l.jsx(H,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:B(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(H,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:B(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:B(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`,W=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,We=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const y=_(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(y),[N,...M]=w,u=M.map(d=>d.email).join(","),r=V.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=K(e.role);return V.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:y,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:W(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Te)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),W(t,"email"),m,o,S)}),l.jsx(E,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:W(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:J(x,v)},productsByUserRole:X(e.role,f)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(Fe,{}),userSingleSelectWithSubTitlesField:{name:W(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(T=>T.classId===I.userRole.accountingClassIDs[0]),b=[];return k!=null&&b.push(k.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(E,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:W(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(E,{}),U?null:l.jsxs(Be,{windowSize:y,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ve,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:W(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},Fe=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -54,13 +54,13 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
54
54
|
.single-select-field__menu {
|
|
55
55
|
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,E=p.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex: 1;
|
|
60
60
|
background-color: ${e=>e.theme.colors.grey3};
|
|
61
61
|
min-height: 1px;
|
|
62
62
|
max-height: 1px;
|
|
63
|
-
`,
|
|
63
|
+
`,Be=p(he)`
|
|
64
64
|
padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
|
|
65
65
|
background: ${e=>e.theme.colors.grey4};
|
|
66
66
|
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
@@ -71,7 +71,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
71
71
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
72
72
|
gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
|
|
73
73
|
opacity: ${e=>e.isDisabled?.32:1};
|
|
74
|
-
`,
|
|
74
|
+
`,Ze=p.a`
|
|
75
75
|
color: ${e=>e.theme.colors.hero};
|
|
76
76
|
text-decoration: none;
|
|
77
77
|
cursor: ${e=>e.isDisabled?"unset":"pointer"};
|
|
@@ -89,14 +89,14 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Ee=(e,t,o,a,s)=>{if(Oe(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ve=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ze,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(We,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,
|
|
95
|
+
`,F={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},Ge=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:J(h,w)},productsByUserRole:X([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Q(),{append:M,remove:u}=Ie({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const b=n.length-1,T=Ge(b+1,f,U,w,v,y,C);setTimeout(()=>M(T,{shouldFocus:!0}))},j=b=>{a(b)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Xe,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,T)=>{const je=n.length;let q={};if(w==="zeni_only")q={email:b.email,role:Ye(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(G=>ze(G.selectedOption?.value)).filter(G=>G!=null):[],le=A.length>0?K(A):!1;q={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Je,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(ye,{children:l.jsx($e,{children:l.jsx(we,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:q,mode:w,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:I,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},He=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const w=_();return l.jsxs(ye,{children:[l.jsx($e,{children:l.jsx(we,{windowSize:w,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Ke,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:F.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:F.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Xe=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
|
-
padding-top: ${e=>
|
|
99
|
-
`,
|
|
98
|
+
padding-top: ${e=>F.containerPaddingTop.valuePx(e.windowSize)};
|
|
99
|
+
`,Je=p.div`
|
|
100
100
|
.delete-icon-wrapper {
|
|
101
101
|
visibility: hidden;
|
|
102
102
|
}
|
|
@@ -118,7 +118,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
118
118
|
`,$e=p.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,
|
|
121
|
+
`,Ke=p.div`
|
|
122
122
|
width: ${i.sp3};
|
|
123
123
|
height: ${i.sp3};
|
|
124
124
|
cursor: pointer;
|
|
@@ -138,10 +138,10 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
138
138
|
gap: ${i.sp2};
|
|
139
139
|
`,il=p.div`
|
|
140
140
|
display: flex;
|
|
141
|
-
margin-left: ${e=>
|
|
141
|
+
margin-left: ${e=>F.deleteContentMarginLeft.valuePx(e.windowSize)};
|
|
142
142
|
`,ae=p.div`
|
|
143
143
|
display: flex;
|
|
144
|
-
margin-bottom: ${e=>
|
|
144
|
+
margin-bottom: ${e=>F.marginBottom.valuePx(e.windowSize)};
|
|
145
145
|
`,tl=p(ge)`
|
|
146
146
|
width: ${i.sp3};
|
|
147
147
|
height: ${i.sp3};
|
|
@@ -162,7 +162,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
align-items: center;
|
|
164
164
|
padding: ${i.sp3} ${i.sp4};
|
|
165
|
-
gap: ${e=>
|
|
165
|
+
gap: ${e=>F.addUserWrapperGap.valuePx(e.windowSize)};
|
|
166
166
|
|
|
167
167
|
width: auto;
|
|
168
168
|
height: ${i.sp8};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,d as u}from"./index-CO_Updpp.js";import{a as _}from"./sentry-DdXOXL3j.js";import{n as i}from"./mui-ByF8ZmHV.js";import{W as Q,L as X}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:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="77eea59b-c9f1-4ecb-981b-4147e66341e4",e._sentryDebugIdIdentifier="sentry-dbid-77eea59b-c9f1-4ecb-981b-4147e66341e4")}catch{}})();const S={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -17,7 +17,7 @@ import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as
|
|
|
17
17
|
border-radius: 50%;
|
|
18
18
|
cursor: pointer;
|
|
19
19
|
& svg {
|
|
20
|
-
margin: ${
|
|
20
|
+
margin: ${T.sp5};
|
|
21
21
|
color: ${e=>e.theme.colors.grey1};
|
|
22
22
|
}
|
|
23
23
|
&:hover {
|
|
@@ -25,8 +25,8 @@ import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as
|
|
|
25
25
|
color: ${e=>e.theme.colors.primary};
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
`,re=i(
|
|
29
|
-
margin-top: ${
|
|
28
|
+
`,re=i(J)`
|
|
29
|
+
margin-top: ${T.sp3};
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
31
31
|
`,ae=i.div`
|
|
32
32
|
display: flex;
|
|
@@ -43,4 +43,4 @@ import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as
|
|
|
43
43
|
margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function _e(e){const s=
|
|
46
|
+
`;function _e(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=a,{fetchState:m,invoices:z,apAgingDetailUIState:$,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=$,[j,P]=_.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,R=_.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,f)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:I,reportDate:t};await se(k,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,y,j,t,D,b,I,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(q,{fetchState:m});const Y=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:Y,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:z.length===0||n==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:$,invoices:z,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:R,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Z(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as m,
|
|
1
|
+
import{V as t,q as m,_ as x,o as r,y as p,p as s,aR as g,F as u,bo as $,cU as f,dL as w,cT as b}from"./index-CO_Updpp.js";import{n as i,k as y}from"./mui-ByF8ZmHV.js";import{a as j}from"./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:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="100093ea-9b8d-4204-a183-95aa2139a6e4",e._sentryDebugIdIdentifier="sentry-dbid-100093ea-9b8d-4204-a183-95aa2139a6e4")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -23,37 +23,37 @@ import{V as t,q as m,L as f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,
|
|
|
23
23
|
justify-content: center;
|
|
24
24
|
align-items: flex-start;
|
|
25
25
|
animation: ${k} 0.4s;
|
|
26
|
-
`,S=i(
|
|
26
|
+
`,S=i(b)`
|
|
27
27
|
margin-top: 2px;
|
|
28
28
|
margin-right: 12px;
|
|
29
29
|
width: ${r.sp3};
|
|
30
30
|
height: ${r.sp3};
|
|
31
|
-
color: ${
|
|
32
|
-
`,D=i(
|
|
31
|
+
color: ${s.success};
|
|
32
|
+
`,D=i(w)`
|
|
33
33
|
margin-top: 2px;
|
|
34
34
|
margin-right: 12px;
|
|
35
35
|
width: ${r.sp3};
|
|
36
36
|
height: ${r.sp3};
|
|
37
|
-
color: ${
|
|
38
|
-
`,z=i(
|
|
37
|
+
color: ${s.info};
|
|
38
|
+
`,z=i(f)`
|
|
39
39
|
margin-top: 2px;
|
|
40
40
|
margin-right: 12px;
|
|
41
41
|
width: ${r.sp3};
|
|
42
42
|
height: ${r.sp3};
|
|
43
|
-
color: ${
|
|
44
|
-
`,T=i(
|
|
43
|
+
color: ${s.important};
|
|
44
|
+
`,T=i($)`
|
|
45
45
|
margin-top: 2px;
|
|
46
46
|
margin-right: 12px;
|
|
47
47
|
width: ${r.sp3};
|
|
48
48
|
height: ${r.sp3};
|
|
49
|
-
color: ${
|
|
50
|
-
`,I=i.div``,
|
|
51
|
-
color: ${
|
|
49
|
+
color: ${s.info};
|
|
50
|
+
`,I=i.div``,_=i(g)`
|
|
51
|
+
color: ${s.neutralGrey2Light};
|
|
52
52
|
word-break: break-word;
|
|
53
53
|
white-space: pre-line;
|
|
54
|
-
`,
|
|
54
|
+
`,E=i.div`
|
|
55
55
|
max-width: ${e=>l.contentMaxWidth.valuePx(e.windowSize)};
|
|
56
|
-
`,
|
|
56
|
+
`,W=i.div`
|
|
57
57
|
margin-top: 3px;
|
|
58
58
|
margin-left: 12px;
|
|
59
59
|
width: ${r.sp3};
|
|
@@ -64,8 +64,8 @@ import{V as t,q as m,L as f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,
|
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
color: ${e=>e.theme.colors.hero};
|
|
66
66
|
&:hover {
|
|
67
|
-
color: ${
|
|
67
|
+
color: ${s.primaryDark};
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,C=(e,o,a)=>{let n=u.getLocalizedStrings().common.snackBar[e][o];return a?.forEach(d=>{n=n.replace(d.variableName,d.variableValue)}),n},L=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(T,{});default:return null}};function M(e){const o=m(),{message:a,messageType:n,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[a.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(L,{type:n}):null,t.jsx(E,{windowSize:o,children:t.jsx(I,{children:t.jsx(_,{children:C(a.section,a.text,a.variables)})})}),t.jsx(W,{onClick:c,children:t.jsx(x,{})})]})}const A=e=>t.jsx(O,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(M,{...e.snackbar}):null}),O=i.div`
|
|
70
70
|
background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
|
|
71
|
-
`;export{
|
|
71
|
+
`;export{A as default};
|
package/dist/assets/{AppDrawerContent-DM1t0oLS-DcvMiTTX.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aw as te,v as ae,w as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as de,aa as ce,bn as ue,o as t,bo as pe,aX as b,b4 as f}from"./index-CO_Updpp.js";import{a as o,S as be}from"./sentry-DdXOXL3j.js";import{n as l}from"./mui-ByF8ZmHV.js";import{bk as fe}from"./zeni-epic-state-BiQIJCwr.js";import{v as me}from"./DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.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]="c29f0102-d63b-4515-a7fe-a59ec583c2b3",e._sentryDebugIdIdentifier="sentry-dbid-c29f0102-d63b-4515-a7fe-a59ec583c2b3")}catch{}})();const he=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ge,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
@@ -88,4 +88,4 @@ import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as
|
|
|
88
88
|
height: ${t.sp4};
|
|
89
89
|
align-items: center;
|
|
90
90
|
justify-content: center;
|
|
91
|
-
`;function
|
|
91
|
+
`;function Ge({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:D,selectedMenu:T,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:z,isAiCfoAccessEnabled:F,isNotificationsTabVisible:M,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:Y,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:C=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:L,treasuryYieldPercentage:P,onNotificationIconClick:N,handleLogOutClick:U,handleMenuChange:B,onZeniLogoClick:R,handlePopupClose:G,handleBackClick:S,handleCockpitClick:O,handleTenantSelect:_,updateCurrentChatSessionId:H,handleSettingsClick:v}){const[d,Z]=o.useState(c&&x),g=be.useRef("noAnimation"),Q=fe(m),X=te(),{useFeatureGate:A}=ae(),{isFeatureEnabled:q}=A(k.isReimbursementCommentingEnabled),{isFeatureEnabled:J}=A(k.isBillPayCommentingEnabled),K=se(),W=()=>{g.current="slide-in-right-to-left",v&&v()},ee=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&Z(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ne=g.current,ie=Q||q&&J&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Ae,{isOnDashboard:z,children:[n.jsxs(ke,{children:[n.jsx(oe,{onClick:R,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(le,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:_})]}),n.jsx(je,{children:n.jsx(re,{className:ne,signedInUser:m,selectedMenu:T,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:D,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:F,aiCfoView:Y,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:P,isChargeCardEnabled:$,isNotificationsTabVisible:M,isPerformanceEnabledForUser:K,isExpenseAutomationEnabledForUser:L,onSelectionChanged:B,updateCurrentChatSessionId:H,onBackClick:ee,onPopupClose:G})}),n.jsx(me,{christmasAnimationEnabled:h}),n.jsxs($e,{children:[n.jsx(de,{signedInUser:m,onLogOutClick:U,onSettingsClick:W,onCockpitClick:O,currentTenant:E,isSettingsFeatureEnabled:x}),ie?n.jsx(ce,{controller:u!=null,children:n.jsxs(De,{isDisabled:p,onClick:p?void 0:N,children:[n.jsx(ue,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Te,{})]})}):null]}),n.jsx(ve,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Ge as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as F,q as U,aw as V,F as p,aT as b,V as t,bA as E,A as q,fq as v,dD as S,y as d,o as j,am as G,b as k,d as o}from"./index-CO_Updpp.js";import{n as l}from"./mui-ByF8ZmHV.js";import{Fy as J,Fz as N}from"./zeni-epic-state-BiQIJCwr.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.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]="a2ad9700-04f8-4721-9cee-7d8d5c50e0b3",e._sentryDebugIdIdentifier="sentry-dbid-a2ad9700-04f8-4721-9cee-7d8d5c50e0b3")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:A,onSetupApprovalRulesRemiSectionClick:I})=>{const r=F(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:T}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:z}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:D}=B,{reimbursementSetup:L}=M,{setUp:s}=C,W=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",x=r.mode==="light"?new b(r.colors.brandColorJadeLight):new b(r.colors.brandColorJadeDark),_=J(c,u.loggedInUserRoleMap),H=N(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:W?t.jsx(Y,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[_===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:x},onClick:A,status:m.length>0?T:void 0}),H===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:I,status:f.length>0?z:void 0})]})]})})]})},O=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|
|
@@ -11,7 +11,7 @@ import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as
|
|
|
11
11
|
display: flex;
|
|
12
12
|
min-height: 100%;
|
|
13
13
|
flex-direction: column;
|
|
14
|
-
row-gap: ${
|
|
14
|
+
row-gap: ${j.sp3};
|
|
15
15
|
width: 100%;
|
|
16
16
|
background-color: ${e=>e.theme.colors.grey4};
|
|
17
17
|
`,X=l.div`
|
|
@@ -31,17 +31,17 @@ import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as
|
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
34
|
-
`,K=l(
|
|
34
|
+
`,K=l(G)`
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
38
|
width: ${e=>n.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
39
|
-
margin-bottom: ${
|
|
39
|
+
margin-bottom: ${j.sp5};
|
|
40
40
|
`,ee=l.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
align-items: center;
|
|
43
43
|
|
|
44
44
|
color: ${e=>e.theme.colors.hero};
|
|
45
|
-
font-family: ${
|
|
46
|
-
${
|
|
45
|
+
font-family: ${k.largeMedium.fontFamily};
|
|
46
|
+
${k.standardRegular.css};
|
|
47
47
|
`;export{ue as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,F as f,
|
|
1
|
+
import{V as i,F as f,d7 as k,f as z,b2 as N,d as S,b as w,aW as T,d8 as P,d9 as I,p as h,o as x,al as q}from"./index-CO_Updpp.js";import{a as C,S as H}from"./sentry-DdXOXL3j.js";import{n as j}from"./mui-ByF8ZmHV.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-DQ1OffIu-Bo_aesHa.js";import{bm as D,Fi as B}from"./zeni-epic-state-BiQIJCwr.js";import{N as V,I as W,X as A,Y as G,J as _,K as F}from"./recharts-C9z9JCsM.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]="7b74ce7b-2575-49eb-8561-63bcbf65cbee",e._sentryDebugIdIdentifier="sentry-dbid-7b74ce7b-2575-49eb-8561-63bcbf65cbee")}catch{}})();const Q=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=j.div`
|
|
4
4
|
flex: display;
|
|
@@ -15,10 +15,10 @@ import{V as i,F as f,d6 as k,d as z,b1 as T,c as w,b as S,aV as N,d7 as P,d8 as
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 1px;
|
|
17
17
|
background-color: ${h.neutralGrey3Dark};
|
|
18
|
-
`,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(Q,{children:i.jsxs(U,{children:[i.jsx(E,{color:e[0].color,children:`${e[0].barName}: ${L(e[0].actual)}`}),i.jsx(Z,{}),i.jsx(E,{children:`${f.getLocalizedStrings().chartCard.total}: ${L(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},M=H.memo(te),
|
|
18
|
+
`,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(Q,{children:i.jsxs(U,{children:[i.jsx(E,{color:e[0].color,children:`${e[0].barName}: ${L(e[0].actual)}`}),i.jsx(Z,{}),i.jsx(E,{children:`${f.getLocalizedStrings().chartCard.total}: ${L(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},M=H.memo(te),X=5;function oe(e){const o=P(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,X-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function O(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ae=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>X){const s=oe(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??D.currencyCode,currencySymbol:l[m].amount?.currencySymbol??D.currencySymbol}};const p=O(d);return r.push(...p),{label:c,record:d}}const u=O(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ne=j.div`
|
|
19
19
|
width: ${e=>e.width}px;
|
|
20
20
|
height: ${e=>e.height}px;
|
|
21
|
-
`,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(
|
|
21
|
+
`,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(N,{children:({height:d,width:l})=>i.jsxs(V,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(W,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(A,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>T("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function le(e,o){const r=R(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}const Y=5;function ie(e){const o=P(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,Y-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function $(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>Y){const s=ie(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??B.currencyCode,currencySymbol:l[m].amount?.currencySymbol??B.currencySymbol}};const p=$(d);return r.push(...p),{label:c,record:d}}const u=$(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},de=j.div`
|
|
22
22
|
width: ${e=>e.width}px;
|
|
23
23
|
height: ${e=>e.height}px;
|
|
24
|
-
`,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(me,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(de,{width:t,height:n,children:i.jsx(
|
|
24
|
+
`,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(me,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(de,{width:t,height:n,children:i.jsx(N,{children:({height:d,width:l})=>i.jsxs(V,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(W,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(A,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>T("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ge(e,o){const r=R(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}export{je as L,ke as k};
|
|
@@ -0,0 +1,46 @@
|
|
|
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};
|