@zeniai/web-cockpit-ui 1.14.12-prod → 1.14.13-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-DVi_fb5U-BWoXmLUY.js +21 -0
- package/dist/assets/{AIPerformancePage-C459GJxs-DDVbkYhC.js → AIPerformancePage-C-orwzaK-DOCKSZSl.js} +44 -44
- package/dist/assets/{AccountInfoPage-DWqJj9l6-Cbq_B2Gd.js → AccountInfoPage-DvhQOLM6-C0wQ6YRZ.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-Ca328DM4-BoBBm2eT.js → AccountInfoPageContent-B1BJnQNd-Dywp_u_s.js} +18 -18
- package/dist/assets/{AccountReconDetailsDrawerPage-BqIo4mya-8jnme6Tg.js → AccountReconDetailsDrawerPage-C8EtTwZE-BoEh8Ely.js} +13 -13
- package/dist/assets/{AccountRow-Bk3xWobY-B9GPlHQB.js → AccountRow-m3N4T8ro-CB7I5u10.js} +27 -27
- package/dist/assets/{AccountsPromoCardStack-Co90dxxm-DJwvfgg4.js → AccountsPromoCardStack-DGHAcZ7D-BqYytjsB.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-XNGsKMvs-CVOvZj44.js → AddAddressForCardDrawer-B_1jj1h7-Cu6_XTQ0.js} +2 -2
- package/dist/assets/{AddToWalletPage-BiQWQXvz-Dja3V_rU.js → AddToWalletPage-DL1Bk4bd-ClBCUS3g.js} +21 -21
- package/dist/assets/{AgingReportsPage-ClR6ctjm-Cfdqgqs-.js → AgingReportsPage-DQ4P7iSR-BaDY7W1-.js} +8 -8
- package/dist/assets/{AllUserItems-RFWkNfw--CjDEoogo.js → AllUserItems-BSWk_1pR-BC2mjTTt.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-F-pd4-We-DEfvotPI.js → ApAgingDetailPage-0i8K1czh-BtF7tRtB.js} +2 -2
- package/dist/assets/{AppBasePage-B9-FGKn--hgna65ij.js → AppBasePage-CV3kU-Ax-HUIuRSgH.js} +7 -7
- package/dist/assets/{AppDrawerContent-C6P8rk3y-Da2OtBCB.js → AppDrawerContent-DA8q-1_m-Ip7rRN25.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-CPNEEGTF-C0zXmi9a.js → ApprovalRulesSettingsPage-CRlqbhea-CnWEhcBd.js} +7 -7
- package/dist/assets/{ArAgingChart-D9qmMVoC-C7_7BRFM.js → ArAgingChart-CiJNNObG-DOT8YGoK.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-DMuZM6P_-ClopoFOj.js → ArAgingDetailPage-2I9R_J97-CEWBavmC.js} +1 -1
- package/dist/assets/{AttachmentView-B2ZOED0q-ee9lrIw2.js → AttachmentView-D0naVbDk-BMIJVqWj.js} +7 -7
- package/dist/assets/{BankAccountSection-C8G4yj75-DdOLLfNd.js → BankAccountSection-CYYTnOEW-ta40gqBk.js} +6 -6
- package/dist/assets/BankAccountWarningSection--b6oxmO3-bf21H1-K.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-B5IQ5w6f-DMsLVdXW.js → BankConnectionsSettingsPage-BzwCu93j-CCEpUgq7.js} +49 -49
- package/dist/assets/{BillDetailPage-B-PMkZ44-bIK6xUHc.js → BillDetailPage-OzI0RkQ_-Bav1HJG-.js} +16 -16
- package/dist/assets/{BillPayApprovalRuleDetailPage-CdLKENJ--RLdpGq9U.js → BillPayApprovalRuleDetailPage-DIQW7KY9-C0xmBCct.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BueljBn0-Bf7hfEuS.js → BillPayApprovalRulesPage-BMmJ4cuT-CLahxDlm.js} +9 -9
- package/dist/assets/{BillPayPromoPage-WXntEliq-D_QROeBX.js → BillPayPromoPage-CN5LKQzn-T_t_dz_s.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-By7rYetf-CeRSgDq5.js → BillPaySetUpPage-DMKmupPw-CmltaH2A.js} +2 -2
- package/dist/assets/{BillingSettingsPage-D-XtlyVU-Cx-l00Il.js → BillingSettingsPage-Bt_0mrqR-CgkXOlNp.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-P8siJ8lO-DdRAIHzS.js → BillsBulkReviewDrawerPage-GFME_IXw-CmxfCt6F.js} +1 -1
- package/dist/assets/{BoxItem-Bcy7IYuZ-BKqgXMbg.js → BoxItem-nvtPdCwS-CiJFmSMj.js} +1 -1
- package/dist/assets/BusinessVerificationPage-_E3jrLwS-D28zK5AA.js +140 -0
- package/dist/assets/{CardNumberSubText-VsMOF0Xv-BXhxDioS.js → CardNumberSubText-DBpF1pjJ-BDHubHrk.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DNbRs50r-DGmDyCg3.js → CashbackDetailPage-DrdbDPXK-BHacfWCb.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-BSDS8Kqb-U4i4-RaN.js → ChargeCardDetailPage-DvY3CSB4-DTju6vUj.js} +54 -54
- package/dist/assets/{ChargeCardListPage-Bzr8qMC0-IbAzxN57.js → ChargeCardListPage-BE5yGbg8-B5XQaFqy.js} +14 -14
- package/dist/assets/{ChargeCardListTable-CTp6TFBR-CeVbldJj.js → ChargeCardListTable-B-scLCAt-DWKxrdfC.js} +37 -37
- package/dist/assets/ChargeCardPromoPage-2OheDHbA-BAFEqKdK.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B1wzJjgH-BBhf5rqO.js → ChargeCardSetupPage-FNCK1n4W-DRpaATuu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CePfbLPp-iDyGSKYa.js → ChargeCardStatementsPage-1fuIth_h-DUYP62lN.js} +9 -9
- package/dist/assets/{ChargeCardUtils-DC2v2EHU-CC66ls3Y.js → ChargeCardUtils-CErWBcYS-DYGG4Kg0.js} +1 -1
- package/dist/assets/{ChaseOverlay-B-Sx71yo-Thk2BACZ.js → ChaseOverlay-9_ms5LgM-DLbFcFUT.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-FYtd8ETj.js +206 -0
- package/dist/assets/{CollapsableReportTable-mEqm05fp-CUcsGi4N.js → CollapsableReportTable-DX-FpwE7-MJq_0H8T.js} +59 -59
- package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-BZkAjfXP.js +260 -0
- package/dist/assets/{CompanyPassportCard-Ct6tCZqT-5nR77uHb.js → CompanyPassportCard-BZXE3iJL-D0vVN1yd.js} +4 -4
- package/dist/assets/{CompanyPassportPage-D9NQ4bXl-CsJ1uZgg.js → CompanyPassportPage-BYZC3G4H-Dyir7GPA.js} +22 -22
- package/dist/assets/CompleteProfile-mCKLQjGe-D37b51yU.js +52 -0
- package/dist/assets/{ConfettiBurst-DqSwVGBC-BVzEX0ox.js → ConfettiBurst-BEoFHjQ0-BZkigu9v.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D27A1926-Bj04MSDS.js → CreateOrEditVendorPage-6sohsdle-DulmpRQu.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BI37dSwx-BipcUtpo.js → CreditCardPaymentDrawerPage-6oVDS3D8-BG57VbJ5.js} +21 -21
- package/dist/assets/{CreditCardPaymentPlgSection-CAsn4Ae6-KEtkArBz.js → CreditCardPaymentPlgSection-DX1BieKp-CaB1ZnNz.js} +11 -12
- package/dist/assets/{CurrencySelectField-5uG4FfJ9-8SqcpktO.js → CurrencySelectField-F2P1iCLk-DqZUsNYq.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Be-GrAiK-B75Mje9v.js → CustomerOnboardingActivationPage-CNJkyjta-BXFLHGd8.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-CnXYVWPD.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhGp71bj-hz8cq6ev.js → CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bgdn7kSU.js} +12 -12
- package/dist/assets/{CustomerOnboardingNoStepsPage-CdOGTNXC-C9i5EKaE.js → CustomerOnboardingNoStepsPage-B49-4wZk-KyTxoYIy.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-ClPsywa3-CeQwicZf.js → CustomerOnboardingPage-4FPXG220-Bhtz8R34.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-pnHglqXq-8KyJVU1M.js → CustomerOnboardingProductSuitePage-cJPPvh-5-CdfdHVAA.js} +9 -9
- package/dist/assets/{Dashboard-avtbjFLf-BsfTTLt8.js → Dashboard-BBy_mQ8p-zBP8Z7QF.js} +260 -242
- package/dist/assets/{DashboardReportPage-CqJAu5WP-CSiSRP9H.js → DashboardReportPage-DYttySr4-ICoa42Db.js} +6 -6
- package/dist/assets/{DepositAccTransactionItem-Da0GWYei-DaDMj8eg.js → DepositAccTransactionItem-PNTL0e8v-Bf5t1weD.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-91dKQsy5.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DGcVKriv-CAGyxOGA.js → DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js} +1 -1
- package/dist/assets/{DownloadOverlay-BdGiqnp7-DStgGthq.js → DownloadOverlay-CUbv29mo-Cm7YvHGd.js} +21 -21
- package/dist/assets/{DrawerPage-DCfm1BVs-BjLjeoWD.js → DrawerPage-2_QOgQ1m-jFj08QrD.js} +11 -11
- package/dist/assets/EditPeoplePage-CtTYiqg3-C_rRpXUg.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-nYgUua-C1qTcfcR.js → EditReimbursementDetailPage-C_jRh7w0-BjxLHuhj.js} +61 -61
- package/dist/assets/{EntityDetailPage-4HX_rHUf-xDLdueS9.js → EntityDetailPage-BhQsnCgQ-BJqshBB_.js} +3 -3
- package/dist/assets/{EntitySummarySection-C9VeOBpT-BTsQfMwI.js → EntitySummarySection-CKkXzM76-JNV3nj4B.js} +12 -12
- package/dist/assets/{ExpenseAutomationOverviewPage-8jTkscWa-bIf05Fhx.js → ExpenseAutomationOverviewPage-ZuB3Aiv2-g-beRD6J.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-D1wcc9GW-BZm22R7G.js → ExpenseAutomationPage-BUic8zfk-CY9AnIj2.js} +41 -41
- package/dist/assets/{ExpressPayPage-Cj6cvMwQ-BJmICkVH.js → ExpressPayPage-DEkJ_H0W-D2MJYEqV.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CtK7L5vk-zb1RibOL.js +11 -0
- package/dist/assets/{FollowStepsSection-DjfnVH8N-B5jFIUn7.js → FollowStepsSection-CWw764ZM-BMjBkJvU.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-CEOzc0We-D9YAcarq.js → GlobalReviewListPage-CZctHM7r-C-SmU9tc.js} +12 -12
- package/dist/assets/{HelpButton-BdhMFvtG-C54ST6PE.js → HelpButton-Dpx0Yoel-1C4sAmaf.js} +4 -4
- package/dist/assets/{InformationCardStack-DFOumIBr-gjF_ZQhk.js → InformationCardStack-BGpHl4yb-D2VMsFIF.js} +5 -5
- package/dist/assets/InsightsCardStack-BbMJEahw-XjHe58kA.js +79 -0
- package/dist/assets/InsightsSection-CYkuQHcj-B18a-FIC.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DF-jcHzr-WMJTJEtS.js → IntegrationsSettingsPage-CMjSCRm_-C9xmqHS7.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-BFMqW1oQ-CdCE1RD1.js → InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-Cq7swzrt-C0L5yCuY.js → InternationalWireVerificationPage-DAW2eMTg-BGhWwB2B.js} +22 -22
- package/dist/assets/{InviteFormPage-DXl2sEn9-B2Ez35Mj.js → InviteFormPage-CCbyacPR-DUt2JWiG.js} +20 -20
- package/dist/assets/{InvitePageListView-B5fRPcOg-CjFdA4G8.js → InvitePageListView-mHkALr5o-BpwevZSI.js} +62 -62
- package/dist/assets/InvitePeoplePage-r6PLBiEv-CRU1obhZ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-opkVsXZH-CXWs7XL1.js → InvoiceUploadSection-BsjeicP1-CxRipy2m.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-CZU1qbHO-BdEtPimR.js → IssueChargeCardPage-C3esnkQg-Bt2ncw32.js} +33 -33
- package/dist/assets/{LabeledAddressValue-CCd3y8zQ-BJNbO-Fn.js → LabeledAddressValue-CeeoKoY4-C81fNRY2.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-XuFlx-oK-BMP_E_ys.js → LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CCQn4-_S-C2xp_EVs.js → LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-uQKngCdt-DJ4lsiO3.js → LabeledCreatableSingleSelectField-BSKL8pA3-y22U9yzT.js} +6 -6
- package/dist/assets/LabeledDocumentField-BEyArLK3-Bbt820GM.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BrUNxsKy-B8W5l8Iz.js → LabeledDropDownFormattedTextField-DikXPnxD-3H5194hi.js} +7 -7
- package/dist/assets/{LabeledText-ByqI7uq0-BqhwXzjW.js → LabeledText-qSjyNZO1-BMO1teu9.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0-D5r53n-D.js → LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-BPP3i4wb.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DZL4GZtE-Bl91YXKB.js → LabeledZeniRolesDropDownField-nm5bG2up-B-C-v8v9.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-CJlBllrr-RkOKGfby.js → LinkJETransactionPage-p7wdZbtp-BamvjpR7.js} +13 -13
- package/dist/assets/{LowBalancePopup-BEvuAR0Z-D9Mm46kU.js → LowBalancePopup-DHk6xd2B-V5eEOh0a.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DloX1GWg-BSJJfYX3.js → MagicLinkACHDetailsPage-DRQ8oej8-B79oZw1R.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DewjvM4v-CjyLi2R0.js → MagicLinkDomesticWireDetailsPage-BxXU9Opg-BdNHmjDj.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CVhazlxQ-CdUPSdVq.js → MagicLinkInternationalWireDetailsPage-DYN1baIc-DT4ZdIcR.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-Bgn3-P2S.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-d1edBt3w-BuhlKpVM.js → MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js} +4 -4
- package/dist/assets/MailingDetailsSection--zHyCquq-Cn3SWfKt.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-MtSyJ1AS-BwRcYCw3.js → MeetingCalenderPopup-DbFlQ8Km-9ZxBnjo6.js} +1 -1
- package/dist/assets/{Menu-BV79l8xf-CT05aLZH.js → Menu-LLL9taEz-CtH4c9eF.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-D-xDtURG-a5WJJsgd.js → MyBankConnectionsSettingsPage-BfDsHVZw-aWZVlaCb.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-VEhml0PW-C7lDm9On.js → MyPendingActivationChargeCardListPage-vag56A65-DvFj3aDV.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DPJ0fJdQ-BVaOzJZE.js → MyProfileSettingsPage-DCKqWh-p-Ca4URKq-.js} +8 -8
- package/dist/assets/NavBarWithPicker-Cvi89wZV-3CVqu6ha.js +30 -0
- package/dist/assets/{NavigationArrow-BwXNdvOg-Bw7XRwN0.js → NavigationArrow-CHmddDC--CUC3t4BZ.js} +2 -2
- package/dist/assets/NavigationDots-1wpj484Z-By9SVfKB.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-IeE86L-X-C4OUiP9X.js → NewGlobalMerchantPage-B0FywA12-BRuJ6OhE.js} +13 -13
- package/dist/assets/{NoDataChart-C9yfE8vY-D5FBma0Z.js → NoDataChart-D43mhDJW-B9CXfEvp.js} +1 -1
- package/dist/assets/{NoDataTable-DF9QNT4a-DSZJ4vGD.js → NoDataTable-BOfUxs9D-8iqVCaVk.js} +1 -1
- package/dist/assets/{NotFoundPage-DSaizJve-BAhgScCF.js → NotFoundPage-DFioH5Rt-BQR0ORs3.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DeAeFHmj-CaUz1tWX.js → NotificationSettingsPage-y4g1rAal-BJEuhBam.js} +13 -13
- package/dist/assets/{NotificationsListConfig-DuzDckh--BqtRxON_.js → NotificationsListConfig-sybPesiv-FmaZBisq.js} +1 -1
- package/dist/assets/{NotificationsPage-B7ZC7ezP-DEJagd6q.js → NotificationsPage-C88YOjuY-Ds4zz6jH.js} +31 -32
- package/dist/assets/{OpExByVendorPage-DzODetHf-DB9TWTaj.js → OpExByVendorPage-qBWbJhv9-Cs148Yzz.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-CXhqDEmM.js → OverlayContainerPage-Dres4Grh-BoM1wcb9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-FEi5USqF-Cvmw-ezu.js → PandLWithForecastPage-uiaHrci6-ClUgwvyo.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BbL4x5pQ-CQ4mDWcj.js → PaymentAccountSetupBillingAddressSection-BepDUdA0-DvE7tkJU.js} +11 -11
- package/dist/assets/{PeoplePage-B35T31YZ-DghEF7WY.js → PeoplePage-oF6C1uyM-DLFAgG_p.js} +20 -20
- package/dist/assets/{PortfolioAllocationFormPage-D3FP_MRr-DOEDYQct.js → PortfolioAllocationFormPage-C5O3GLqz-BYzrfMTu.js} +4 -4
- package/dist/assets/{PortfolioDetails-Dtz3YEPu-BMRrMf3q.js → PortfolioDetails-BkGNpmoO-B3KzDtEL.js} +31 -31
- package/dist/assets/{ProductsCarousel-DIlEuuqg-DrIeQsxl.js → ProductsCarousel-C_tmo4EA-BDn6T3LG.js} +6 -6
- package/dist/assets/{PromoBaseCards-DTsaas8S-CPDQ_Ck-.js → PromoBaseCards-Bq5-q2ew-oeM6E2Gs.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-Cvt38cmU-p0xTPV2f.js → QBOConnectionDialog-BXNWjeYB-CT3y8ZPP.js} +9 -9
- package/dist/assets/QBOSetupSection-D3sIWrh1-Dt8ceji3.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-DfTW4OAe.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BG8uMxNw-D1uyrGH4.js → ReimbursementApprovalRulesPage-hjja5JFq-1dF9j3jn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-Cs7XeZrC-OHz7BSRY.js → ReimbursementDetailPage-sXYC_aoR-CngyEl5D.js} +19 -19
- package/dist/assets/{ReimbursementPromoPage-CKITZNUc-79ijnfiq.js → ReimbursementPromoPage-C9zs7VRV-DY_b0K3o.js} +24 -24
- package/dist/assets/{ReimbursementSetUpPage-DD5P181p-CxWIYZnN.js → ReimbursementSetUpPage-Ban56LOC-Cen4aYhY.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0eORL7o-iqE8m4Np.js → ReimbursementsBulkReviewDrawerPage-CsRwI-rl-KeeGuW4E.js} +1 -1
- package/dist/assets/{ReloadCard-CZ4IXHy1-Dtuzk5Rl.js → ReloadCard-EBXtqdt5-e0DLVF2o.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Do0yQJxY-BXH3sbob.js → ReportTableViewSelector-Ae5lGopA-CZicNwDg.js} +10 -10
- package/dist/assets/{ReportsPage-BUi475EG-CQaz0teT.js → ReportsPage-Dh3DhbEK-DCmUMwXx.js} +5 -5
- package/dist/assets/{RevenueChart-DPNqxQ4n-mVhaMXTb.js → RevenueChart-C5qfXMEg-D1BQhist.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DTCC2C0D-C6Ojy72F.js → ReviewDetailsPage-DjcJd2VM-CMmXdVTb.js} +17 -17
- package/dist/assets/{ReviewOverlay-CPN-RHG--BufZJNs3.js → ReviewOverlay-Dmrea9EK-DOxs4FI1.js} +14 -14
- package/dist/assets/RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSz5BdJ4-BcAVniZz.js → ScheduleDetailsFixedAssetsPage-CQGRrdSx-BKHIJc5L.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DKVlaW9e-ChemaS_v.js → ScheduleDetailsPage-D5OBZ80r-BSViQYwc.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BhpHoReF-DVT0PeVe.js → ScheduleSequenceTable-fgV8zz4I-B96Fw2cP.js} +49 -49
- package/dist/assets/{ScreenRoutes-CUNOProC.js → ScreenRoutes-Bs8GRIgm.js} +62 -62
- package/dist/assets/{SetUpAccountSection-Blh-Vipv-Ec9w8zf3.js → SetUpAccountSection-4-gtB3I4-CmDUZ7Ps.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-DsyZbNsv-BcyPPYMa.js → SetUpDefaultSection-DSslQOgJ-y5lEHYNN.js} +12 -12
- package/dist/assets/{SignIn-DehOoUba-_IFKRKFV.js → SignIn-CgXxIawW-DSrGSPuV.js} +17 -17
- package/dist/assets/{SignInScreen-BXQkh3gn.js → SignInScreen-DSt7uixJ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C23fDDXZ-e5NI-MjJ.js → SpendManagementListViewPage-SkhzkIYZ-CI28gjhv.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-Cx0sB3qO-C92A_6wt.js → SpendManagementPerTabPage-CofY1YYQ-C9YpxBTZ.js} +55 -55
- package/dist/assets/{SpendManagementSection-DbZYpbtO-DTrbPW3G.js → SpendManagementSection-DbC93chQ-CmYHf5ne.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-BkUIdz9m-ClfpmeIa.js → SpendMgmtSetupAccountSection-_8G7bMAw-CYWZUz0n.js} +22 -22
- package/dist/assets/{StatementItem-BF8L0fc_-DkDCxyQq.js → StatementItem-7ezfuDl--CcU7F4Hj.js} +5 -5
- package/dist/assets/{StatementsPage-96e3ZbSU-BP5FaF_u.js → StatementsPage-C4ziRzkU-Cl2Heiw2.js} +6 -6
- package/dist/assets/{StatusSwitcher-jwpQ49F7-BGzqIV7p.js → StatusSwitcher-0rVfFE-a-CheRZPfP.js} +7 -7
- package/dist/assets/{SubTabSwitcher-B8H6McwL-CAGUZLqm.js → SubTabSwitcher-aoWbkCmT-CaMIdf8x.js} +1 -1
- package/dist/assets/{SummaryCard-Bv4ja9yJ-BQ3Vm3Ml.js → SummaryCard-6V1G-Yln-AkNgJPj0.js} +1 -1
- package/dist/assets/{TaskManagementPage-D7tD4WRl-D829_k0m.js → TaskManagementPage-DjQma5Cr-DLhPVic-.js} +18 -18
- package/dist/assets/{TimeRangeSwitcher-Cr-ObvZ9-BpkXiM1i.js → TimeRangeSwitcher-DeIRg5zY-Bi--_Fx4.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-YkFxZedG-C9WakH79.js → TimeframeSwitcher-Cop4G4gx-DupejW9U.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-DuZjqpvb.js +31 -0
- package/dist/assets/{TopExCard-DtrsuLFD-rsSVK-ay.js → TopExCard-BKirBv7q-BKzGhACE.js} +6 -6
- package/dist/assets/{TopExDetailPage-HMRdJt_a-Cuky-W3B.js → TopExDetailPage-DcVunE8d-BJAugcNm.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CkWEdpTW-BX9Cs2dn.js → TransactionDetailPage-TJf3D0K6-ChXVy1nH.js} +26 -26
- package/dist/assets/{TransactionList-8rOZr8BD-DZQflEIq.js → TransactionList-fn6VXYIJ-XKKmCfLI.js} +4 -4
- package/dist/assets/{TransactionListBig-DGx1qy2c-WusOBIcK.js → TransactionListBig-B_hNDFjS-Bc3M6sby.js} +25 -25
- package/dist/assets/{TransactionListPage-CnbufCaM-Crj6dxSk.js → TransactionListPage-BbXZWbie-DmTuImVR.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-UpZX_EgR-Mzs4hwfT.js → TransactionVendorDetailPage-C6qJ5ncL-DRKEGbRL.js} +6 -6
- package/dist/assets/TransferDrawerPage-BtYoqKi--BK8jkNir.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-DoPe6v4O-dHNFdpx5.js → TreasuryOverviewPage-DOV8Hanc-BzuaF_Oy.js} +53 -53
- package/dist/assets/{TreasuryPromoPage-Db20FO_G-DajsAZcT.js → TreasuryPromoPage-C9O7G72q-D0fVcP3x.js} +30 -29
- package/dist/assets/TreasurySetupPage-CNzkkEjw-Dh78QFWy.js +146 -0
- package/dist/assets/{TreasuryStatementsPage-BONCF7O1-C2wksa5Y.js → TreasuryStatementsPage-Ts6D6F-l-CQAmEMl1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-NCZ0Y4yr-8hmlID6w.js → TreasuryTaxLetterPage-CM93_rS4-CfzYhIka.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-DHGOUHuT.js +506 -0
- package/dist/assets/{TrendChart-DQXhBbqy-u2beI5NW.js → TrendChart-BXjPAYgk-DjYRl65V.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Du-a-c_9-Um_fvL6F.js → TrendWithTransactions-BlGX9aVa-DUrKUprM.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-mSPC4LpU-DSNIKC_z.js → UncategorizedAccountsMappingPage--PnxDLIj-DgyLI8TV.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-B5O9G4QH-y6cPvP8r.js → UnitIntegrationPage-D5mzaVVL-B87wl-C8.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-CnjzAGYo-CBf_BQlS.js → UploadAdditionalDocumentOverlay-BXS2l5kF-4XXbIdgY.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CYcCB8tr-CtNb2at2.js → Vendor2FAPopup-jXN-6kcB-WQjywdob.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C6EuQBcH-DtIAcatA.js → VendorACHDetailsPage-CHfX_7tk-CseZDy3t.js} +1 -1
- package/dist/assets/{VendorDetailPage-CnSXWVCg-BL1omixq.js → VendorDetailPage-CZuQaTCe-00z-DC1U.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-CVTkzHFB-BOarRjTv.js → VendorDomesticWireDetailsPage-dBmyAkGL-BzziQHyn.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-TJb9mpk0-qwt68m34.js → VendorFiling1099EditablePage-C6KWbHaM-FdVjec5X.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-gBLVMddY-3lz9ZyKl.js → VendorFirstReviewPage-DLaCXLH8-Bp3HVWXV.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-Bhm7j6HC-C_fJSHjY.js → VendorInternationalWireDetailsPage-DgCH9Rad-DD-YZWBN.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MgN7VFET-JLytJhuc.js → VendorInternationalWireSwiftDetailsPage-CprymE3v-BXc-3kQm.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cn-8Yemv-QU3Ugu9k.js → VendorsAccountsSection-CpkfwFDJ-DeHCyl4j.js} +15 -15
- package/dist/assets/VerifyDevice-CSIkEBig-DzQ9uYAN.js +67 -0
- package/dist/assets/{WarningsDrawerPage-Cc_Rty0A-CiWJTjUM.js → WarningsDrawerPage-DeqbJ2Le-CygSrVz8.js} +12 -12
- package/dist/assets/{ZeniAccountDetailPage-BU2TTiDP-Caxfo2QU.js → ZeniAccountDetailPage-kwKoeRAb-yy2D4Oyh.js} +29 -29
- package/dist/assets/{ZeniAccountListViewPage-DbcnkYvX-ai9PY1nW.js → ZeniAccountListViewPage-15LxhIiI-3EkZXZhB.js} +19 -19
- package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-D_BEJJwy.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D-5ArrRO-yroK6L0e.js → ZeniAccountPromoPage-DvlAb5YA-BxPQZ-TN.js} +33 -33
- package/dist/assets/{ZeniAccountSetupPage-DXYR0Ipo-69zJLoPG.js → ZeniAccountSetupPage-BjpvTfF5-DJqm4qSs.js} +3 -3
- package/dist/assets/{ZeniCopyright-DPd1ifIT-CsDQSNsH.js → ZeniCopyright-BYJFIZ_X-DJl-W8Ni.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-CHnHwXGw.js +63 -0
- package/dist/assets/{analyticsHelper-DrNmU0vn-cbtpMVPt.js → analyticsHelper-BRyA7WLX-Ch8yhvbw.js} +1 -1
- package/dist/assets/{analyticsHelper-DYztlfoV.js → analyticsHelper-DEjyvXKA.js} +1 -1
- package/dist/assets/{chartTypes-YTQv3tre-BaZWty8J.js → chartTypes-CWEoqL4g-Bo1GQ9Y0.js} +1 -1
- package/dist/assets/{commonDimensions-BtmBVXgZ-DngS5_m0.js → commonDimensions-UvndzJjv-DkCvzihA.js} +1 -1
- package/dist/assets/{detailCommon-hHyz3hj3-CgkqfxsC.js → detailCommon-C3ymS8dg-BusgYXoD.js} +2 -2
- package/dist/assets/{downloadPdf-CDvgLzWC-C6NI1uz3.js → downloadPdf-CHwWcCR1-BQYdnkG1.js} +1 -1
- package/dist/assets/{index-CVo0uMzO.js → index-DYVNUtTS.js} +4129 -3984
- package/dist/assets/{mapLoadingInProgressToTreeNode-BfoqmoAq-n6edsobL.js → mapLoadingInProgressToTreeNode-BV9ky97n-C6-bn_qJ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-qzW1C6Un.js → mapSectionWithAcOnlyToTreeNode-WivyN4Y7-DeEMrm9i.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D8o529OP-C6pXOMvN.js → mapSpacerToTreeNode-AXNRptLX-B0rl0_Lw.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BirMnIzY-C4aRbhHq.js → mapTimeframeBalancesToTreeNode-DUac2vK4-jK2oIVF4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-NA69l84M-PrspUuQP.js → mapTimeframeBalancesToTreeNode-JTl35sFx-B-SNtaen.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-Bw8svqkv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-Dl0F4JWH.js} +1 -1
- package/dist/assets/{play-icon-DyIc5aGx-CIOaxH3w.js → play-icon-HSIOzxQm-DtUz8FwI.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-2jQJLb8S-DW8RIFP8.js → toCOABalancesWithID-CkjYSysY-DF7YtxZI.js} +1 -1
- package/dist/assets/{toChartData-Dsjd8dGe-B64jG2hW.js → toChartData-BhKlnyso-CKLUlraQ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-EG8VpBia-DN3Bvuhd.js → treasuryColorHelper-yIAXBrrM-D_iAl7kS.js} +1 -1
- package/dist/assets/{uploadAttachment-CVUM4FN--B0G4nXtQ.js → uploadAttachment-CWaYLqwb-DAXv_gFj.js} +32 -32
- package/dist/assets/{uploadReceipts-D80JLNY4-CvtBPjYq.js → uploadReceipts-C6Ld_WLK-CscO-OGr.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BQBpkHfF-BwEQR3Ry.js +0 -21
- package/dist/assets/BankAccountWarningSection-CWXa-X6f-Bo2YdlXb.js +0 -51
- package/dist/assets/BusinessVerificationPage-BoSLJbyU-BJPGiqTw.js +0 -140
- package/dist/assets/ChargeCardPromoPage-dIg8OIlx-I5SeyfVO.js +0 -219
- package/dist/assets/CheckDepositDrawerPage-uABg3PMN-BdzopMYU.js +0 -206
- package/dist/assets/CompanyOfficerDetailsSection-BzYsDrr2-uFzN5DGM.js +0 -232
- package/dist/assets/CompleteProfile-CN_hAW-2-D9tT8MoO.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-UVumagoc.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Db90ITIq-oTkCmI07.js +0 -66
- package/dist/assets/DocumentSecurityBanner-Bxg3ctYZ-39503B9W.js +0 -29
- package/dist/assets/EditPeoplePage-CBPmCcoG-DAdjecZc.js +0 -55
- package/dist/assets/FeaturePreviewPage-BBkfKvIu-CqzyD_TL.js +0 -11
- package/dist/assets/InsightsCardStack-rByhzgji-FDbIdVTC.js +0 -79
- package/dist/assets/InsightsSection-jnWJ877y-CXGce558.js +0 -27
- package/dist/assets/InvitePeoplePage-DvGON1va-BYLNeXQs.js +0 -12
- package/dist/assets/LabeledDocumentField-TFmz23mS-CYnZhFdz.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-dxBSlbub-CRDPtPi_.js +0 -31
- package/dist/assets/MailingDetailsSection-CsK09X11-DZ9sqO1E.js +0 -21
- package/dist/assets/NavBarWithPicker-CuJe05iJ-BuKAIj_v.js +0 -30
- package/dist/assets/NavigationDots-BQfoX9p0-BmnKz8T-.js +0 -14
- package/dist/assets/QBOSetupSection-Dijb03ZX-CFOO-p_z.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-DTXj9skr.js +0 -26
- package/dist/assets/RoleWithToolTip-Bst2IdUy-DaFvOxA_.js +0 -22
- package/dist/assets/TimeframeSwitcherWithToggle-4h9WX4z9-DfbkXFml.js +0 -31
- package/dist/assets/TransferDrawerPage-cUyg27nq-DoY6rZbB.js +0 -362
- package/dist/assets/TreasurySetupPage-BoVhd65r-DAl3tLzo.js +0 -152
- package/dist/assets/TreasuryTransferOrReviewPage-DAmZboLO-qe3kHbZ0.js +0 -506
- package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-D-T_tdRo.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-di46G5TN-D3ij5oCv.js +0 -63
package/dist/assets/{AddToWalletPage-BiQWQXvz-Dja3V_rU.js → AddToWalletPage-DL1Bk4bd-ClBCUS3g.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as M,d6 as le,Y as ne,l as de,B as N,j as i,aW as pe,s as p,ip as ce,iG as he,o as t,i as W,$ as A,C as m,J as $,g as b,iH as ge,bL as xe,d as s,iI as me,aT as we,co as ue,m as $e,v as be,is as ye}from"./index-DYVNUtTS.js";import{b as h,n as o,j as B}from"./vendor-CnQcJ2Lu.js";import{H as fe}from"./ChargeCardUtils-CErWBcYS-DYGG4Kg0.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-DcfyMc0W.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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 i.jsxs(We,{style:l,children:[i.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>i.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};
|
|
@@ -20,7 +20,7 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
20
20
|
z-index: 1;
|
|
21
21
|
padding-top: 20px;
|
|
22
22
|
padding-bottom: 20px;
|
|
23
|
-
`,
|
|
23
|
+
`,Be=o.button`
|
|
24
24
|
${be.smallMedium.cssObject};
|
|
25
25
|
position: relative;
|
|
26
26
|
flex: 1;
|
|
@@ -37,7 +37,7 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${t.sp1};
|
|
39
39
|
padding-bottom: ${t.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)=>i.jsxs(oi,{translatePhone:e,showIphone:g,children:[i.jsxs(ai,{children:[i.jsx(gi,{children:D.timeText}),i.jsxs(si,{children:[i.jsx(li,{children:[...Array(4).keys()].map(l=>i.jsx(ni,{towerIndex:l},l))}),i.jsx(di,{children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave",children:i.jsx(C,{className:"wave"})})})}),i.jsx(pi,{children:i.jsx(ci,{})}),i.jsx(hi,{})]})]}),i.jsxs(ti,{children:[i.jsxs(Ke,{children:[i.jsx(_e,{showTick:a}),i.jsx(Ze,{showTick:a}),i.jsx(ei,{showTick:a}),i.jsx(ii,{showTick:a}),i.jsxs(wi,{translateCardSkelton:e,children:[i.jsx($i,{}),[...Array(4).keys()].map(l=>i.jsx(ui,{lineIndex:l},l))]}),a?null:i.jsx(bi,{children:i.jsx(ge,{scannerTheme:"light"})})]}),i.jsx(xi,{showTick:a}),i.jsx(mi,{showTick:a,children:D.addToWallet})]}),i.jsx(ri,{})]}),F=({tabType:e})=>{const a=M();return i.jsxs(Le,{children:[i.jsxs(R,{children:[i.jsx(Ne,{children:i.jsx(Ge,{windowSize:a})}),i.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),i.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,i.jsx(H,{})]}),i.jsxs(R,{children:[i.jsx(Me,{children:i.jsx(Je,{windowSize:a})}),i.jsx(E,{windowSize:a,children:d.verifyCard})]}),i.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,i.jsx(H,{})]})]})},Ri=({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:J,creditAccountRepayment:X,cardIssuedByRoles:V,cardIssuedByDepartmentName:Y,cardHolderRoles:O,cardHolderDepartmentName:Q})=>{const r=M(),U=le().analytics,[T,q]=h.useState(!1),[z,K]=h.useState(!1),[_,Z]=h.useState(!1),[ee,ie]=h.useState(!1),[S,te]=h.useState("apple"),oe=ne(),ae=de.hasChargeCardAdminLevelAccess(oe.loggedInUserRoleMap),se=I=>{fe({chargeCardDetailView:G,classListFetchState:l,analytics:U,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:V,cardIssuedByDepartmentName:Y,cardHolderRoles:O,cardHolderDepartmentName:Q,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:J,creditAccountRepayment:X}),te(I)};h.useEffect(()=>{setTimeout(()=>{q(!0)},a?9500:4500),setTimeout(()=>{K(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{ie(!0)},a?15e3:1e4)},[a]);const re=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return i.jsx(vi,{windowSize:r,children:i.jsxs(Ye,{children:[i.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]}}),i.jsxs(Oe,{windowSize:r,children:[i.jsx(yi,{windowSize:r,children:x.addToWallet.heading}),i.jsx(fi,{windowSize:r,children:x.addToWallet.subheading})]}),i.jsxs(Qe,{windowSize:r,children:[r!=="small"?i.jsx(Ci,{children:i.jsxs(Ue,{windowSize:r,children:[i.jsxs(qe,{windowSize:r,flipCard:T,scaleCard:z,children:[i.jsx(ce,{isDebitCard:a}),i.jsx(he,{showCrossIcon:!1,isDebitCard:a})]}),De(_,ee,re)]})}):null,i.jsxs(Re,{windowSize:r,children:[i.jsx(Ee,{children:i.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Ve,{}),i.jsx(P,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:i.jsxs(i.Fragment,{children:[i.jsx(Xe,{}),i.jsx(P,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:t.sp4,paddingBottom:t.sp4},containerStyle:{border:t.sp0},selected:S,onToggle:se})}),i.jsxs(Fe,{children:[i.jsx(He,{isActive:S==="apple",children:i.jsx(F,{tabType:"apple"})}),i.jsx(Pe,{isActive:S==="google",children:i.jsx(F,{tabType:"google"})})]}),r!=="small"?i.jsx(ji,{children:i.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),r==="small"?i.jsx(Si,{children:i.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%;
|
|
@@ -62,11 +62,11 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
62
62
|
min-height: 1px;
|
|
63
63
|
max-height: 1px;
|
|
64
64
|
margin: ${t.sp3} ${t.sp0};
|
|
65
|
-
`,
|
|
65
|
+
`,Re=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
|
|
68
68
|
flex-direction: column;
|
|
69
|
-
`,
|
|
69
|
+
`,Ee=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
height: ${t.sp8};
|
|
72
72
|
width: 100%;
|
|
@@ -78,11 +78,11 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
78
78
|
text-transform: none;
|
|
79
79
|
margin-left: ${t.sp2};
|
|
80
80
|
cursor: pointer;
|
|
81
|
-
`,
|
|
81
|
+
`,Le=o.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
flex-direction: column;
|
|
84
84
|
margin-top: ${t.sp6};
|
|
85
|
-
`,
|
|
85
|
+
`,Me=o.div`
|
|
86
86
|
padding: 12px;
|
|
87
87
|
border-radius: ${t.sp4};
|
|
88
88
|
background: ${s.successLight};
|
|
@@ -92,14 +92,14 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
92
92
|
border-radius: ${t.sp4};
|
|
93
93
|
background: ${e=>e.theme.colors.graphColor16Light};
|
|
94
94
|
display: flex;
|
|
95
|
-
`,
|
|
95
|
+
`,R=o.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: ${t.sp3};
|
|
99
|
-
`,
|
|
99
|
+
`,E=o(b)`
|
|
100
100
|
${({windowSize:e})=>y.walletTitleFont.style(e)}
|
|
101
101
|
color: ${e=>e.theme.colors.primary};
|
|
102
|
-
`,
|
|
102
|
+
`,L=o(b)`
|
|
103
103
|
${({windowSize:e})=>y.walletSubTitleFont.style(e)}
|
|
104
104
|
color: ${e=>e.theme.colors.hero};
|
|
105
105
|
margin-left: ${t.sp9};
|
|
@@ -107,16 +107,16 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
107
107
|
width: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
108
108
|
height: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
109
109
|
color: ${e=>e.theme.colors.link};
|
|
110
|
-
`,
|
|
110
|
+
`,Je=o(ye)`
|
|
111
111
|
width: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
112
112
|
height: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
113
113
|
`,Xe=o(ve)`
|
|
114
114
|
height: ${t.sp4};
|
|
115
115
|
width: ${t.sp4};
|
|
116
|
-
`,
|
|
116
|
+
`,Ve=o(je)`
|
|
117
117
|
height: ${t.sp4};
|
|
118
118
|
width: ${t.sp4};
|
|
119
|
-
`,
|
|
119
|
+
`,Ye=o.div`
|
|
120
120
|
height: 100%;
|
|
121
121
|
width: 100%;
|
|
122
122
|
display: flex;
|
|
@@ -131,9 +131,9 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
131
131
|
${e=>e.windowSize==="small"?"height: 100%;":null};
|
|
132
132
|
display: flex;
|
|
133
133
|
justify-content: center;
|
|
134
|
-
${e=>e.windowSize==="small"?
|
|
134
|
+
${e=>e.windowSize==="small"?B`
|
|
135
135
|
margin: ${t.sp0} ${t.sp3};
|
|
136
|
-
`:
|
|
136
|
+
`:B`
|
|
137
137
|
width: 100%;
|
|
138
138
|
`};
|
|
139
139
|
`,Ue=o.div`
|
|
@@ -151,7 +151,7 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
151
151
|
transform-style: preserve-3d;
|
|
152
152
|
border-radius: ${t.sp2};
|
|
153
153
|
box-shadow: ${e=>`1px 3px ${t.sp4} ${t.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
|
|
154
|
-
`,
|
|
154
|
+
`,Ke=o.div`
|
|
155
155
|
position: relative;
|
|
156
156
|
height: 118px;
|
|
157
157
|
width: 182px;
|
|
@@ -260,14 +260,14 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
260
260
|
margin-left: 0.5px;
|
|
261
261
|
border-top-right-radius: 1px;
|
|
262
262
|
border-bottom-right-radius: 1px;
|
|
263
|
-
`,gi=o(me)``,C=o.div``,xi=o(
|
|
263
|
+
`,gi=o(me)``,C=o.div``,xi=o(ue)`
|
|
264
264
|
width: ${t.sp7};
|
|
265
265
|
height: ${t.sp7};
|
|
266
266
|
color: ${s.success};
|
|
267
267
|
margin-top: ${t.sp4};
|
|
268
268
|
opacity: ${e=>e.showTick?1:0};
|
|
269
269
|
transition: opacity 0.5s linear;
|
|
270
|
-
`,mi=o(
|
|
270
|
+
`,mi=o($e)`
|
|
271
271
|
color: ${s.primaryLight};
|
|
272
272
|
opacity: ${e=>e.showTick?1:0};
|
|
273
273
|
transition: opacity 0.5s linear;
|
|
@@ -283,14 +283,14 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
283
283
|
hsla(0, 0%, 100%, 0.8),
|
|
284
284
|
hsla(0, 0%, 100%, 0.8)
|
|
285
285
|
);
|
|
286
|
-
|
|
286
|
+
`,ui=o.div`
|
|
287
287
|
width: ${e=>e.lineIndex===0?"66px":e.lineIndex===1?"112px":"55px"};
|
|
288
288
|
border: 2px solid ${s.brandColorGold};
|
|
289
289
|
margin-bottom: ${e=>e.lineIndex===1?"22px":"12px"};
|
|
290
290
|
border-radius: ${t.sp2};
|
|
291
291
|
margin-left: ${t.sp3};
|
|
292
292
|
margin-top: ${e=>e.lineIndex===0?t.sp4:t.sp0};
|
|
293
|
-
|
|
293
|
+
`,$i=o(we)`
|
|
294
294
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
295
295
|
width: ${t.sp3};
|
|
296
296
|
height: ${t.sp3};
|
|
@@ -341,4 +341,4 @@ import{X as L,d2 as le,w as ne,l as de,M as N,j as i,aV as pe,q as p,ik as ce,iC
|
|
|
341
341
|
margin-right: -92px;
|
|
342
342
|
margin-top: -92px;
|
|
343
343
|
z-index: 5;
|
|
344
|
-
`;export{
|
|
344
|
+
`;export{Ri as default};
|
package/dist/assets/{AgingReportsPage-ClR6ctjm-Cfdqgqs-.js → AgingReportsPage-DQ4P7iSR-BaDY7W1-.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as W,X as O,l as A,B as x,hu as be,j as t,hv as De,bf as Ne,hw as je,aY as Oe,aW as ve,C as D,T,fB as ke,o as N,a6 as Pe,s as m,a0 as Q,bI as Be,bJ as $e,bK as Me,m as Ae,bL as Ie,aj as ne,K as oe,a8 as re}from"./index-DYVNUtTS.js";import{b as f,n as y}from"./vendor-CnQcJ2Lu.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{L as Ye,k as ze}from"./ArAgingChart-CiJNNObG-DOT8YGoK.js";import{C as ie}from"./NoDataChart-D43mhDJW-B9CXfEvp.js";import{R as se,W as $}from"./CollapsableReportTable-DX-FpwE7-MJq_0H8T.js";import{d as le}from"./NoDataTable-BOfUxs9D-8iqVCaVk.js";import{l as ce}from"./mapSpacerToTreeNode-AXNRptLX-B0rl0_Lw.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./chartTypes-CWEoqL4g-Bo1GQ9Y0.js";import"./AccountRow-m3N4T8ro-CB7I5u10.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Ee={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
flex: 1 1 auto;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
height: ${e=>
|
|
7
|
+
height: ${e=>Ee.chartHeight.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${N.sp6};
|
|
9
|
-
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Fe,{report:e})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function
|
|
9
|
+
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Fe,{report:e})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(Ke({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function We({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function q({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const qe=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=q({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>We({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=q({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=q({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const 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=y.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
@@ -16,13 +16,13 @@ import{u as H,X as O,l as A,M as x,hq as be,j as t,hr as De,be as Ne,hs as je,aX
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function
|
|
19
|
+
`;function Ue({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Ge,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=W(),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=qe(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=W(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=He(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(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 Ve={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
align-items: center;
|
|
24
24
|
overflow: auto;
|
|
25
|
-
column-gap: ${e=>
|
|
25
|
+
column-gap: ${e=>Ve.summaryColumnGap.valuePx(e.windowSize)};
|
|
26
26
|
`,Z=y.div`
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
@@ -34,7 +34,7 @@ import{u as H,X as O,l as A,M as x,hq as be,j as t,hr as De,be as Ne,hs as je,aX
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ie)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Qe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>
|
|
37
|
+
`;function Qe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:b,reports:{common:Ze,aging:B}}=x.getLocalizedStrings();function vt(e){const a=W(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:z,onNodeCollapseToggled:ye}=e,{fetchState:v,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:M,sortKey:L,sortOrder:E,selectedDate:C,agingDateSelectionType:H}=c,{authParams:U,downloadEndPoint:G,timezone:J}=l,V=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),X=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:R,value:_e})=>({label:R,value:A.toCOABalanceTimeframe(_e)})).filter(({value:R})=>R!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(I(w),C!=null?C.format(b.analytics.YYYYDashMMDashDDFormat):A.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,C]),xe=f.useCallback((h,_)=>{S(h,_),r.trackAgingReportSortChange(I(w),_,h)},[r,S,w]),Ce=f.useCallback(()=>t.jsx(De,{maxDate:A.dateNow(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:lt(H),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:X}),[C,V,X,H]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:L,sortOrder:E,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await et(G,U,_),z("Completed"),r.trackAgingReportDownloadClick(I(w),L,E)}o&&M!=="In-Progress"&&(i(!1),z("In-Progress"),h())},[U,G,l.companyName,M,o,w,k,L,E,z,C,r,J]),v==="Error")return t.jsxs(at,{children:[t.jsx(nt,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(ot,{children:Ze.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:M==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(M==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(rt,{children:[t.jsx(ve,{title:we,subTitle:Ce(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(T,{controller:v==="Completed",children:[t.jsx(T,{controller:k.length===0,children:t.jsxs(st,{windowSize:s,children:[t.jsx(it,{children:t.jsx(Qe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(Ue,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}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,F.defaultFileName),l=await n.arrayBuffer();Me(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function tt(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const at=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -74,6 +74,6 @@ import{u as H,X as O,l as A,M as x,hq as be,j as t,hr as De,be as Ne,hs as je,aX
|
|
|
74
74
|
position: relative;
|
|
75
75
|
box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
76
|
background-color: ${e=>e.theme.colors.grey5};
|
|
77
|
-
padding-left: ${e=>
|
|
78
|
-
padding-right: ${e=>
|
|
77
|
+
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
78
|
+
padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
79
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{
|
|
1
|
+
import{ck as Y,ei as Ie,X as M,j as l,$ as P,l as q,B as Z,C as R,o as i,ao as re,i as ie,m as ne,cu as Pe,bL as Ce,fp as G,fq as J,c2 as K,s as L,bx as Se,V as te,gf as de,fs as T,fr as ce,ft as pe,af as me,gg as Oe,d as ue,cr as ge,M as he,cs as Re,P as Te}from"./index-DYVNUtTS.js";import{n as p,b as A}from"./vendor-CnQcJ2Lu.js";import{X as xe}from"./LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-BPP3i4wb.js";import{j as ve,C as fe}from"./LabeledZeniRolesDropDownField-nm5bG2up-B-C-v8v9.js";const _=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new R(120,120,160),toolTipWidth:new R(215,237)},g=Z.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:b})=>{const $=M(),C=se.largeLabelWidth.value($),{setValue:S}=Y(),D=te(h),y=D.splice(0,1),U=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=A.useMemo(()=>te(K.roles),[]),u=q.hasInvestorBankerLevelAccess(e.role);return A.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:$,"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(X,{}),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:J(m,f)},productsByUserRole:G(e.role,w)},registerOptions:{required:!0}}}),l.jsx(X,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx($),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(X,{}),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||f?g.notApplicable:T(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Le,{windowSize:$,children:[g.invitePage.controllerText,y[0]?l.jsxs(Ne,{href:`mailto:${y[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${y[0].firstName} ${y[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:_(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:T(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&b?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},De=()=>Z.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{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
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=Z.getLocalizedStrings().peoplePage,Ue=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:b})=>{const $=M(),{getValues:C,formState:{errors:S},setValue:D}=Y(),y=oe.largeLabelWidth.value($),[U,...B]=w,u=B.map(d=>d.email).join(","),r=A.useMemo(()=>K.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=q.hasInvestorBankerLevelAccess(e.role);return A.useEffect(()=>{(n||x||b)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,b]),l.jsxs(Me,{windowSize:$,"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(Oe)).reduce((j,I)=>j&&I)}},placeholder:T(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ze(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(E,{}),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:J(x,b)},productsByUserRole:G(e.role,f)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:y},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx($),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(O=>O.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(E,{}),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||b?c.notApplicable:T(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||b)},isDisabled:n||x||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||b?"disabled":void 0,opacity:n||x||b?.32:1}),l.jsx(E,{}),N?null:l.jsxs(Be,{windowSize:$,isDisabled:n,children:[c.invitePage.controllerText,U?l.jsx(Ee,{firstController:[U],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{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=()=>Z.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))},Me=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -54,7 +54,7 @@ import{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
54
54
|
.single-select-field__menu {
|
|
55
55
|
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,E=p.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex: 1;
|
|
60
60
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -89,13 +89,13 @@ import{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Ze=(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}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(_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(Ue,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,
|
|
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,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:K.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:J(h,w)},productsByUserRole:G([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,pl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:b,isBankingOnlyTenant:$,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:y})=>{const{getValues:U}=Y(),{append:B,remove:u}=Ie({name:h,control:t}),r=M(),n=U().userItems,d=()=>{const v=n.length-1,O=Ve(v+1,f,N,w,b,$,C);setTimeout(()=>B(O,{shouldFocus:!0}))},j=v=>{a(v)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ye,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((v,O)=>{const je=n.length;let V={};if(w==="zeni_only")V={email:v.email,role:Xe(v.role.selectedOptions,S)??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(Ge,{"data-testid":P("user-item",v.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx($e,{children:l.jsx(ye,{children:l.jsx(we,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:V,mode:w,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:b,isBankingOnlyTenant:$,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:y,index:O}),o===O&&r==="small"?l.jsx(el,{children:l.jsx(be,{onCancelClick:I,onRemoveUserItem:k})}):null]},O)}):null,S?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 w=M();return l.jsxs($e,{children:[l.jsx(ye,{children:l.jsx(we,{windowSize:w,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=M();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(Ke,{children:l.jsx(be,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Je,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(il,{})})})})})},be=({onCancelClick:e,onRemoveUserItem:t})=>{const o=M();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"})]})]})},Xe=(e,t)=>t?e:e!=null?[e]:[],Ye=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
|
-
padding-top: ${e=>
|
|
98
|
+
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
99
99
|
`,Ge=p.div`
|
|
100
100
|
.delete-icon-wrapper {
|
|
101
101
|
visibility: hidden;
|
|
@@ -105,7 +105,7 @@ import{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
105
105
|
visibility: visible;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
`,$e=p(re)`
|
|
109
109
|
display: flex;
|
|
110
110
|
width: 100%;
|
|
111
111
|
align-items: center;
|
|
@@ -113,17 +113,17 @@ import{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
113
113
|
color: ${e=>e.theme.colors.champion};
|
|
114
114
|
margin-top: ${i.sp3};
|
|
115
115
|
height: ${i.sp5};
|
|
116
|
-
|
|
116
|
+
`,we=p(re)`
|
|
117
117
|
color: ${e=>e.theme.colors.primary};
|
|
118
118
|
`,ye=p.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,
|
|
121
|
+
`,Je=p.div`
|
|
122
122
|
width: ${i.sp3};
|
|
123
123
|
height: ${i.sp3};
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
position: relative;
|
|
126
|
-
`,
|
|
126
|
+
`,Ke=p(ne)`
|
|
127
127
|
display: flex;
|
|
128
128
|
color: ${e=>e.theme.colors.hero};
|
|
129
129
|
align-items: center;
|
|
@@ -138,10 +138,10 @@ import{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
138
138
|
gap: ${i.sp2};
|
|
139
139
|
`,ll=p.div`
|
|
140
140
|
display: flex;
|
|
141
|
-
margin-left: ${e=>
|
|
141
|
+
margin-left: ${e=>W.deleteContentMarginLeft.valuePx(e.windowSize)};
|
|
142
142
|
`,ae=p.div`
|
|
143
143
|
display: flex;
|
|
144
|
-
margin-bottom: ${e=>
|
|
144
|
+
margin-bottom: ${e=>W.marginBottom.valuePx(e.windowSize)};
|
|
145
145
|
`,il=p(ge)`
|
|
146
146
|
width: ${i.sp3};
|
|
147
147
|
height: ${i.sp3};
|
|
@@ -162,7 +162,7 @@ import{cg as K,ee as Ie,X as W,j as l,_ as P,l as q,M as E,C as T,o as i,ao as r
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
align-items: center;
|
|
164
164
|
padding: ${i.sp3} ${i.sp4};
|
|
165
|
-
gap: ${e=>
|
|
165
|
+
gap: ${e=>W.addUserWrapperGap.valuePx(e.windowSize)};
|
|
166
166
|
|
|
167
167
|
width: auto;
|
|
168
168
|
height: ${i.sp8};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as R,X as B,B as d,j as o,bf as H,fB as K,aW as J,bP as W,o as L,a6 as U,aY as q,C as A,bI as Q,bJ as V,bK as X,s as h}from"./index-DYVNUtTS.js";import{b as S,n as i}from"./vendor-CnQcJ2Lu.js";import{W as G,L as Z}from"./EntitySummarySection-CKkXzM76-JNV3nj4B.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const v={wrapperContainerMarginTop:new A(h[4],h[0]),wrapperContaineHorizontalrMargin:new A(h[0],h[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -43,4 +43,4 @@ import{u as Y,X as B,M as d,j as o,be as H,fy as K,aV as q,bL as J,o as L,a6 as
|
|
|
43
43
|
margin-left: ${e=>v.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>v.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function De(e){const y=
|
|
46
|
+
`;function De(e){const y=R(),c=B(),f=d.getLocalizedStrings().common,g=d.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:s,onReload:w,onBackClick:N,onColumnSortConfigChanged:_,updateDownloadStateHandler:x,onTransactionClick:T}=e,{authParams:k,downloadEndPoint:z,timezone:$}=a,{fetchState:p,invoices:b,apAgingDetailUIState:j,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:C,downloadState:m}=j,[I,P]=S.useState(!1),M=d.getLocalizedStrings(),Y=M.reports.aging.agingDetail,F=S.useCallback((l,u)=>{r.vendor!=null&&s.trackApAgingDetailReportSortChange(l,u,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),_(l,u)},[s,r.vendor,t,_]);if(S.useEffect(()=>{async function l(){const u={companyName:a.companyName,sortKey:D,sortOrder:C,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:$,reportDate:t};await se(z,k,u),x("Completed"),r.vendor!=null&&s.trackApAgingDetailReportDownload(D,C,t.format(d.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}I&&m!=="In-Progress"&&(P(!1),x("In-Progress"),l())},[s,r.vendor,k,z,a.companyName,m,I,t,D,C,$,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 O=o.jsx(q,{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 P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(J,{title:f.strings.empty,backgroundColor:y.colors.grey5,onBackClick:N,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(G,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:c,children:o.jsx(ie,{windowSize:c,children:b.length===0||n==null?o.jsx(W,{message:Y.noDataText}):o.jsx(ee,{windowSize:c,children:o.jsx(Z,{uiState:j,invoices:b,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:F,onTransactionClick:T})})})})]})}async function se(e,y,c){const f=`${e}?query=${encodeURIComponent(JSON.stringify(le(c)))}`,g=d.getLocalizedStrings(),r=g.reports.aging.apAging.apAging,a=g.download;try{const t=await Q({urlEndPoint:f,authParams:y,fileType:"excel"});if(t.ok){const s=V(t.headers,a.defaultFileName),w=await t.arrayBuffer();X(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:d.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 e,X as h,a3 as x,o as r,C as l,
|
|
1
|
+
import{j as e,X as h,a3 as x,o as r,C as l,d as o,a6 as $,B as g,aL as u,cp as w,dM as f,co as j}from"./index-DYVNUtTS.js";import{n as i,b,k as v}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const d={maxWidth:new l(280,322),contentMaxWidth:new l(200,250)},k=v`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -22,7 +22,7 @@ import{j as e,X as h,a3 as x,o as r,C as l,g as o,a6 as $,M as g,aK as u,cl as w
|
|
|
22
22
|
flex-direction: row;
|
|
23
23
|
justify-content: center;
|
|
24
24
|
align-items: flex-start;
|
|
25
|
-
animation: ${
|
|
25
|
+
animation: ${k} 0.4s;
|
|
26
26
|
`,S=i(j)`
|
|
27
27
|
margin-top: 2px;
|
|
28
28
|
margin-right: 12px;
|
|
@@ -41,18 +41,18 @@ import{j as e,X as h,a3 as x,o as r,C as l,g as o,a6 as $,M as g,aK as u,cl as w
|
|
|
41
41
|
width: ${r.sp3};
|
|
42
42
|
height: ${r.sp3};
|
|
43
43
|
color: ${o.important};
|
|
44
|
-
`,
|
|
44
|
+
`,W=i(u)`
|
|
45
45
|
margin-top: 2px;
|
|
46
46
|
margin-right: 12px;
|
|
47
47
|
width: ${r.sp3};
|
|
48
48
|
height: ${r.sp3};
|
|
49
49
|
color: ${o.info};
|
|
50
|
-
`,
|
|
50
|
+
`,B=i.div``,C=i($)`
|
|
51
51
|
color: ${o.neutralGrey2Light};
|
|
52
52
|
word-break: break-word;
|
|
53
|
-
`,
|
|
53
|
+
`,L=i.div`
|
|
54
54
|
max-width: ${t=>d.contentMaxWidth.valuePx(t.windowSize)};
|
|
55
|
-
`,
|
|
55
|
+
`,M=i.div`
|
|
56
56
|
margin-top: 3px;
|
|
57
57
|
margin-left: 12px;
|
|
58
58
|
width: ${r.sp3};
|
|
@@ -65,4 +65,4 @@ import{j as e,X as h,a3 as x,o as r,C as l,g as o,a6 as $,M as g,aK as u,cl as w
|
|
|
65
65
|
&:hover {
|
|
66
66
|
color: ${o.primaryDark};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,T=(t,n,s)=>{let a=g.getLocalizedStrings().common.snackBar[t][n];return s?.forEach(p=>{a=a.replace(p.variableName,p.variableValue)}),a},I=({type:t})=>{switch(t){case"success":return e.jsx(S,{});case"info":return e.jsx(z,{});case"error":case"warning":return e.jsx(E,{});case"notification":return e.jsx(W,{});default:return null}};function N(t){const n=h(),{message:s,messageType:a,showStatusIcon:p,onRemoveSnackbar:c}=t;return b.useEffect(()=>{const m=setTimeout(()=>{c()},5e3);return()=>clearTimeout(m)},[s.section]),e.jsxs(y,{windowSize:n,children:[p===!0?e.jsx(I,{type:a}):null,e.jsx(L,{windowSize:n,children:e.jsx(B,{children:e.jsx(C,{children:T(s.section,s.text,s.variables)})})}),e.jsx(M,{onClick:c,children:e.jsx(x,{})})]})}const H=t=>e.jsx(P,{children:t.showSnackbar===!0?e.jsx(N,{...t.snackbar}):null}),P=i.div``;export{H as default};
|