@zeniai/web-cockpit-ui 1.14.84-dev → 1.14.85-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-BXgsd50c-BuCiUEId.js → ACHDetailsPage-Dzk7YdoJ-Cuct0t6u.js} +2 -2
- package/dist/assets/{AIPerformancePage-BdDTidCL-D-IQ6p36.js → AIPerformancePage-DBCH9dJi-CYibQjrX.js} +19 -19
- package/dist/assets/{AccountInfoPage-w0STaK9a-BfMIBiEJ.js → AccountInfoPage-Mzw-22d_-Df5O2T5Z.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-CsuUhHXU-DgiU-I5H.js → AccountInfoPageContent-Bjp81drF-Cqcv4hk8.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-iYb31wv7-CEyp2zKM.js → AccountLockedInfoModal-Zg2PAu1o-svgY2-MJ.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DmkLTIkW-DxChexc_.js → AccountReconDetailsDrawerPage-BTkrwp4Q-CWHV1qM1.js} +9 -9
- package/dist/assets/{AccountRow-BObEIy6l-CsCw-i7a.js → AccountRow-CIsbwvGp-J3oMxL3b.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-B8gJFsYh-DpzT8FNB.js → AccountsPromoCardStack-DrElZh-K-CUoBlW42.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-vOgzMYWA-Bo72mQ01.js → AddAddressForCardDrawer-D5Kqxx0c-CDAVfdUf.js} +1 -1
- package/dist/assets/{AddToWalletPage-BhphXgem-DR4-yAJW.js → AddToWalletPage-B68eBsAU-Dnsjp7Oq.js} +5 -5
- package/dist/assets/{AgingReportsPage-DEgupWct-SJsZmYxE.js → AgingReportsPage-BlQHxYjL-Cr6yxtF3.js} +4 -4
- package/dist/assets/{AllUserItems-S2DAZpO6-Zcx2jN6k.js → AllUserItems-DsECKAGD-PW2UBBng.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-CvDD8-s7-k2W-N5me.js → ApAgingDetailPage-Bg0ZrGXm-CfXEq_5-.js} +2 -2
- package/dist/assets/{AppBasePage-C4z5I-xG-vGdvNBYI.js → AppBasePage-tPaBc2ei-WGoBSx1D.js} +7 -7
- package/dist/assets/{AppDrawerContent-Dka5HlPs-BfBKKeHh.js → AppDrawerContent-Cx4zDKi_-DO8upp4U.js} +2 -2
- package/dist/assets/ApprovalRulesSettingsPage-BcRZvSQH-BuukHz1z.js +47 -0
- package/dist/assets/{ArAgingChart-CJ7XKU9h-BSixtgVA.js → ArAgingChart-RdGwOP5k-DaN2WJzI.js} +1 -1
- package/dist/assets/ArAgingDetailPage-Bh7NAVZf-DauNApby.js +46 -0
- package/dist/assets/{AttachmentView-Dg6PizI7-BzoqKbZ4.js → AttachmentView-ClnTjRCg-CXQ9ySez.js} +6 -6
- package/dist/assets/{BankAccountSection-Chay7X-G-vPiVizDl.js → BankAccountSection-D3sQOQ-c-t8HGw1J0.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CSChi1lw-BVD5BCv3.js → BankAccountWarningSection-CxLBPI_P-CQJWoDnI.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-DJV7q1Kp-DcUIdQZo.js → BankConnectionsSettingsPage-Bsix2nzV-BvUIdsy8.js} +6 -6
- package/dist/assets/{BillDetailPage-DM06uZnD-BOk9lw2_.js → BillDetailPage-B52FZrvM-BFE_NGrS.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-MsPIxgUt-r4h6U7BK.js → BillPayApprovalRuleDetailPage-CswUbxdi-Cprf5Nyo.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BhDdco2x-B1oZ9jjD.js → BillPayApprovalRulesPage-B-8sIYjs-D2BSNMf9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dy-opG76-CZ2iWLB7.js → BillPayPromoPage-B6jW_8rf-YW9uzBg5.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-DUvwWlaD-Bg_qNGFx.js → BillPaySetUpPage-Rqxy02BM-CEkcaNcr.js} +2 -2
- package/dist/assets/{BillingSettingsPage-wj_sIJgc-Dy0iglvP.js → BillingSettingsPage-CPs5zrIc-DODFNfJu.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-DbC84oxR-CV4aNHIq.js → BillsBulkReviewDrawerPage-DLQsxJi8-DtW4kiE9.js} +1 -1
- package/dist/assets/{BoxItem-CdqDzfZN-BxmSstzM.js → BoxItem-CP9cPZQd-BW2Fv6YZ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BMtHNNcG-CKxF3KMp.js → BusinessVerificationPage-Cayj-kYe-DIQRuHb0.js} +1 -1
- package/dist/assets/{CardNumberSubText-lh7fQJis-CKFkz1Hy.js → CardNumberSubText-FdCtSIHd-Cer2LzOo.js} +1 -1
- package/dist/assets/{CashbackDetailPage-KRbsYA09-DzsJTodf.js → CashbackDetailPage-CZICE37r-CchxXOB0.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage--WP6KTfb-BgNGsK6v.js → ChargeCardDetailPage-Be2X4Rx8-DkQXGv5E.js} +27 -27
- package/dist/assets/{ChargeCardListPage-knAPmob6-CgVyQmJQ.js → ChargeCardListPage-DzfBzM8o-BpS6GwxX.js} +13 -13
- package/dist/assets/{ChargeCardListTable-DsfnKX3P-D0-TBhcC.js → ChargeCardListTable-Bc-4mcCz-DGGclb69.js} +44 -44
- package/dist/assets/{ChargeCardPromoPage-C9610LtW-GRwSeJ82.js → ChargeCardPromoPage-D_C7hXGy-jKodLkTT.js} +7 -7
- package/dist/assets/{ChargeCardSetupPage-Cy4JhjJW-BnQWcnli.js → ChargeCardSetupPage-BwNi9-pq-C4dK5zJO.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-C7uS1jEO-7cO1LhgS.js → ChargeCardStatementsPage-Bf04MOoK-k-sWDpeT.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-TfiJwtqN-CwfCisTT.js → CheckDepositDrawerPage-B-A9fkGZ-DZFZ2JbI.js} +7 -7
- package/dist/assets/{CollapsableReportTable-NYu8Bq-g-CCeLwwka.js → CollapsableReportTable-DdMyzUD0-BAoVL7wM.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CiVliExW-DzmWuQm0.js → CompanyOfficerDetailsSection-kRtuUd2c-Cm23V4kL.js} +18 -18
- package/dist/assets/{CompanyPassportCard-8zvCdmxt-CxjPiS1u.js → CompanyPassportCard-KhSJJMcy-Cll554T1.js} +1 -1
- package/dist/assets/{CompanyPassportPage-AS4N7oT2-Bv10VeId.js → CompanyPassportPage--ckOuqML-CPrNkQDu.js} +10 -10
- package/dist/assets/{CompleteProfile-Dj080UdJ-B2qMa6vk.js → CompleteProfile-D8egRg8d-QRh3PECw.js} +1 -1
- package/dist/assets/{ConfettiBurst-DcCUSSaX-yciACYT1.js → ConfettiBurst-CvRhNEAY-OaJ4gLIH.js} +1 -1
- package/dist/assets/CreateOrEditVendorPage-DrZh60Xs-DORgL7Gm.js +281 -0
- package/dist/assets/{CreditCardPaymentDrawerPage-BKvqMwnt-BuHB8ode.js → CreditCardPaymentDrawerPage-B7ssB1GM-DOObGC22.js} +8 -8
- package/dist/assets/{CurrencySelectField-ksMvik33-CjY_Sqhm.js → CurrencySelectField-BXp2mtZ7-BZ1r7qNY.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DfT_gkE4-Dk7tFjjw.js → CustomerOnboardingActivationPage-BX7STQsk-ClpFwMrN.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BkPTeV9_-YlZ2rpks.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DfOtXgss-1gud75px.js → CustomerOnboardingDetailPageSkeleton-C5tSpmSB-5KFMWV1l.js} +5 -5
- package/dist/assets/{CustomerOnboardingNoStepsPage-61UorFvn-DF0b8zE7.js → CustomerOnboardingNoStepsPage-CQUQlLbj-llUCphSN.js} +4 -4
- package/dist/assets/CustomerOnboardingPage-D0p8khnC-C1IdwvBx.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CTowHB2X-DUFAd8wB.js → CustomerOnboardingProductSuitePage-BRk3TA9f-n37UhYFK.js} +1 -1
- package/dist/assets/{Dashboard-2RpETnqH-Dgva4ZAW.js → Dashboard-CBOma7mv-B9j8ewTM.js} +1 -1
- package/dist/assets/{DashboardReportPage-DRRWpGiJ-Z6RP-3ZH.js → DashboardReportPage-DRYx3AOy-D6rkizKp.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-0cCKM3E9-DV5Ukn4W.js → DashboardSidebarBackgroundAnimation-DYsp7Imm-CsY2ImuX.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DjbheijR-B7o468tr.js → DepositAccTransactionItem-BQU7vZKr-BOGssvEh.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-DQDt_2kb-D0tTF08R.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DuKrVIAL-BzRIhYO3.js → DomesticWireDetailsPage-B0KbC9m8-DSgkPJjx.js} +1 -1
- package/dist/assets/{DownloadOverlay-f6SOW8iK-DORigjXi.js → DownloadOverlay-D2vm9EYI-1UU-2gMF.js} +18 -18
- package/dist/assets/{DrawerPage-BkIQ6mLJ-DU9u6eQ0.js → DrawerPage-DHIaNEwf-DBdDE0YZ.js} +7 -7
- package/dist/assets/{EditPeoplePage-lZcM4Zfw-CzhpHcfF.js → EditPeoplePage-B4OaKX89-CxOdlVup.js} +2 -2
- package/dist/assets/{EditReimbursementDetailPage-WO3U-vVY-CTjbkhIP.js → EditReimbursementDetailPage-C_JOnUnR-BaFHONcZ.js} +1 -1
- package/dist/assets/{EntityDetailPage-AP27Niqu-DwUEbyHL.js → EntityDetailPage-DGq_Sr4I-DbAOqf4w.js} +2 -2
- package/dist/assets/{EntitySummarySection-B6khdAJg-7W3j7WRI.js → EntitySummarySection-CAKPRhm9-DT4p2FkX.js} +10 -10
- package/dist/assets/{ExpenseAutomationOverviewPage-CcTGou9x-D6xWlI6r.js → ExpenseAutomationOverviewPage-c4H81maP-DA77wvgo.js} +9 -9
- package/dist/assets/{ExpenseAutomationPage-DEleaYKs-SFko_-SO.js → ExpenseAutomationPage-DoI_XKeY-6CiggPiF.js} +160 -160
- package/dist/assets/{ExpressPayPage-CLYzefaM-CHfIN-TO.js → ExpressPayPage-CjhXfVeX-BOKCYwCy.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-T78A34---Cfgg_jhN.js → FeaturePreviewPage-CwrW_5lN-DmGMYSsi.js} +1 -1
- package/dist/assets/{FollowStepsSection-B_mTbqHf-CcoWV2SW.js → FollowStepsSection-DwVibYwI-v9hEOCV9.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-XfxDC9vP-Bi-7QMiL.js → GlobalReviewListPage-JUSXRKq4-DVN5r0h7.js} +45 -45
- package/dist/assets/{InformationCardStack-Buibt8cT-DzjFUhjp.js → InformationCardStack-CK1Ztw1n-C4th25N4.js} +1 -1
- package/dist/assets/{InsightsCardStack-Cj5iIm_T-CnLFxYVI.js → InsightsCardStack-BKAezFjz-Dc6HzMco.js} +2 -2
- package/dist/assets/{InsightsSection-DuPqQb5Z-C8m7clcN.js → InsightsSection-Bauri5yR-CKFEflqf.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-VZDSLMHK--2kEd_Ab.js → IntegrationsSettingsPage-CnRe_xH3-UkqXGmer.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BUa1svL--BjPRjytS.js → InternationalWireSwiftDetailsPage-BJkaLuNw-77-AaJID.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-C1qKNhqJ-D8-rYzvp.js → InternationalWireVerificationPage-pPH2bNM7-BKQZ3C2I.js} +1 -1
- package/dist/assets/{InviteFormPage-GPXu2hLn-Dlxczoo1.js → InviteFormPage-CsL2egNG-DnYkx7hA.js} +1 -1
- package/dist/assets/{InvitePageListView-FEFeEFZJ-fGYpyL6r.js → InvitePageListView-rt3KC_c5-JZPrjnvG.js} +33 -33
- package/dist/assets/{InvitePeoplePage-C6E594rf-DZBpEScz.js → InvitePeoplePage-Cdr0dhtJ-QaKpYzAx.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-uvB-_dyl-BnrUYuvf.js → InvoiceUploadSection-NVvtQvoL-B8iP_R_q.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DSPlu840-3aXsgWJG.js → IssueChargeCardPage-D5KenKnm-I0qHogFn.js} +13 -13
- package/dist/assets/{LabeledAddressValue-CzDn9ZY4-bnEz1Jxt.js → LabeledAddressValue-Bwkw-Ez_-QZs1bcqC.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C_8kPzjy-5OUHMeqd.js → LabeledAddressValueField-BgkRIdwJ-D68tBsFt.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-LwfkGeF--D4JaYe7v.js → LabeledControlledCheckBoxField-RzyuT5ZX-BsFbzCeg.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-sEf-9BOE-pPbJFdXC.js → LabeledCreatableSingleSelectField-BP_p62Nk-BGV5p2pd.js} +2 -2
- package/dist/assets/{LabeledDocumentField-rGzXpShn-Cfh7MC5-.js → LabeledDocumentField-DGncRe-Q-BM_MF9Yy.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CIQk7Jhu-BODJHkfO.js → LabeledDropDownFormattedTextField-DWUVcIR8-DmvGwPXC.js} +7 -7
- package/dist/assets/{LabeledText-Dc-697nR-dyJ4TshB.js → LabeledText-BzD_-lgI-Br_7nwt2.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-CLizobZu.js → LabeledUserSingleSelectWithSubtitlesField-D3kjxF9V-C7cFlAui.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-BO8f1yqV-POb2k_D_.js → LabeledZeniRolesDropDownField-BlmybTGB-C8vefnXI.js} +25 -25
- package/dist/assets/{LinkJETransactionPage-DDSo8zJn-CupLOAYQ.js → LinkJETransactionPage-CUnfHHeT-BQ0Gfxk0.js} +9 -9
- package/dist/assets/{LockCardPage-CvZcUUc8-B6VLJ-gr.js → LockCardPage-2jOFCVkW-Cd-7Cld7.js} +19 -19
- package/dist/assets/{LowBalancePopup-DJQCz0Ed-B8IDUNee.js → LowBalancePopup-Du0kX_mJ-B-0Hf7BW.js} +2 -2
- package/dist/assets/{MagicLinkACHDetailsPage-CEtaoWk8-CST49L9m.js → MagicLinkACHDetailsPage-CkbNMu7Z-B4drRgdG.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-qdgMQR3_-DWvT9O1j.js → MagicLinkDomesticWireDetailsPage-D0XBf5_X-D4YEFAaf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNwtPZ-u-Bk0G3IwE.js → MagicLinkInternationalWireDetailsPage-Bl93T-SF-DbfMD1IO.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-60TBVrSw-CKgQ4p6j.js → MagicLinkSuccessPage-C26glp7T-BbSy9weN.js} +2 -2
- package/dist/assets/{MagicLinkTitleSection-D2fXbnDV-CA6SEdmn.js → MagicLinkTitleSection-B4nxLzap-CM0lHGYk.js} +1 -1
- package/dist/assets/{MailingDetailsSection-C6cVooC3-CCSD5vtq.js → MailingDetailsSection-Cou_W8JF-D0QplON-.js} +1 -1
- package/dist/assets/Menu-CdF7UWPF-DT1TTbqS.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D2EPH9WZ-DhQP4OT2.js → MyBankConnectionsSettingsPage-BAjjxA98-P3jZBDkg.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-Bidsd2bk-DJBBvD6g.js → MyPendingActivationChargeCardListPage-DsRGcA8F-BiAy3gfH.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BH2ZVQTk-DMG3qFrn.js → MyProfileSettingsPage-y-iZgUqL-Cmq9Fbc9.js} +6 -6
- package/dist/assets/{NavBarWithPicker-Cg2TZjBi-DZVc5NBz.js → NavBarWithPicker-ph4heJns-CH6-ZGCk.js} +4 -4
- package/dist/assets/{NavigationArrow-CYserS2B-DdYPXfvg.js → NavigationArrow-BojAUI53-DuIW3OB3.js} +1 -1
- package/dist/assets/{NavigationDots-CT_oO_7z-Bt9KzB5Z.js → NavigationDots-Bf66leAL-DWvE0Tr9.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D3MQU5Sh-BUpZMSnV.js → NewGlobalMerchantPage-D43XJhIa-CGBQEE1e.js} +5 -5
- package/dist/assets/{NoDataChart-BItQZAQ9-a5HKjWqu.js → NoDataChart-6R5pxJVo-CWkI_hu9.js} +1 -1
- package/dist/assets/{NoDataTable-R8OCdB2c-cDhvp6Rg.js → NoDataTable-CNx0KCKn-Yxxqzyz6.js} +1 -1
- package/dist/assets/{NotFoundPage-DLHYdRdN-xXzpa00n.js → NotFoundPage-CE9BW_aV-BJq9qwHQ.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CIwxb6c9-FsYdgXX7.js → NotificationSettingsPage-etN6HEwO-CPu8hoID.js} +12 -12
- package/dist/assets/{NotificationsListConfig-DSgUS0hE-mwmsOI0p.js → NotificationsListConfig-15ae4nik-CPKCivw4.js} +1 -1
- package/dist/assets/{NotificationsPage-W5ZhprRe-DZn-eWsJ.js → NotificationsPage-BwbxqKxd-CJ_w7jhJ.js} +23 -23
- package/dist/assets/{OpExByVendorPage-DIi58wXa-nKCVWs3g.js → OpExByVendorPage-FR3oloXp-BIjz5fFP.js} +24 -24
- package/dist/assets/{OverlayContainerPage-BsY9_22w-CFGZ7LWs.js → OverlayContainerPage-CrZuT2Jj-BFQOGYGF.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BvMxFrqo-D4f9n7Zm.js → PandLWithForecastPage-Bx3ZyA3l-DeFHP0VX.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-kUAm-v-A-BSna9XIu.js → PaymentAccountSetupBillingAddressSection-R1O20DhA-C65ZHllw.js} +6 -6
- package/dist/assets/{PeoplePage-CtnWc0LE-B3_lhERY.js → PeoplePage-B3HRaJWz-DZIUGp3j.js} +15 -15
- package/dist/assets/{ProductsCarousel-n0ZNrr7--DQIbkMZp.js → ProductsCarousel-Dn4vuZwM-XZC4Gi6v.js} +4 -4
- package/dist/assets/{PromoBaseCards-CeS0HoCZ-CICve0tH.js → PromoBaseCards-BKo4wO-U-UIjavA07.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BxSTc99Z-DVq4lO-s.js → QBOConnectionDialog-CPq0aUew-DHwaU-lE.js} +5 -5
- package/dist/assets/{QBOSetupSection-FrO9rgct-B0n-bnvz.js → QBOSetupSection-BjImTh7O-Cf73veGI.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BjtdatXs-DvpYlYpI.js → ReimbursementApprovalRuleDetailPage-DD1HwLO0-DBTNMi4-.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B0_FgpJf-BSGUtiNs.js → ReimbursementApprovalRulesPage-DHQHS0eD-l5f43j6l.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BWhPxHY--DgkbtFUt.js → ReimbursementDetailPage-DiMXs0_o-C-Gngkni.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CFG0yxOE-CNHt16Bv.js → ReimbursementPromoPage-BinqJ3lR-Dkzvoe2N.js} +5 -5
- package/dist/assets/{ReimbursementSetUpPage-BmUdLEa9-uEaDyTyL.js → ReimbursementSetUpPage-BD6B-0CO-Dhg43o5f.js} +17 -17
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CkJqhXEf-B4qPeVNR.js → ReimbursementsBulkReviewDrawerPage-DK-nCoay-BC-GO3CD.js} +1 -1
- package/dist/assets/{ReloadCard-CNKwqjPJ-C6w7GHJG.js → ReloadCard-Bt8qxAUx-C0FiLSzB.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-B0DXgLgJ-B3X9gS-3.js → ReportTableViewSelector-Dv7BwM1q-DZ-FOl5q.js} +6 -6
- package/dist/assets/{ReportsPage-C5iOQU55-DamkEztw.js → ReportsPage-BOY8oCAr-BwR5MVzD.js} +5 -5
- package/dist/assets/{RevenueChart-C2CMFAQ--BirLMW85.js → RevenueChart-D_yexiAR-D3rVopXP.js} +16 -16
- package/dist/assets/{ReviewDetailsPage-5vOZ0rd7-B41AzmWH.js → ReviewDetailsPage-Czrlb8BL-DTI9py46.js} +14 -14
- package/dist/assets/{ReviewOverlay-BAG_6iyV-B2w-MEIV.js → ReviewOverlay-BHUy3fWf-DhycJa32.js} +10 -10
- package/dist/assets/{RoleWithToolTip-GUYLjJwW-DVSFtUus.js → RoleWithToolTip-BxI2nAro-CHrHR5C8.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-sPjMfOtt-m5JvZNFh.js → ScheduleDetailsFixedAssetsPage-DsNhFGrc-C7120rgv.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DI4C0o6b-B7Dooc-N.js → ScheduleDetailsPage-Dy2poGsp-B72mEOku.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DhXwtG-x-C20E6-vV.js → ScheduleSequenceTable-Bv1feMZc-DEmwzIZ-.js} +47 -47
- package/dist/assets/{ScreenRoutes-B_yySVlk.js → ScreenRoutes-aw0OxNGj.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DOavnCkG-CmcaONdQ.js → SetUpAccountSection-SSkLhU2W-Bdvkba2v.js} +14 -14
- package/dist/assets/{SignIn-DqrG5nEJ-8MVRrbiA.js → SignIn-Chuf9_2E-Dg9U6pWl.js} +10 -10
- package/dist/assets/{SignInScreen-CSh4OzXN.js → SignInScreen-heeiIDQc.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DHY_hZQm-C3jihmoK.js → SpendManagementListViewPage-BpCZzQ7I-CeMMhyUX.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-CoKTIQ2b-D2j2J6zW.js → SpendManagementPerTabPage-DbXTM50B-DF3kTGNr.js} +32 -32
- package/dist/assets/{SpendManagementSection-UkTY6qX0-CST6kY6m.js → SpendManagementSection-BMU1BTEo-BBFzWPwD.js} +12 -12
- package/dist/assets/{StatementItem-Bx6mxa3U-C42zKfqY.js → StatementItem-qLZEMVrM-C5sUBNaG.js} +5 -5
- package/dist/assets/{StatementsPage-ULjFE30P-BGU6QX6B.js → StatementsPage-B3qY1D4K-C1V6A2Qk.js} +1 -1
- package/dist/assets/{StatusSwitcher-DlBY_FC1-C1Bsm00T.js → StatusSwitcher-xQ_AW7ze-DWj9eTCE.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DjEElTWE-5Wo1Obau.js → SubTabSwitcher-w8vLc-35-BeFKfmS8.js} +1 -1
- package/dist/assets/{SummaryCard-BNESDUnN-ChwTCNZM.js → SummaryCard-CTq_yqTg-Bw75z4He.js} +1 -1
- package/dist/assets/{TaskManagementPage-BFF3ATPV-BYvPz4hv.js → TaskManagementPage-keXFNmIv-BEMVU9l6.js} +33 -33
- package/dist/assets/{TimeRangeSwitcher-xILz-EO6-DqqNb5IN.js → TimeRangeSwitcher-C4Tph63B-D9xSXRlF.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CZhQm7rH-D5h04PEF.js → TimeframeSwitcher-LLgotbh8-X4qFRStD.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CduB3ZjN-PiqhKHhY.js → TimeframeSwitcherWithToggle-Cw3a9d0I-BlbsDDpn.js} +1 -1
- package/dist/assets/{TopExCard-C_HWsAL1-DphCzqA5.js → TopExCard-Dj0wtF6g-CdD53hxs.js} +3 -3
- package/dist/assets/{TopExDetailPage-BEKo6juU-CUrrRqCk.js → TopExDetailPage-JutaMmtR-koGwO2ev.js} +5 -5
- package/dist/assets/{TransactionDetailPage-Bzgtmi3U-DCXvClem.js → TransactionDetailPage-BdFHqSCv-Bc3ggi0n.js} +30 -30
- package/dist/assets/{TransactionList-Dw78Q0Sx-BHAN7axA.js → TransactionList-C85wyFeI-C41EirGp.js} +4 -4
- package/dist/assets/{TransactionListBig-BofakL17-k36ZTqo_.js → TransactionListBig-DPev2-Mm-BpW_w096.js} +6 -6
- package/dist/assets/{TransactionListPage-tpOg0ax5-aeL9weeE.js → TransactionListPage-D127NU4T-BPyAfJzu.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage-BqIcXz6b-tGgvKqD0.js → TransactionVendorDetailPage-BJ1YnPif-SJ1gb7FN.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DnnZBOyK-y1PDtTFY.js → TransferDrawerPage-DcrfmXH1-DiL_C6V9.js} +21 -21
- package/dist/assets/{TreasuryOverviewPage-C9ROzNHl-Cn6eazlN.js → TreasuryOverviewPage-D-Zw4Npq-K2RbtXZZ.js} +22 -22
- package/dist/assets/{TreasuryPromoPage--j_2YjQn-DHIwXCO0.js → TreasuryPromoPage-BhBPhhbb-DM-0mrYZ.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BLrceDQm-vMicHzmk.js → TreasuryStatementsPage-Dxjg_QN7-C_fsR-Na.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BoqkgdLm-DAQeQUTC.js → TreasuryTaxLetterPage-Dm552RDZ-BLLWDMsm.js} +7 -7
- package/dist/assets/{TrendChart-KnFi8NXQ-DHzaDtQY.js → TrendChart-_c8z5Kxm-DarAZz3o.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C_T0I9xe-DqS7m8LH.js → TrendWithTransactions-B2rde1MW-D1twJg_e.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-DOuzy2aS-DnfCgWVE.js → UncategorizedAccountsMappingPage-77nkQFar-Bn3Ibb9A.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DxhlNHvt-CHN5Qw88.js → UnitIntegrationPage-3_YMV_f4-yfDaiCvi.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-BAvSyhDW-D4KE1Kke.js → UploadAdditionalDocumentOverlay-D72fkcgM-BkIuCEEz.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BFjVFON8-Dl6jzAdP.js → Vendor2FAPopup-DLbGF5_q-DmCvA6XI.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-8BG5DD-0-p3vm6zDD.js → VendorACHDetailsPage-CaNQylEA-CMyzxyGW.js} +1 -1
- package/dist/assets/{VendorDetailPage-C16CrNJo-D86vTvj2.js → VendorDetailPage-DqdH4UMj-tM-8a-UX.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-DXhugXZa-DeVAnksE.js → VendorDomesticWireDetailsPage-9pyV_r_g-CREdXXXG.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-2QPpdbuN-ozpxZwEp.js → VendorFiling1099EditablePage-nb9_V73Z-CwrDCXoq.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-DLshEh_s-DbpLTolM.js → VendorFirstReviewPage-C2RjaA8x-C3EURG-_.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-_WoNgw66-DANrlPFU.js → VendorInternationalWireDetailsPage-VOAgofls-DxNfQmbI.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-DoVwF0sT.js → VendorInternationalWireSwiftDetailsPage-CcRuLO-_-CRRJCsCk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Dxq0YSgP-Bt8xoh_f.js → VendorsAccountsSection-RzVUJ8IV-CIdzas-R.js} +14 -14
- package/dist/assets/{VerifyDevice-DEwEqoHA-CylVN9FP.js → VerifyDevice-DUxQHfLf-DyoufOtx.js} +1 -1
- package/dist/assets/{VideoPlayer-_1Msrww9-DaiS1R42.js → VideoPlayer-BxuhQQfM-CSaCo4fi.js} +1 -1
- package/dist/assets/{VideoPopup-BzQ_Dl9b-mwrODjDA.js → VideoPopup-DdtmLcPB-9kSPQrRF.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CMBST3p1-ujIyTaCb.js → WarningsDrawerPage-DC5ophK0-B9MWpL_5.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-DVLYYC-q-DeZb5ud9.js → ZeniAccountDetailPage-C1KKeyYC-AmZ_-UbH.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-BHkoMOx5-CtDb7Bzx.js → ZeniAccountListViewPage-Bw5_2Q-c-Zl0NVbWL.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CCFzNOcx-CuAvs6Mv.js → ZeniAccountNavBarPieces-DlfwFtOB-BhG7WDho.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-C3Rl-hWL-DwIvVxTo.js → ZeniAccountPromoPage-B8cXf7Ni-BGYao9Jv.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-Bf1OOF0Q-DBu-8Ie5.js → ZeniAccountSetupPage-Cae0pB-b-Blr8FOsP.js} +3 -3
- package/dist/assets/{ZeniCopyright-CdqD8vO4-DYRLQn9Q.js → ZeniCopyright-gTS4uZlF-BTYFdkhV.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BTudpQjV-CvoGRB0t.js → ZeniTransferAmountSlider-17kY7kNO-DEs9IrPm.js} +1 -1
- package/dist/assets/{analyticsHelper-_u1yj9ge-DxpjUhrt.js → analyticsHelper-DXVBA0aW-q_4bVB8v.js} +1 -1
- package/dist/assets/analyticsHelper-kRUwHHg6.js +1 -0
- package/dist/assets/{chartTypes-vQ8GTDEq-DTt3gea6.js → chartTypes-BXBHlosV-DY5SgOjH.js} +1 -1
- package/dist/assets/{commonDimensions-znFHURNY-BydE4i8M.js → commonDimensions-Bm2CSHrw-S9XM9nhL.js} +1 -1
- package/dist/assets/{detailCommon-DmLhlrjU-ShYTQ7m2.js → detailCommon-VW4xegQy-1DhxNuRe.js} +3 -3
- package/dist/assets/{downloadPdf-CCUPfpyu-Cq1M0ik1.js → downloadPdf-DUAAPKqC-BN9D0Y0M.js} +1 -1
- package/dist/assets/{index-XNBiWrYj.js → index-BS0RW8dr.js} +3698 -3698
- package/dist/assets/{mapLoadingInProgressToTreeNode-Cw74bTou-BDMlWcL7.js → mapLoadingInProgressToTreeNode-D5WZ1WGx-B7azUcXb.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWFxnMpB-BCzyYlDf.js → mapSectionWithAcOnlyToTreeNode-BxzLwMCb-DSGmyD1M.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-JUrBuZAz-wZclqNi-.js → mapSpacerToTreeNode-CScyNZ9s-wlC4VP1v.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B2iYfeF3-B53qunPl.js → mapTimeframeBalancesToTreeNode-Caj8eqsL-Kzqcpw75.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BbQHYZk7-DpCyCcLg.js → mapTimeframeBalancesToTreeNode-CdVqeC27-Dxhi6BEZ.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CoS9pLIE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CUFXYz6j-YXXdz_Ql.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DeZfEmbT-vM-pgltN.js → toCOABalancesWithID-CqzWoD-C-D32cGljj.js} +1 -1
- package/dist/assets/{toChartData-KibzV7pa-DRJVLoY0.js → toChartData-X878W8tN-DZEeyq4i.js} +1 -1
- package/dist/assets/{uploadAttachment-U9nX0Ka9-1qW3wdO3.js → uploadAttachment-DNKgJox4-CH4FqFzC.js} +13 -13
- package/dist/assets/{uploadReceipts-CDPM7zcb-DEOGBGdq.js → uploadReceipts-Bkf_PaOH-DrwBt5Yx.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-BOJE5Fb_-DykJvECT.js +0 -47
- package/dist/assets/ArAgingDetailPage-ZjaiAH-C-DY8qSTjK.js +0 -46
- package/dist/assets/CreateOrEditVendorPage-flCFtC2N-Dsf2hlMT.js +0 -281
- package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO-ah6dg727.js +0 -1
- package/dist/assets/CustomerOnboardingPage-C12XXjv0-mi5gJ6u3.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-keSFBKDU-qnysSla9.js +0 -66
- package/dist/assets/Menu-D_6Dje0H-Ar5SwcnV.js +0 -17
- package/dist/assets/analyticsHelper-D23HZgYu.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu as ce,bv as le,bw as
|
|
1
|
+
import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu as ce,bv as le,bw as E,c as de,aM as J,aI as pe,d as R,av as me,aK as U,aU as he,aJ as ue,aP as ge,ag as V,aW as xe,b3 as fe,ak as ye,b8 as Ce}from"./index-BS0RW8dr.js";import{a as O,w as S}from"./core-3dlyNYRL.js";import{c as $e}from"./SummaryCard-CTq_yqTg-Bw75z4He.js";import{n as r,k as _,b as K}from"./mui-bYXq4XMS.js";import{eJ as ve}from"./zeni-epic-state-LPACxnXP.js";import{N as W}from"./NavigationArrow-BojAUI53-DuIW3OB3.js";import{k as je}from"./NavigationDots-Bf66leAL-DWvE0Tr9.js";const be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",B=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return _`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -54,9 +54,9 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
54
54
|
`,w=r(ie)`
|
|
55
55
|
${ae.accountsPromoHighlightText.css};
|
|
56
56
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
57
|
-
`,
|
|
57
|
+
`,Be=r(ye)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
|
-
`,
|
|
59
|
+
`,Te=r(le)`
|
|
60
60
|
color: ${j.brandColorJade};
|
|
61
61
|
height: ${t.sp4};
|
|
62
62
|
width: ${t.sp4};
|
|
@@ -85,7 +85,7 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: ${t.sp1};
|
|
88
|
-
animation: ${
|
|
88
|
+
animation: ${B("right",100)} normal 0.3s 1
|
|
89
89
|
forwards;
|
|
90
90
|
`,Fe=r.div`
|
|
91
91
|
height: 34px;
|
|
@@ -100,14 +100,14 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
100
100
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
101
101
|
background-color: ${j.brandColorJade};
|
|
102
102
|
opacity: 0;
|
|
103
|
-
animation: ${
|
|
103
|
+
animation: ${B("right",100)} normal 0.5s 1
|
|
104
104
|
forwards;
|
|
105
105
|
animation-delay: 0.5s;
|
|
106
106
|
`,Ze=r(de)`
|
|
107
107
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
108
108
|
margin-left: ${t.sp3};
|
|
109
109
|
margin-right: ${t.sp1};
|
|
110
|
-
`,q=r(
|
|
110
|
+
`,q=r(E)`
|
|
111
111
|
color: ${e=>e.isZeniProgressBar?e.theme.colors.brandColorOnyx:e.theme.colors.primary};
|
|
112
112
|
`,_e=r.div`
|
|
113
113
|
width: 2px;
|
|
@@ -120,10 +120,10 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
120
120
|
transform-origin: top;
|
|
121
121
|
animation: ${we} normal 0.6s 1 forwards;
|
|
122
122
|
animation-delay: 0.6s;
|
|
123
|
-
`,
|
|
123
|
+
`,G=r.div`
|
|
124
124
|
opacity: 0;
|
|
125
125
|
transform: translateX(-50%);
|
|
126
|
-
animation: ${
|
|
126
|
+
animation: ${B("right",50)} normal 0.6s 1
|
|
127
127
|
forwards;
|
|
128
128
|
animation-delay: 1.2s;
|
|
129
129
|
`,Xe=r.div`
|
|
@@ -138,7 +138,7 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
138
138
|
margin-right: -${t.sp3};
|
|
139
139
|
opacity: 0;
|
|
140
140
|
transform: translateX(50%);
|
|
141
|
-
animation: ${
|
|
141
|
+
animation: ${B("left",75)} ease-out 0.3s 1
|
|
142
142
|
forwards;
|
|
143
143
|
`,L=r.img`
|
|
144
144
|
${Q}
|
|
@@ -151,14 +151,14 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
151
151
|
background-color:${j.brandColorGold};
|
|
152
152
|
`,qe=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
|
-
`,
|
|
154
|
+
`,Ge=r(se)`
|
|
155
155
|
width: ${t.sp4};
|
|
156
156
|
height: ${t.sp4};
|
|
157
157
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,
|
|
161
|
+
`,Ye=(e,n)=>{const{common:i}=Z.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,u)=>o.jsx(w,{className:"card-highlight-text",children:p},`${p}_${u}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Te,{})]}),o.jsx(Ue,{}),o.jsxs(Le,{children:[o.jsxs(Ne,{children:[o.jsx(Fe,{}),o.jsxs(q,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Oe,{children:[o.jsx(Ze,{children:n[0].values[1]}),o.jsx(q,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(_e,{})]}),o.jsx(w,{children:o.jsx(G,{children:o.jsx(Ge,{})})}),o.jsx(w,{children:o.jsx(G,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Je,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(L,{src:be})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(L,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(L,{src:ke})}),o.jsx(We,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(qe,{children:[" ",n[0].values[0]]})})]})}};let Y;function Ee({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=xe("Confetti"),a=R(),[s,p]=O.useState(!1);O.useEffect(()=>(n&&(Y=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(Y),p(!1)}),[n]);const{prefix:u,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(ze,{children:[n&&s&&i!=null?o.jsx(fe,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Be,{children:d}):null,o.jsx(ee,{children:f?Ye(g,m):null})]}),o.jsx(Se,{themeContext:a,children:u})]})}const Re=r(ue)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -202,6 +202,6 @@ import{F as Z,V as o,o as t,aV as z,p as j,ap as ne,b as ae,bs as ie,bt as se,bu
|
|
|
202
202
|
width: 100%;
|
|
203
203
|
position: absolute;
|
|
204
204
|
bottom: 6px;
|
|
205
|
-
`,ro=r(
|
|
205
|
+
`,ro=r(E)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,P=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:u,handleCardNavigation:d}){const m=R(),f=me(),[g,x]=S.useState(0),[y,C]=S.useState(0),[
|
|
207
|
+
`,P=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:u,handleCardNavigation:d}){const m=R(),f=me(),[g,x]=S.useState(0),[y,C]=S.useState(0),[T,b]=S.useState("left"),A=(l,$)=>{l.stopPropagation(),b($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(k(re),$)},M=l=>{d(k(l),"left")};function h(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(k(s+1),"left"),b("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(k(s-1),"right"),b("right"),x(0),C(0))}const H=a.length>1,X=ve(f.loggedInUserRoleMap);return o.jsx(Re,{"data-testid":U("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?h(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Ve,{children:[o.jsx(N,{children:o.jsx(W,{"data-testid":U("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(N,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(he,{activeCardIndex:s,currentIndex:$,which:T,children:o.jsx(Ee,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>u(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Qe,{children:X?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(N,{children:o.jsx(W,{"data-testid":U("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=Z.getLocalizedStrings(),D={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},F={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:u,dndProps:d}){const[m,f]=O.useState(0),g=h=>{f(h)},x=(p+1)*(u+1),y=h=>{i.trackZeniAccountsPromoCardClick(x,h),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:T,maxAnnualPercentageYield:b,maxCashBalanceAvailable:A=0}=n;D.headerAnimationData=so(T??25e4),D.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,v.currency.currencySymbol).toUpperCase()),D.footer=c.keepInterest.footer.replace(/<interest>/,b.toString()),F.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(J(C),C,v.currency.currencySymbol).toUpperCase()]}],F.prefix=c.protectCash.prefix.replace(/<amount>/,z(J(C),C,v.currency.currencySymbol).toUpperCase());const M=[D,F,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>d?.onDragStart(e.cardType,h),onDragOver:h=>d?.onDragOver(h,e.cardType),onDragLeave:h=>d?.onDragLeave(h),onDrop:h=>d?.onDrop(h,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=z("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const u=parseInt(i[a]),d=a===1&&u<=1?1:Math.floor(u/2),m=a%2===0?"down":"up",f=u-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ye as G,io as a,so as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as f,Q as y,aN as T,b as a,V as n,aK as B,jl as x,o as t,F as C,y as m,u as d}from"./index-BS0RW8dr.js";import{a as j}from"./core-3dlyNYRL.js";import{n as w}from"./mui-bYXq4XMS.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:P}=C.getLocalizedStrings(),L=({googleAPIKey:s,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),o=y(),i=T(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=o==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=o==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(A,{"data-testid":B("add-address-for-card-drawer"),children:n.jsx(x,{googleAPIKey:s,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(o),marginBottom:l.marginBottom.valuePx(o),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:P.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},A=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${s=>s.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-BhphXgem-DR4-yAJW.js → AddToWalletPage-B68eBsAU-Dnsjp7Oq.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as E,a7 as le,av as ne,F as N,V as t,bz as de,u as p,
|
|
1
|
+
import{Q as E,a7 as le,av as ne,F as N,V as t,bz as de,u as p,j0 as pe,ji as ce,o as i,n as W,aK as A,y as m,B as u,M as b,jj as he,j1 as ge,cf as xe,p as r,jk as me,bv as we,cS as $e,ak as ue,b as be,j5 as ye}from"./index-BS0RW8dr.js";import{a as h}from"./core-3dlyNYRL.js";import{n as o,b as B}from"./mui-bYXq4XMS.js";import{eI as fe}from"./zeni-epic-state-LPACxnXP.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-CmJT13gp.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const Ie=({options:e,selected:a,onToggle:g,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),$=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*$}%`}:{left:`${w*$}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${$-1}%`,...j(),...k}}),e.map(n=>t.jsx(Be,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),g(n.id)},children:n.label},n.id))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -20,7 +20,7 @@ import{Q as E,a7 as le,av as ne,F as N,V as t,bz as de,u as p,i$ as pe,jh as ce,
|
|
|
20
20
|
z-index: 1;
|
|
21
21
|
padding-top: 20px;
|
|
22
22
|
padding-bottom: 20px;
|
|
23
|
-
`,
|
|
23
|
+
`,Be=o.button`
|
|
24
24
|
${be.smallMedium.cssObject};
|
|
25
25
|
position: relative;
|
|
26
26
|
flex: 1;
|
|
@@ -37,7 +37,7 @@ import{Q as E,a7 as le,av as ne,F as N,V as t,bz as de,u as p,i$ as pe,jh 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:D,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new u("h6Medium","h4Regular"),subheadingFont:new u("standardRegular","h6Regular"),walletTitleFont:new u("standardSemiBold","largeSemiBold"),walletSubTitleFont:new u("extraSmallRegular","standardRegular")},De=(e,a,g)=>t.jsxs(ot,{translatePhone:e,showIphone:g,children:[t.jsxs(at,{children:[t.jsx(gt,{children:D.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ye,{children:[t.jsx(_e,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx(ut,{}),[...Array(4).keys()].map(l=>t.jsx($t,{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:D.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=E();return t.jsxs(Le,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(H,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Ee,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(H,{windowSize:a,children:d.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Ht=({onGotItClick:e,isDebitCard:a,controllerEmails:g,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:$,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:J,cardIssuedByRoles:Q,cardIssuedByDepartmentName:X,cardHolderRoles:q,cardHolderDepartmentName:K})=>{const s=E(),O=le().analytics,[T,U]=h.useState(!1),[z,Y]=h.useState(!1),[_,Z]=h.useState(!1),[ee,te]=h.useState(!1),[S,ie]=h.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:O,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:Q,cardIssuedByDepartmentName:X,cardHolderRoles:q,cardHolderDepartmentName:K,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:J}),ie(I)};h.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(Xe,{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(qe,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Oe,{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})]}),De(_,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(He,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Qe,{}),t.jsx(M,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),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(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(Me,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
@@ -131,9 +131,9 @@ import{Q as E,a7 as le,av as ne,F as N,V as t,bz as de,u as p,i$ as pe,jh as ce,
|
|
|
131
131
|
${e=>e.windowSize==="small"?"height: 100%;":null};
|
|
132
132
|
display: flex;
|
|
133
133
|
justify-content: center;
|
|
134
|
-
${e=>e.windowSize==="small"?
|
|
134
|
+
${e=>e.windowSize==="small"?B`
|
|
135
135
|
margin: ${i.sp0} ${i.sp3};
|
|
136
|
-
`:
|
|
136
|
+
`:B`
|
|
137
137
|
width: 100%;
|
|
138
138
|
`};
|
|
139
139
|
`,Oe=o.div`
|
package/dist/assets/{AgingReportsPage-DEgupWct-SJsZmYxE.js → AgingReportsPage-BlQHxYjL-Cr6yxtF3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as H,Q as j,F as x,hW as be,V as t,hX as De,bL as Ne,hY as Oe,bA as je,bz as ve,y as D,a9 as R,g1 as ke,o as N,aQ as Pe,u as m,aL as X,cc as Be,cd as $e,ce as Ae,ak as Me,cf as Ie,b1 as ne,aA as oe,aS as re}from"./index-BS0RW8dr.js";import{a as f}from"./core-3dlyNYRL.js";import{n as y}from"./mui-bYXq4XMS.js";import{bj as F,fW as Ye}from"./zeni-epic-state-LPACxnXP.js";import{n as M}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{L as ze,k as Le}from"./ArAgingChart-RdGwOP5k-DaN2WJzI.js";import{C as ie}from"./NoDataChart-6R5pxJVo-CWkI_hu9.js";import{I as se,R as $}from"./CollapsableReportTable-DdMyzUD0-BAoVL7wM.js";import{d as le}from"./NoDataTable-CNx0KCKn-Yxxqzyz6.js";import{l as ce}from"./mapSpacerToTreeNode-CScyNZ9s-wlC4VP1v.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./chartTypes-BXBHlosV-DY5SgOjH.js";import"./AccountRow-CIsbwvGp-J3oMxL3b.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const Re={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{e as W,Q as j,F as x,hV as be,V as t,hW as De,bL as Ne,hX as Oe,bA as je,
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
height: ${e=>Re.chartHeight.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${N.sp6};
|
|
9
|
-
`;function Fe({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Ke,{report:e})}function Te({report:e}){const a=j();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=j();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
|
|
9
|
+
`;function Fe({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Ke,{report:e})}function Te({report:e}){const a=j();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=j();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 He({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(He({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function We({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function W({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const qe=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=W({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>We({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},Ue=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=W({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=W({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const O={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])},I=y.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
@@ -16,7 +16,7 @@ import{e as W,Q as j,F as x,hV as be,V as t,hW as De,bL as Ne,hX as Oe,bA as je,
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=j(),r=
|
|
19
|
+
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=j(),r=H(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=qe(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(I,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(I,{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:O.contentPaddingLeft.value(l),right:O.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=j(),u=H(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const C=Ue(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(I,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(I,{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:O.contentPaddingLeft.value(r),right:O.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{e as W,Q as j,F as x,hV as be,V as t,hW as De,bL as Ne,hX as Oe,bA as je,
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ie)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=j();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:b,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=
|
|
37
|
+
`;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=j();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:b,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=H(),[o,i]=f.useState(!1),s=j(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:v,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:A,sortKey:z,sortOrder:L,selectedDate:S,agingDateSelectionType:q}=c,{authParams:U,downloadEndPoint:G,timezone:J}=l,V=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(b.analytics.YYYYDashMMDashDDFormat):F().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),Q=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:E,value:_e})=>({label:E,value:Ye(_e)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(b.analytics.YYYYDashMMDashDDFormat):F().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),xe=f.useCallback((h,_)=>{C(h,_),r.trackAgingReportSortChange(M(w),_,h)},[r,C,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:F(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(q),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[S,V,Q,q]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(G,U,_),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&A!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[U,G,l.companyName,A,o,w,k,z,L,Y,S,r,J]),v==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(Oe,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:A==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(A==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(ve,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(R,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(R,{controller:v==="Completed",children:[t.jsx(R,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Fe,{report:n})]})}),t.jsx(Ge,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ae(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function 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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cO as G,
|
|
1
|
+
import{cO as G,em as Ie,Q as M,V as l,aK as P,F as Z,y as T,o as i,b7 as re,n as ie,ak as ne,cY as Pe,cf as Ce,fR as Y,fS as K,cx as J,u as L,bQ as Se,aH as te,gJ as de,fU as R,fT as ce,fV as pe,aZ as me,gK as Oe,p as ue,cV as ge,al as he,cW as Te,ac as Re}from"./index-BS0RW8dr.js";import{n as p}from"./mui-bYXq4XMS.js";import{fC as ze,bh as X}from"./zeni-epic-state-LPACxnXP.js";import{a as E}from"./core-3dlyNYRL.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-D3kjxF9V-C7cFlAui.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-BlmybTGB-C8vefnXI.js";const B=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:$,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=M(),C=se.largeLabelWidth.value(w),{setValue:S}=G(),D=te(h),y=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),_=E.useMemo(()=>te(J.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:B(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:B(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:Y(e.role,$)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:B(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:B(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,y[0]?l.jsxs(Ne,{href:`mailto:${y[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${y[0].firstName} ${y[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:B(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:_},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cO as G,el as Ie,Q as M,V as l,aK as P,F as Z,y as T,o as i,b7 as re,n as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,W=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=Z.getLocalizedStrings().peoplePage,We=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:$,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=M(),{getValues:C,formState:{errors:S},setValue:D}=G(),y=oe.largeLabelWidth.value(w),[N,..._]=$,u=_.map(d=>d.email).join(","),r=
|
|
46
|
+
`,W=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=Z.getLocalizedStrings().peoplePage,We=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:$,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=M(),{getValues:C,formState:{errors:S},setValue:D}=G(),y=oe.largeLabelWidth.value(w),[N,..._]=$,u=_.map(d=>d.email).join(","),r=E.useMemo(()=>J.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(_e,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:W(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!Me(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Oe)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ve(C("userItems"),W(t,"email"),m,o,S)}),l.jsx(V,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:y},style:{width:"auto"},rolesDropDownField:{name:W(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:Y(e.role,f)},registerOptions:{required:!0}}}),l.jsx(V,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:y},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Fe,{}),userSingleSelectWithSubTitlesField:{name:W(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(O=>O.classId===I.userRole.accountingClassIDs[0]),b=[];return k!=null&&b.push(k.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(V,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:y},singleSelectWithoutClearableField:{name:W(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(V,{}),U?null:l.jsxs(Be,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:y},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:W(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},Fe=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Me=(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))},_e=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -54,7 +54,7 @@ import{cO as G,el as Ie,Q as M,V as l,aK as P,F as Z,y as T,o as i,b7 as re,n as
|
|
|
54
54
|
.single-select-field__menu {
|
|
55
55
|
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,V=p.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex: 1;
|
|
60
60
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -89,7 +89,7 @@ import{cO as G,el as Ie,Q as M,V as l,aK as P,F as Z,y as T,o as i,b7 as re,n as
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Ve=(e,t,o,a,s)=>{if(Te(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ze,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(We,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
`,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},He=(e,t,o,a,s,h,$)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,$)},productsByUserRole:Y([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:$,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:y})=>{const{getValues:N}=G(),{append:_,remove:u}=Ie({name:h,control:t}),r=M(),n=N().userItems,d=()=>{const b=n.length-1,O=He(b+1,f,U,$,v,w,C);setTimeout(()=>_(O,{shouldFocus:!0}))},j=b=>{a(b)},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((b,O)=>{const je=n.length;let q={};if($==="zeni_only")q={email:b.email,role:Ye(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;q={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Je,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx(ye,{children:l.jsx($e,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:q,mode:$,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:y,index:O}),o===O&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:I,onRemoveUserItem:k})}):null]},O)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const $=M();return l.jsxs(we,{children:[l.jsx(ye,{children:l.jsx($e,{windowSize:$,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Ge,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=M();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=M();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:F.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:F.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Ke=p.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as R,Q as B,F as c,V as o,bL as H,g1 as K,bz as V,cj as J,o as L,aQ as Q,bA as U,y as M,cc as W,cd as q,ce as G,u}from"./index-BS0RW8dr.js";import{a as v}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{W as X,L as Z}from"./EntitySummarySection-CAKPRhm9-DT4p2FkX.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={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;
|
|
@@ -43,4 +43,4 @@ import{e as R,Q as B,F as c,V as o,bL as H,g0 as K,bz as W,cj as J,o as L,aQ as
|
|
|
43
43
|
margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function ve(e){const h=R(),d=B(),w=c.getLocalizedStrings().common,g=c.getLocalizedStrings().reports.common,{apAgingDetail:t,downloadParams:a,reportDate:r,analytics:s,onReload:f,onBackClick:N,onColumnSortConfigChanged:_,updateDownloadStateHandler:x,onTransactionClick:T}=e,{authParams:z,downloadEndPoint:k,timezone:$}=a,{fetchState:p,invoices:j,apAgingDetailUIState:b,vendor:n,totalBalances:F}=t,{sortKey:D,sortOrder:S,downloadState:m}=b,[P,I]=v.useState(!1),A=c.getLocalizedStrings(),E=A.reports.aging.agingDetail,
|
|
46
|
+
`;function ve(e){const h=R(),d=B(),w=c.getLocalizedStrings().common,g=c.getLocalizedStrings().reports.common,{apAgingDetail:t,downloadParams:a,reportDate:r,analytics:s,onReload:f,onBackClick:N,onColumnSortConfigChanged:_,updateDownloadStateHandler:x,onTransactionClick:T}=e,{authParams:z,downloadEndPoint:k,timezone:$}=a,{fetchState:p,invoices:j,apAgingDetailUIState:b,vendor:n,totalBalances:F}=t,{sortKey:D,sortOrder:S,downloadState:m}=b,[P,I]=v.useState(!1),A=c.getLocalizedStrings(),E=A.reports.aging.agingDetail,Y=v.useCallback((l,y)=>{t.vendor!=null&&s.trackApAgingDetailReportSortChange(l,y,r.format(A.dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name),_(l,y)},[s,t.vendor,r,_]);if(v.useEffect(()=>{async function l(){const y={companyName:a.companyName,sortKey:D,sortOrder:S,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:$,reportDate:r};await se(k,z,y),x("Completed"),t.vendor!=null&&s.trackApAgingDetailReportDownload(D,S,r.format(c.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name)}P&&m!=="In-Progress"&&(I(!1),x("In-Progress"),l())},[s,t.vendor,z,k,a.companyName,m,P,r,D,S,$,x,n?.id]),p==="Error")return o.jsxs(oe,{children:[o.jsx(re,{onClick:f,children:o.jsx(H,{})}),o.jsx(te,{children:g.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(K,{fetchState:p});const O=o.jsx(U,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async l=>{if(l==="excel")if(m==="In-Progress"){console.log("Download is already in progress!");return}else I(!0)}}}});return o.jsxs(ae,{children:[o.jsx(V,{title:w.strings.empty,backgroundColor:h.colors.grey5,onBackClick:N,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(X,{totalBalances:F,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:r}),o.jsx(ne,{windowSize:d,children:o.jsx(ie,{windowSize:d,children:j.length===0||n==null?o.jsx(J,{message:E.noDataText}):o.jsx(ee,{windowSize:d,children:o.jsx(Z,{uiState:b,invoices:j,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:Y,onTransactionClick:T})})})})]})}async function se(e,h,d){const w=`${e}?query=${encodeURIComponent(JSON.stringify(le(d)))}`,g=c.getLocalizedStrings(),t=g.reports.aging.apAging.apAging,a=g.download;try{const r=await W({urlEndPoint:w,authParams:h,fileType:"excel"});if(r.ok){const s=q(r.headers,a.defaultFileName),f=await r.arrayBuffer();G(f,s)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${r.statusText}`)}catch(r){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(r)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:c.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{ve as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,Q as m,_ as x,o as e,y as l,p as s,aQ as $,F as g,bn as u,cT as w,
|
|
1
|
+
import{V as t,Q as m,_ as x,o as e,y as l,p as s,aQ as $,F as g,bn as u,cT as w,dP as f,cS as b}from"./index-BS0RW8dr.js";import{n as o,k as j}from"./mui-bYXq4XMS.js";import{a as k}from"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const d={maxWidth:new l(280,322),contentMaxWidth:new l(200,250)},y=j`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -35,25 +35,25 @@ import{V as t,Q as m,_ as x,o as e,y as l,p as s,aQ as $,F as g,bn as u,cT as w,
|
|
|
35
35
|
width: ${e.sp3};
|
|
36
36
|
height: ${e.sp3};
|
|
37
37
|
color: ${s.info};
|
|
38
|
-
`,
|
|
38
|
+
`,D=o(w)`
|
|
39
39
|
margin-top: 2px;
|
|
40
40
|
margin-right: 12px;
|
|
41
41
|
width: ${e.sp3};
|
|
42
42
|
height: ${e.sp3};
|
|
43
43
|
color: ${s.important};
|
|
44
|
-
`,
|
|
44
|
+
`,T=o(u)`
|
|
45
45
|
margin-top: 2px;
|
|
46
46
|
margin-right: 12px;
|
|
47
47
|
width: ${e.sp3};
|
|
48
48
|
height: ${e.sp3};
|
|
49
49
|
color: ${s.info};
|
|
50
|
-
`,
|
|
50
|
+
`,V=o.div``,W=o($)`
|
|
51
51
|
color: ${s.neutralGrey2Light};
|
|
52
52
|
word-break: break-word;
|
|
53
53
|
white-space: pre-line;
|
|
54
|
-
`,
|
|
54
|
+
`,E=o.div`
|
|
55
55
|
max-width: ${r=>d.contentMaxWidth.valuePx(r.windowSize)};
|
|
56
|
-
`,
|
|
56
|
+
`,P=o.div`
|
|
57
57
|
margin-top: 3px;
|
|
58
58
|
margin-left: 12px;
|
|
59
59
|
width: ${e.sp3};
|
|
@@ -66,6 +66,6 @@ import{V as t,Q as m,_ as x,o as e,y as l,p as s,aQ as $,F as g,bn as u,cT as w,
|
|
|
66
66
|
&:hover {
|
|
67
67
|
color: ${s.primaryDark};
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,C=(r,n,i)=>{let a=g.getLocalizedStrings().common.snackBar[r][n];return i?.forEach(c=>{a=a.replace(c.variableName,c.variableValue)}),a},M=({type:r})=>{switch(r){case"success":return t.jsx(S,{});case"info":return t.jsx(z,{});case"error":case"warning":return t.jsx(D,{});case"notification":return t.jsx(T,{});default:return null}};function O(r){const n=m(),{message:i,messageType:a,showStatusIcon:c,onRemoveSnackbar:p}=r;return k.useEffect(()=>{const h=setTimeout(()=>{p()},5e3);return()=>clearTimeout(h)},[i.section]),t.jsxs(v,{windowSize:n,children:[c===!0?t.jsx(M,{type:a}):null,t.jsx(E,{windowSize:n,children:t.jsx(V,{children:t.jsx(W,{children:C(i.section,i.text,i.variables)})})}),t.jsx(P,{onClick:p,children:t.jsx(x,{})})]})}const A=r=>t.jsx(_,{isOnDashboard:r.isOnDashboard,children:r.showSnackbar===!0?t.jsx(O,{...r.snackbar}):null}),_=o.div`
|
|
70
70
|
background-color: ${r=>r.isOnDashboard?r.theme.colors.background:"transparent"};
|
|
71
71
|
`;export{A as default};
|
package/dist/assets/{AppDrawerContent-Dka5HlPs-BfBKKeHh.js → AppDrawerContent-Cx4zDKi_-DO8upp4U.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as te,
|
|
1
|
+
import{av as te,k as ae,l as k,bh as se,V as e,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as pe,aW as m,b3 as b}from"./index-BS0RW8dr.js";import{a as o,w as me}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{bl as be}from"./zeni-epic-state-LPACxnXP.js";import{v as he}from"./DashboardSidebarBackgroundAnimation-DYsp7Imm-CsY2ImuX.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const fe=o.memo(function({animationEnabled:n=!1}){const[i,s]=m("DashboardSidebarBottomNewYear",n),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),n&&a!=null?e.jsx(ge,{children:e.jsx(b,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
@@ -88,4 +88,4 @@ import{av as te,l as ae,m as k,bh as se,V as e,bi as oe,bj as le,bk as re,bl as
|
|
|
88
88
|
height: ${t.sp4};
|
|
89
89
|
align-items: center;
|
|
90
90
|
justify-content: center;
|
|
91
|
-
`;function Re({currentTenantId:n,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:
|
|
91
|
+
`;function Re({currentTenantId:n,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:V,isSettings:c=!1,isAiCfo:I=!1,isOnDashboard:F,isAiCfoAccessEnabled:M,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:h,aiCfoView:z,currentTenant:E,christmasAnimationEnabled:f=!1,halloweenAnimationEnabled:C=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:y=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:L,treasuryYieldPercentage:N,onNotificationIconClick:P,handleLogOutClick:B,handleMenuChange:O,onZeniLogoClick:U,handlePopupClose:R,handleBackClick:S,handleCockpitClick:G,handleTenantSelect:Z,updateCurrentChatSessionId:H,handleSettingsClick:v}){const[d,q]=o.useState(c&&x),g=me.useRef("noAnimation"),W=be(h),_=te(),{useFeatureGate:A}=ae(),{isFeatureEnabled:J}=A(k.isReimbursementCommentingEnabled),{isFeatureEnabled:K}=A(k.isBillPayCommentingEnabled),Q=se(),X=()=>{g.current="slide-in-right-to-left",v&&v()},ee=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&q(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ne=g.current,ie=W||J&&K&&!_.loggedInUserRole.includes("investor_or_banker");return e.jsxs(Ae,{isOnDashboard:F,children:[e.jsxs(ke,{children:[e.jsx(oe,{onClick:U,halloweenAnimationEnabled:C,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:w}),e.jsx(le,{currentTenantId:n??"",tenants:i,isDisabled:V,onTenantSelect:Z})]}),e.jsx(je,{children:e.jsx(re,{className:ne,signedInUser:h,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:I,isAiCfoAccessEnabled:M,aiCfoView:z,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:N,isChargeCardEnabled:$,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:Q,isExpenseAutomationEnabledForUser:L,onSelectionChanged:O,updateCurrentChatSessionId:H,onBackClick:ee,onPopupClose:R})}),e.jsx(he,{christmasAnimationEnabled:f}),e.jsxs($e,{children:[e.jsx(de,{signedInUser:h,onLogOutClick:B,onSettingsClick:X,onCockpitClick:G,currentTenant:E,isSettingsFeatureEnabled:x}),ie?e.jsx(ce,{controller:u!=null,children:e.jsxs(Te,{isDisabled:p,onClick:p?void 0:P,children:[e.jsx(ue,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),e.jsx(De,{})]})}):null]}),e.jsx(ve,{halloweenAnimationEnabled:C,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:w})]},d.toString())}export{Re as default};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import{d as Q,Q as D,av as E,F as c,aS as f,V as e,bz as F,A as G,fp as S,dH as y,y as s,o as j,al as J,b,u as o}from"./index-BS0RW8dr.js";import{n as l}from"./mui-bYXq4XMS.js";import{fz as N,fA as K}from"./zeni-epic-state-LPACxnXP.js";import"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const a={sectionRowGap:new s(o[4],o[8],o[8]),lastSectionPaddingBottom:new s(o[7],o[10],o[10]),iconWidthHeight:new s(20,o[4]),subtitleSectionWidth:new s(343,580,1200)},ue=({billpayApprovalView:t,remiApproverView:k,currentTenant:d,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:z,onSetupApprovalRulesRemiSectionClick:A})=>{const n=Q(),i=D(),p=E(),{fetchState:u,allApprovalRules:m,approvalRulesStatus:C}=t,{fetchState:h,allApprovalRules:g,approvalRulesStatus:T}=k,{commonSetUp:$,spendManagement:B}=c.getLocalizedStrings(),x=c.getLocalizedStrings().common.settings,v=c.getLocalizedStrings().common.headers,{billPay:I,reimbursement:L}=B,{billPaySetup:M}=I,{reimbursementSetup:W}=L,{setUp:r}=$,H=u==="In-Progress"||h==="In-Progress"||u==="Not-Started"||h==="Not-Started",w=n.mode==="light"?new f(n.colors.brandColorJadeLight):new f(n.colors.brandColorJadeDark),U=N(d,p.loggedInUserRoleMap),V=K(d,p.loggedInUserRoleMap);return e.jsxs(X,{children:[e.jsx(F,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),e.jsx(Y,{windowSize:i,children:H?e.jsx(Z,{children:e.jsx(G,{size:"ExtraLarge",start:!0})}):e.jsxs(O,{children:[e.jsx(q,{windowSize:i,children:e.jsx(ee,{windowSize:i,children:x.infoText.approvalRules})}),e.jsxs(_,{windowSize:i,children:[U===!0&&e.jsx(S,{title:m.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:M.approvalSubTitle,header:v.bills,icon:{element:e.jsx(y,{width:a.iconWidthHeight.valuePx(i),height:a.iconWidthHeight.valuePx(i)}),color:w},onClick:z,status:m.length>0?C:void 0}),V===!0&&e.jsx(S,{title:g.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:W.approvalSubTitle,header:v.reimbursements,icon:{element:e.jsx(y,{height:a.iconWidthHeight.valuePx(i)}),color:w},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(i)},onClick:A,status:g.length>0?T:void 0})]})]})})]})},O=l.div`
|
|
2
|
+
width: 100%;
|
|
3
|
+
margin: auto;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: center;
|
|
10
|
+
`,X=l.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
min-height: 100%;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
row-gap: ${j.sp3};
|
|
15
|
+
width: 100%;
|
|
16
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
17
|
+
`,Y=l.div`
|
|
18
|
+
display: flex;
|
|
19
|
+
height: 100%;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
`,Z=l.div`
|
|
23
|
+
display: flex;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: calc(100vh - 110px);
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
background-color: ${t=>t.theme.colors.grey4};
|
|
30
|
+
`,_=l.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
row-gap: ${t=>a.sectionRowGap.valuePx(t.windowSize)};
|
|
34
|
+
`,q=l(J)`
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
align-items: center;
|
|
38
|
+
width: ${t=>a.subtitleSectionWidth.valuePx(t.windowSize)};
|
|
39
|
+
margin-bottom: ${j.sp5};
|
|
40
|
+
`,ee=l.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
|
|
44
|
+
color: ${t=>t.theme.colors.hero};
|
|
45
|
+
font-family: ${b.largeMedium.fontFamily};
|
|
46
|
+
${b.standardRegular.css};
|
|
47
|
+
`;export{ue as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,F as f,
|
|
1
|
+
import{V as i,F as f,db as k,d as z,b1 as P,u as S,b as w,aV as T,dc as N,dd as K,p as h,o as x,ak as H}from"./index-BS0RW8dr.js";import{a as C,w as _}from"./core-3dlyNYRL.js";import{n as j}from"./mui-bYXq4XMS.js";import{l as v,_ as V,h as R,m as J,u as L}from"./chartTypes-BXBHlosV-DY5SgOjH.js";import{bn as B,fg as D}from"./zeni-epic-state-LPACxnXP.js";import{d as A,C as W,X as G,Y as I,T as M,b as F}from"./recharts-BHhx6CLo.js";const Q=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=j.div`
|
|
4
4
|
flex: display;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import{d as Y,Q as F,F as C,V as o,bL as O,g1 as R,bz as B,cj as H,o as M,aQ as K,bA as V,y as I,cc as J,cd as Q,ce as U,u as y}from"./index-BS0RW8dr.js";import{a as S}from"./core-3dlyNYRL.js";import{n as s}from"./mui-bYXq4XMS.js";import{W,L as q}from"./EntitySummarySection-CAKPRhm9-DT4p2FkX.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const _={wrapperContainerMarginTop:new I(y[4],y[0]),wrapperContaineHorizontalrMargin:new I(y[0],y[8])},{common:Z,reports:{common:G,aging:{agingDetail:X}},dateFormat:A}=C.getLocalizedStrings();function _e(e){const h=Y(),d=F(),{arAgingDetail:r,downloadParams:l,reportDate:t,analytics:a,onReload:n,onBackClick:w,onColumnSortConfigChanged:m,updateDownloadStateHandler:f,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:v,timezone:$}=l,{fetchState:g,invoices:j,arAgingDetailUIState:z,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:p}=z,[P,b]=S.useState(!1),E=S.useCallback((c,u)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(c,u,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(c,u)},[r.customer,m,a,t]);if(S.useEffect(()=>{async function c(){const u={companyName:l.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:$,reportDate:t};await ee(v,k,u),f("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}P&&p!=="In-Progress"&&(b(!1),f("In-Progress"),c())},[k,v,l.companyName,p,P,t,x,D,$,f,i?.id,r.customer,a]),g==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(O,{})}),o.jsx(ne,{children:G.failed})]});if(g==="In-Progress"||g==="Not-Started")return o.jsx(R,{fetchState:g});const L=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:p==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(p==="In-Progress"){console.log("Download is already in progress!");return}else b(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:Z.strings.empty,backgroundColor:h.colors.grey5,onBackClick:w,rightSideComponent:L,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(W,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:d,children:o.jsx(le,{windowSize:d,children:j.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:d,children:o.jsx(q,{uiState:z,invoices:j,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,h,d){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(d)))}`,l=C.getLocalizedStrings(),t=l.reports.aging.arAging.arAging,a=l.download;try{const n=await J({urlEndPoint:r,authParams:h,fileType:"excel"});if(n.ok){const w=Q(n.headers,a.defaultFileName),m=await n.arrayBuffer();U(m,w)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
max-width: 99.9%;
|
|
6
|
+
`,te=s.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: calc(100% - 60px);
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,ae=s.div`
|
|
14
|
+
height: 96px;
|
|
15
|
+
width: 96px;
|
|
16
|
+
background: ${e=>e.theme.colors.background};
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
& svg {
|
|
20
|
+
margin: ${M.sp5};
|
|
21
|
+
color: ${e=>e.theme.colors.grey1};
|
|
22
|
+
}
|
|
23
|
+
&:hover {
|
|
24
|
+
& svg {
|
|
25
|
+
color: ${e=>e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`,ne=s(K)`
|
|
29
|
+
margin-top: ${M.sp3};
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
`,ie=s.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
min-height: 100%;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
width: 100%;
|
|
36
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
+
`,se=s.div`
|
|
38
|
+
display: block;
|
|
39
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
+
height: calc(100vh - 178px);
|
|
41
|
+
margin-top: ${e=>_.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
+
`,le=s.div`
|
|
43
|
+
margin-left: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
+
margin-right: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
+
height: 100%;
|
|
46
|
+
`;export{_e as default,oe as toDownloadAgingDetailedReportOptionsPayload};
|