@zeniai/web-cockpit-ui 1.15.8-qa → 1.15.9-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-BVkQ4K87-2mUod8Ze.js +21 -0
- package/dist/assets/{AIPerformancePage-nAXYlFHx-D8t7UfO6.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
- package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C6fN_njt-HYk5LymM.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-xGH31FUE.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
- package/dist/assets/{AccountRow-C0plHrDu-BHbrjlQa.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
- package/dist/assets/{AccountsPromoCardStack-BCRuoijH-BiUfxCis.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
- package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
- package/dist/assets/{AddToWalletPage-CKPw3FXG-1yjoUpl3.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
- package/dist/assets/{AgingReportsPage-BLYXtrbx-ChP2VVRq.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
- package/dist/assets/{AllUserItems-CIuKSRs--BSTdrFJx.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
- package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
- package/dist/assets/{AppBasePage-zQkWIZIS-J73aeT5P.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
- package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-Cn6qw6gU.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
- package/dist/assets/{ArAgingChart-Dv9GPrlk-BDO04yvC.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-vW-JcTgF-CdtFinK-.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
- package/dist/assets/{AttachmentView-CHgDKLit-CNDwc0Eo.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
- package/dist/assets/{BankAccountSection-danXlJW--CGFGOQdm.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
- package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-DBmd09rV.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
- package/dist/assets/{BillDetailPage-BD2IX-iP-QIATdRex.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-JKxreggo.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-DrTI5_46.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
- package/dist/assets/{BillPayPromoPage-C7PX-EVL-DDmbTE9O.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-Czno3Zre-BE6uTwDe.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
- package/dist/assets/{BillingSettingsPage-DwBAvbyP-BOeTv55Y.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
- package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
- package/dist/assets/{BoxItem-CQn8-mlp-BpjhTACd.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Pj_43PYG-BBfAZpRu.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
- package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
- package/dist/assets/{CashbackDetailPage-BPGA9iT0-pfH6WY-d.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-draAZn9S-BLHAWsUD.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
- package/dist/assets/{ChargeCardListPage-gsG1eX_i-DncsEeIV.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DVFpdT9f-D6Qv1C8v.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
- package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-KYpdTWjw.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
- package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-63DpNOd1.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-BSLQYECC.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-D2wZXg2E.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
- package/dist/assets/{CollapsableReportTable-D9EGRkFb-rtyJvli3.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
- package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-P80aH3rj.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
- package/dist/assets/{CompanyPassportCard--3g9aidd-DEP92iFu.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
- package/dist/assets/{CompanyPassportPage-BhF3zWN0-D1AeDDw0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
- package/dist/assets/{CompleteProfile-iee5HgiC-DWDz1H5n.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
- package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-DUgUVqol.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-BQoH4AnG.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
- package/dist/assets/{CurrencySelectField-CcU9PAOW-UhjAv5pw.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-BfLZrVA_.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-B7Pjeba4.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CP969grW-DSt_mh2c.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-KXFyyrbX.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
- package/dist/assets/{Dashboard-CKSEolZn-KkJW27CG.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
- package/dist/assets/{DashboardReportPage-JLORU_HF-Cpq1a7z1.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-AvtdKUwZ.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BCChPgpu.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-DBkE3G1h.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
- package/dist/assets/{DownloadOverlay-D7AI3CGS-BSXz1TYL.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
- package/dist/assets/{DrawerPage-BiQurb8Q-CwosoM_H.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
- package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-C2zvDGNE.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
- package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
- package/dist/assets/{EntitySummarySection-dbyZ3ZMD-DIUFVdBF.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-D_hqg6CV.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
- package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-ozrsfKpW.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
- package/dist/assets/{ExpressPayPage-CaBFl4M3-CpnlRAIb.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
- package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
- package/dist/assets/{FollowStepsSection-BGZ3rzSO-DZqA0Ls-.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-DIiVT0qf-C1h-R-9P.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
- package/dist/assets/{InformationCardStack-BZIU9Bwm-BPjI_Aqf.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
- package/dist/assets/{InsightsCardStack-BZ6yws_x-l5SDGStI.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
- package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-D0GHOz8k.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-D4jFazij.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
- package/dist/assets/{InviteFormPage-C-_fbwpS-Dc7fjvDO.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
- package/dist/assets/{InvitePageListView-DX3LFpcZ-x0SBH5kb.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
- package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
- package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BSax9G6t-li0Yc8Qz.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
- package/dist/assets/{LabeledAddressValue-kz4tRnLH-fkTasFZL.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D950JjHi-CobscTGb.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--D8QByb_Y.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-y52IAHGb.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-Baz8OVT_.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
- package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
- package/dist/assets/{LabeledMultiSelectField-CIuHS55z-BSvQJ-Z0.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
- package/dist/assets/{LabeledText-D0g7m29R-cxnm614T.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BrxkJlKg.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
- package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-BV8yj32-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
- package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
- package/dist/assets/{LockCardPage-XgZwsozn-DcNxXIWb.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
- package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-hreLPWO1.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-B9qDUBZ-.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
- package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-D0Sufsix.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
- package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
- package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
- package/dist/assets/{NavigationArrow-BuPVGh38-XNHRi9o5.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
- package/dist/assets/{NavigationDots-CLd0nZZT-CV65Lnrl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DrYC7XeB.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
- package/dist/assets/{NoDataChart-VrW0gNeK-D9AHc7Vl.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
- package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
- package/dist/assets/{NotFoundPage-CvuhMeh3-DqU44v-s.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-612cyOPa-B2Br4UTC.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
- package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
- package/dist/assets/{NotificationsPage-DOq8YY_K-DXXt11Bj.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
- package/dist/assets/{OpExByVendorPage-JhAQyVWO-CFIAoogA.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
- package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B8WG6VDM-DheE6AGf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-wAvdlMUp.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
- package/dist/assets/{PeoplePage-BJui-Wgk-ZqLOzULs.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
- package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
- package/dist/assets/{ProductsCarousel-CGhEa82h-DIdMDRd_.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
- package/dist/assets/{PromoBaseCards-1PF_kyGP-BRJ2sUha.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BVpU5kvg-HDDG_kF6.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
- package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-zXLIrPpr.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-ClYVlFhQ.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
- package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-BjjCmbcS.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-DF7X2SfJ.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
- package/dist/assets/{ReloadCard-crbWeOPP-CXnI4BBC.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-KXoOW677-VB10UJ6e.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
- package/dist/assets/{ReportsPage-C3Jj54B2-BeGQBjYf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
- package/dist/assets/{RevenueChart-B2lwdex1-Cn6eIKBB.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BzJuymlx-De8jeqFq.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
- package/dist/assets/{ReviewOverlay-CXHcM5J8-CWmuYC1c.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
- package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-4LVdyrEA.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-MEIZsagy-Bs57M6oJ.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
- package/dist/assets/{ScreenRoutes-Br3O3Bv3.js → ScreenRoutes-esZWtP8Y.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Drp97o6h-CUmuMQTP.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
- package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
- package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-DsXDsMNB.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CDT-okI2.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
- package/dist/assets/{SpendManagementSection-WqBeexgm-FC3yMOoP.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
- package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
- package/dist/assets/{StatementsPage-ProqQbaP-Bwe3MvOf.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
- package/dist/assets/{StatusSwitcher-CWQs9lpu-vdzoI5uC.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
- package/dist/assets/{SubTabSwitcher-B2uBojsp-BscSJfWm.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
- package/dist/assets/{SummaryCard-Dcd_VUph-CtvPqFVw.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
- package/dist/assets/{TaskManagementPage-BM9VR6Lt-96HNn42p.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
- package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-C7Lz4In0.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
- package/dist/assets/{TimeframeSwitcher--oC4RNb6-9wGsnDTh.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-IGT58opJ.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
- package/dist/assets/{TopExCard-DQ50kCvS-ChFGt_1f.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
- package/dist/assets/{TopExDetailPage-iwv1KNmn-D2goxRJ1.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
- package/dist/assets/{TransactionDetailPage-dcUFs9xb-D1c2i9oL.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
- package/dist/assets/{TransactionList-1g-61_2b-BsVHB-dP.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
- package/dist/assets/{TransactionListBig-CSrLWjaV-DmreU3Pg.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
- package/dist/assets/{TransactionListPage-CKkWpoxH-DwZxceId.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Da7F6NI9.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
- package/dist/assets/{TransferDrawerPage-nyepeege-C5aOIw_t.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-CkaOtstB-Cb7VOc7Q.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-B55rqmLO-B6nyli4-.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
- package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
- package/dist/assets/{TrendChart-BsSVNJm5-C5P4NUjk.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B6iLzpiJ-CD-GjoX8.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-BzXjBs-h.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CEtqPMTy-CkFNHSgJ.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BPoFrkoj-CrkNrLcq.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
- package/dist/assets/{VendorDetailPage-C0qX459r-DAL6sRtd.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
- package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-DUD0rine.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-BgMJtPzx.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
- package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DKjAmytq.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
- package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-BmGEajTn.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
- package/dist/assets/{VerifyDevice-B23jU0_c-Y4SYDFq4.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
- package/dist/assets/{VideoPlayer-CylTUX4X-DSxfswME.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
- package/dist/assets/{VideoPopup-C9x0ntQ5-BVA3i-oV.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DrjxA1t_-BoFSpSiS.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-CIWx2G2v.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-C79um01B.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-B2My929b.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-BE975QGg-D-DppFIe.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
- package/dist/assets/{ZeniCopyright-eB9rNuZ3-cNG8Rw7j.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
- package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
- package/dist/assets/{analyticsHelper-CLY1vV_E-BwSnChaf.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
- package/dist/assets/{analyticsHelper-fz25hsmq.js → analyticsHelper-CM3pI6rO.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
- package/dist/assets/{chartTypes-BjaXr-A2-D3DBmfud.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
- package/dist/assets/{commonDimensions-C0X17W9N-CR9paNIq.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
- package/dist/assets/{commonTypes-BN7Uh_8W-BM1Dtb_1.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
- package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
- package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
- package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
- package/dist/assets/{detailCommon-D9PsnkY1-D9_PN47h.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
- package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
- package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
- package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
- package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
- package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
- package/dist/assets/{index-e-SZUuyN.js → index-AqGiWrum.js} +4262 -4259
- package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
- package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
- package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
- package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
- package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
- package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
- package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
- package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
- package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
- package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
- package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
- package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
- package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
- package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
- package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
- package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
- package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
- package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
- package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
- package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
- package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
- package/dist/assets/{uploadAttachment-BLADYUsp-CuyJL9Ae.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
- package/dist/assets/{uploadReceipts-CLN2DLHQ-BcmoXhPJ.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
- package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
- package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
- package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
- package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-C4kSZtcW-CRAncXjZ.js +0 -21
- package/dist/assets/AccountInfoPage-BgYgT10O-BPubXPU8.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DRmaVRzS-Dz8UCOQu.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-HjaseCvO.js +0 -6
- package/dist/assets/ApAgingDetailPage-DeqICFKW-BGrGI80f.js +0 -46
- package/dist/assets/AppDrawerContent-OIrm7j-k-CAl-h4tc.js +0 -91
- package/dist/assets/BankAccountWarningSection-Byabqq8Z-B6b9o7wy.js +0 -51
- package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-Btjur5rB.js +0 -1
- package/dist/assets/CardNumberSubText-2Tw37MOu-Na5odSIe.js +0 -21
- package/dist/assets/ChargeCardPromoPage-DIxy-YcS-CPRuhZCR.js +0 -222
- package/dist/assets/ConfettiBurst-Dl2Z6LKw-BXiTHcqO.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-DlPVcAtZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-CBl7xIv9.js +0 -66
- package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-DgEcVBWB.js +0 -66
- package/dist/assets/EditPeoplePage-DkLTV485-DSmYd3gF.js +0 -55
- package/dist/assets/EntityDetailPage-ougFUO1M-D5lOJcsX.js +0 -18
- package/dist/assets/FeaturePreviewPage-BY7VDaUB-BlOtvf2P.js +0 -11
- package/dist/assets/InsightsSection-CdlmvyOs-CSbQ6jxV.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-CzF6c2rU.js +0 -65
- package/dist/assets/InvitePeoplePage-DOfw4ntH-Bnv1S2jS.js +0 -12
- package/dist/assets/InvoiceUploadSection-7NLq2wUY-D1Ujr_CT.js +0 -140
- package/dist/assets/LabeledDocumentField-y5kqHnHe-Cd6aBb3C.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-8L8nXgg2.js +0 -59
- package/dist/assets/LinkJETransactionPage-DQUYzOEN-CAqtea48.js +0 -98
- package/dist/assets/LowBalancePopup-ChBTdcM2-BRhnRaDc.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-Caq0ps9o.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-Cl_8tBOk.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-oQ1LN-Ng.js +0 -1
- package/dist/assets/MailingDetailsSection-C_ZYNZtm-CJ5xMswj.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-BmwV3pjH.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BHZrydBY-B_909T6y.js +0 -85
- package/dist/assets/NavBarWithPicker-DfM5Vi5g-BWJESbaI.js +0 -30
- package/dist/assets/NoDataTable-CZaHTbXi-cbckRR4v.js +0 -8
- package/dist/assets/NotificationsListConfig-CrNHxW9v-KkWyZsCx.js +0 -1
- package/dist/assets/OverlayContainerPage-CEiw6dk7-D-uaIGKT.js +0 -11
- package/dist/assets/QBOSetupSection-QpfgbXqT-DygUgRVU.js +0 -79
- package/dist/assets/ReimbursementDetailPage-BntmMmsa-DBIHpTWQ.js +0 -314
- package/dist/assets/ReimbursementPromoPage--ddzF7ri-C8Whx13o.js +0 -84
- package/dist/assets/RoleWithToolTip-q4rQTPKj-DnZtHqjj.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-RHoI8Wq9.js +0 -37
- package/dist/assets/SignIn-YqQXhCUb-DTchfIMW.js +0 -491
- package/dist/assets/SignInScreen-BEl-iT5I.js +0 -1
- package/dist/assets/StatementItem-DNtPyOiC-Cwms937J.js +0 -31
- package/dist/assets/TreasuryStatementsPage-DA72LRB2-BCFMT-Wb.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-BvK8_LPp.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-19i7WD8j.js +0 -38
- package/dist/assets/VendorACHDetailsPage-_UmamDKx-DnLhvKeC.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-D6ans18-.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-CGNH7X2x.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-Jh4OQT7x.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb-D5scnWJV.js +0 -63
- package/dist/assets/downloadPdf-DE7Hd8jE-BAK9xguG.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-BKTQHVzy.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-CE09aSrt.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-hu7JWeUA.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-DtuP5OpB.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-BgK_pIe_.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-H65zpMKu.js +0 -1
- package/dist/assets/toCOABalancesWithID-DPAmy3GS-PiTKgxz9.js +0 -1
- package/dist/assets/toChartData-D5QdTlGa-DLv4zZlP.js +0 -1
package/dist/assets/{AgingReportsPage-BLYXtrbx-ChP2VVRq.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as U,Q as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as je,y as D,aa as T,g4 as ke,F as x,o as N,aT as Pe,u as m,aN as X,ce as Be,cf as $e,cg as Ie,al as Me,ch as Ae,b3 as ne,aD as oe,aV as re}from"./index-AqGiWrum.js";import{a as f}from"./sentry-CTKU7CLc.js";import{n as y}from"./mui-C_Pjuwl5.js";import{bh as F,FW as Ye}from"./zeni-epic-state-Cl3KIlic.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-DDYQFnOL-BvAsGOBT.js";import{C as ie}from"./NoDataChart-Bwc_xftR-BPirwt2c.js";import{I as se,R as $}from"./CollapsableReportTable-CpOmWQO--CCW_jG6A.js";import{d as le}from"./NoDataTable-D_VKD0kA-DmQluo-I.js";import{l as ce}from"./mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./chartTypes-CiiHHtlc-DhZqwiAZ.js";import"./AccountRow-DvTUqeYB-Coj4ZTWN.js";import"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.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]="3a1d737b-77e7-457d-8c97-6e62be4efc3c",e._sentryDebugIdIdentifier="sentry-dbid-3a1d737b-77e7-457d-8c97-6e62be4efc3c")}catch{}})();const Te={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=>
|
|
8
|
-
padding-bottom: ${
|
|
9
|
-
`;function
|
|
7
|
+
height: ${e=>Te.chartHeight.valuePx(e.windowSize)};
|
|
8
|
+
padding-bottom: ${N.sp6};
|
|
9
|
+
`;function Fe({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Re,{report:e}):t.jsx(Ke,{report:e})}function Re({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 Ke({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 Ue({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(Ue({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function qe({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 q({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 He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=q({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>qe({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}},We=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=q({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=q({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;
|
|
13
|
-
padding-top: ${e=>
|
|
14
|
-
padding-left: ${e=>
|
|
13
|
+
padding-top: ${e=>v.wrapperPadding.valuePx(e.windowSize)};
|
|
14
|
+
padding-left: ${e=>v.wrapperPadding.valuePx(e.windowSize)};
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
|
-
height: calc(100vh - ${
|
|
19
|
-
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(
|
|
18
|
+
height: calc(100vh - ${N.sp11});
|
|
19
|
+
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=U(),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=He(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 Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[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 C=We(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[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 Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{e as U,J as O,i1 as _e,V as t,i2 as De,bO as ve,i3 as Ne,bD as Oe,bC as j
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ae)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>
|
|
37
|
+
`;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{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:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:R,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,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:H}=c,{authParams:W,downloadEndPoint:G,timezone:V}=l,J=f.useCallback((h,S)=>{const P=ae(S);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):F().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),Q=f.useCallback(h=>{const S=_e({options:B.preComputedDurationOptions.map(({label:E,value:Se})=>({label:E,value:Ye(Se)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(S);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):F().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,S)=>{C(h,S),r.trackAgingReportSortChange(M(w),S,h)},[r,C,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:F(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:J},onSelectedDateChanged:Q}),[b,J,Q,H]);if(f.useEffect(()=>{async function h(){const S={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:V,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(G,W,S),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[W,G,l.companyName,I,o,w,k,z,L,Y,b,r,V]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Ce=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:Ce,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(T,{controller:j==="Completed",children:[t.jsx(T,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Fe,{report:n})]})}),t.jsx(Ge,{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,R.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${R.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);
|
|
@@ -48,7 +48,7 @@ import{e as U,J as O,i1 as _e,V as t,i2 as De,bO as ve,i3 as Ne,bD as Oe,bC as j
|
|
|
48
48
|
border-radius: 50%;
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
& svg {
|
|
51
|
-
margin: ${
|
|
51
|
+
margin: ${N.sp5};
|
|
52
52
|
color: ${e=>e.theme.colors.grey1};
|
|
53
53
|
}
|
|
54
54
|
&:hover {
|
|
@@ -57,7 +57,7 @@ import{e as U,J as O,i1 as _e,V as t,i2 as De,bO as ve,i3 as Ne,bD as Oe,bC as j
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
`,rt=y(Pe)`
|
|
60
|
-
margin-top: ${
|
|
60
|
+
margin-top: ${N.sp3};
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
62
|
`,it=y.div`
|
|
63
63
|
display: flex;
|
|
@@ -66,13 +66,13 @@ import{e as U,J as O,i1 as _e,V as t,i2 as De,bO as ve,i3 as Ne,bD as Oe,bC as j
|
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
width: 100%;
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey5};
|
|
69
|
-
padding: ${
|
|
69
|
+
padding: ${N.sp0};
|
|
70
70
|
gap: 2px;
|
|
71
71
|
`,st=y.div`
|
|
72
|
-
margin-bottom: ${
|
|
72
|
+
margin-bottom: ${N.sp6};
|
|
73
73
|
`,lt=y.div`
|
|
74
74
|
position: relative;
|
|
75
|
-
box-shadow: ${e=>`2px 2px ${
|
|
75
|
+
box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
76
|
background-color: ${e=>e.theme.colors.grey5};
|
|
77
77
|
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
78
78
|
padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cI as Y,ej as je,Q as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as ie,al as ne,c_ as Pe,ch as Ce,u as L,bS as Se,aJ as te,cA as G,gP as de,fX as R,fU as J,fV as K,fW as ce,fY as pe,a$ as me,gQ as Te,p as ue,cZ as ge,am as he,er as Oe,ad as Re}from"./index-AqGiWrum.js";import{n as p}from"./mui-C_Pjuwl5.js";import{FB as ze,bg as X}from"./zeni-epic-state-Cl3KIlic.js";import{a as E}from"./sentry-CTKU7CLc.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js";import{j as fe,C as be}from"./LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.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]="fd9c3b34-afa2-457c-a606-54965a62d0a4",e._sentryDebugIdIdentifier="sentry-dbid-fd9c3b34-afa2-457c-a606-54965a62d0a4")}catch{}})();const M=(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:y,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Y(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(G.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(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(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,b)},productsByUserRole:J(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(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],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}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(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(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||b?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,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(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},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{cJ as Y,ek as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,O as Z,r as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:D}=Y(),$=oe.largeLabelWidth.value(w),[N,...B]=y,u=B.map(d=>d.email).join(","),r=E.useMemo(()=>G.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return E.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(Be,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(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(I=>!I.match(Te)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:qe(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:J(e.role,b)},registerOptions:{required:!0}}}),l.jsx(q,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],k=h.find(T=>T.classId===j.userRole.accountingClassIDs[0]),f=[];return k!=null&&f.push(k.className),f}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(q,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(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(q,{}),U?null:l.jsxs(Me,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>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))},Be=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -60,7 +60,7 @@ import{cJ as Y,ek as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,O as Z,r as
|
|
|
60
60
|
background-color: ${e=>e.theme.colors.grey3};
|
|
61
61
|
min-height: 1px;
|
|
62
62
|
max-height: 1px;
|
|
63
|
-
`,
|
|
63
|
+
`,Me=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};
|
|
@@ -89,10 +89,10 @@ import{cJ as Y,ek as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,O as Z,r as
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,qe=(e,t,o,a,s)=>{if(
|
|
92
|
+
`,qe=(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}},Ee=({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"})]})},Ve=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,W={buttonWidth:new
|
|
95
|
+
`,W={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])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:G.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,y)},productsByUserRole:J([],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:y,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Y(),{append:B,remove:u}=je({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const f=n.length-1,T=He(f+1,b,U,y,v,w,C);setTimeout(()=>B(T,{shouldFocus:!0}))},I=f=>{a(f)},j=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Je,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((f,T)=>{const Ie=n.length;let V={};if(y==="zeni_only")V={email:f.email,role:Ge(f.role.selectedOptions,S)??void 0};else{const ee=f.nonZeniRole?.userRole.selectedRole,A=ee!=null?(f.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;V={email:f.email,role:A,managerId:le?void 0:f.manager?.selectedUser,departmentId:le?void 0:f.department?.selectedOption?.value}}return l.jsxs(Ke,{"data-testid":P("user-item",f.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:V,mode:y,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,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}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Ye,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Ye=({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(Xe,{"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:W.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:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ge=(e,t)=>t?e:e!=null?[e]:[],Je=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import{g as R,Q as B,F as g,V as o,bN as H,g4 as K,bB as U,cl as J,o as T,aT as V,bC as W,y as A,ce as q,cf as Q,cg as G,u}from"./index-AqGiWrum.js";import{a as _}from"./sentry-CTKU7CLc.js";import{n as i}from"./mui-C_Pjuwl5.js";import{W as X,L as Z}from"./EntitySummarySection--ty3w4lI-o5ULFAtA.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="4f1cc157-c463-4965-aa36-97c2251e5ddb",e._sentryDebugIdIdentifier="sentry-dbid-4f1cc157-c463-4965-aa36-97c2251e5ddb")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
max-width: 99.9%;
|
|
6
|
+
`,oe=i.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: calc(100% - 60px);
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,te=i.div`
|
|
14
|
+
height: 96px;
|
|
15
|
+
width: 96px;
|
|
16
|
+
background: ${e=>e.theme.colors.background};
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
& svg {
|
|
20
|
+
margin: ${T.sp5};
|
|
21
|
+
color: ${e=>e.theme.colors.grey1};
|
|
22
|
+
}
|
|
23
|
+
&:hover {
|
|
24
|
+
& svg {
|
|
25
|
+
color: ${e=>e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`,re=i(V)`
|
|
29
|
+
margin-top: ${T.sp3};
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
`,ae=i.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
min-height: 100%;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
width: 100%;
|
|
36
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
+
`,ne=i.div`
|
|
38
|
+
display: block;
|
|
39
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
+
height: calc(100vh - 178px);
|
|
41
|
+
margin-top: ${e=>b.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
+
`,ie=i.div`
|
|
43
|
+
margin-left: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
+
margin-right: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
+
height: 100%;
|
|
46
|
+
`;function _e(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:$,timezone:k}=a,{fetchState:m,invoices:I,apAgingDetailUIState:z,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:v,downloadState:y}=z,[j,P]=_.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,Y=_.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),S(c,f)},[d,r.vendor,t,S]);if(_.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:v,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:k,reportDate:t};await se($,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,v,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,$,a.companyName,y,j,t,D,v,k,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const O=o.jsx(W,{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(U,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(X,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:I.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(Z,{uiState:z,invoices:I,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:Y,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await q({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=Q(t.headers,a.defaultFileName),w=await t.arrayBuffer();G(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{V as t,
|
|
1
|
+
import{V as t,Q as m,x,o as r,y as p,p as a,aT as g,F as u,bp as f,cY as b,dM as $,cX as w}from"./index-AqGiWrum.js";import{n as i,k as y}from"./mui-C_Pjuwl5.js";import{a as j}from"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="bf961e9b-39a5-441d-9164-964bbdf67908",e._sentryDebugIdIdentifier="sentry-dbid-bf961e9b-39a5-441d-9164-964bbdf67908")}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
|
}
|
|
5
5
|
100% {
|
|
6
6
|
transform: translateX(0)
|
|
7
7
|
}
|
|
8
|
-
`,v=
|
|
8
|
+
`,v=i.div`
|
|
9
9
|
position: fixed;
|
|
10
10
|
top: ${r.sp3};
|
|
11
11
|
right: ${r.sp3};
|
|
@@ -23,37 +23,37 @@ import{V as t,J as m,x,o as r,y as p,p as a,aU as g,O as u,bq as f,cZ as $,dN as
|
|
|
23
23
|
justify-content: center;
|
|
24
24
|
align-items: flex-start;
|
|
25
25
|
animation: ${k} 0.4s;
|
|
26
|
-
`,S=
|
|
26
|
+
`,S=i(w)`
|
|
27
27
|
margin-top: 2px;
|
|
28
28
|
margin-right: 12px;
|
|
29
29
|
width: ${r.sp3};
|
|
30
30
|
height: ${r.sp3};
|
|
31
31
|
color: ${a.success};
|
|
32
|
-
`,D=
|
|
32
|
+
`,D=i($)`
|
|
33
33
|
margin-top: 2px;
|
|
34
34
|
margin-right: 12px;
|
|
35
35
|
width: ${r.sp3};
|
|
36
36
|
height: ${r.sp3};
|
|
37
37
|
color: ${a.info};
|
|
38
|
-
`,z=
|
|
38
|
+
`,z=i(b)`
|
|
39
39
|
margin-top: 2px;
|
|
40
40
|
margin-right: 12px;
|
|
41
41
|
width: ${r.sp3};
|
|
42
42
|
height: ${r.sp3};
|
|
43
43
|
color: ${a.important};
|
|
44
|
-
`,I=
|
|
44
|
+
`,I=i(f)`
|
|
45
45
|
margin-top: 2px;
|
|
46
46
|
margin-right: 12px;
|
|
47
47
|
width: ${r.sp3};
|
|
48
48
|
height: ${r.sp3};
|
|
49
49
|
color: ${a.info};
|
|
50
|
-
`,T=
|
|
50
|
+
`,T=i.div``,W=i(g)`
|
|
51
51
|
color: ${a.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
|
+
`,M=i.div`
|
|
57
57
|
margin-top: 3px;
|
|
58
58
|
margin-left: 12px;
|
|
59
59
|
width: ${r.sp3};
|
|
@@ -66,6 +66,6 @@ import{V as t,J as m,x,o as r,y as p,p as a,aU as g,O as u,bq as f,cZ as $,dN as
|
|
|
66
66
|
&:hover {
|
|
67
67
|
color: ${a.primaryDark};
|
|
68
68
|
}
|
|
69
|
-
`,_=(e,
|
|
69
|
+
`,_=(e,o,s)=>{let n=u.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(d=>{n=n.replace(d.variableName,d.variableValue)}),n},O=({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(I,{});default:return null}};function P(e){const o=m(),{message:s,messageType:n,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(O,{type:n}):null,t.jsx(E,{windowSize:o,children:t.jsx(T,{children:t.jsx(W,{children:_(s.section,s.text,s.variables)})})}),t.jsx(M,{onClick:c,children:t.jsx(x,{})})]})}const Y=e=>t.jsx(V,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(P,{...e.snackbar}):null}),V=i.div`
|
|
70
70
|
background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
|
|
71
|
-
`;export{
|
|
71
|
+
`;export{Y as default};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import{aw as oe,P as le,v as A,bj as re,V as n,bk as de,bl as ce,bm as ue,bn as pe,aa as be,bo as fe,o as t,bp as me,av as b,b5 as f}from"./index-AqGiWrum.js";import{a as o,S as he}from"./sentry-CTKU7CLc.js";import{n as l}from"./mui-C_Pjuwl5.js";import{bk as ge}from"./zeni-epic-state-Cl3KIlic.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="4e5483f8-0e03-4b48-8f56-a9f95bc6a892",e._sentryDebugIdIdentifier="sentry-dbid-4e5483f8-0e03-4b48-8f56-a9f95bc6a892")}catch{}})();const Ee=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(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 0;
|
|
4
|
+
bottom: -${t.sp3};
|
|
5
|
+
display: flex;
|
|
6
|
+
height: auto;
|
|
7
|
+
right: ${t.sp0};
|
|
8
|
+
`,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(we,{children:n.jsx(f,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),we=l.div`
|
|
9
|
+
position: absolute;
|
|
10
|
+
z-index: 0;
|
|
11
|
+
bottom: ${t.sp0};
|
|
12
|
+
display: flex;
|
|
13
|
+
height: auto;
|
|
14
|
+
right: ${t.sp0};
|
|
15
|
+
width: 100%;
|
|
16
|
+
`,Se=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(ke,{children:n.jsx(f,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ke=l.div`
|
|
17
|
+
position: absolute;
|
|
18
|
+
z-index: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
bottom: ${t.sp0};
|
|
21
|
+
display: flex;
|
|
22
|
+
height: 135px;
|
|
23
|
+
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/halloween-bg.svg);
|
|
24
|
+
background-size: auto;
|
|
25
|
+
background-repeat: no-repeat;
|
|
26
|
+
background-position-y: bottom;
|
|
27
|
+
left: 0;
|
|
28
|
+
`,ve=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Ae,{children:n.jsx(f,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ae=l.div`
|
|
29
|
+
position: absolute;
|
|
30
|
+
z-index: 0;
|
|
31
|
+
bottom: ${t.sp0};
|
|
32
|
+
display: flex;
|
|
33
|
+
height: auto;
|
|
34
|
+
right: ${t.sp0};
|
|
35
|
+
`,je=o.memo(function({christmasAnimationEnabled:e=!1,halloweenAnimationEnabled:i=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return i?n.jsx(Se,{animationEnabled:i}):a?n.jsx(ve,{animationEnabled:a}):e?n.jsx(Ce,{animationEnabled:e}):s?n.jsx(Ee,{animationEnabled:s}):null}),$e=l.div`
|
|
36
|
+
display: flex;
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
padding-left: ${t.sp4};
|
|
40
|
+
width: 240px;
|
|
41
|
+
position: relative;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
box-shadow: ${e=>e.isOnDashboard?"none":`inset -2px 0 ${t.sp1} -2px ${e.theme.colors.dropShadowNormal}`};
|
|
44
|
+
`,Te=l.div`
|
|
45
|
+
padding-left: ${t.sp3};
|
|
46
|
+
`,De=l.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
flex: 1 1 auto;
|
|
50
|
+
padding: 0 ${t.sp1} 0 12px;
|
|
51
|
+
overflow-y: auto;
|
|
52
|
+
overflow-x: visible;
|
|
53
|
+
min-height: 0;
|
|
54
|
+
margin-top: ${t.sp4};
|
|
55
|
+
|
|
56
|
+
/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
|
|
57
|
+
&::-webkit-scrollbar {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Hide scrollbar for Firefox */
|
|
62
|
+
scrollbar-width: none;
|
|
63
|
+
|
|
64
|
+
/* Hide scrollbar for IE and Edge */
|
|
65
|
+
-ms-overflow-style: none;
|
|
66
|
+
`,Ie=l.div`
|
|
67
|
+
margin: ${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
68
|
+
width: fit-content;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
align-items: center;
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
`,Me=l.div`
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
position: relative;
|
|
79
|
+
margin-left: ${t.sp2};
|
|
80
|
+
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
81
|
+
color: ${e=>e.theme.colors.hero};
|
|
82
|
+
&:hover {
|
|
83
|
+
color: ${e=>e.theme.colors.primary};
|
|
84
|
+
}
|
|
85
|
+
z-index: 1;
|
|
86
|
+
`,Pe=l(me)`
|
|
87
|
+
display: flex;
|
|
88
|
+
width: ${t.sp4};
|
|
89
|
+
height: ${t.sp4};
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
`;function Oe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:P,isAiCfoAccessEnabled:V,isNotificationsTabVisible:z,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:R,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:w=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:Y,isTaskManagerAccessEnabled:F,treasuryYieldPercentage:N,onNotificationIconClick:L,handleLogOutClick:U,handleMenuChange:_,onZeniLogoClick:B,handlePopupClose:G,handleBackClick:S,handleCockpitClick:H,handleMyProfileClick:k,handleReferralsClick:O,handleTenantSelect:Z,onDeleteChatSession:J,updateCurrentChatSessionId:X}){const[d,K]=o.useState(c&&x),g=he.useRef("noAnimation"),W=ge(m),q=oe(),{useFeatureGate:v}=le(),{isFeatureEnabled:Q}=v(A.isReimbursementCommentingEnabled),{isFeatureEnabled:ee}=v(A.isBillPayCommentingEnabled),ne=re(),ie=()=>{g.current="slide-in-right-to-left",k&&k()},te=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&K(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ae=g.current,se=W||Q&&ee&&!q.loggedInUserRole.includes("investor_or_banker");return n.jsxs($e,{isOnDashboard:P,children:[n.jsxs(Te,{children:[n.jsx(de,{onClick:B,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C}),n.jsx(ce,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:Z})]}),n.jsx(De,{children:n.jsx(ue,{className:ae,signedInUser:m,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:R,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:N,isChargeCardEnabled:$,isNotificationsTabVisible:z,isPerformanceEnabledForUser:ne,isExpenseAutomationEnabledForUser:Y,isTaskManagerAccessEnabled:F,onSelectionChanged:_,onDeleteChatSession:J,updateCurrentChatSessionId:X,onBackClick:te,onPopupClose:G})}),n.jsx(xe,{christmasAnimationEnabled:h}),n.jsxs(Ie,{children:[n.jsx(pe,{signedInUser:m,onLogOutClick:U,onMyProfileClick:ie,onReferralsClick:O,onCockpitClick:H,currentTenant:E,isSettingsFeatureEnabled:x}),se?n.jsx(be,{controller:u!=null,children:n.jsxs(Me,{isDisabled:p,onClick:p?void 0:L,children:[n.jsx(fe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Pe,{})]})}):null]}),n.jsx(je,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C})]},d.toString())}export{Oe as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as U,Q as V,aw as E,F as p,aV as x,V as t,bB as F,T as Q,fs as v,dE as S,y as d,o as k,am as G,b as j,u as o}from"./index-AqGiWrum.js";import{n as l}from"./mui-C_Pjuwl5.js";import{Fy as J,Fz as N}from"./zeni-epic-state-Cl3KIlic.js";import"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="909fad8d-9e05-420a-85ab-d83eb2043ef0",e._sentryDebugIdIdentifier="sentry-dbid-909fad8d-9e05-420a-85ab-d83eb2043ef0")}catch{}})();const a={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:n,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:T,onSetupApprovalRulesRemiSectionClick:z})=>{const r=U(),i=V(),u=E(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:I}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:$}=n,{commonSetUp:A,spendManagement:C}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:D}=C,{billPaySetup:M}=B,{reimbursementSetup:W}=D,{setUp:s}=A,L=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",b=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),_=J(c,u.loggedInUserRoleMap),H=N(c,u.loggedInUserRoleMap);return t.jsxs(X,{children:[t.jsx(F,{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(Y,{windowSize:i,children:L?t.jsx(Z,{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(q,{windowSize:i,children:[_===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(i),height:a.iconWidthHeight.valuePx(i)}),color:b},onClick:T,status:m.length>0?I:void 0}),H===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(i)}),color:b},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(i)},onClick:z,status:f.length>0?$:void 0})]})]})})]})},O=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|
|
@@ -31,7 +31,7 @@ import{e as F,J as U,ax as V,O as p,aW as x,V as t,bC as E,T as J,ft as v,dF as
|
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
row-gap: ${e=>a.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;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import{V as i,
|
|
1
|
+
import{V as i,F as f,d8 as k,g as z,b3 as T,u as S,b as w,aY as N,d9 as P,da as I,p as h,o as x,al as q}from"./index-AqGiWrum.js";import{a as C,S as H}from"./sentry-CTKU7CLc.js";import{n as j}from"./mui-C_Pjuwl5.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-CiiHHtlc-DhZqwiAZ.js";import{bm as D,Fi as B}from"./zeni-epic-state-Cl3KIlic.js";import{N as V,I as A,X as W,Y as G,J as _,K as F}from"./recharts-BGj_NTVO.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]="1d4dda4d-66c4-482b-beca-5c857e70f651",e._sentryDebugIdIdentifier="sentry-dbid-1d4dda4d-66c4-482b-beca-5c857e70f651")}catch{}})();const Q=j.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
`,
|
|
3
|
+
`,U=j.div`
|
|
4
4
|
flex: display;
|
|
5
5
|
opacity: 0.85;
|
|
6
6
|
border-radius: ${x.sp1};
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
padding: ${x.sp3};
|
|
9
9
|
background-color: ${e=>e.theme.colors.black};
|
|
10
|
-
`,E=j(
|
|
10
|
+
`,E=j(q)`
|
|
11
11
|
color: ${e=>e.color??h.neutralGrey2Light};
|
|
12
12
|
text-align: left;
|
|
13
|
-
`,
|
|
13
|
+
`,Z=j.div`
|
|
14
14
|
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
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(
|
|
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),Y=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,Y-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>Y){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(
|
|
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(T,{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(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{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=>N("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 X=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,X-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>X){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(
|
|
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(T,{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(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{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=>N("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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as F,Q as L,V as o,bN as O,g4 as R,bB as B,cl as H,F as C,o as A,aT as K,bC as U,y as z,ce as J,cf as V,cg as W,u as y}from"./index-AqGiWrum.js";import{a as _}from"./sentry-CTKU7CLc.js";import{n as s}from"./mui-C_Pjuwl5.js";import{W as q,L as Q}from"./EntitySummarySection--ty3w4lI-o5ULFAtA.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="809d9dc9-f0a0-4fee-8c68-f88515a8d32d",e._sentryDebugIdIdentifier="sentry-dbid-809d9dc9-f0a0-4fee-8c68-f88515a8d32d")}catch{}})();const b={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:Z,reports:{common:G,aging:{agingDetail:X}},dateFormat:M}=C.getLocalizedStrings();function be(e){const l=F(),c=L(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:S,downloadEndPoint:v,timezone:k}=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:k,reportDate:t};await ee(v,S,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())},[S,v,d.companyName,u,P,t,x,D,k,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(O,{})}),o.jsx(ne,{children:G.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(R,{fetchState:p});const Y=o.jsx(U,{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:Z.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:Y,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(q,{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(Q,{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=C.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await J({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=V(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(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:C.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
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -25,7 +25,7 @@ import{e as Y,J as L,V as o,bO as R,g5 as F,bC as B,cm as H,O as C,o as A,aU as
|
|
|
25
25
|
color: ${e=>e.theme.colors.primary};
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
`,ne=s(
|
|
28
|
+
`,ne=s(K)`
|
|
29
29
|
margin-top: ${A.sp3};
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
31
31
|
`,ie=s.div`
|