@zeniai/web-cockpit-ui 1.14.91-qa → 1.14.92-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-B6sY0jN6-BewHWiw_.js +21 -0
- package/dist/assets/{AIPerformancePage-BWK9fXrz-rCBrp1JL.js → AIPerformancePage-BWK9fXrz-XnvE7-6d.js} +2 -2
- package/dist/assets/{AccountInfoPage-DfT5DDiZ-D0CVlv97.js → AccountInfoPage-DfT5DDiZ-DND7ENQF.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-D32CRcv0.js → AccountInfoPageContent-nUi26Aww-Bwa-HIUO.js} +11 -11
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-DFG-AArf.js → AccountLockedInfoModal-BROj4bmE-DDKXU8OA.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-DSRssRwi.js → AccountReconDetailsDrawerPage-C-3FFCQZ-D-TpqzuY.js} +7 -7
- package/dist/assets/{AccountRow-BM2kGWyR-CUEabI22.js → AccountRow-BM2kGWyR-CEX7zEFS.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-D2Rks2IH.js → AccountsPromoCardStack-CNCG5uPJ-Y2aCPflf.js} +5 -5
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-e0LZrU5l.js +6 -0
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-BOmGChQh.js → AddToWalletPage-DyrcWdBZ-CkK2fnuE.js} +17 -17
- package/dist/assets/{AgingReportsPage-CmluxKG3-CDFaJsCv.js → AgingReportsPage-CmluxKG3-B2hpJNM3.js} +7 -7
- package/dist/assets/{AllUserItems-CVZZU-J3-CQYclBqY.js → AllUserItems-CVZZU-J3-Ce2827d_.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-D1SMh_uB.js → ApAgingDetailPage-CoNxqskm-Bna_-NVA.js} +1 -1
- package/dist/assets/{AppBasePage-CTGNzUtN-CsSqlHFb.js → AppBasePage-CTGNzUtN--WSyuM8w.js} +4 -4
- package/dist/assets/{AppDrawerContent-59dQVUxu-BK18x8lU.js → AppDrawerContent-59dQVUxu-Bv7_BAFF.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-B6n0n-AH.js → ApprovalRulesSettingsPage-XEW5sdNg-DmNI-bwP.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-BMi6xDeV.js → ArAgingChart-D3Ym4gVE-DmsLk005.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-Cks0yhvG.js → ArAgingDetailPage-BLEJSLJJ-C4CejQvS.js} +1 -1
- package/dist/assets/{AttachmentView-DSP80cjm-CgZkBq6h.js → AttachmentView-DSP80cjm-BrHb-fdX.js} +7 -7
- package/dist/assets/{BankAccountSection-DRrNcA79-CfWXJkCL.js → BankAccountSection-DRrNcA79-DN0L_Nus.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-pYaBnYwo.js → BankAccountWarningSection-Ub-gsfhE-CWRw85Ya.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-Bmy_bjMC.js → BankConnectionsSettingsPage-BcTtJTbg-Cq7UhfIX.js} +9 -9
- package/dist/assets/{BillDetailPage-D7AQyxwr-DdsAIdzy.js → BillDetailPage-D7AQyxwr-C4hQ51aV.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-B3YKN5mU.js → BillPayApprovalRuleDetailPage-BQWGENO8-UqNryn1Y.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-Clw-2wlC.js → BillPayApprovalRulesPage-BbA1Nwqe-8oC6drGE.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-CQQQB354.js → BillPayPromoPage-DSTS_vBW-D4bhyD9i.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-NjhuI3UN.js → BillPaySetUpPage-CvlVPVCA-CckOfR6h.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-Dt0uXp5Q.js → BillingSettingsPage-nKpHtd4C-BrQxt-Or.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Cb4kf05q.js → BillsBulkReviewDrawerPage-DNHAoceL-CcLmGKWP.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-BmJyEo8P.js → BoxItem-Bjv3WNXO-CbkK_BvO.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BwDZ1SF1.js → BusinessVerificationPage-Bj4D9bX2-CSqpS47f.js} +7 -7
- package/dist/assets/CardNumberSubText-BYY-Inxd-B5eDSuWq.js +21 -0
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-KfzGeeHg.js → CashbackDetailPage-D9UiTqp9-CYWVGaEH.js} +14 -14
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DtWHXqSs.js → ChargeCardDetailPage-C5EdiIyl-BRwuM_9a.js} +24 -24
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-DbcJS4HW.js → ChargeCardListPage-DZwz1qoD-CqjW0D5U.js} +14 -14
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-CeQiSd9i.js → ChargeCardListTable-D5B05Z1F-D4hpaga1.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BhpbAa0E.js → ChargeCardPromoPage-CDJMtGJb-hssoPQjs.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-DEZ65n_v.js → ChargeCardSetupPage-CVV24gS9-BAOQ2Xly.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-snf3xLLe.js → ChargeCardStatementsPage-CmjBoi5e-DLlPm7j6.js} +3 -3
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-DksjSdSX.js → CheckDepositDrawerPage-CYOhT5Qz-NvWlDiXp.js} +10 -10
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-BeVhCFjP.js → CollapsableReportTable-hL_Ycouc-uf2_k_Pr.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-CRHkdATL.js → CompanyOfficerDetailsSection-DR_6TlQa-SwPBTgrA.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-C5MlH5vF.js → CompanyPassportCard-B4chn7-Q-Bv_vr7JG.js} +1 -1
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-Cn_rUM0x.js → CompanyPassportPage-oT9HnnPQ-BroxBLc-.js} +1 -1
- package/dist/assets/{CompleteProfile-BgH4v76Z-CMAlYJ7H.js → CompleteProfile-BgH4v76Z-CN661m7_.js} +1 -1
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-gdYynPR6.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-BbNmJCzp.js → CreateOrEditVendorPage-CW-u7pJU-D_V5jy6j.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DHMoXleH.js → CreditCardPaymentDrawerPage-D30M7ol4-Cmy98i97.js} +101 -101
- package/dist/assets/{CurrencySelectField-DOCEstMc-lt77fvq3.js → CurrencySelectField-DOCEstMc-DLDifnD2.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-Di2Nadj1.js → CustomerOnboardingActivationPage-DMPNjFL_-DXtNUrdA.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTN0ucTw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BXbbBAgo.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-lNg5MP87.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-D_7GUO1D.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-D9C_SyFY.js} +3 -3
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-C-OnNjx4.js → CustomerOnboardingPage-TJK6s-LM-CoIVtMVm.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-Bg8Yb8JM.js +202 -0
- package/dist/assets/{Dashboard-WiE9IRrh-DLy2oEV6.js → Dashboard-WiE9IRrh-DvtSkHmk.js} +14 -14
- package/dist/assets/{DashboardReportPage-BKHl_IVD--5FXkbx2.js → DashboardReportPage-BKHl_IVD-CtxBGv_B.js} +11 -11
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DOqCN-CI.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-C2YE4gmN.js → DepositAccTransactionItem-C8tChaJS-BcNs6Wmj.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-C_h4mZC3.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-Cigs9AsB.js +21 -0
- package/dist/assets/{DownloadOverlay-DB-qx46O-QQjLHCMg.js → DownloadOverlay-DB-qx46O-Di0XX-7b.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-DYWZbR7w.js → DrawerPage-Bha9ElcW-tQCg2vNB.js} +6 -6
- package/dist/assets/{EditPeoplePage-B6QD5Vld-CisYF3Ng.js → EditPeoplePage-B6QD5Vld-H7oW4yPE.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-D1RbirS3.js → EditReimbursementDetailPage-EplOf2mP-DR3ob0bq.js} +1 -1
- package/dist/assets/{EntityDetailPage-5Cu1qehd-D07nT3Te.js → EntityDetailPage-5Cu1qehd-BdCQHbCi.js} +1 -1
- package/dist/assets/{EntitySummarySection-D6z6-dM7-DEGQNQVO.js → EntitySummarySection-D6z6-dM7-iY3GcshB.js} +2 -2
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-NF6HtctB.js → ExpenseAutomationOverviewPage-DkoxczRc-Dj3WEFmv.js} +15 -15
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-Cmx09CtX.js → ExpenseAutomationPage-Na3XKgcg-DopOn429.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWGl_gml-D5XRTVzj.js → ExpressPayPage-DWGl_gml-hFOTsy6y.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-DzDv67fj.js → FeaturePreviewPage-BgkpUPMm-BgRBmXUD.js} +3 -3
- package/dist/assets/{FollowStepsSection-64oy2OLD-7-LclZyo.js → FollowStepsSection-64oy2OLD-BEGrGMi_.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-OAyr9UAc.js → GlobalReviewListPage-DHfTyj2C-C3EEWPiO.js} +12 -12
- package/dist/assets/{InformationCardStack-Dw3lhl2I-2Y0pRe_r.js → InformationCardStack-Dw3lhl2I-Bs6_LbeZ.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-CQn7ZFVZ.js → InsightsCardStack-BiEswY1Z-Db6FFDpQ.js} +9 -9
- package/dist/assets/{InsightsSection-DvqCilqy-BvIpOsD6.js → InsightsSection-DvqCilqy-BQT_s43S.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-K49nYAJL.js → IntegrationsSettingsPage-DzVYf5ff-DvdqA5Qq.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-C8RSfXK9.js → InternationalWireSwiftDetailsPage-DTHcuQsH-B-a9NSLn.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-BPPlgLxU.js → InternationalWireVerificationPage-BzyRqd-m-slndLY5A.js} +7 -7
- package/dist/assets/{InviteFormPage-CaJB3ss1-C7CdP0jU.js → InviteFormPage-CaJB3ss1-HHZxjRMu.js} +17 -17
- package/dist/assets/{InvitePageListView-8Ltt8tHx-Dpx_AdxA.js → InvitePageListView-8Ltt8tHx-BPR7jVHX.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-BX9kPS5-.js → InvitePeoplePage-A7oKAD7M-DkNn-Tux.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-DomquLut-BX54FmZz.js → InvoiceUploadSection-DomquLut-CutCF8wG.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-BN7RzIYF.js → IssueChargeCardPage-DtIQ1Buk-QOM0ijcK.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-DrM7vU1s.js → LabeledAddressValue-B_9lh-_a-B22yf0PW.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-1BY0JFnr.js → LabeledAddressValueField-CC7T3qZQ-5fkS_FuY.js} +2 -2
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-TvdaP8Vv.js → LabeledCreatableSingleSelectField-DKD0oEl8-Bqf3gDxT.js} +3 -3
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-CCiYsV9S.js → LabeledDocumentField-Dy3jwAiL-FmwpCOt6.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-CluakS-U.js → LabeledDropDownFormattedTextField-DDzM3r6s-CPxa5iPj.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-CcC7jZEk.js → LabeledText-axaAGyUS-B-Q4astZ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-BKf09x4e.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-OaRP8J18.js → LabeledZeniRolesDropDownField-dpz7g9jK-BDxh4AaM.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-CEg5TESY.js → LinkJETransactionPage-CJniqVcu-C9nn50Ye.js} +3 -3
- package/dist/assets/{LockCardPage-CjO8cr2a-D35PEeDH.js → LockCardPage-CjO8cr2a-C3aOpkLz.js} +12 -12
- package/dist/assets/{LowBalancePopup-DVS-w3b7-B-J4NCtT.js → LowBalancePopup-DVS-w3b7-DZeFvNAP.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-BWS1eLIz.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-BkvhGPqZ.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-DYCM1cCk.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-RnQYScep.js → MagicLinkSuccessPage-DAAoq3iT-s_k-As2A.js} +6 -6
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-Dq0HXyeM.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-ClA0Rhay.js +21 -0
- package/dist/assets/Menu-wpP8R1br-BkJyq7Tb.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-S9MhwXB4.js → MyBankConnectionsSettingsPage-DIIFgnkE-BpGRsOdm.js} +2 -2
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-CK6YDHgF.js → MyPendingActivationChargeCardListPage-Di_KYRgS-1GEJ-RE_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-Dsfb8_5o.js → MyProfileSettingsPage-m6vaeGgZ-CBRk31EZ.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-BXQJ2aBI.js → NavBarWithPicker-C_qO8mgD-DeDCa5cM.js} +4 -4
- package/dist/assets/{NavigationArrow-BXYIj6Wz-D0J_smpz.js → NavigationArrow-BXYIj6Wz-CANss6wI.js} +8 -8
- package/dist/assets/{NavigationDots-BvKSgdgh-BqXI1Dvt.js → NavigationDots-BvKSgdgh-ChF9WLMp.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-DLsg8Naf.js → NewGlobalMerchantPage-Dc3xEoiZ-BeCQwEx7.js} +2 -2
- package/dist/assets/NoDataChart-C5ZP32zB-BxSJ1j_J.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-CFZLFfEo.js +8 -0
- package/dist/assets/{NotFoundPage-CZ25GWwU-_oSr8iWX.js → NotFoundPage-CZ25GWwU-BICqInbF.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-BdTBQFAp.js → NotificationSettingsPage-DHvgj7Hu-BDiE5wjx.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-CyiwE-QZ.js → NotificationsListConfig-BBLSv0sd-CBsOo8lP.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-DTkwGX6T.js → NotificationsPage-CGVEC-Zc-CICQW2D8.js} +14 -14
- package/dist/assets/{OpExByVendorPage-D55JZne--CJqRGQiy.js → OpExByVendorPage-D55JZne--Cr5n73UL.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DQE32HEH.js → OverlayContainerPage-Daz3A7cI-DLdPkPwc.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-BDMz5n2J.js → PandLWithForecastPage-fVmttEKP-aWCR7ttl.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-Dbfq-Q5l.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-CY8MBOF0.js} +5 -5
- package/dist/assets/{PeoplePage-QuuuX2AS-BRICHczf.js → PeoplePage-QuuuX2AS-CDxGSCUE.js} +12 -12
- package/dist/assets/Preview-D_TLok3M.js +1 -0
- package/dist/assets/{ProductsCarousel-zdZkfaiY-_T4nYSYs.js → ProductsCarousel-zdZkfaiY-D8MGFtGX.js} +3 -3
- package/dist/assets/{PromoBaseCards-flFtcbIg-m_Kz4ZRp.js → PromoBaseCards-flFtcbIg-C0jZRRzU.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-DhNQ7g0E.js → QBOConnectionDialog-DNB2C1vQ-DPJHlPHX.js} +2 -2
- package/dist/assets/{QBOSetupSection-B59etoGz-_sJLDOFX.js → QBOSetupSection-B59etoGz-DxrgQvvQ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-BCz-fjPF.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-DiBw1aK-.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CIt97LH3.js → ReimbursementApprovalRulesPage-BJ6GewQ2-CMxGgRQ3.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-CiNVqXoI.js → ReimbursementDetailPage-DKAtYSOy-C1CMn4bM.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-5hV7x373.js → ReimbursementPromoPage-DKcSHlHp-gi8b3D2U.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--D_F0MA0d.js → ReimbursementSetUpPage-Y1e_hna--L4dNaOo2.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-VUP64soN.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-TK1XJV4S.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-k80dn-sY.js → ReloadCard-DjtdPHq5-D_RTB189.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-C9oSqHHS.js → ReportTableViewSelector-C8e6IEWt-B1X6y91F.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-BkK5XGLi.js → ReportsPage-BIe0eDLC-DJAgrzKt.js} +3 -3
- package/dist/assets/{RevenueChart-Cc0XrxLL-CKhxzTm3.js → RevenueChart-Cc0XrxLL-BSXP5Fpe.js} +30 -30
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR-BwWw8nzF.js → ReviewDetailsPage-CU1AYWgR-Aa7a5LiH.js} +17 -17
- package/dist/assets/{ReviewOverlay-CruJ9O84-tthxypv2.js → ReviewOverlay-CruJ9O84-C1Nn7-W1.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-h3kSlu0j.js → RoleWithToolTip-fC3byzzv-DvgcIN_v.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-BF1406RS.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-COrIX6jB.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BbWry4yd.js → ScheduleDetailsPage-BhAqJ1Of-aIc3huKD.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-B6P-vowS.js → ScheduleSequenceTable-NSt1juSD-DIpN7xpp.js} +21 -21
- package/dist/assets/{ScreenRoutes-CPwJf5AY.js → ScreenRoutes-jO5HDDDI.js} +75 -75
- package/dist/assets/SetUpAccountSection-C1EnJv1V-BqOATLaf.js +378 -0
- package/dist/assets/{SignIn-BhIof_Cm-BQjlVN_5.js → SignIn-BhIof_Cm-BVhCYPyL.js} +1 -1
- package/dist/assets/SignInScreen-DYrtrzQo.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-LpCmCl9n.js → SpendManagementListViewPage-BEWNNX_Z-DYJVhy13.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-B-R3eaH5.js → SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js} +20 -20
- package/dist/assets/{SpendManagementSection-C38Zpi1z-CSd7Ra1P.js → SpendManagementSection-C38Zpi1z-zTQSB9zV.js} +10 -10
- package/dist/assets/{StatementItem-bHInVThd-CvDlOdeO.js → StatementItem-bHInVThd-Bfw9F8uL.js} +2 -2
- package/dist/assets/{StatementsPage-CGQhmaXx-R_F9KvHl.js → StatementsPage-CGQhmaXx-BIuU-4wu.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-BflTgrEp.js → StatusSwitcher-7fiKLb5g-IubUY6EX.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-CnEO-V48.js → SubTabSwitcher-9AnfZiNy-DBEVnhtX.js} +3 -3
- package/dist/assets/{SummaryCard-DOycYLs1-BBnGU2Uh.js → SummaryCard-DOycYLs1-C5OfLiIW.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0-DxKz3xjn.js → TaskManagementPage-CehyMnY0-LzT8-CCR.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-BGlD5dTQ.js → TimeRangeSwitcher-Dq2FEgFR-CxbtXrjR.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-C7-16i-O.js → TimeframeSwitcher-By3xz_-m-4vvkqeCS.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-BNAWd54k.js → TimeframeSwitcherWithToggle-a3fmbzNR-DF955u5N.js} +3 -3
- package/dist/assets/{TopExCard-GEQpp_KY-IB_77Mna.js → TopExCard-GEQpp_KY-BsC8DQsa.js} +4 -4
- package/dist/assets/{TopExDetailPage-hid1dQYl-kxPti7uc.js → TopExDetailPage-hid1dQYl-o5BnuopY.js} +9 -9
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-BDaPm8U3.js → TransactionDetailPage-CX4JW9WM-gkT488m-.js} +3 -3
- package/dist/assets/{TransactionList-BixeXh4Y-D5p8k6VE.js → TransactionList-BixeXh4Y-CBLpnxhT.js} +13 -13
- package/dist/assets/{TransactionListBig-CGMMJQBd-DtMoV0wS.js → TransactionListBig-CGMMJQBd-Bi6fPPO-.js} +7 -7
- package/dist/assets/{TransactionListPage-CBVUTX4y-B8N6WUAF.js → TransactionListPage-CBVUTX4y-DvUQlgTG.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-B5vno7Kx.js → TransactionVendorDetailPage-CEbHH_0r-vhA6GFtl.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-DiQCCcuy.js → TransferDrawerPage-BFd7uQnF-CdQTDGt-.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-CiIm-PN1.js → TreasuryOverviewPage-Bd58hOy8-DrtmZ_fp.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-BvArufHi-H2j749vC.js → TreasuryPromoPage-BvArufHi-zGiWS1XQ.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-CcMOOxjw.js → TreasuryStatementsPage-YLCEBbRh-rIAdAl8t.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-yYkV0iu8.js → TreasuryTaxLetterPage-D_6mgQqi-DYRPEoC2.js} +1 -1
- package/dist/assets/{TrendChart-D3dT6hUb-BHuMWYoT.js → TrendChart-D3dT6hUb-DkxaRhLn.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-81d3HYcO.js → TrendWithTransactions-Gj-u5KXi-BXQxjthK.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-BVdGDC68.js → UncategorizedAccountsMappingPage-B3eRYolj-CDmprZps.js} +3 -3
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BLAHxX13.js → UnitIntegrationPage-DpjR9hUu-B-HccwC1.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-BbmaGPRn.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-CEUsiGHn.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CWx4yTGx.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-DjpTEW-F.js → VendorDetailPage-BrbKfsL4-Cj99XIhO.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-CPIfYbL9.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-BFued49C.js → VendorFiling1099EditablePage-DgBLn3fd-BC-C_gXr.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-G9JlI2Cf.js → VendorFirstReviewPage-jc7-OExI-B_u4wn_i.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-jfoBKQiW.js → VendorInternationalWireDetailsPage-c6isgwH2-G6KTzCh7.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BuJYqFug.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-D5xEFwOn.js → VendorsAccountsSection--VfdAF3H-CNAOxlvC.js} +2 -2
- package/dist/assets/{VerifyDevice-CaifjdR8-C5gOkIzM.js → VerifyDevice-CaifjdR8-B6dVM-BL.js} +1 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-B4UxpKEs.js +78 -0
- package/dist/assets/{VideoPopup-BEXc8o78-CVV-ILBt.js → VideoPopup-BEXc8o78-DJiZW-Cs.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-DFYQ5K3H.js → WarningsDrawerPage-CboqfxzC-gF7sCXHr.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-CqcpFC6J.js → ZeniAccountDetailPage-Dujj0-XC-V9rgFIsn.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-CM-NK1x4.js → ZeniAccountListViewPage--SMJDGvC-CZS6XXwc.js} +1 -1
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CkX8FMny.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-C-Z-wjK6.js → ZeniAccountPromoPage-BVjJvWsA-B4Bz7FjR.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-DMWDIaa0.js → ZeniAccountSetupPage-Dvxst8RT-Dv9aj6me.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-BZVlJOkG.js → ZeniCopyright-B88k3pkr-BvEC_X2s.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DXZHqv18.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-D178ysGy.js +1 -0
- package/dist/assets/{analytics-CHPpxU3b.js → analytics-D090O6Wm.js} +1 -1
- package/dist/assets/analyticsHelper-CW9XC1-j.js +1 -0
- package/dist/assets/{analyticsHelper-DmujELNG-CREtjHan.js → analyticsHelper-DmujELNG-CdoVsqKC.js} +1 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-Ccxih1KW.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-CaIDNTCx.js +1 -0
- package/dist/assets/{chartTypes-DRiSljvE-CV6dAhnU.js → chartTypes-DRiSljvE-DHGd6p3G.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-BmGAU2Ka.js → commonDimensions-BDftm0gJ-CtNxdt96.js} +1 -1
- package/dist/assets/constants-B1WOPvRN.js +1 -0
- package/dist/assets/core-BCGhSsNP.js +62 -0
- package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-DQU9jzwW.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-DcwKCO51.js → detailCommon-BGgE4mE3-BIZKCRTc.js} +3 -3
- package/dist/assets/{downloadPdf-DCQ9vVZs-BHlJTitV.js → downloadPdf-DCQ9vVZs-BAK1KQub.js} +1 -1
- package/dist/assets/empty-BFpyIT14.js +1 -0
- package/dist/assets/empty-Db_Oj0CQ.js +1 -0
- package/dist/assets/epic-BhAddVo8.js +2 -0
- package/dist/assets/gift-box-Cmt9OgIZ-BVmGGIyo.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BUSuwQOu.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js +1 -0
- package/dist/assets/handshake-BPg58FML-DBfm_e1t.js +1 -0
- package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
- package/dist/assets/{index-DDpxinoY.js → index-BGhFLU7w.js} +582 -582
- package/dist/assets/index-BpEXgtW2.js +1 -0
- package/dist/assets/index-CrL4860P.js +1 -0
- package/dist/assets/index-DOvOS8E_.js +1 -0
- package/dist/assets/{index-BG_bOyH4.js → index-DT-oXxhz.js} +3 -3
- package/dist/assets/index-DuKH4leN.js +1 -0
- package/dist/assets/{index-BiiqfeFx.js → index-RjyLdqZN.js} +1 -1
- package/dist/assets/{lexical-dZFDzIA1.js → lexical-CtZYfzDm.js} +1 -1
- package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-DjrSQGDL.js} +28 -20
- package/dist/assets/lottie-QlMyEFez.js +9 -0
- package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-CTGwDEAX.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-DEpSFHGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-DnxPTr5m.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-woXs_v4t.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-CYjFYdJ9.js → mapSpacerToTreeNode-Bc1S_1ej-D8Xyxewi.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-NiO57h1_.js → mapTimeframeBalancesToTreeNode-ClgcHX26-CH6aCNop.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-D8SBCace.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-D47kQKR9.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-2wcYi7O-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-ExH9IzF0.js} +1 -1
- package/dist/assets/mui-8xKzSljO.js +17 -0
- package/dist/assets/page-detail-CWX5S47F-DjAUkIIu.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-DioVIMbJ.js +1 -0
- package/dist/assets/{react-KsUvriAa.js → react-1fNkcXJk.js} +2 -2
- package/dist/assets/react-5bc96E7k.js +17 -0
- package/dist/assets/{react-PdDuKQQV.js → react-BpMq70Jz.js} +1 -1
- package/dist/assets/{react-BuuImry8.js → react-C26MaKuf.js} +1 -1
- package/dist/assets/{react-C5CamjHm.js → react-CQVfZdRf.js} +2 -2
- package/dist/assets/{react-B2Dtpj08.js → react-CvSzLYZW.js} +2 -2
- package/dist/assets/{react-D9gRIIQJ.js → react-DEufTa0Y.js} +2 -2
- package/dist/assets/{react-CurU10nF.js → react-euUD_2CS.js} +3 -3
- package/dist/assets/recharts-BnXj3KRI.js +73 -0
- package/dist/assets/sentry-C9BQzslk.js +515 -0
- package/dist/assets/shield-DOlUxcFf-DfgTXsyM.js +1 -0
- package/dist/assets/{toCOABalancesWithID--oEGymMJ-DR0b-mdX.js → toCOABalancesWithID--oEGymMJ-DkNt3ShR.js} +1 -1
- package/dist/assets/toChartData-CavJzP6f-MNPPYJmI.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-DvtWJS0D.js +1 -0
- package/dist/assets/{uploadAttachment-BuVCsq0Q-zKioks8R.js → uploadAttachment-BuVCsq0Q-S-SyFEfz.js} +7 -7
- package/dist/assets/{uploadReceipts-CPw64UYa-C0--mSOy.js → uploadReceipts-CPw64UYa-BH5K-sl5.js} +1 -1
- package/dist/assets/url-MazUlenF.js +1 -0
- package/dist/assets/{url-RUB1rBsd.js → url-WfClTpIP.js} +1 -1
- package/dist/assets/useLongPress-GCK2COYQ-DGIP6WpU.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-CVrOUZlu.js +1 -0
- package/dist/assets/{utils-DUsHM-Uc.js → utils-zYB6z_it.js} +19 -19
- package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-D9zDRHOK.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-B6sY0jN6-QcJjVZLW.js +0 -21
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-DfK93MR3.js +0 -6
- package/dist/assets/CardNumberSubText-BYY-Inxd-BF9mueWC.js +0 -21
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-CSCZc3Am.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-BcjiZZxB.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-DYmoezK0.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DmY76tPV.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-Cv-bpsAZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-Dc980arD.js +0 -21
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-LBs1AfJr.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-C1Uh1KWH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-DlGiUpRU.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BJ6bmenf.js +0 -1
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-Cd8bErwn.js +0 -17
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-Cv8N5toW.js +0 -21
- package/dist/assets/Menu-wpP8R1br-C8t8BK70.js +0 -17
- package/dist/assets/NoDataChart-C5ZP32zB-DUId3_Lj.js +0 -26
- package/dist/assets/NoDataTable-BnBYE8p_-3MJZp5mC.js +0 -8
- package/dist/assets/Preview-D0lKYz6_.js +0 -1
- package/dist/assets/SetUpAccountSection-C1EnJv1V-xzskbN4f.js +0 -378
- package/dist/assets/SignInScreen-FZ4QwHzk.js +0 -1
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-CEOzWsBe.js +0 -38
- package/dist/assets/Vendor2FAPopup-C85mhuSb-C6pzaZ31.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CCXex94-.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-eyjP7Ln-.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-C4ZxXJOV.js +0 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-CvUJV07D.js +0 -78
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-C8FJNePa.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-B25HwNSf.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
- package/dist/assets/analyticsHelper-lfrGqA3D.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
- package/dist/assets/constants-B4Ak6U9p.js +0 -1
- package/dist/assets/core-CA3j8Axi.js +0 -77
- package/dist/assets/empty-CrPfQgao.js +0 -1
- package/dist/assets/empty-Dn000SHy.js +0 -1
- package/dist/assets/epic-C_I3d-Sx.js +0 -2
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
- package/dist/assets/index-BWZriWwb.js +0 -1
- package/dist/assets/index-C-ypGNlB.js +0 -1
- package/dist/assets/index-C4-PHmb9.js +0 -1
- package/dist/assets/index-C5fdNIhc.js +0 -1
- package/dist/assets/lottie-B7mXQ-R-.js +0 -9
- package/dist/assets/mui-DpJXlk4t.js +0 -25
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
- package/dist/assets/react-B7zczQTC.js +0 -17
- package/dist/assets/recharts-BGdJnVo5.js +0 -73
- package/dist/assets/sentry-BA4piVNf.js +0 -500
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
- package/dist/assets/toChartData-CavJzP6f-KkbBsImT.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
- package/dist/assets/url-Bq2XNMnM.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
package/dist/assets/{AddToWalletPage-DyrcWdBZ-BOmGChQh.js → AddToWalletPage-DyrcWdBZ-CkK2fnuE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a7 as
|
|
1
|
+
import{q as L,a7 as le,av as ne,F as N,V as t,bz as de,c as p,j1 as pe,jj as ce,o as i,n as W,aM as A,y as m,a as $,B as b,jk as he,j2 as ge,cf as xe,p as r,jl as me,bv as ue,cS as we,ak as $e,b as be,j6 as fe}from"./index-BGhFLU7w.js";import{a as g}from"./sentry-C9BQzslk.js";import{n as o,c as D}from"./mui-8xKzSljO.js";import{EF as ye}from"./zeni-epic-state-D9zDRHOK.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-D178ysGy.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ae79747f-0dfb-420a-98ae-bd8a6c56cf20",e._sentryDebugIdIdentifier="sentry-dbid-ae79747f-0dfb-420a-98ae-bd8a6c56cf20")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const u=e.findIndex(n=>n.id===a),w=100/e.length,j=()=>u===0?{left:"1%"}:u===e.length-1?{left:`${(e.length-1)*w}%`}:{left:`${u*w}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${w-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(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,a7 as de,av as le,F as N,V as t,bz as ne,c as p,j1 as pe,jj as ce,
|
|
|
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:F,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])},f={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Fe=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:F.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(Ye,{children:[t.jsx(Ke,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(ut,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(wt,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:F.addToWallet})]}),t.jsx(st,{})]}),B=({tabType:e})=>{const a=L();return t.jsxs(He,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(_e,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Le,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:_,creditAccount:G,creditAccountRepayment:V,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:q})=>{const s=L(),Q=le().analytics,[T,U]=g.useState(!1),[z,Y]=g.useState(!1),[K,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=ye(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:_,classListFetchState:l,analytics:Q,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:O,cardHolderRoles:X,cardHolderDepartmentName:q,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:y,creditAccount:G,creditAccountRepayment:V}),ie(I)};g.useEffect(()=>{setTimeout(()=>{U(!0)},a?9500:4500),setTimeout(()=>{Y(!0)},a?9e3:4e3),setTimeout(()=>{Z(!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(Oe,{children:[t.jsx(de,{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(Xe,{windowSize:s,children:[t.jsx(ft,{windowSize:s,children:x.addToWallet.heading}),t.jsx(yt,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(qe,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Qe,{windowSize:s,children:[t.jsxs(Ue,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Fe(K,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(M,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Ve,{}),t.jsx(M,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Be,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(B,{tabType:"apple"})}),t.jsx(Me,{isActive:S==="google",children:t.jsx(B,{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]})})},Be=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
@@ -97,17 +97,17 @@ import{q as L,a7 as de,av as le,F as N,V as t,bz as ne,c as p,j1 as pe,jj as ce,
|
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: ${i.sp3};
|
|
99
99
|
`,E=o(b)`
|
|
100
|
-
${({windowSize:e})=>
|
|
100
|
+
${({windowSize:e})=>f.walletTitleFont.style(e)}
|
|
101
101
|
color: ${e=>e.theme.colors.primary};
|
|
102
102
|
`,H=o(b)`
|
|
103
|
-
${({windowSize:e})=>
|
|
103
|
+
${({windowSize:e})=>f.walletSubTitleFont.style(e)}
|
|
104
104
|
color: ${e=>e.theme.colors.hero};
|
|
105
105
|
margin-left: ${i.sp9};
|
|
106
|
-
`,
|
|
106
|
+
`,_e=o(ze)`
|
|
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
|
+
`,Ge=o(fe)`
|
|
111
111
|
width: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
112
112
|
height: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
113
113
|
`,Ve=o(ve)`
|
|
@@ -136,11 +136,11 @@ import{q as L,a7 as de,av as le,F as N,V as t,bz as ne,c as p,j1 as pe,jj as ce,
|
|
|
136
136
|
`:D`
|
|
137
137
|
width: 100%;
|
|
138
138
|
`};
|
|
139
|
-
`,
|
|
139
|
+
`,Qe=o.div`
|
|
140
140
|
display: flex;
|
|
141
141
|
position: relative;
|
|
142
142
|
align-items: center;
|
|
143
|
-
`,
|
|
143
|
+
`,Ue=o.div`
|
|
144
144
|
position: relative;
|
|
145
145
|
display: flex;
|
|
146
146
|
flex-direction: column;
|
|
@@ -151,13 +151,13 @@ import{q as L,a7 as de,av as le,F as N,V as t,bz as ne,c as p,j1 as pe,jj as ce,
|
|
|
151
151
|
transform-style: preserve-3d;
|
|
152
152
|
border-radius: ${i.sp2};
|
|
153
153
|
box-shadow: ${e=>`1px 3px ${i.sp4} ${i.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
|
|
154
|
-
`,
|
|
154
|
+
`,Ye=o.div`
|
|
155
155
|
position: relative;
|
|
156
156
|
height: 118px;
|
|
157
157
|
width: 182px;
|
|
158
158
|
margin: 13px;
|
|
159
159
|
margin-top: 60px;
|
|
160
|
-
`,
|
|
160
|
+
`,Ke=o(Se)`
|
|
161
161
|
height: 36px;
|
|
162
162
|
width: 36px;
|
|
163
163
|
position: absolute;
|
|
@@ -226,16 +226,16 @@ import{q as L,a7 as de,av as le,F as N,V as t,bz as ne,c as p,j1 as pe,jj as ce,
|
|
|
226
226
|
left: ${i.sp0};
|
|
227
227
|
right: ${i.sp0};
|
|
228
228
|
margin: ${i.sp2} auto;
|
|
229
|
-
`,
|
|
229
|
+
`,lt=o.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
align-items: flex-end;
|
|
232
|
-
`,
|
|
232
|
+
`,nt=o.div`
|
|
233
233
|
height: ${e=>`${e.towerIndex+3}px`};
|
|
234
234
|
width: 2px;
|
|
235
235
|
margin-right: 1px;
|
|
236
236
|
background-color: ${e=>e.towerIndex===3?r.phoneSignalColor:r.blackColor};
|
|
237
237
|
border-radius: 0.5px;
|
|
238
|
-
`,
|
|
238
|
+
`,dt=o.div`
|
|
239
239
|
margin-top: ${i.sp2};
|
|
240
240
|
& .wave {
|
|
241
241
|
border: 2px solid transparent;
|
|
@@ -302,13 +302,13 @@ import{q as L,a7 as de,av as le,F as N,V as t,bz as ne,c as p,j1 as pe,jj as ce,
|
|
|
302
302
|
height: 100%;
|
|
303
303
|
position: absolute;
|
|
304
304
|
top: 0;
|
|
305
|
-
`,
|
|
306
|
-
${e=>`${
|
|
305
|
+
`,ft=o(b)`
|
|
306
|
+
${e=>`${f.headingFont.style(e.windowSize)}`};
|
|
307
307
|
${e=>e.windowSize==="small"&&"white-space: pre;"}
|
|
308
308
|
color: ${e=>e.theme.colors.primary};
|
|
309
309
|
text-align: center;
|
|
310
|
-
`,
|
|
311
|
-
${e=>`${
|
|
310
|
+
`,yt=o(b)`
|
|
311
|
+
${e=>`${f.subheadingFont.style(e.windowSize)}`};
|
|
312
312
|
color: ${e=>e.theme.colors.primary};
|
|
313
313
|
text-align: center;
|
|
314
314
|
`,jt=o.div`
|
package/dist/assets/{AgingReportsPage-CmluxKG3-CDFaJsCv.js → AgingReportsPage-CmluxKG3-B2hpJNM3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as
|
|
1
|
+
import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as ke,y as D,a9 as F,g1 as je,F as x,o as N,aQ as Pe,c as m,aK as Q,cc as Be,cd as $e,ce as Ie,ak as Ae,cf as Me,b1 as ne,aA as oe,aS as re}from"./index-BGhFLU7w.js";import{a as f}from"./sentry-C9BQzslk.js";import{n as y}from"./mui-8xKzSljO.js";import{bh as R,FP as Ye}from"./zeni-epic-state-D9zDRHOK.js";import{n as A}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-D3Ym4gVE-DmsLk005.js";import{C as ie}from"./NoDataChart-C5ZP32zB-BxSJ1j_J.js";import{I as se,R as $}from"./CollapsableReportTable-hL_Ycouc-uf2_k_Pr.js";import{d as le}from"./NoDataTable-BnBYE8p_-CFZLFfEo.js";import{l as ce}from"./mapSpacerToTreeNode-Bc1S_1ej-D8Xyxewi.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./chartTypes-DRiSljvE-DHGd6p3G.js";import"./AccountRow-BM2kGWyR-CEX7zEFS.js";import"./graphic-no-data-l-DU4J8fDt-BUSuwQOu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="d7caf5f0-4774-4afb-8259-c75f2e5ad79c",e._sentryDebugIdIdentifier="sentry-dbid-d7caf5f0-4774-4afb-8259-c75f2e5ad79c")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -6,7 +6,7 @@ import{d as K,q as O,F as x,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
height: ${e=>Fe.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(
|
|
9
|
+
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Ke,{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(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Le,{isDetailPage:!0,report:e,width:i,height:o})})})}function 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 Ge({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 G({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=G({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ge({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}},Ue=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=G({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=G({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const v={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},M=y.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
@@ -16,13 +16,13 @@ import{d as K,q as O,F as x,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ze,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ze,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=q(),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(M,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(M,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ze({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=q(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,b)=>{a(g,b)},[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 b=Ue(e,g,p);n(e),l(b)}else{const b=ue(c,g,e,p);l(b)}},[e,d]),e.agingBalances.length===0?t.jsx(M,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(M,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ve={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
align-items: center;
|
|
24
24
|
overflow: auto;
|
|
25
|
-
column-gap: ${e=>
|
|
25
|
+
column-gap: ${e=>Ve.summaryColumnGap.valuePx(e.windowSize)};
|
|
26
26
|
`,X=y.div`
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
@@ -34,7 +34,7 @@ import{d as K,q as O,F as x,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Me)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(
|
|
37
|
+
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=q(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:b,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:k,reportTitle:we,reportId:w}=n,{searchString:j,downloadState:I,sortKey:z,sortOrder:L,selectedDate:S,agingDateSelectionType:H}=c,{authParams:U,downloadEndPoint:W,timezone:J}=l,Z=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(A(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),V=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:E,value:Ce})=>({label:E,value:Ye(Ce)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(A(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),xe=f.useCallback((h,C)=>{b(h,C),r.trackAgingReportSortChange(A(w),C,h)},[r,b,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:Z},onSelectedDateChanged:V}),[S,Z,V,H]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:j,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,U,C),Y("Completed"),r.trackAgingReportDownloadClick(A(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[U,W,l.companyName,I,o,w,j,z,L,Y,S,r,J]),k==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const be=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(j?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:j??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(ke,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:be,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:k==="In-Progress"||k==="Not-Started",children:t.jsx(je,{fetchState:k})}),t.jsxs(F,{controller:k==="Completed",children:[t.jsx(F,{controller:j.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ie(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 at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -74,6 +74,6 @@ import{d as K,q as O,F as x,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,
|
|
|
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
|
`,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},ae=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Bt as default,at as toDownloadAgingReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cO as Q,eh as Ie,q as _,V as l,
|
|
1
|
+
import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as ie,ak as ne,cY as Pe,cf as Ce,c as L,bQ as Se,aG as te,cx as Y,gK as de,fU as R,fR as K,fS as X,fT as ce,fV as pe,aZ as me,gL as Te,p as ue,cV as ge,al as he,cW as Oe,ac as Re}from"./index-BGhFLU7w.js";import{n as p}from"./mui-8xKzSljO.js";import{Fv as ze,bg as J}from"./zeni-epic-state-D9zDRHOK.js";import{a as E}from"./sentry-C9BQzslk.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js";import{j as fe,C as be}from"./LabeledZeniRolesDropDownField-dpz7g9jK-BDxh4AaM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f21f6040-3081-4a04-b09d-4f15d63a0d6d",e._sentryDebugIdIdentifier="sentry-dbid-f21f6040-3081-4a04-b09d-4f15d63a0d6d")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=E.useMemo(()=>te(Y.roles),[]),u=J(e.role);return E.useEffect(()=>{(u||m||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(H,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:X(m,b)},productsByUserRole:K(e.role,w)},registerOptions:{required:!0}}}),l.jsx(H,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(H,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||b?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -9,7 +9,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aK as P,F as B,y as O,o as i,b7 as re,n as
|
|
|
9
9
|
.single-select-field__menu {
|
|
10
10
|
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
11
11
|
}
|
|
12
|
-
`,
|
|
12
|
+
`,H=p.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex: 1;
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -43,7 +43,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aK as P,F as B,y as O,o as i,b7 as re,n as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=B.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=B.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const y=_(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(y),[N,...M]=w,u=M.map(d=>d.email).join(","),r=E.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=J(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:y,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Te)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ve(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(V,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:X(x,v)},productsByUserRole:K(e.role,b)},registerOptions:{required:!0}}}),l.jsx(V,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(We,{}),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(T=>T.classId===I.userRole.accountingClassIDs[0]),f=[];return k!=null&&f.push(k.className),f}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(V,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(V,{}),U?null:l.jsxs(Ze,{windowSize:y,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -92,7 +92,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aK as P,F as B,y as O,o as i,b7 as re,n as
|
|
|
92
92
|
`,Ve=(e,t,o,a,s)=>{if(Oe(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Be,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},
|
|
95
|
+
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},Ge=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:X(h,w)},productsByUserRole:K([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Q(),{append:M,remove:u}=Ie({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const f=n.length-1,T=Ge(f+1,b,U,w,v,y,C);setTimeout(()=>M(T,{shouldFocus:!0}))},j=f=>{a(f)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ke,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((f,T)=>{const je=n.length;let q={};if(w==="zeni_only")q={email:f.email,role:Ye(f.role.selectedOptions,S)??void 0};else{const ee=f.nonZeniRole?.userRole.selectedRole,A=ee!=null?(f.nonZeniRole?.productsByUserRole[ee]??[]).map(G=>ze(G.selectedOption?.value)).filter(G=>G!=null):[],le=A.length>0?J(A):!1;q={email:f.email,role:A,managerId:le?void 0:f.manager?.selectedUser,departmentId:le?void 0:f.department?.selectedOption?.value}}return l.jsxs(Xe,{"data-testid":P("user-item",f.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(ye,{children:l.jsx($e,{children:l.jsx(we,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:q,mode:w,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:I,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},He=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const w=_();return l.jsxs(ye,{children:[l.jsx($e,{children:l.jsx(we,{windowSize:w,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(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(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Ke=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{cO as Q,eh as Ie,q as _,V as l,aK as P,F as B,y as O,o as i,b7 as re,n as
|
|
|
105
105
|
visibility: visible;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
`,
|
|
108
|
+
`,ye=p(re)`
|
|
109
109
|
display: flex;
|
|
110
110
|
width: 100%;
|
|
111
111
|
align-items: center;
|
|
@@ -113,7 +113,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aK as P,F as B,y as O,o as i,b7 as re,n as
|
|
|
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
|
`,$e=p.div`
|
|
119
119
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as u}from"./index-
|
|
1
|
+
import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as u}from"./index-BGhFLU7w.js";import{a as _}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import{W as Q,L as X}from"./EntitySummarySection-D6z6-dM7-iY3GcshB.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="fe2b732c-ee6c-4031-87de-171b5fe615d4",e._sentryDebugIdIdentifier="sentry-dbid-fe2b732c-ee6c-4031-87de-171b5fe615d4")}catch{}})();const S={wrapperContainerMarginTop:new M(u[4],u[0]),wrapperContaineHorizontalrMargin:new M(u[0],u[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as m,L as
|
|
1
|
+
import{V as t,q as m,L as f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,dK as b,cS as w}from"./index-BGhFLU7w.js";import{n as i,k as y}from"./mui-8xKzSljO.js";import{a as j}from"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e4fb301e-560f-4b87-b338-7facfec58d72",e._sentryDebugIdIdentifier="sentry-dbid-e4fb301e-560f-4b87-b338-7facfec58d72")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -41,13 +41,13 @@ import{V as t,q as m,L as x,o as r,y as p,p as a,aQ as g,F as u,bn as f,cT as $,
|
|
|
41
41
|
width: ${r.sp3};
|
|
42
42
|
height: ${r.sp3};
|
|
43
43
|
color: ${a.important};
|
|
44
|
-
`,T=i(
|
|
44
|
+
`,T=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: ${a.info};
|
|
50
|
-
`,I=i.div``,E=i(
|
|
50
|
+
`,I=i.div``,E=i(x)`
|
|
51
51
|
color: ${a.neutralGrey2Light};
|
|
52
52
|
word-break: break-word;
|
|
53
53
|
white-space: pre-line;
|
|
@@ -66,6 +66,6 @@ import{V as t,q as m,L as x,o as r,y as p,p as a,aQ as g,F as u,bn as f,cT as $,
|
|
|
66
66
|
&:hover {
|
|
67
67
|
color: ${a.primaryDark};
|
|
68
68
|
}
|
|
69
|
-
`,L=(e,o,s)=>{let n=
|
|
69
|
+
`,L=(e,o,s)=>{let n=g.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(c=>{n=n.replace(c.variableName,c.variableValue)}),n},_=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(T,{});default:return null}};function M(e){const o=m(),{message:s,messageType:n,showStatusIcon:c,onRemoveSnackbar:d}=e;return j.useEffect(()=>{const h=setTimeout(()=>{d()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[c===!0?t.jsx(_,{type:n}):null,t.jsx(W,{windowSize:o,children:t.jsx(I,{children:t.jsx(E,{children:L(s.section,s.text,s.variables)})})}),t.jsx(C,{onClick:d,children:t.jsx(f,{})})]})}const Q=e=>t.jsx(O,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(M,{...e.snackbar}):null}),O=i.div`
|
|
70
70
|
background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
|
|
71
71
|
`;export{Q as default};
|
package/dist/assets/{AppDrawerContent-59dQVUxu-BK18x8lU.js → AppDrawerContent-59dQVUxu-Bv7_BAFF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as be,aW as p,b3 as f}from"./index-
|
|
1
|
+
import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as be,aW as p,b3 as f}from"./index-BGhFLU7w.js";import{a as o,S as pe}from"./sentry-C9BQzslk.js";import{n as l}from"./mui-8xKzSljO.js";import{bk as fe}from"./zeni-epic-state-D9zDRHOK.js";import{v as me}from"./DashboardSidebarBackgroundAnimation-B1mJObim-DOqCN-CI.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="a1aab8e8-0af8-43fd-bdad-796457bfc558",e._sentryDebugIdIdentifier="sentry-dbid-a1aab8e8-0af8-43fd-bdad-796457bfc558")}catch{}})();const he=o.memo(function({animationEnabled:e=!1}){const[i,s]=p("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ge,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as F,q as U,av as V,F as p,aS as
|
|
1
|
+
import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as S,y as d,o as k,al as J,b as j,c as o}from"./index-BGhFLU7w.js";import{n as l}from"./mui-8xKzSljO.js";import{Fs as N,Ft as q}from"./zeni-epic-state-D9zDRHOK.js";import"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="d5479375-29f9-42be-9141-189934579520",e._sentryDebugIdIdentifier="sentry-dbid-d5479375-29f9-42be-9141-189934579520")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:z})=>{const r=F(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:T}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=a,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:L}=B,{reimbursementSetup:W}=M,{setUp:s}=A,_=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=q(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:_?t.jsx(Y,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:v},onClick:I,status:m.length>0?T:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:v},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:z,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,F as
|
|
1
|
+
import{V as i,F as f,d6 as k,d as z,b1 as T,c as S,b as w,aV as N,d7 as P,d8 as I,p as h,o as x,ak as q}from"./index-BGhFLU7w.js";import{a as C,S as H}from"./sentry-C9BQzslk.js";import{n as j}from"./mui-8xKzSljO.js";import{l as v,_ as K,h as V,m as J,u as L}from"./chartTypes-DRiSljvE-DHGd6p3G.js";import{bm as D,Fc as B}from"./zeni-epic-state-D9zDRHOK.js";import{N as R,I as A,X as W,Y as G,J as _,K as F}from"./recharts-BnXj3KRI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="81ec4d2d-9c51-444c-bd39-c2c53ffb6d95",e._sentryDebugIdIdentifier="sentry-dbid-81ec4d2d-9c51-444c-bd39-c2c53ffb6d95")}catch{}})();const Q=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=j.div`
|
|
4
4
|
flex: display;
|
|
@@ -15,10 +15,10 @@ import{V as i,F as p,d6 as k,d as z,b1 as T,c as S,b as w,aV as P,d7 as N,d8 as
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 1px;
|
|
17
17
|
background-color: ${h.neutralGrey3Dark};
|
|
18
|
-
`,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:
|
|
18
|
+
`,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(Q,{children:i.jsxs(U,{children:[i.jsx(E,{color:e[0].color,children:`${e[0].barName}: ${L(e[0].actual)}`}),i.jsx(Z,{}),i.jsx(E,{children:`${f.getLocalizedStrings().chartCard.total}: ${L(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},M=H.memo(te),Y=5;function oe(e){const o=P(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,Y-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function O(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ae=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>Y){const s=oe(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??D.currencyCode,currencySymbol:l[m].amount?.currencySymbol??D.currencySymbol}};const p=O(d);return r.push(...p),{label:c,record:d}}const u=O(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ne=j.div`
|
|
19
19
|
width: ${e=>e.width}px;
|
|
20
20
|
height: ${e=>e.height}px;
|
|
21
|
-
`,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const
|
|
21
|
+
`,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(T,{children:({height:d,width:l})=>i.jsxs(R,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>N("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function le(e,o){const r=V(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}const X=5;function ie(e){const o=P(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,X-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function $(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>X){const s=ie(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??B.currencyCode,currencySymbol:l[m].amount?.currencySymbol??B.currencySymbol}};const p=$(d);return r.push(...p),{label:c,record:d}}const u=$(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},de=j.div`
|
|
22
22
|
width: ${e=>e.width}px;
|
|
23
23
|
height: ${e=>e.height}px;
|
|
24
|
-
`,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const
|
|
24
|
+
`,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(me,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(de,{width:t,height:n,children:i.jsx(T,{children:({height:d,width:l})=>i.jsxs(R,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>N("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ge(e,o){const r=V(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}export{je as L,ke as k};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Y,q as F,
|
|
1
|
+
import{d as Y,q as F,V as o,bL as O,g1 as R,bz as B,cj as H,F as S,o as M,aQ as K,bA as Z,y as z,cc as q,cd as J,ce as U,c as f}from"./index-BGhFLU7w.js";import{a as b}from"./sentry-C9BQzslk.js";import{n as s}from"./mui-8xKzSljO.js";import{W as V,L as W}from"./EntitySummarySection-D6z6-dM7-iY3GcshB.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4f6d9680-087a-4219-beba-4dc2a22edfcc",e._sentryDebugIdIdentifier="sentry-dbid-4f6d9680-087a-4219-beba-4dc2a22edfcc")}catch{}})();const _={wrapperContainerMarginTop:new z(f[4],f[0]),wrapperContaineHorizontalrMargin:new z(f[0],f[8])},{common:G,reports:{common:Q,aging:{agingDetail:X}},dateFormat:A}=S.getLocalizedStrings();function _e(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=d,{fetchState:p,invoices:v,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[j,P]=b.useState(!1),E=b.useCallback((g,y)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,y,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,y)},[r.customer,m,a,t]);if(b.useEffect(()=>{async function g(){const y={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:t};await ee(k,C,y),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}j&&u!=="In-Progress"&&(P(!1),w("In-Progress"),g())},[C,k,d.companyName,u,j,t,x,D,I,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(O,{})}),o.jsx(ne,{children:Q.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(R,{fetchState:p});const L=o.jsx(Z,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:G.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:L,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(V,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:v.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(W,{uiState:$,invoices:v,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await q({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();U(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|