@zeniai/web-cockpit-ui 1.14.62-qa → 1.14.63-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-C9GD0hCH-BjgIixGR.js → ACHDetailsPage-QkOAxB4j-BwmsngrU.js} +1 -1
- package/dist/assets/{AIPerformancePage-B0Adp0wg-BENvGSD8.js → AIPerformancePage-POiv6dgZ-BKgnVS14.js} +1 -1
- package/dist/assets/{AccountInfoPage-BSxUquf3-CVXqrpiM.js → AccountInfoPage-DpzAjyd0-CKJdFzLl.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-8V3PDzEc-Co1a4vxf.js → AccountInfoPageContent-BrPhtN53-CjBlOxg5.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-7bhpExx3-DWUCsu-t.js → AccountLockedInfoModal-D1ZHYvRy-C9tYFXcu.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-jTH8M9iA-Aoa7lkw7.js → AccountReconDetailsDrawerPage-CubIO376-CtKM65LB.js} +12 -12
- package/dist/assets/{AccountRow-BpoPw0Cq-6rjrYRQx.js → AccountRow-DTdcfEa8-U3MpTECA.js} +12 -12
- package/dist/assets/{AccountsPromoCardStack-gsG5tf8_-DHp17pPu.js → AccountsPromoCardStack-CwDbKaNJ-1hCsTiEX.js} +9 -9
- package/dist/assets/{AddAddressForCardDrawer-CMF3Il-u-Cpb6hsZ-.js → AddAddressForCardDrawer-CniAAcX8-D363vOD8.js} +2 -2
- package/dist/assets/{AddToWalletPage-CpWP7Kpn-CSqVUMRE.js → AddToWalletPage-DOG6ubAY-BGRDDIey.js} +12 -12
- package/dist/assets/{AgingReportsPage-DEQ2pO0Y-yRrwplt0.js → AgingReportsPage-Dbtn1PKG-CbUghZ5Y.js} +5 -5
- package/dist/assets/{AllUserItems-D0SR0Oue-DtcPCB6_.js → AllUserItems-Dth5Uovp-tGFNdHax.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-BA-wKCiF-DQrPP1v5.js → ApAgingDetailPage-C6C-aYG7-Dbv3SH4D.js} +2 -2
- package/dist/assets/{AppBasePage-DFn4TCyI-Cc5DLAg0.js → AppBasePage-CtnXt_EV-BSPuX6dn.js} +6 -6
- package/dist/assets/{AppDrawerContent-CBG4Ybue-ByqvB6J0.js → AppDrawerContent-DnrQdYVp-D2qog1EV.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CpjHazzI-Cks7NfZS.js → ApprovalRulesSettingsPage-BEOQl822-CbUsx0mD.js} +4 -4
- package/dist/assets/{ArAgingChart-BDISnDae-CyesneCU.js → ArAgingChart-B9rpCcBM-q8jdb__E.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-Cgqf_0fL-Cq89JxEo.js → ArAgingDetailPage-BKsCQCpu-jNIcx6Tl.js} +1 -1
- package/dist/assets/{AttachmentView-X1k01Vtr-B7_QU-hD.js → AttachmentView-DEE6AWkv-B1086jMd.js} +1 -1
- package/dist/assets/{BankAccountSection-CrxSDsgw-ktUyjJcn.js → BankAccountSection-D8_5fjrd-BCE6WYWF.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-Dpt8yOKi-CoN6e059.js → BankAccountWarningSection-CMrRr8aa-BT7FUFGR.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-Uzhaoi7g-mD1d5FDq.js → BankConnectionsSettingsPage-BUwkPoK_-Baxx5R77.js} +41 -41
- package/dist/assets/{BillDetailPage-DcyikS7i-BdNFKGGl.js → BillDetailPage-DcGxex6B-g3MH8yQi.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-aM8F15Nu-CKOcRZID.js → BillPayApprovalRuleDetailPage-B4OuTcAA-Bkq-QU-5.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B46FwPVR-D-g0Yiyo.js → BillPayApprovalRulesPage-DaCdVMRx-DKi7a9ar.js} +4 -4
- package/dist/assets/{BillPayPromoPage-DtVzdlsy-C9OmQlVi.js → BillPayPromoPage-DBlGsv9D-BevFRtNT.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BKdNiQf7-Cc4m50Uo.js → BillPaySetUpPage-A4zcT_mP-BkNiC1Xc.js} +2 -2
- package/dist/assets/{BillingSettingsPage-3AgPTFzN-DilAG0t1.js → BillingSettingsPage-CujTn-BW-DGU5_gJ4.js} +1 -1
- package/dist/assets/BillsBulkReviewDrawerPage-Cs779Xc4-D5R5rhwS.js +1 -0
- package/dist/assets/{BoxItem-Dsoq6QyZ-B-WatMIw.js → BoxItem-imggFWL_-C8e_yZct.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DSkBV_II-D7barBYM.js → BusinessVerificationPage-U_lU2O0k-B63nfdcn.js} +4 -4
- package/dist/assets/{CardNumberSubText-Crk5WDQr-DYNdDxcR.js → CardNumberSubText-Ct0mJOMk-DQXdeyZe.js} +2 -2
- package/dist/assets/{CashbackDetailPage-BZAFRMGW-DHwMsEnN.js → CashbackDetailPage-GMncsgDy-DzCIgTYK.js} +17 -17
- package/dist/assets/ChargeCardDetailPage-BQvjt_rh-Dc8yPFPr.js +1462 -0
- package/dist/assets/{ChargeCardListPage-CIV1XQK1-D6N1OvLo.js → ChargeCardListPage-BJgzJ53p-D4N85pU_.js} +9 -9
- package/dist/assets/{ChargeCardListTable-Dxn8Y17P-YJscyrM8.js → ChargeCardListTable-BD4N2FtO-DrTuKtln.js} +49 -49
- package/dist/assets/{ChargeCardPromoPage-B6yTGsIY-DmZGR1jp.js → ChargeCardPromoPage-BQMfHfHp-DuUPUl6t.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-HHFdpsmJ-D4Ma056g.js → ChargeCardSetupPage-DO1cXZF4-CWlYdj31.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-tuV67f3k-CgpUYkHr.js → ChargeCardStatementsPage-0rBvkIU1-NpKk50PX.js} +5 -5
- package/dist/assets/ChargeCardUtils-Cy5rZlIH-BILI0sIl.js +1 -0
- package/dist/assets/{ChaseOverlay-B2pqFXTT-Df2Ezv28.js → ChaseOverlay-Dqg_bWdn-C8vTlyWM.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-DDXZ3m54-qWYP5ABn.js → CheckDepositDrawerPage-BzzWhLjb-CVED41XL.js} +15 -15
- package/dist/assets/{CollapsableReportTable-BLDh7Osv-DfaYwLVz.js → CollapsableReportTable-CwhNUlX5-CGrdBCh6.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Dg3sn5Sh-Cu3GX4FJ.js → CompanyOfficerDetailsSection-BHXF7g6M-BrZ1ZKbF.js} +1 -1
- package/dist/assets/{CompanyPassportCard-2HnVDVVi-zGfwT0EU.js → CompanyPassportCard-Dd4Modb9-C23aPg6a.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DlGllnaL-QVy4YULg.js → CompanyPassportPage-Bh2JSIAW-rjC4pxXL.js} +20 -20
- package/dist/assets/{CompleteProfile-kFGIESms-Dkk-z6t0.js → CompleteProfile-CAtziP70-DuSPFP1s.js} +1 -1
- package/dist/assets/{ConfettiBurst-D5IgJ5P3-E65_x1se.js → ConfettiBurst-DvSGcRZX-C_PjMyTg.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D8IFFcdA-StbUiZfz.js → CreateOrEditVendorPage-Csorfbun-CNt6xuOL.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-Xu0psAw0-D0gZCtxQ.js → CreditCardPaymentDrawerPage-DAw1GyrP-BNs6qoGC.js} +12 -12
- package/dist/assets/{CreditCardPaymentPlgSection-CqvgalYj-CUdjrO8S.js → CreditCardPaymentPlgSection-HikR7OVv-BCZXDr8I.js} +6 -6
- package/dist/assets/{CurrencySelectField-hwgVPqTt-B9olol6q.js → CurrencySelectField-BW71th1E-DHxO3UVa.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CBFhWSJz-D-QIEuJy.js → CustomerOnboardingActivationPage-t4YirGGH-BQcXqlYq.js} +7 -7
- package/dist/assets/CustomerOnboardingContainerPage-BFE2DU3a-C9v_itD5.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B2q2tdnD-Dfe_cett.js → CustomerOnboardingDetailPageSkeleton-CWWXhhJn-DacLmheB.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsNq90nq-DjNSGy04.js → CustomerOnboardingNoStepsPage-YdWEMnwL-BhhMIya_.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-BbGV3jtT-Bcwahrb4.js → CustomerOnboardingPage-C-WAF_MK-0e07LkOq.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-R2PJEOqZ-BTVhd0Re.js → CustomerOnboardingProductSuitePage-CxwXw5lA-8eL0zyfM.js} +10 -10
- package/dist/assets/{Dashboard-Cw4u8_9e-DbBlW7ig.js → Dashboard-Cp0UY0M3-DrmBKQin.js} +1 -1
- package/dist/assets/{DashboardReportPage-ls_MMfAh-Cmzgt21g.js → DashboardReportPage-Bsr_1Vfu-CrZaa5CE.js} +6 -6
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C_9jGJQn-CW-EldD9.js → DashboardSidebarBackgroundAnimation-BvgNiAXF-CXiqzdPm.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BLgpyexV-DDsSN6D0.js → DepositAccTransactionItem-Cm5lhc_H-Db7mfK10.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-r4UVSUOl-WIgqF2oB.js → DepositAccTransactionListPage-CHwS-_Nr-DFBxFwkp.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-BSXsHwf5-CyInh1Li.js → DomesticWireDetailsPage-mqJgiAC--4FLLq-KS.js} +1 -1
- package/dist/assets/{DownloadOverlay-DKpj3Vwl-jr69kEjZ.js → DownloadOverlay-DwPR_SsY-EUTGOsKd.js} +21 -21
- package/dist/assets/{DrawerPage-Cxz5I3Mb-CqHagX_L.js → DrawerPage-CR2L2ry3-DOZs2EHb.js} +14 -14
- package/dist/assets/{EditPeoplePage-Dbsa013z-BNUYit4n.js → EditPeoplePage-DiNxeKXK-BiaRAv0O.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Clpj3Hjz-CVKUzeEp.js → EditReimbursementDetailPage-5TJ4Spw1-CpwzkfQj.js} +64 -64
- package/dist/assets/{EntityDetailPage-C73BtWIp-D8wpNNd0.js → EntityDetailPage-CYDIH-NA-wQQfd0jW.js} +3 -3
- package/dist/assets/{EntitySummarySection-BQA0g-pF-CbGAmbu8.js → EntitySummarySection-Cv7t21-t-DI0hIJYP.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BxEr0k8F-BHqR9wAC.js → ExpenseAutomationOverviewPage-Cwl9dV2--DfcmKBVV.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-BS4M9nkW-ufxTsQbf.js → ExpenseAutomationPage-LMBRJxAv-Vn9lo85n.js} +26 -26
- package/dist/assets/{ExpressPayPage-Buxb2M1i-B9fAQlVA.js → ExpressPayPage-CCF0jSlI-C7_sWp9b.js} +6 -6
- package/dist/assets/{FeaturePreviewPage-ClfFYnHb--gXnRz9K.js → FeaturePreviewPage-POKsqSnu-BhWwdsL7.js} +2 -2
- package/dist/assets/{FollowStepsSection-CkQ-g4YK-dr6FAmOd.js → FollowStepsSection-BZdlZelr-Dgb2aUZZ.js} +21 -21
- package/dist/assets/{GlobalReviewListPage-C_DbsHsA-C6phfeex.js → GlobalReviewListPage-BnmMh-Bc-CYAA0kUn.js} +13 -13
- package/dist/assets/{HelpButton-B0ZBXPeh-BorgPtfn.js → HelpButton-Cp2LXxyy-C5Y06Y1n.js} +4 -4
- package/dist/assets/{InformationCardStack-DYdCt7zr-r9qdYJzs.js → InformationCardStack-CiYqiW7_-CbY8PLVD.js} +4 -4
- package/dist/assets/{InsightsCardStack-BSHQznep-BMkYmRhd.js → InsightsCardStack-BnVrehfR-CN-oMur2.js} +2 -2
- package/dist/assets/{InsightsSection-C37BKIiK-RNlgGAPQ.js → InsightsSection-BpVW6ov6-CBRdcxmz.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-DHAdlHrq-CMWIwf7T.js → IntegrationsSettingsPage-CaAahFPb-BYVW6C7U.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-B64WNt28-uVg2-6eP.js → InternationalWireSwiftDetailsPage-DcwbldkC-BB32EMRa.js} +8 -8
- package/dist/assets/{InternationalWireVerificationPage-D7ttGovC-D_Anpl8k.js → InternationalWireVerificationPage-7XDbU2GY-Dyfkxo3B.js} +7 -7
- package/dist/assets/{InviteFormPage-BhbGM4dC-C9bKqONR.js → InviteFormPage-Dgv7jdgF-DVviW_Nt.js} +1 -1
- package/dist/assets/{InvitePageListView-CyRlLv60-B6D8YcCC.js → InvitePageListView-DlpINjRJ-BMeTuOsJ.js} +11 -11
- package/dist/assets/InvitePeoplePage-0YsY4Il7-B0pE52_Y.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BPPgbS-r-BHrBDY3d.js → InvoiceUploadSection-DzzjJVfz-KKaBZftU.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-D_qQkkfo-CSsCg8Db.js → IssueChargeCardPage-BeB9egJS-Buw9rvK5.js} +20 -20
- package/dist/assets/{LabeledAddressValue-EshVNGGW-Cb2uc0dZ.js → LabeledAddressValue-D6advpnC-6YH6AS3A.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-kgieouBM-DzNGhdp0.js → LabeledAddressValueField-DRBoA2eb-CWryzMa2.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-CWABc6OK-ClMxBsh8.js → LabeledControlledCheckBoxField-Bu2WHgAQ-BgnuqupP.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B5o1KUJj-BE5hL6KZ.js → LabeledCreatableSingleSelectField-DcdF286I-C7Y6s3yv.js} +7 -7
- package/dist/assets/{LabeledDocumentField-BrXpwWfM-CV_EVAk8.js → LabeledDocumentField-B25RLa6I-jFD7YVyX.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Cepl3y9a-BvaaA7qv.js → LabeledDropDownFormattedTextField-DoK5Zfc1-HbMH9wCe.js} +1 -1
- package/dist/assets/{LabeledText-BmFLymPb-D54qw5X_.js → LabeledText-depbwNsM-DXrsYHkA.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl-DEzr-9kh.js → LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-Xj7wxd7w.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-Da9mc-0B-C30aMHy1.js → LabeledZeniRolesDropDownField-TbyaA8M3-DTROc_uU.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-DIhsx2g--Cp1GItTZ.js → LinkJETransactionPage-BITHs1CJ-Y1_ePi-m.js} +7 -7
- package/dist/assets/{LockCardPage-BA4Lj9Iy-DqX49N3M.js → LockCardPage-DPBKHSos-D1Lau_ZJ.js} +15 -15
- package/dist/assets/{LowBalancePopup-B1pTBmAF-DMsL8GAq.js → LowBalancePopup-D2G3wpXv-BCydjVKG.js} +3 -3
- package/dist/assets/{MagicLinkACHDetailsPage-BxzbJBWO-Wf8wA2-U.js → MagicLinkACHDetailsPage-Be7GMhBd-D3Y_9hTy.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DB2tBUoV-BR3Unx7y.js → MagicLinkDomesticWireDetailsPage-C9d2Ea6m-DiWMiwF8.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-0B5pD_Iw-BHMic-Rc.js → MagicLinkInternationalWireDetailsPage-B2M9WztX-B6F5ppQ2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-3I1CRYrj-Ca4cu0D0.js → MagicLinkSuccessPage-DPb0UoGh-y5M5nnWg.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BKgwdBLy-BT7ZZklR.js → MagicLinkTitleSection-Cc-MU2bJ-DSi2szeX.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BwEd_J6R-DkUc8Lj3.js → MailingDetailsSection-8mj7Lslp--SKJjx0D.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BpRpGSe6-DG2NWgbm.js → MeetingCalenderPopup-Be-tan9_-CK9Gr3Pd.js} +1 -1
- package/dist/assets/{Menu-De_gaVnj-BIvr4lYg.js → Menu-ndvXF6cX-B4y3KuMr.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-lChXBDCb-DU5DVhxi.js → MyBankConnectionsSettingsPage-DuZFVLYx-VAbH3B5M.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-D3di8BeS-DKJC-Hoj.js → MyPendingActivationChargeCardListPage-DDIlU_fs-C-bYuxLR.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CYI4yK6I-lkqzLNrj.js → MyProfileSettingsPage-CccRK9mD-BRFADFUO.js} +3 -3
- package/dist/assets/{NavBarWithPicker-DcELUvq0-C5N2yjZ3.js → NavBarWithPicker-D_MqRubB-D8dMZBv7.js} +6 -6
- package/dist/assets/{NavigationArrow-W1nVj2KC-CB3-WbW2.js → NavigationArrow-CfMVfLD8-BQnWEdPn.js} +1 -1
- package/dist/assets/{NavigationDots-BKVFhe2Y-BXA4iaa-.js → NavigationDots-E2eEHB86-BK4Og9YA.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DRrjJgZt-B35zjD-s.js → NewGlobalMerchantPage-vXrz_DRg-Wc9088Ea.js} +7 -7
- package/dist/assets/{NoDataChart-BzSCComh-TCsmvHP1.js → NoDataChart-CpocQ1Pa-ChFzAJ2R.js} +1 -1
- package/dist/assets/{NoDataTable-CGWMbvak-D6mzGtG9.js → NoDataTable-937mkn0a-D0ksTITz.js} +2 -2
- package/dist/assets/{NotFoundPage-DfRFngFV-Cvi4-w7R.js → NotFoundPage-BmxF81mT-B9r6velH.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BTJH62-O-BjEAiv3V.js → NotificationSettingsPage-DyOyHW6d-DehMDImE.js} +20 -20
- package/dist/assets/{NotificationsListConfig-DPutUxp3-B-f9mabS.js → NotificationsListConfig-DVs7cr0d-wmSn6l3s.js} +1 -1
- package/dist/assets/{NotificationsPage-xu6A1hVF-PuoNi3-5.js → NotificationsPage-ntuZjRm--CaQvtRPb.js} +24 -24
- package/dist/assets/{OpExByVendorPage-BeO7iMry-ChO0CL0F.js → OpExByVendorPage-1MOdxG9V-BhrPpCQQ.js} +5 -5
- package/dist/assets/{OverlayContainerPage-CU1AAMcq-C97TuWW_.js → OverlayContainerPage-CU1AAMcq-lFQCSe-G.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-1qSy3_Ke-BkoKktpJ.js → PandLWithForecastPage-n4fiElGl-BTwNmE3c.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DnObHdjD-Dxj4lh2G.js → PaymentAccountSetupBillingAddressSection-CXcwA0ON-KeSy0gEv.js} +8 -8
- package/dist/assets/{PeoplePage-CPqz8R9j-B70ykgrs.js → PeoplePage-BvZkMpjW-D7ElTICV.js} +13 -13
- package/dist/assets/{PortfolioAllocationFormPage-C9ZM9oUf-DJFvzQ8r.js → PortfolioAllocationFormPage-B7AKufjq-BCZV66E3.js} +3 -3
- package/dist/assets/{PortfolioDetails-BJBNPfcI-BtgJ2hbs.js → PortfolioDetails-C85yA52O-BcnUojwW.js} +7 -7
- package/dist/assets/{ProductsCarousel-Ctx00P5D-BTEQtLvG.js → ProductsCarousel-ixHCR9AW-BHD947gD.js} +4 -4
- package/dist/assets/{PromoBaseCards-BGYdfmx6-Dtat0fyc.js → PromoBaseCards-DiefKKcS-CVepNaw-.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B9yKv9hq-DoLz2hIj.js → QBOConnectionDialog-DV-xC7Yc-6uoxl-nC.js} +1 -1
- package/dist/assets/{QBOSetupSection-CTMSCXwv-CxubTHdL.js → QBOSetupSection-CI8cHWjq-CNHezBrT.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BtZUsK7H-Dzk_bMVd.js → ReimbursementApprovalRuleDetailPage-CqnCqZ5F-MbrRP60p.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DNBHPoIZ-BlN6Jytr.js → ReimbursementApprovalRulesPage-DxoNMA62-DOLuIxNO.js} +2 -2
- package/dist/assets/{ReimbursementDetailPage-BxZ5ijHe-zurm2_Gr.js → ReimbursementDetailPage-CTvPAxMB-BlP7rQJ5.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-D284EkRZ-BcIIXtzk.js → ReimbursementPromoPage-DcxPNTHd-asHPfKWE.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-BzR91_eW-CldLpq0B.js → ReimbursementSetUpPage-SQo-xrwo-BuAAGp_P.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BMo9fFp7-CeRLlDSr.js → ReimbursementsBulkReviewDrawerPage-y4v-8gQs-b-mXMP5z.js} +1 -1
- package/dist/assets/{ReloadCard-CGUNX_x4-Dbmvt1Tw.js → ReloadCard-CWZU9IDv-lCmqRueL.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-BVAek1Ui-C_slHbQ8.js → ReportTableViewSelector-t3pgCiJb-DU7QbDSE.js} +5 -5
- package/dist/assets/{ReportsPage-BzKbMWV4-nYQmduZj.js → ReportsPage-D82gQH-e-Ckp9VR2p.js} +1 -1
- package/dist/assets/{RevenueChart-CPUrVR7y-BAuj7ArI.js → RevenueChart-BMgI2BHK-I-njStGG.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-B74yrCe2-VCXhCYb5.js → ReviewDetailsPage-Dc7dY-VA-CxSy8KVL.js} +3 -3
- package/dist/assets/{ReviewOverlay-DQvXSDYM-DyF1UXZO.js → ReviewOverlay-Bra2W5Jg-C_PWInnU.js} +4 -4
- package/dist/assets/{RoleWithToolTip-MwI_BmVq-Ds1A2gyK.js → RoleWithToolTip-DJ15AsI3-p10xCSND.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CbkRYKjG-CqEHYps-.js → ScheduleDetailsFixedAssetsPage-DoH2eyLG-BrozO2ME.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CCRspH3Y-CPpcmXd0.js → ScheduleDetailsPage-BM1Paa1W-C0ySlnA2.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-55zYXNwF-DUs0PlZE.js → ScheduleSequenceTable-C8UB3y1y-CNI-a_wl.js} +7 -7
- package/dist/assets/{ScreenRoutes-Ba12Q0HX.js → ScreenRoutes-_3xGjUU-.js} +41 -41
- package/dist/assets/{SetUpAccountSection-IgQjKWEr-Bxp6vD4c.js → SetUpAccountSection-BGdUkQz3-D6CAjYv7.js} +7 -7
- package/dist/assets/{SetUpDefaultSection-shC3qOy6-C49ph3xE.js → SetUpDefaultSection-C4NnRO65-C0fyZc92.js} +10 -10
- package/dist/assets/{SignIn-CZGmLYjH-DHcDyA10.js → SignIn-BrHA4sLj-DDyEN7b5.js} +1 -1
- package/dist/assets/SignInScreen-Cx7qc3RP.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BhTnQtma-CCGqdAUI.js → SpendManagementListViewPage-Dqb0zspN-DreMX5hh.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-DpnIM6Nc-1ZBcChPe.js → SpendManagementPerTabPage-D5xIpojr-P0_AnHoz.js} +14 -14
- package/dist/assets/{SpendManagementSection-Hjvwgkt0-D6Yvpvz4.js → SpendManagementSection-C2iof2aM-Bp9C8eeM.js} +7 -7
- package/dist/assets/{SpendMgmtSetupAccountSection-CAWyEGGM-D_Y5M2MY.js → SpendMgmtSetupAccountSection-Dz3vQC2g-P6jfr6Bz.js} +6 -6
- package/dist/assets/{StatementItem-D8v_Laju-B8GfRoNo.js → StatementItem-BOgmKBTq-DcvmbOpL.js} +5 -5
- package/dist/assets/{StatementsPage-CEw-9UyR-BcqGoaDU.js → StatementsPage-ClMtBDGf-DWR5BFTu.js} +4 -4
- package/dist/assets/{StatusSwitcher-DoSCydJG-CoBpz-TS.js → StatusSwitcher-QwlvHg3_-DRNWj6rt.js} +2 -2
- package/dist/assets/{SubTabSwitcher-Ct1DqfgC-Bibz1hGv.js → SubTabSwitcher-CiJ1FPk5-CEwKyb-x.js} +1 -1
- package/dist/assets/{SummaryCard-CHUbuF_0-CaC0zRzW.js → SummaryCard-D1B_1H2X-Lh7q95p7.js} +1 -1
- package/dist/assets/{TaskManagementPage-Ddox5Vwh-D5D4JTV5.js → TaskManagementPage-DibwJCOk-BF0_AhRU.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-CiOSsTU--CLsRcOaL.js → TimeRangeSwitcher-Ci3SxLOE-anbVhnvw.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-D1k1Zf_U-DTp5-FTG.js → TimeframeSwitcher-DSRKJTq1-BG9pQPgY.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DXbaoDe6-yq3iZa4P.js → TimeframeSwitcherWithToggle-D_BNOfdQ-BKTbCmic.js} +1 -1
- package/dist/assets/{TopExCard-D4ZDqXZg--brQ_iDE.js → TopExCard-C5622MiP-2KEQHijQ.js} +4 -4
- package/dist/assets/{TopExDetailPage-BdPAcKwH-BWvPRR7r.js → TopExDetailPage-qOhQ-KAG-fVnbyWbs.js} +6 -6
- package/dist/assets/{TransactionDetailPage-BcjGxHy8-CFPVJudJ.js → TransactionDetailPage-DaCUZuc0-DAUodm_m.js} +13 -13
- package/dist/assets/{TransactionList-BSuMEtB3-CoYwx3Sx.js → TransactionList-CzdU-NQx-D6gdr6x7.js} +6 -6
- package/dist/assets/{TransactionListBig-MY_ZxyR3-BlvU2xVi.js → TransactionListBig-Bq7XI_xx-DjK27aH5.js} +11 -11
- package/dist/assets/{TransactionListPage-CWGrWDjK-1Jg_-UFD.js → TransactionListPage-CZDewehT-BcmO71OJ.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DDNK9KrI-navYrc-G.js → TransactionVendorDetailPage-Bf5UUIC6-DQ0SU60H.js} +3 -3
- package/dist/assets/{TransferDrawerPage-vK0YoMro-D8CyUH8N.js → TransferDrawerPage-yQE7GKl_-BiU7RlMv.js} +17 -17
- package/dist/assets/{TreasuryOverviewPage-CQsUti1c-Ba68New5.js → TreasuryOverviewPage-CisB53k8-CkomXNIa.js} +20 -20
- package/dist/assets/{TreasuryPromoPage-Bp72hKEs-NvukScyd.js → TreasuryPromoPage-BfISVj15-BKUZCqqQ.js} +11 -11
- package/dist/assets/{TreasurySetupPage-BUKsU3nh-kC1qSXYk.js → TreasurySetupPage-SN-3mAFw-C_4PPIWf.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-Cryv1PNX-DcPIDQHV.js → TreasuryStatementsPage-DGyug1wv-CZKI-qyS.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-BMYTdYa5-Dj8UaOnF.js → TreasuryTaxLetterPage-BRvcOhJZ-BeVUPN4i.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-B9VwyDJa-CRkrhgNd.js → TreasuryTransferOrReviewPage-H5ohs_5r-DHIAJoBr.js} +30 -30
- package/dist/assets/{TrendChart-CqYeWLeV-htWF6W-p.js → TrendChart-ohr8bK1l-B5dRIvEy.js} +4 -4
- package/dist/assets/{TrendWithTransactions-xn1fvlLO-CerDbg3P.js → TrendWithTransactions-D5eTj9Ca-BjYM3mpG.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-B_aOzm4v-h1El0pw_.js → UncategorizedAccountsMappingPage-3NGCCdAA-DC14oDOB.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B6LF_f7C-DF3yoEHz.js → UnitIntegrationPage-B6FOsf88-BTafkfwm.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-BlKvE3tT-BlWsi76J.js → UploadAdditionalDocumentOverlay-CH9x8nx2-CEXAXlCj.js} +1 -1
- package/dist/assets/Vendor2FAPopup-D7455GFK-DU0-h-ac.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CncDplWQ-DgiLqsWr.js → VendorACHDetailsPage-CXoxi6Qp-CrJbaYWf.js} +1 -1
- package/dist/assets/{VendorDetailPage-POan4Fo8-Y_NsPNBu.js → VendorDetailPage-C6BgYb-c-BaTlvY1P.js} +6 -6
- package/dist/assets/{VendorDomesticWireDetailsPage-B1bT0W9o-NrQ5VuHO.js → VendorDomesticWireDetailsPage-DXfnCFu1-Bhf2lnL-.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C25iYV4w-DxH6WOrq.js → VendorFiling1099EditablePage-ByESLoQK-C5wgo9Qc.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-DY035p5C-B1sylU9C.js → VendorFirstReviewPage-iNPtUFNw-BbgJ63Tq.js} +27 -27
- package/dist/assets/{VendorInternationalWireDetailsPage-DN_mcAqY-DOkydboS.js → VendorInternationalWireDetailsPage-CqgGFU1K-CKX6n49-.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaXgGRdu-BQ0UaHHd.js → VendorInternationalWireSwiftDetailsPage-CNzft0dg-D-n290kY.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C2UiqXC0-BiErhc3o.js → VendorsAccountsSection-DCWhoqAP-DHjXIFFo.js} +2 -2
- package/dist/assets/{VerifyDevice-C7BWrAZ3-DJDQCedc.js → VerifyDevice-DvJEmcUq-BD1k6-81.js} +4 -4
- package/dist/assets/{VideoPlayer-BYkDTMkS-BkX7RMiM.js → VideoPlayer-Cp5DBUTp-n0gfwB0a.js} +1 -1
- package/dist/assets/{VideoPopup-Chye3pds-BhmRCag7.js → VideoPopup-97jTEw9t-C5kzDaxd.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-Cx-gJdnW-Cid-1Ovb.js → WarningsDrawerPage-CMy4FFqt-zNFC-DvY.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BrXe6Kao-DZTAFx3o.js → ZeniAccountDetailPage-mzHK5HUV-B2AMGiBu.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CJnHvk5a-BNB1bM3y.js → ZeniAccountListViewPage-BeN4AKFd-B0XSIJvm.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BdLOT9UG-Cokn4oEN.js → ZeniAccountNavBarPieces-Db9bLk29-BybXcA-l.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-B1I9l833-BElJ8cLy.js → ZeniAccountPromoPage-By02sVg0-BAnhqfjw.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-CitVJnZC-B9X3YQBI.js → ZeniAccountSetupPage-DeDgKig1-lQnp_HAL.js} +1 -1
- package/dist/assets/{ZeniCopyright-DbQka65R-7ZVyc7Yg.js → ZeniCopyright-Bfc0Yl56-xItwPVZ8.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dzxu82Xw-Ml8lBAJZ.js → ZeniTransferAmountSlider-DzeU3D5r-Dnm1GguJ.js} +6 -6
- package/dist/assets/{analyticsHelper-BDL8_RGj.js → analyticsHelper-CuIvasD7.js} +1 -1
- package/dist/assets/{analyticsHelper-DgJDMdal-DIavhrOw.js → analyticsHelper-Cx9PlTZt-BYpG33i-.js} +1 -1
- package/dist/assets/{chartTypes-D1j_l919-8QXMvJet.js → chartTypes-BoA9fCCZ-7xW-fVbz.js} +1 -1
- package/dist/assets/{commonDimensions-DDu54g8x-D5ikJlMO.js → commonDimensions-BCUrWcBL-vTG5ZzmA.js} +1 -1
- package/dist/assets/{detailCommon-DXjUFoA1-D9_LRSFU.js → detailCommon-CFA4p6RP-B16mjiFN.js} +4 -4
- package/dist/assets/{downloadPdf-DChYYVaW-ZZ55IYdY.js → downloadPdf-DZ5WQt0r-Bylb-lK-.js} +1 -1
- package/dist/assets/{index-BqKtrbrP.js → index-6DHFBk74.js} +1721 -1710
- package/dist/assets/{mapLoadingInProgressToTreeNode-BC5IH44--JB4URfny.js → mapLoadingInProgressToTreeNode-DQf-1sg7-B5MxQ8jl.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CUXssP6r-DZ4GfGRq.js → mapSectionWithAcOnlyToTreeNode-D0W1f0wZ-D3CjHikv.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-sdzfy8cu-ofjZ3Daw.js → mapSpacerToTreeNode-Dzbv_N4o-CAPOe3mv.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DgOZfixy-Cw5iWKMh.js → mapTimeframeBalancesToTreeNode-2yWiGglp-Dy8oBMmS.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BROieqal-BJxVRna_.js → mapTimeframeBalancesToTreeNode-COS_auLN-CKgStlR5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-bXb7WXAq-D3DuUS-Q.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NCujclSc-BUwl6Oy8.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DqhuI8hD-CWs6fXMS.js → toCOABalancesWithID--3a-7Ohb-Dq8zIbZX.js} +1 -1
- package/dist/assets/{toChartData-DZPFiNsp-WPnYC-7p.js → toChartData-KZ92y9KA-BJN5TA9Q.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D5AxfiPH-CHzWVnh9.js → treasuryColorHelper-ChFJTPyg--ivM0q9A.js} +1 -1
- package/dist/assets/{uploadAttachment-D04Fz4F1-CuQRw56o.js → uploadAttachment-BzeeOF-1-oKdmjDH7.js} +14 -14
- package/dist/assets/{uploadReceipts-9DTOr0BG-BFe5S3is.js → uploadReceipts-9DTOr0BG-BAqIaRxY.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-CFK7g3R1-CNk8ph3a.js +0 -1
- package/dist/assets/ChargeCardDetailPage-DXUoIbZa-_LUfh5la.js +0 -1813
- package/dist/assets/ChargeCardUtils-BeG5m9OQ-BnJ39MTB.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4zUp7hX-DHmsrQe_.js +0 -1
- package/dist/assets/InvitePeoplePage-DYpb33z0-YHgrNKtY.js +0 -12
- package/dist/assets/SignInScreen-DqIw82_G.js +0 -1
- package/dist/assets/Vendor2FAPopup-BLzf9zxl-u_Gb4R4i.js +0 -1
package/dist/assets/{AddToWalletPage-CpWP7Kpn-CSqVUMRE.js → AddToWalletPage-DOG6ubAY-BGRDDIey.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a9 as le,ax as ne,l as de,
|
|
1
|
+
import{q as L,a9 as le,ax as ne,l as de,O as N,j as t,bF as pe,u as p,j1 as ce,jj as he,o as i,n as W,aM as A,y as m,b as $,H as b,jk as ge,cw as xe,h as r,jl as me,bB as we,d7 as ue,am as $e,C as be,j5 as ye}from"./index-6DHFBk74.js";import{b as h,n as o,i as B}from"./vendor-Bs1fkIUX.js";import{H as fe}from"./ChargeCardUtils-Cy5rZlIH-BILI0sIl.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-XP_wmSR7.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Ie=({options:e,selected:a,onToggle:g,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(Be,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),g(n.id)},children:n.label},n.id))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -37,7 +37,7 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${i.sp1};
|
|
39
39
|
padding-bottom: ${i.sp1};
|
|
40
|
-
`,{spendManagement:{chargeCard:{chargeCardsPromo:
|
|
40
|
+
`,{spendManagement:{chargeCard:{chargeCardsPromo:D,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},De=(e,a,g)=>t.jsxs(ot,{translatePhone:e,showIphone:g,children:[t.jsxs(at,{children:[t.jsx(gt,{children:D.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Qe,{children:[t.jsx(Ze,{showTick:a}),t.jsx(_e,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(ge,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:D.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=L();return t.jsxs(Me,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(M,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(H,{})]}),t.jsxs(R,{children:[t.jsx(Le,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(M,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(H,{})]})]})},Rt=({onGotItClick:e,isDebitCard:a,controllerEmails:g,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:O,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:Y,cardHolderDepartmentName:q})=>{const s=L(),U=le().analytics,[T,K]=h.useState(!1),[z,Q]=h.useState(!1),[Z,_]=h.useState(!1),[ee,te]=h.useState(!1),[S,ie]=h.useState("apple"),oe=ne(),ae=de.hasChargeCardAdminLevelAccess(oe.loggedInUserRoleMap),re=I=>{fe({chargeCardDetailView:G,classListFetchState:l,analytics:U,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:Y,cardHolderDepartmentName:q,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:O}),ie(I)};h.useEffect(()=>{setTimeout(()=>{K(!0)},a?9500:4500),setTimeout(()=>{Q(!0)},a?9e3:4e3),setTimeout(()=>{_(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Xe,{children:[t.jsx(pe,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Ye,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(qe,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Ue,{windowSize:s,children:[t.jsxs(Ke,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(ce,{isDebitCard:a}),t.jsx(he,{showCrossIcon:!1,isDebitCard:a})]}),De(Z,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(P,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Oe,{}),t.jsx(P,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(He,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(Pe,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
@@ -113,15 +113,15 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
113
113
|
`,Oe=o(ve)`
|
|
114
114
|
height: ${i.sp4};
|
|
115
115
|
width: ${i.sp4};
|
|
116
|
-
`,
|
|
116
|
+
`,Je=o(je)`
|
|
117
117
|
height: ${i.sp4};
|
|
118
118
|
width: ${i.sp4};
|
|
119
|
-
`,
|
|
119
|
+
`,Xe=o.div`
|
|
120
120
|
height: 100%;
|
|
121
121
|
width: 100%;
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: column;
|
|
124
|
-
`,
|
|
124
|
+
`,Ye=o.div`
|
|
125
125
|
width: 100%;
|
|
126
126
|
display: flex;
|
|
127
127
|
flex-direction: column;
|
|
@@ -136,7 +136,7 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
136
136
|
`:B`
|
|
137
137
|
width: 100%;
|
|
138
138
|
`};
|
|
139
|
-
`,
|
|
139
|
+
`,Ue=o.div`
|
|
140
140
|
display: flex;
|
|
141
141
|
position: relative;
|
|
142
142
|
align-items: center;
|
|
@@ -157,7 +157,7 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
157
157
|
width: 182px;
|
|
158
158
|
margin: 13px;
|
|
159
159
|
margin-top: 60px;
|
|
160
|
-
`,
|
|
160
|
+
`,Ze=o(Se)`
|
|
161
161
|
height: 36px;
|
|
162
162
|
width: 36px;
|
|
163
163
|
position: absolute;
|
|
@@ -166,7 +166,7 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
166
166
|
color: ${e=>e.theme.colors.hero};
|
|
167
167
|
opacity: ${e=>e.showTick?0:1};
|
|
168
168
|
transition: opacity 0.5s linear;
|
|
169
|
-
`,
|
|
169
|
+
`,_e=o(Ce)`
|
|
170
170
|
height: 36px;
|
|
171
171
|
width: 36px;
|
|
172
172
|
position: absolute;
|
|
@@ -260,14 +260,14 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
260
260
|
margin-left: 0.5px;
|
|
261
261
|
border-top-right-radius: 1px;
|
|
262
262
|
border-bottom-right-radius: 1px;
|
|
263
|
-
`,gt=o(me)``,C=o.div``,xt=o(
|
|
263
|
+
`,gt=o(me)``,C=o.div``,xt=o(ue)`
|
|
264
264
|
width: ${i.sp7};
|
|
265
265
|
height: ${i.sp7};
|
|
266
266
|
color: ${r.success};
|
|
267
267
|
margin-top: ${i.sp4};
|
|
268
268
|
opacity: ${e=>e.showTick?1:0};
|
|
269
269
|
transition: opacity 0.5s linear;
|
|
270
|
-
`,mt=o(
|
|
270
|
+
`,mt=o($e)`
|
|
271
271
|
color: ${r.primaryLight};
|
|
272
272
|
opacity: ${e=>e.showTick?1:0};
|
|
273
273
|
transition: opacity 0.5s linear;
|
|
@@ -283,14 +283,14 @@ import{q as L,a9 as le,ax as ne,l as de,F as N,j as t,bF as pe,u as p,j1 as ce,j
|
|
|
283
283
|
hsla(0, 0%, 100%, 0.8),
|
|
284
284
|
hsla(0, 0%, 100%, 0.8)
|
|
285
285
|
);
|
|
286
|
-
|
|
286
|
+
`,ut=o.div`
|
|
287
287
|
width: ${e=>e.lineIndex===0?"66px":e.lineIndex===1?"112px":"55px"};
|
|
288
288
|
border: 2px solid ${r.brandColorGold};
|
|
289
289
|
margin-bottom: ${e=>e.lineIndex===1?"22px":"12px"};
|
|
290
290
|
border-radius: ${i.sp2};
|
|
291
291
|
margin-left: ${i.sp3};
|
|
292
292
|
margin-top: ${e=>e.lineIndex===0?i.sp4:i.sp0};
|
|
293
|
-
|
|
293
|
+
`,$t=o(we)`
|
|
294
294
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
295
295
|
width: ${i.sp3};
|
|
296
296
|
height: ${i.sp3};
|
package/dist/assets/{AgingReportsPage-DEQ2pO0Y-yRrwplt0.js → AgingReportsPage-Dbtn1PKG-CbUghZ5Y.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as K,q as O,l as M,O as w,i1 as be,j as t,i2 as De,bZ as Ne,i3 as je,bH as Oe,bF as ve,y as D,ab as F,gh as ke,o as N,aS as Pe,u as m,aN as V,ct as Be,cu as $e,cv as Ae,am as Me,cw as Ie,b3 as ne,aC as oe,aU as re}from"./index-6DHFBk74.js";import{b as f,n as x}from"./vendor-Bs1fkIUX.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{L as Ye,k as ze}from"./ArAgingChart-B9rpCcBM-q8jdb__E.js";import{C as ie}from"./NoDataChart-CpocQ1Pa-ChFzAJ2R.js";import{I as se,R as $}from"./CollapsableReportTable-CwhNUlX5-CGrdBCh6.js";import{d as le}from"./NoDataTable-937mkn0a-D0ksTITz.js";import{l as ce}from"./mapSpacerToTreeNode-Dzbv_N4o-CAPOe3mv.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./chartTypes-BoA9fCCZ-7xW-fVbz.js";import"./AccountRow-DTdcfEa8-U3MpTECA.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Le={chartHeight:new D(288,360)},de=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=x.div`
|
|
4
4
|
display: flex;
|
|
@@ -6,7 +6,7 @@ import{b as K,q as v,l as M,F as w,i1 as be,j as t,i2 as De,bZ as Ne,i3 as je,bH
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
height: ${e=>Le.chartHeight.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${N.sp6};
|
|
9
|
-
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(Te,{report:e})}function Fe({report:e}){const a=
|
|
9
|
+
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(Te,{report:e})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:w.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:w.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function qe({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(qe({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ke({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 H({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=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ke({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:w.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${w.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},Ue=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({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:w.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${w.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=H({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const j={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])},Y=x.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
@@ -16,7 +16,7 @@ import{b as K,q as v,l as M,F as w,i1 as be,j as t,i2 as De,bZ as Ne,i3 as je,bH
|
|
|
16
16
|
`,he=x.div`
|
|
17
17
|
width: 100%;
|
|
18
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(We,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function We({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=
|
|
19
|
+
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(We,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function We({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=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(Y,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(Y,{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:j.contentPaddingLeft.value(l),right:j.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=K(),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=Ue(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(Y,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(Y,{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:j.contentPaddingLeft.value(r),right:j.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=x.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{b as K,q as v,l as M,F as w,i1 as be,j as t,i2 as De,bZ as Ne,i3 as je,bH
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=x(Ie)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=
|
|
37
|
+
`;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:w.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?w.getLocalizedStrings().reports.aging.apAging.totalPayable:w.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:b,reports:{common:Xe,aging:B}}=w.getLocalizedStrings();function vt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:z,onNodeCollapseToggled:xe}=e,{fetchState:v,reportTitle:ye,reportId:y}=n,{searchString:k,downloadState:A,sortKey:E,sortOrder:L,selectedDate:S,agingDateSelectionType:U}=c,{authParams:G,downloadEndPoint:W,timezone:J}=l,Z=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(I(y),S!=null?S.format(b.analytics.YYYYDashMMDashDDFormat):M.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,y,S]),Q=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:R,value:_e})=>({label:R,value:M.toCOABalanceTimeframe(_e)})).filter(({value:R})=>R!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(I(y),S!=null?S.format(b.analytics.YYYYDashMMDashDDFormat):M.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,y,S]),we=f.useCallback((h,_)=>{C(h,_),r.trackAgingReportSortChange(I(y),_,h)},[r,C,y]),Se=f.useCallback(()=>t.jsx(De,{maxDate:M.dateNow(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:lt(U),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:Z},onSelectedDateChanged:Q}),[S,Z,Q,U]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:E,sortOrder:L,statementFileType:"excel",timezone:J,reportId:y==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await et(W,G,_),z("Completed"),r.trackAgingReportDownloadClick(I(y),E,L)}o&&A!=="In-Progress"&&(i(!1),z("In-Progress"),h())},[G,W,l.companyName,A,o,y,k,E,L,z,S,r,J]),v==="Error")return t.jsxs(at,{children:[t.jsx(nt,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(ot,{children:Xe.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:y==="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:A==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(A==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(rt,{children:[t.jsx(ve,{title:ye,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(F,{controller:v==="Completed",children:[t.jsx(F,{controller:k.length===0,children:t.jsxs(st,{windowSize:s,children:[t.jsx(it,{children:t.jsx(Ve,{reportId:y==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(Ge,{report:n,onSortOrderChange:we,onEntityNameClick:fe,onNodeCollapseToggled:xe})]})]})}async function et(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(tt(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ae(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function tt(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:w.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const at=x.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -76,4 +76,4 @@ import{b as K,q as v,l as M,F as w,i1 as be,j as t,i2 as De,bZ as Ne,i3 as je,bH
|
|
|
76
76
|
background-color: ${e=>e.theme.colors.grey5};
|
|
77
77
|
padding-left: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
|
|
78
78
|
padding-right: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
|
|
79
|
-
`,lt=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},ae=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{
|
|
79
|
+
`,lt=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},ae=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{vt as default,tt as toDownloadAgingReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,
|
|
1
|
+
import{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,O as E,y as R,o as i,b8 as re,n as ie,am as ne,dd as Pe,cw as Ce,g5 as J,g6 as K,cO as X,u as L,c5 as Oe,aJ as te,gX as de,g8 as T,g7 as ce,g9 as pe,a$ as me,gY as Se,h as ue,da as ge,an as he,db as Re,ae as Te}from"./index-6DHFBk74.js";import{n as p,b as A}from"./vendor-Bs1fkIUX.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-Xj7wxd7w.js";import{j as ve,C as be}from"./LabeledZeniRolesDropDownField-TbyaA8M3-DTROc_uU.js";const _=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new R(120,120,160),toolTipWidth:new R(215,237)},g=E.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:$,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:f})=>{const w=B(),C=se.largeLabelWidth.value(w),{setValue:O}=G(),D=te(h),y=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=A.useMemo(()=>te(X.roles),[]),u=q.hasInvestorBankerLevelAccess(e.role);return A.useEffect(()=>{(u||m||b)&&O("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&O("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:_(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:T(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Y,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:_(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,b)},productsByUserRole:J(e.role,$)},registerOptions:{required:!0}}}),l.jsx(Y,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(De,{}),userSingleSelectWithSubTitlesField:{name:_(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:T(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(Y,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:_(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:T(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(Le,{windowSize:w,children:[g.invitePage.controllerText,y[0]?l.jsxs(Ue,{href:`mailto:${y[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${y[0].firstName} ${y[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:_(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:T(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&f?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},De=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=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{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,F as E,y as T,o as i,b8 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 R(125,140,160),toolTipWidth:new R(246,250)},c=E.getLocalizedStrings().peoplePage,Ne=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:$,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:f})=>{const w=B(),{getValues:C,formState:{errors:O},setValue:D}=G(),y=oe.largeLabelWidth.value(w),[N,...M]=$,u=M.map(d=>d.email).join(","),r=A.useMemo(()=>X.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=q.hasInvestorBankerLevelAccess(e.role);return A.useEffect(()=>{(n||x||f)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,f]),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=>!We(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Se)).reduce((j,I)=>j&&I)}},placeholder:T(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,O)}),l.jsx(Z,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:c.invitePage.role,width:y},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,f)},productsByUserRole:J(e.role,b)},registerOptions:{required:!0}}}),l.jsx(Z,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:y},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Fe,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(S=>S.classId===I.userRole.accountingClassIDs[0]),v=[];return k!=null&&v.push(k.className),v}else return[]},placeholderLabel:n?c.notApplicable:T(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(Z,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:y},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||f?c.notApplicable:T(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||f)},isDisabled:n||x||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||f?"disabled":void 0,opacity:n||x||f?.32:1}),l.jsx(Z,{}),U?null:l.jsxs(Me,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ze,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:y},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:T(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},Fe=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,We=(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};
|
|
@@ -89,10 +89,10 @@ import{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,F as E,y as T,o as i,b8 as
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,Ee=(e,t,o,a,s)=>{if(
|
|
92
|
+
`,Ee=(e,t,o,a,s)=>{if(Re(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(!Te.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}},Ze=({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(_e,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(ze,{...e}):l.jsx(Ne,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,W={buttonWidth:new
|
|
95
|
+
`,W={buttonWidth:new R(70,70),marginBottom:new R(12,L[3]),deleteContentMarginLeft:new R(L[0],L[3]),containerPaddingTop:new R(L[0],L[3]),addUserWrapperGap:new R(L[1],L[2])},Ve=(e,t,o,a,s,h,$)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:X.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,$)},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=E.getLocalizedStrings().peoplePage,pl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:$,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:f,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:O=!1,person:D,analytics:y})=>{const{getValues:N}=G(),{append:M,remove:u}=Ie({name:h,control:t}),r=B(),n=N().userItems,d=()=>{const v=n.length-1,S=Ve(v+1,b,U,$,f,w,C);setTimeout(()=>M(S,{shouldFocus:!0}))},j=v=>{a(v)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ge,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((v,S)=>{const je=n.length;let V={};if($==="zeni_only")V={email:v.email,role:Ye(v.role.selectedOptions,O)??void 0};else{const ee=v.nonZeniRole?.userRole.selectedRole,H=ee!=null?(v.nonZeniRole?.productsByUserRole[ee]??[]).map(Q=>q.toUserRoleTypeStrict(Q.selectedOption?.value)).filter(Q=>Q!=null):[],le=H.length>0?q.hasInvestorBankerLevelAccess(H):!1;V={email:v.email,role:H,managerId:le?void 0:v.manager?.selectedUser,departmentId:le?void 0:v.department?.selectedOption?.value}}return l.jsxs(Je,{"data-testid":P("user-item",v.userIndex.toString()),children:[O?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:S,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx(ye,{children:l.jsx($e,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${S}`,control:t,user:V,mode:$,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:f,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:O,person:D,analytics:y,index:S}),o===S&&r==="small"?l.jsx(el,{children:l.jsx(fe,{onCancelClick:I,onRemoveUserItem:k})}):null]},S)}):null,O?null:l.jsxs(sl,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(ol,{}),l.jsx(al,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},He=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const $=B();return l.jsxs(we,{children:[l.jsx(ye,{children:l.jsx($e,{windowSize:$,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=B();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(tl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(Xe,{children:l.jsx(fe,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Ke,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Oe,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(il,{})})})})})},fe=({onCancelClick:e,onRemoveUserItem:t})=>{const o=B();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(ll,{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"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Ge=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
@@ -105,7 +105,7 @@ import{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,F as E,y as T,o as i,b8 as
|
|
|
105
105
|
visibility: visible;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
`,we=p(re)`
|
|
109
109
|
display: flex;
|
|
110
110
|
width: 100%;
|
|
111
111
|
align-items: center;
|
|
@@ -113,7 +113,7 @@ import{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,F as E,y as T,o as i,b8 as
|
|
|
113
113
|
color: ${e=>e.theme.colors.champion};
|
|
114
114
|
margin-top: ${i.sp3};
|
|
115
115
|
height: ${i.sp5};
|
|
116
|
-
|
|
116
|
+
`,$e=p(re)`
|
|
117
117
|
color: ${e=>e.theme.colors.primary};
|
|
118
118
|
`,ye=p.div`
|
|
119
119
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as Y,q as B,O as c,j as o,bZ as H,gh as K,bF as q,cA as J,o as L,aS as U,bH as W,y as M,ct as Z,cu as G,cv as Q,u as y}from"./index-6DHFBk74.js";import{b as v,n as i}from"./vendor-Bs1fkIUX.js";import{W as V,L as X}from"./EntitySummarySection-Cv7t21-t-DI0hIJYP.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={wrapperContainerMarginTop:new M(y[4],y[0]),wrapperContaineHorizontalrMargin:new M(y[0],y[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -43,4 +43,4 @@ import{b as O,q as B,F as d,j as o,bZ as H,gh as K,bF as q,cA as J,o as L,aS as
|
|
|
43
43
|
margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function De(e){const h=
|
|
46
|
+
`;function De(e){const h=Y(),d=B(),f=c.getLocalizedStrings().common,g=c.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:s,onReload:w,onBackClick:T,onColumnSortConfigChanged:_,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:j,downloadEndPoint:k,timezone:z}=a,{fetchState:p,invoices:$,apAgingDetailUIState:b,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:S,downloadState:m}=b,[P,A]=v.useState(!1),I=c.getLocalizedStrings(),F=I.reports.aging.agingDetail,O=v.useCallback((l,u)=>{r.vendor!=null&&s.trackApAgingDetailReportSortChange(l,u,t.format(I.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),_(l,u)},[s,r.vendor,t,_]);if(v.useEffect(()=>{async function l(){const u={companyName:a.companyName,sortKey:D,sortOrder:S,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:z,reportDate:t};await se(k,j,u),x("Completed"),r.vendor!=null&&s.trackApAgingDetailReportDownload(D,S,t.format(c.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}P&&m!=="In-Progress"&&(A(!1),x("In-Progress"),l())},[s,r.vendor,j,k,a.companyName,m,P,t,D,S,z,x,n?.id]),p==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:g.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(K,{fetchState:p});const R=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async l=>{if(l==="excel")if(m==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}});return o.jsxs(ae,{children:[o.jsx(q,{title:f.strings.empty,backgroundColor:h.colors.grey5,onBackClick:T,rightSideComponent:R,source:"ApAgingDetailPage"}),o.jsx(V,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:d,children:o.jsx(ie,{windowSize:d,children:$.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:d,children:o.jsx(X,{uiState:b,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:O,onTransactionClick:N})})})})]})}async function se(e,h,d){const f=`${e}?query=${encodeURIComponent(JSON.stringify(le(d)))}`,g=c.getLocalizedStrings(),r=g.reports.aging.apAging.apAging,a=g.download;try{const t=await Z({urlEndPoint:f,authParams:h,fileType:"excel"});if(t.ok){const s=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Q(w,s)}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:c.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{De as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,
|
|
1
|
+
import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,O as g,bt as u,d8 as w,e4 as f,d7 as b}from"./index-6DHFBk74.js";import{n as s,b as j,k}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const d={maxWidth:new l(280,322),contentMaxWidth:new l(200,250)},y=k`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -22,7 +22,7 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,F as g,bt as u,d8 as w,
|
|
|
22
22
|
flex-direction: row;
|
|
23
23
|
justify-content: center;
|
|
24
24
|
align-items: flex-start;
|
|
25
|
-
animation: ${
|
|
25
|
+
animation: ${y} 0.4s;
|
|
26
26
|
`,S=s(b)`
|
|
27
27
|
margin-top: 2px;
|
|
28
28
|
margin-right: 12px;
|
|
@@ -47,11 +47,11 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,F as g,bt as u,d8 as w,
|
|
|
47
47
|
width: ${e.sp3};
|
|
48
48
|
height: ${e.sp3};
|
|
49
49
|
color: ${o.info};
|
|
50
|
-
`,W=s.div``,
|
|
50
|
+
`,W=s.div``,O=s($)`
|
|
51
51
|
color: ${o.neutralGrey2Light};
|
|
52
52
|
word-break: break-word;
|
|
53
53
|
white-space: pre-line;
|
|
54
|
-
`,
|
|
54
|
+
`,T=s.div`
|
|
55
55
|
max-width: ${r=>d.contentMaxWidth.valuePx(r.windowSize)};
|
|
56
56
|
`,M=s.div`
|
|
57
57
|
margin-top: 3px;
|
|
@@ -66,6 +66,6 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,F as g,bt as u,d8 as w,
|
|
|
66
66
|
&:hover {
|
|
67
67
|
color: ${o.primaryDark};
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,P=(r,n,i)=>{let a=g.getLocalizedStrings().common.snackBar[r][n];return i?.forEach(c=>{a=a.replace(c.variableName,c.variableValue)}),a},R=({type:r})=>{switch(r){case"success":return t.jsx(S,{});case"info":return t.jsx(z,{});case"error":case"warning":return t.jsx(D,{});case"notification":return t.jsx(E,{});default:return null}};function X(r){const n=m(),{message:i,messageType:a,showStatusIcon:c,onRemoveSnackbar:p}=r;return j.useEffect(()=>{const h=setTimeout(()=>{p()},5e3);return()=>clearTimeout(h)},[i.section]),t.jsxs(v,{windowSize:n,children:[c===!0?t.jsx(R,{type:a}):null,t.jsx(T,{windowSize:n,children:t.jsx(W,{children:t.jsx(O,{children:P(i.section,i.text,i.variables)})})}),t.jsx(M,{onClick:p,children:t.jsx(x,{})})]})}const F=r=>t.jsx(A,{isOnDashboard:r.isOnDashboard,children:r.showSnackbar===!0?t.jsx(X,{...r.snackbar}):null}),A=s.div`
|
|
70
70
|
background-color: ${r=>r.isOnDashboard?r.theme.colors.background:"transparent"};
|
|
71
|
-
`;export{
|
|
71
|
+
`;export{F as default};
|
package/dist/assets/{AppDrawerContent-CBG4Ybue-ByqvB6J0.js → AppDrawerContent-DnrQdYVp-D2qog1EV.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{l as te,ax as ae,Q as se,
|
|
1
|
+
import{l as te,ax as ae,Q as se,k as v,bn as oe,j as e,bo as le,bp as re,bq as de,br as ce,ab as ue,bs as pe,o as t,bt as be,aY as b,b4 as m}from"./index-6DHFBk74.js";import{b as o,w as me,n as l}from"./vendor-Bs1fkIUX.js";import{j as he}from"./DashboardSidebarBackgroundAnimation-BvgNiAXF-CXiqzdPm.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const fe=o.memo(function({animationEnabled:i=!1}){const[n,s]=b("DashboardSidebarBottomNewYear"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(xe,{children:e.jsx(m,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),xe=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
@@ -88,4 +88,4 @@ import{l as te,ax as ae,Q as se,G as v,bn as oe,j as e,bo as le,bp as re,bq as d
|
|
|
88
88
|
height: ${t.sp4};
|
|
89
89
|
align-items: center;
|
|
90
90
|
justify-content: center;
|
|
91
|
-
`;function Re({currentTenantId:i,tenants:n,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:Y,isAiCfoAccessEnabled:V,isNotificationsTabVisible:N,isSettingsFeatureEnabled:g,signedInUser:h,aiCfoView:
|
|
91
|
+
`;function Re({currentTenantId:i,tenants:n,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:Y,isAiCfoAccessEnabled:V,isNotificationsTabVisible:N,isSettingsFeatureEnabled:g,signedInUser:h,aiCfoView:B,currentTenant:E,christmasAnimationEnabled:f=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:y=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:F,treasuryYieldPercentage:L,onNotificationIconClick:P,handleLogOutClick:z,handleMenuChange:R,onZeniLogoClick:U,handlePopupClose:G,handleBackClick:S,handleCockpitClick:O,handleTenantSelect:H,updateCurrentChatSessionId:Q,handleSettingsClick:A}){const[d,Z]=o.useState(c&&g),x=me.useRef("noAnimation"),X=te.isZeniSignedInUser(h),q=ae(),{useFeatureGate:j}=se(),{isFeatureEnabled:K}=j(v.isReimbursementCommentingEnabled),{isFeatureEnabled:_}=j(v.isBillPayCommentingEnabled),J=oe(),W=()=>{x.current="slide-in-right-to-left",A&&A()},ee=()=>{x.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&Z(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ie=x.current,ne=X||K&&_&&!q.loggedInUserRole.includes("investor_or_banker");return e.jsxs(je,{isOnDashboard:Y,children:[e.jsxs(ve,{children:[e.jsx(le,{onClick:U,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:C}),e.jsx(re,{currentTenantId:i??"",tenants:n,isDisabled:I,onTenantSelect:H})]}),e.jsx(ke,{children:e.jsx(de,{className:ie,signedInUser:h,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:B,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,treasuryYieldPercentage:L,isChargeCardEnabled:$,isNotificationsTabVisible:N,isPerformanceEnabledForUser:J,isExpenseAutomationEnabledForUser:F,onSelectionChanged:R,updateCurrentChatSessionId:Q,onBackClick:ee,onPopupClose:G})}),e.jsx(he,{christmasAnimationEnabled:f}),e.jsxs($e,{children:[e.jsx(ce,{signedInUser:h,onLogOutClick:z,onSettingsClick:W,onCockpitClick:O,currentTenant:E,isSettingsFeatureEnabled:g}),ne?e.jsx(ue,{controller:u!=null,children:e.jsxs(Te,{isDisabled:p,onClick:p?void 0:P,children:[e.jsx(pe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),e.jsx(De,{})]})}):null]}),e.jsx(Ae,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:C})]},d.toString())}export{Re as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as D,q as F,ax as G,O as c,aU as S,l as f,j as e,bF as J,P as K,dY as y,y as s,o as P,an as N,C as b,u as i}from"./index-6DHFBk74.js";import{n as l}from"./vendor-Bs1fkIUX.js";import{K as j}from"./SetUpDefaultSection-C4NnRO65-C0fyZc92.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const a={sectionRowGap:new s(i[4],i[8],i[8]),lastSectionPaddingBottom:new s(i[7],i[10],i[10]),iconWidthHeight:new s(20,i[4]),subtitleSectionWidth:new s(343,580,1200)},de=({billpayApprovalView:t,remiApproverView:R,currentTenant:d,onBackClick:k,onClickMenuIcon:C,onSetupApprovalRulesBillPaySectionClick:z,onSetupApprovalRulesRemiSectionClick:T})=>{const n=D(),o=F(),p=G(),{fetchState:u,allApprovalRules:m,approvalRulesStatus:$}=t,{fetchState:h,allApprovalRules:g,approvalRulesStatus:A}=R,{commonSetUp:B,spendManagement:I}=c.getLocalizedStrings(),x=c.getLocalizedStrings().common.settings,v=c.getLocalizedStrings().common.headers,{billPay:M,reimbursement:W}=I,{billPaySetup:L}=M,{reimbursementSetup:E}=W,{setUp:r}=B,H=u==="In-Progress"||h==="In-Progress"||u==="Not-Started"||h==="Not-Started",w=n.mode==="light"?new S(n.colors.brandColorJadeLight):new S(n.colors.brandColorJadeDark),U=f.hasBillPayAccessible(d,p.loggedInUserRoleMap),O=f.hasReimbursementAccessible(d,p.loggedInUserRoleMap);return e.jsxs(Y,{children:[e.jsx(J,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:k,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:C}),e.jsx(q,{windowSize:o,children:H?e.jsx(Q,{children:e.jsx(K,{size:"ExtraLarge",start:!0})}):e.jsxs(V,{children:[e.jsx(Z,{windowSize:o,children:e.jsx(_,{windowSize:o,children:x.infoText.approvalRules})}),e.jsxs(X,{windowSize:o,children:[U===!0&&e.jsx(j,{title:m.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:L.approvalSubTitle,header:v.bills,icon:{element:e.jsx(y,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:w},onClick:z,status:m.length>0?$:void 0}),O===!0&&e.jsx(j,{title:g.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:E.approvalSubTitle,header:v.reimbursements,icon:{element:e.jsx(y,{height:a.iconWidthHeight.valuePx(o)}),color:w},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:g.length>0?A:void 0})]})]})})]})},V=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|
|
@@ -7,14 +7,14 @@ import{b as D,q as G,ax as J,F as c,aU as S,l as f,j as e,bF as K,P as N,dY as y
|
|
|
7
7
|
overflow-y: auto;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
align-items: center;
|
|
10
|
-
`,
|
|
10
|
+
`,Y=l.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
min-height: 100%;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
row-gap: ${P.sp3};
|
|
15
15
|
width: 100%;
|
|
16
16
|
background-color: ${t=>t.theme.colors.grey4};
|
|
17
|
-
`,
|
|
17
|
+
`,q=l.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
height: 100%;
|
|
20
20
|
overflow-y: auto;
|
|
@@ -31,7 +31,7 @@ import{b as D,q as G,ax as J,F as c,aU as S,l as f,j as e,bF as K,P as N,dY as y
|
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
row-gap: ${t=>a.sectionRowGap.valuePx(t.windowSize)};
|
|
34
|
-
`,Z=l(
|
|
34
|
+
`,Z=l(N)`
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u,
|
|
1
|
+
import{j as u,O as f,ds as k,l as S,c as E,b3 as z,bW as N,u as w,bR as P,bh as T,C as v,bg as K,aX as R,bS as A,dt as W,bU as V,du as G,h as m,o as x,am as Q}from"./index-6DHFBk74.js";import{b as C,w as U,n as j}from"./vendor-Bs1fkIUX.js";import{l as L,_ as I,h as M,m as Y,u as O}from"./chartTypes-BoA9fCCZ-7xW-fVbz.js";const _=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,H=j.div`
|
|
4
4
|
flex: display;
|
|
@@ -7,7 +7,7 @@ import{j as u,F as f,ds as k,l as S,b as E,b3 as z,bW as N,u as w,bR as P,bh as
|
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
padding: ${x.sp3};
|
|
9
9
|
background-color: ${r=>r.theme.colors.black};
|
|
10
|
-
`,
|
|
10
|
+
`,B=j(Q)`
|
|
11
11
|
color: ${r=>r.color??m.neutralGrey2Light};
|
|
12
12
|
text-align: left;
|
|
13
13
|
`,J=j.div`
|
|
@@ -15,10 +15,10 @@ import{j as u,F as f,ds as k,l as S,b as E,b3 as z,bW as N,u as w,bR as P,bh as
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 1px;
|
|
17
17
|
background-color: ${m.neutralGrey3Dark};
|
|
18
|
-
`,Z=({active:r,payload:o,barName:e})=>{const t=[];if(o!=null&&r===!0){const n=o.filter(h=>h.name==e)[0],c=n.payload,i=n.color,s=e!=null&&c.record[e]!=null?c.record[e].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const h=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=h!=null?h.currencyCode:d.currencyCode,d.currencySymbol=h!=null?h.currencySymbol:d.currencySymbol}const a=Y(e);t.push({barName:a,actual:s,color:i}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:m.brandColorPearl})}return t},rr=({barLabelsWithValues:r})=>u.jsx(_,{children:u.jsxs(H,{children:[u.jsx(
|
|
18
|
+
`,Z=({active:r,payload:o,barName:e})=>{const t=[];if(o!=null&&r===!0){const n=o.filter(h=>h.name==e)[0],c=n.payload,i=n.color,s=e!=null&&c.record[e]!=null?c.record[e].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const h=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=h!=null?h.currencyCode:d.currencyCode,d.currencySymbol=h!=null?h.currencySymbol:d.currencySymbol}const a=Y(e);t.push({barName:a,actual:s,color:i}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:m.brandColorPearl})}return t},rr=({barLabelsWithValues:r})=>u.jsx(_,{children:u.jsxs(H,{children:[u.jsx(B,{color:r[0].color,children:`${r[0].barName}: ${O(r[0].actual)}`}),u.jsx(J,{}),u.jsx(B,{children:`${f.getLocalizedStrings().chartCard.total}: ${O(r[1].actual)}`})]})}),er=r=>{const o=Z({...r});return o.length===0?null:u.jsx(rr,{barLabelsWithValues:o})},X=U.memo(er),F=5;function tr(r){const o=W(r,(e,t)=>[e.amount?.amount??0,t]);return o.sort((e,t)=>t[0]-e[0]),o.slice(0,F-1).reduce((e,t)=>({...e,[t[1]]:!0}),{})}function $(r){const o=[];for(const e in r)o.push(e);return o.sort((e,t)=>(r[t].amount?.amount??0)-(r[e].amount?.amount??0)),o}const or=r=>{const o=r.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),e=[];return{recordByDurations:r.agingPeriods.map(t=>{const n={};r.agingBalances.forEach(s=>{const d=L(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>F){const s=tr(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),h=Object.keys(l)[0],g=L("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??S.defaultVendorCurrency.currencyCode,currencySymbol:l[h].amount?.currencySymbol??S.defaultVendorCurrency.currencySymbol}};const p=$(d);return e.push(...p),{label:c,record:d}}const i=$(n);return e.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(e)}},ar=j.div`
|
|
19
19
|
width: ${r=>r.width}px;
|
|
20
20
|
height: ${r=>r.height}px;
|
|
21
|
-
`,nr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(
|
|
21
|
+
`,nr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(X,{active:r,payload:o,barName:e}):null;function fr({report:r,width:o,height:e,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=or(r),d=()=>{const a=[];return s?.orderedKeys.forEach(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>u.jsx(V,{name:a,animationDuration:h?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:cr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(sr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(nr,{mouseOverBarName:c})})}const sr=({chartData:r,barElements:o,customToolTipContent:e,width:t,height:n,isDetailPage:c})=>{const i=E(),s=I(r);return u.jsx(ar,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:r.recordByDurations,barCategoryGap:"25%",maxBarSize:c?w[8]:w[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(P,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),u.jsx(T,{dataKey:a=>a.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...v.extraSmallRegular.cssObject}}),u.jsx(K,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...v.extraSmallRegular.cssObject},tickFormatter:a=>R("0,0.[00]a",a,s)}),u.jsx(A,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function cr(r,o){const e=M(r),t=f.getLocalizedStrings().reports.aging.duration[e],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[r]!=null){const c=n[r].amount?.amount??0;let i=1;switch(G(n,s=>{(s.amount?.amount??0)>c&&i++}),i){case 1:return m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}const q=5;function lr(r){const o=W(r,(e,t)=>[e.amount?.amount??0,t]);return o.sort((e,t)=>t[0]-e[0]),o.slice(0,q-1).reduce((e,t)=>({...e,[t[1]]:!0}),{})}function D(r){const o=[];for(const e in r)o.push(e);return o.sort((e,t)=>(r[t].amount?.amount??0)-(r[e].amount?.amount??0)),o}const ur=r=>{const o=r.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),e=[];return{recordByDurations:r.agingPeriods.map(t=>{const n={};r.agingBalances.forEach(s=>{const d=L(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>q){const s=lr(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),h=Object.keys(l)[0],g=L("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??S.defaultCustomerCurrency.currencyCode,currencySymbol:l[h].amount?.currencySymbol??S.defaultCustomerCurrency.currencySymbol}};const p=D(d);return e.push(...p),{label:c,record:d}}const i=D(n);return e.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(e)}},ir=j.div`
|
|
22
22
|
width: ${r=>r.width}px;
|
|
23
23
|
height: ${r=>r.height}px;
|
|
24
|
-
`,dr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(
|
|
24
|
+
`,dr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(X,{active:r,payload:o,barName:e}):null;function br({report:r,width:o,height:e,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ur(r),d=()=>{const a=[];return s?.orderedKeys.forEach(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>u.jsx(V,{name:a,animationDuration:h?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:mr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(hr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(dr,{mouseOverBarName:c})})}const hr=({chartData:r,barElements:o,customToolTipContent:e,width:t,height:n,isDetailPage:c})=>{const i=E(),s=I(r);return u.jsx(ir,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:r.recordByDurations,barCategoryGap:"25%",maxBarSize:c?w[8]:w[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(P,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),u.jsx(T,{dataKey:a=>a.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...v.extraSmallRegular.cssObject}}),u.jsx(K,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...v.extraSmallRegular.cssObject},tickFormatter:a=>R("0,0.[00]a",a,s)}),u.jsx(A,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function mr(r,o){const e=M(r),t=f.getLocalizedStrings().reports.aging.duration[e],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[r]!=null){const c=n[r].amount?.amount??0;let i=1;switch(G(n,s=>{(s.amount?.amount??0)>c&&i++}),i){case 1:return m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}export{fr as L,br as k};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as R,q as Y,O as _,j as o,bZ as F,gh as L,bF as B,cA as H,o as M,aS as K,bH as q,y as A,ct as J,cu as U,cv as W,u as h}from"./index-6DHFBk74.js";import{b as S,n as s}from"./vendor-Bs1fkIUX.js";import{W as Z,L as G}from"./EntitySummarySection-Cv7t21-t-DI0hIJYP.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={wrapperContainerMarginTop:new A(h[4],h[0]),wrapperContaineHorizontalrMargin:new A(h[0],h[8])},{common:Q,reports:{common:V,aging:{agingDetail:X}},dateFormat:I}=_.getLocalizedStrings();function De(e){const y=R(),d=Y(),{arAgingDetail:r,downloadParams:l,reportDate:t,analytics:a,onReload:n,onBackClick:f,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:j,timezone:v}=l,{fetchState:g,invoices:$,arAgingDetailUIState:P,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:p}=P,[b,z]=S.useState(!1),E=S.useCallback((c,u)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(c,u,t.format(I.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(c,u)},[r.customer,m,a,t]);if(S.useEffect(()=>{async function c(){const u={companyName:l.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:v,reportDate:t};await ee(j,k,u),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(I.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}b&&p!=="In-Progress"&&(z(!1),w("In-Progress"),c())},[k,j,l.companyName,p,b,t,x,D,v,w,i?.id,r.customer,a]),g==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(F,{})}),o.jsx(ne,{children:V.failed})]});if(g==="In-Progress"||g==="Not-Started")return o.jsx(L,{fetchState:g});const O=o.jsx(q,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:p==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(p==="In-Progress"){console.log("Download is already in progress!");return}else z(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:Q.strings.empty,backgroundColor:y.colors.grey5,onBackClick:f,rightSideComponent:O,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(Z,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:d,children:o.jsx(le,{windowSize:d,children:$.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:d,children:o.jsx(G,{uiState:P,invoices:$,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,y,d){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(d)))}`,l=_.getLocalizedStrings(),t=l.reports.aging.arAging.arAging,a=l.download;try{const n=await J({urlEndPoint:r,authParams:y,fileType:"excel"});if(n.ok){const f=U(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,f)}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:_.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;
|