@zeniai/web-cockpit-ui 1.15.33-qa → 1.15.34-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.
Files changed (325) hide show
  1. package/dist/assets/{ACHDetailsPage-tTJc_EMP-caRMekFL.js → ACHDetailsPage-DSufuSEI-BugcK5ko.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-ByUb4gCe-DnyMWJRD.js → AIPerformancePage-Df0tJkyd-C5l4T96t.js} +104 -104
  3. package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BHD9tOzB-Uj2_GKGo.js → AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BEfA1bsG-C2Js1Jvp.js → AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js} +19 -19
  7. package/dist/assets/AccountRow-DtE1mQFq-sRlcgWT1.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-CaTnaSn3-DsNszPEx.js → AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BSzuByT6-CYM78gIb.js → AddToWalletPage-B_7pqvLH-CAYlL9WC.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-D2gPAJKw-Dy3mQZBS.js → AgingReportsPage-CRFlM3H1-DhYuRisV.js} +15 -15
  12. package/dist/assets/{AllUserItems-BIf1v0a5-Bm00AqDS.js → AllUserItems-LlhM8bBU-N-OwUUn2.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js +46 -0
  14. package/dist/assets/{AppBasePage-BGPY0zrb-DlmkLc3V.js → AppBasePage-DRQ76rXe-BbmVnMJF.js} +4 -4
  15. package/dist/assets/{AppDrawerContent-6AX5Y5tK-Cu3-m-Sw.js → AppDrawerContent-CIXhnJBJ-DkcT-gQA.js} +4 -4
  16. package/dist/assets/ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js +47 -0
  17. package/dist/assets/{ArAgingChart-Dx8jVL0O-Cgykn0Lt.js → ArAgingChart-BwEspm7G-DNjHaENA.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BcrHD5zT-jubV7JhU.js → ArAgingDetailPage-Dy9woFr0-Dwalts78.js} +6 -6
  19. package/dist/assets/{AttachmentView-CdIA5zLk-DSnv4ijm.js → AttachmentView-CF6Tiq1u-ScD4RZ91.js} +5 -5
  20. package/dist/assets/{BankAccountSection-Qe9eRUmE-Bn_DzMKl.js → BankAccountSection-DyPS4RZK-Bc2VKdEG.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-BfN1KiTF-EK89qrtq.js → BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Dmub7xxp-CxXqCMiF.js → BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js} +12 -12
  23. package/dist/assets/{BillDetailPage-DHCP-PUd-DOIZox9o.js → BillDetailPage-KSkeLjtu-DDizjGfx.js} +2 -2
  24. package/dist/assets/BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-Cc3wkV9k-D4lNrc1G.js → BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-DslCxm8f-BojuKuTk.js → BillPayPromoPage-CZ34fQRr-h45OCD6V.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-DnabCnSI-B95-H6hC.js → BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-DNmOo0mj-BgBv8nRa.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BOulFH2M-BrY_zcFs.js → BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js} +1 -1
  30. package/dist/assets/{BoxItem-Dhk2kQlB-DGHihy-b.js → BoxItem-Dy41mKN9-CZiGGLPk.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BU2b5oF1-DDgS913g.js → BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-CRjU8jZf-DScDbHaS.js → CardNumberSubText--wffxyL2-Dzc9wag1.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-GNwtsA01-CtZrxwJV.js → CashbackDetailPage-BuywSIvA-Dj0FTjqV.js} +15 -15
  34. package/dist/assets/{ChargeCardDetailPage-DspeEPRm-BfTzI1rp.js → ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js} +36 -36
  35. package/dist/assets/{ChargeCardListPage-C4N76196-B9kR7T8Y.js → ChargeCardListPage-CkqWU4gN-CkHuHVFN.js} +23 -23
  36. package/dist/assets/{ChargeCardListTable-ObawcMuP-BOdm2f4H.js → ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js} +46 -46
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-NBxH70YE-CMrKxZA5.js → ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js} +34 -34
  38. package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-DSUakLyb-BH8qt4Dj.js → ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-BK6iLLEA-DIHMuA3p.js → CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-vwzu1AgW-DuMTLVG4.js → CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js} +93 -93
  43. package/dist/assets/{CompanyOfficerDetailsSection-CtptCfIN-E-ghNZwQ.js → CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js} +12 -12
  44. package/dist/assets/{CompanyPassportCard-DyasR99R-Bjmhc2hR.js → CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-Xp8Bn6ev-AJr1CYjl.js → CompanyPassportPage-DtEQ7a68-BZL6spEi.js} +34 -34
  46. package/dist/assets/{CompleteProfile-CyoPiiWR-Byv8MIAx.js → CompleteProfile-DLNtc5N7-B7HW7ybq.js} +1 -1
  47. package/dist/assets/ConfettiBurst-B4gz9uC9-BhJEyb5s.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CQqzwvu_.js → ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CecROHGm-BZLYQbR8.js → CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-C6Tx5HFf-BMs8YRTm.js → CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js} +15 -15
  51. package/dist/assets/CurrencySelectField-CaQgbP8P-Cqqb_KBc.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-CsBXicnS-D_30tSZo.js → CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js} +8 -8
  53. package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BrWGFePj-D9A4KVB4.js → CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-EIhXr3Tb-ht8ezlDG.js → CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-DXoS8Lvh-BvBWTMTM.js → CustomerOnboardingPage-CSSgj26J-N4cabpr0.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BRXSZWKm-CVZJxXfP.js → CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js} +6 -6
  58. package/dist/assets/{Dashboard-Bd774Cwk-CPneZsx_.js → Dashboard-DPXzM2TM-6t8lQHvd.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-CdyFzIwd-CCBZJf2V.js → DashboardReportPage-CWgH0Bn9-BvMXyb8g.js} +13 -13
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DZk4h7x--XEEIsEL6.js → DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-CKgbbZOW-BAUa4FHC.js → DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js} +7 -7
  63. package/dist/assets/{DomesticWireDetailsPage-CY2Pv6jd-DtTjZ_4V.js → DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-BflHtA84-BO7fMgnW.js → DownloadOverlay--ICWviQz-Q6tZiS37.js} +24 -24
  65. package/dist/assets/{DrawerPage-5Q_xvjmz-BOmiDfaX.js → DrawerPage-DoJkjp69-BGpDDN7R.js} +10 -10
  66. package/dist/assets/EditPeoplePage-B-zEdQqt-BrFyNgmY.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CYnqM-2--_UDSzYfF.js → EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js} +72 -72
  68. package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BUjGJmFT-Dha8JbEH.js → EntitySummarySection-BYP9LNlh-CHZV8J2r.js} +19 -19
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D7_-NOLq-C2FHNQ42.js → ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js} +60 -60
  71. package/dist/assets/ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js +1803 -0
  72. package/dist/assets/{ExpressPayPage-gyFQBzLO-DD1bcU9s.js → ExpressPayPage-BaLCnmxC-DyZ_NbAE.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-BT-WJozX-BmNFqaDN.js → FeaturePreviewPage-DJvcim4v-B-0y2hox.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Du2gzmC6-ITy1BuM4.js → FollowStepsSection-DiAM2oU9-DVhX1hhq.js} +42 -42
  75. package/dist/assets/{GlobalReviewListPage-B0MxdV0g-ByEyisM3.js → GlobalReviewListPage-DFhcVK4y-DV_nZHys.js} +14 -14
  76. package/dist/assets/{InformationCardStack-rAU0N5_N-18U34zdq.js → InformationCardStack-bDJV8MEl-DKR8Zvn9.js} +7 -7
  77. package/dist/assets/{InsightsCardStack-CEkmuCB6-CogwYtZb.js → InsightsCardStack-Ba7C5_Ql-1E6nbw33.js} +7 -7
  78. package/dist/assets/InsightsSection-BFviX80K-CRFJKeH_.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-Do41V6J0-drB79PfG.js → IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BnsnrM3q-BIaoCuMc.js → InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js} +28 -28
  81. package/dist/assets/InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js +65 -0
  82. package/dist/assets/{InviteFormPage-x40AE2Pw-DB6GwgFB.js → InviteFormPage-D3FNgm9B-BwvxtcvY.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CiVNaN8z-VSoPDSqk.js → InvitePageListView-D4wRSwJW-DPbFsvfR.js} +35 -35
  84. package/dist/assets/InvitePeoplePage-DSFk8lEF-DpuHc0lh.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BVmxvrlx-CM3PsR0k.js → IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js} +20 -20
  87. package/dist/assets/{LabeledAddressValue-aejn380k-9KAs-vw8.js → LabeledAddressValue-CUr2BnHq-DfiyDPyB.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-DL3wJoZC-CMggf1RU.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1bMiaZj-ColeHqz7.js → LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-amXDv508-6VO0EsbY.js → LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js} +6 -6
  92. package/dist/assets/{LabeledDocumentField-2_VcrmJN-BD9gdLcR.js → LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js} +2 -2
  93. package/dist/assets/{LabeledDropDownFormattedTextField-C6sW-5j7-DoZ1Clel.js → LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js} +5 -5
  94. package/dist/assets/{LabeledText-CrAhx4_P-mWwgzY-e.js → LabeledText-H1pSTEtd-BHLnDTFr.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-DQAVipT_.js → LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js} +12 -12
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DS1icRVA-DRmTnd0N.js → LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js} +23 -23
  97. package/dist/assets/{LinkJETransactionPage-VdBxLFQc-DSmzcgL3.js → LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js} +9 -9
  98. package/dist/assets/{LockCardPage-Bs8xkpNa-BH5dabGf.js → LockCardPage-lTzQY_pw-BYsKWV6j.js} +34 -34
  99. package/dist/assets/{LowBalancePopup-B0-WExEI-BnZMJ9oZ.js → LowBalancePopup-DXPPHYS1-CB0hADnS.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-DRcOlHnh-PPiAarWW.js → MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js} +5 -5
  104. package/dist/assets/{MagicLinkTitleSection-vMBVJSVF-BDFTafOR.js → MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-vydT4UOr-DSxQiRSi.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D6Gjqgv2-tzV_zUUq.js → MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js} +6 -6
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-y9U4DJm9-kjsb7Oyt.js → MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js} +2 -2
  108. package/dist/assets/MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js +85 -0
  109. package/dist/assets/NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js +30 -0
  110. package/dist/assets/{NavigationArrow-suk7KbA1-Bl28QDCF.js → NavigationArrow-CeYvXgly-CXWFEDMQ.js} +1 -1
  111. package/dist/assets/{NavigationDots-Dqcv5rrC-wx3TUAOM.js → NavigationDots-CXAszOHQ-HtQg6iz5.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-CRg1E4PG-BbGF32Sj.js → NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js} +33 -33
  113. package/dist/assets/NoDataChart-BQdJyfHh-BLmune73.js +26 -0
  114. package/dist/assets/{NoDataTable-B2CS7NPq-DRIt6CHH.js → NoDataTable-B__TVPte-CetA5lza.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DGMaZUli-B_ZJJm7V.js → NotFoundPage-Cs25xsWz-DnZv-DIM.js} +4 -4
  116. package/dist/assets/{NotificationSettingsPage-CMkB3Lv2-C-VPd7Lp.js → NotificationSettingsPage-Dm3zOscr-DKDyywX2.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-D0knaijJ-NyDzwfbC.js +1 -0
  118. package/dist/assets/{NotificationsPage-D7bHfgsd-HWWWcHyi.js → NotificationsPage-czQmfW2r-DksNFGUv.js} +31 -31
  119. package/dist/assets/{OpExByVendorPage-PfMkiQRt-D6dvXvh-.js → OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js} +20 -20
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-2A5VsoQR.js → OverlayContainerPage-D4QU0p4o-li8hzYjf.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CtFnhBki-8h68Lmy6.js → PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js} +9 -9
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-gaNLv-zU-C5-av3XE.js → PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js} +13 -13
  123. package/dist/assets/PeoplePage-DNTbzljs-Bfp0W5JF.js +727 -0
  124. package/dist/assets/{Preview-DnmPaacA.js → Preview-BsIYoVSv.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BPUh4FO7-C-quXntD.js → ProductsCarousel-CTiD9zA7-D7cEl2bl.js} +3 -3
  126. package/dist/assets/{PromoBaseCards-Dmg5PtKw-Cdh1PPvI.js → PromoBaseCards-BmtlcPBm-DdDmICph.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-CLBqmpI8-DKi8GIOA.js → QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js} +4 -4
  128. package/dist/assets/QBOSetupSection-DevcmmCv-C2NxYIUb.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BrfP2xcW-CD61A2zN.js → ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BmVVfYZD-DSikDWDV.js → ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js} +5 -5
  131. package/dist/assets/{ReimbursementDetailPage-j-kNxeWY-DMAXhIU9.js → ReimbursementDetailPage-CMplGhml--7oTvGch.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-D2kh5AHM-DnfYr255.js → ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js} +20 -20
  133. package/dist/assets/{ReimbursementSetUpPage-D2890NEZ-C42V01mT.js → ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js} +15 -15
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-qXtPaXjg-BcU2vD5u.js → ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js} +1 -1
  135. package/dist/assets/{ReloadCard-IEyjck4Y-Bx172wbs.js → ReloadCard-CI-iJa1w-CU7osnQb.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-CQjyJkzR-BMiZfuRK.js → ReportTableViewSelector-CM11mXKF-DKJl505X.js} +31 -31
  137. package/dist/assets/{ReportsPage-Bzz6If8N-CRC9kTRL.js → ReportsPage-DzuQNoMA-ORn4o7l_.js} +5 -5
  138. package/dist/assets/{RevenueChart-B00OufPH-BQ-fm7T5.js → RevenueChart-iDdrXSzX-BD1q5u9E.js} +22 -22
  139. package/dist/assets/{ReviewDetailsPage-NnD1LDcO-oQteze57.js → ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CFouRoKn-Bx0_gW0Y.js → ReviewOverlay-D39FMx3p-DPQk54i4.js} +24 -24
  141. package/dist/assets/RoleWithToolTip-BMEgXHWf-CYv1exk7.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B5gQXUI9-D6BCK7Im.js → ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-B1Kb9usK-B8mUNpar.js → ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js +324 -0
  145. package/dist/assets/{ScreenRoutes-DKxBGhTW.js → ScreenRoutes-Bkl-MWfY.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-D6dn2jSD-30yvmE7W.js → SetUpAccountSection-o86ErvD_-Celwp-jA.js} +5 -5
  147. package/dist/assets/SignIn-BEJNYyp4-O46sF-k3.js +491 -0
  148. package/dist/assets/SignInScreen-Dm8Ez_qK.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-DOkp7pHa-CRzzuy9l.js → SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js} +10 -10
  150. package/dist/assets/{SpendManagementPerTabPage-D_LO55uU-BNZNJM2O.js → SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js} +25 -25
  151. package/dist/assets/{SpendManagementSection-CEMNFPRO-CJtpae8W.js → SpendManagementSection-DiQ2QBwA-CGsThSZ0.js} +11 -11
  152. package/dist/assets/StatementItem-DGRjrvUi-C8hx1_Sf.js +31 -0
  153. package/dist/assets/{StatementsPage-CgbyzDo5-BBvhOOcU.js → StatementsPage-QqtqM0qv-BBLWtN99.js} +6 -6
  154. package/dist/assets/{StatusSwitcher-BjvUftXD-DSbt2dze.js → StatusSwitcher-CfZOeqZf-Bq7fUYSl.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-CqTYhJ6K-Cc8NgEnD.js → SubTabSwitcher-Be1lLunR-CsxeYIuC.js} +4 -4
  156. package/dist/assets/SummaryCard-DgBWIctW-CRmTCkt0.js +1 -0
  157. package/dist/assets/TaskManagementPage-CpjN2Ver-BJrGG5WR.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-BR-bT1hY-CwHrTBmo.js → TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-B7EXKmdi-B7wC4ZTm.js → TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js} +6 -6
  160. package/dist/assets/TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js +31 -0
  161. package/dist/assets/{TopExCard-l-xo9Vzj-CzV3ots3.js → TopExCard-Do6O7snc-DLvwuAod.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-DJlHcjKS-B7xZPI_B.js → TopExDetailPage-DFil6Qwx-BWbjM88A.js} +13 -13
  163. package/dist/assets/{TransactionActivityLogPage-HLwrGJCG-jOI5M6vb.js → TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js} +14 -14
  164. package/dist/assets/TransactionDetailPage-CyTyj91G-B7vb07HE.js +903 -0
  165. package/dist/assets/{TransactionList-BFD8ZfJ--B_2P6NgX.js → TransactionList-BFDau1I7-BXGXYBFK.js} +15 -15
  166. package/dist/assets/{TransactionListBig-Cd05cE1H-DHIWBrzi.js → TransactionListBig-CVBiekZl-DrGGpH9X.js} +13 -13
  167. package/dist/assets/TransactionListPage-LGgMtr7O-CsGWQiN-.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-D93V6PtT-ASEgt-oH.js → TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-B_Hy3gOY-CZNjh4dq.js → TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js} +26 -26
  170. package/dist/assets/{TreasuryOverviewPage-CJrfTwBd-DGoUzRq5.js → TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-BRwTbEqr-DD0NB9Np.js → TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js} +12 -12
  172. package/dist/assets/{TreasuryStatementsPage-CpVaxZhO-D8_pdQ6V.js → TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js +58 -0
  174. package/dist/assets/{TrendChart-DLex57el-D9IGJHV4.js → TrendChart-JHlBVwXJ-p0u3PrEr.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-CwB4wDSN-Ci246WOZ.js → TrendWithTransactions-Bh619hxZ-B7JEOzSv.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CO7p4-Kx-CKzXNOia.js → UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-BDUTrQY0-BeNpWs1d.js → UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js} +10 -10
  178. package/dist/assets/UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-ANEIs-J6-BItEW5IN.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +1 -0
  181. package/dist/assets/{VendorDetailPage-DRgwiRee-F7uBXNWL.js → VendorDetailPage-BLZ1wOuB-t2P37a0b.js} +28 -28
  182. package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-CtReDQX3-ZEq2UHS3.js → VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-BGVFKcId-HzfS-8-K.js → VendorFirstReviewPage-DJap4HA2-DP0KML1b.js} +8 -8
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DtFlzIWc-BSJvfDFE.js → VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js} +14 -14
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-DlCCF8w7-B2R9WWyu.js → VendorsAccountsSection-lmuNbtLw-BehIg0cT.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CDChzTa5-Dn7AcZPE.js → VerifyDevice-vhZNITmO-B_CyFx_O.js} +3 -3
  189. package/dist/assets/{VideoPlayer-D6snpLby-DtDMVXQN.js → VideoPlayer-DIXs3y0r-C0i3s9oa.js} +2 -2
  190. package/dist/assets/{VideoPopup-SylQ4T6l-CTWGJick.js → VideoPopup-CYL6r3Cb-B0pmnpWo.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D67GprmZ-IPWpf2-0.js → WarningsDrawerPage-CJ9a931n-DAFMV5EF.js} +6 -6
  192. package/dist/assets/{ZeniAccountDetailPage-BfYIZPob-6XUVvcAt.js → ZeniAccountDetailPage-P86nU628-RfL02yuR.js} +14 -14
  193. package/dist/assets/{ZeniAccountListViewPage-B5luRVEl-CVXVmDiV.js → ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js} +23 -23
  194. package/dist/assets/ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CHCmIfff-DyZFPn28.js → ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js} +12 -12
  196. package/dist/assets/{ZeniAccountSetupPage-BzCqTug2-b7-ybj6-.js → ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-CiZTMpf7-BZTmiNMr.js → ZeniCopyright-Baiyxesc-CHFltgTl.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-C--qNr-a-B80xXrhL.js → ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-D09GVq9M.js → add-to-wallet-DgdBD8_G-DdT9Rn3y.js} +1 -1
  200. package/dist/assets/{analytics-Df2mJ1lX.js → analytics-Dm6Rdmk5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DEOt00qX-DLlhyFKe.js → analyticsHelper-B32z3Cdy-Dk9sCdyO.js} +1 -1
  202. package/dist/assets/analyticsHelper-DPMmqDhf.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-DzQV9eJa.js → arrow-south-east-round-PEovUgvH-Cy4oQH64.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-D4yr6H5z.js → auto-transfer-rule-mbafm5D3-B6gY8maM.js} +1 -1
  205. package/dist/assets/{chartTypes-BqKhmkSG-CgQV-TUL.js → chartTypes-DL1AC5R1-CSQ4LZOa.js} +1 -1
  206. package/dist/assets/commonDimensions-BNYeCJ44-DwWQhbOM.js +1 -0
  207. package/dist/assets/{commonTypes-TAIHQ3fk-DQoSEEvg.js → commonTypes-DwuUdRAc-CVoF2D5n.js} +1 -1
  208. package/dist/assets/{constants-DG7AuAVl.js → constants-MHF6sRcJ.js} +1 -1
  209. package/dist/assets/{core-BE_Z31V1.js → core-XAP_yXKl.js} +1 -1
  210. package/dist/assets/{dash.all.min-DDJXzvDP.js → dash.all.min-DatMhMWc.js} +1 -1
  211. package/dist/assets/{detailCommon-BEEE23XQ-BD_Mk7je.js → detailCommon-CzjlHNNr-OLPVPNMD.js} +7 -7
  212. package/dist/assets/downloadPdf-CPfBtFli-C5o4QyFD.js +1 -0
  213. package/dist/assets/{empty-M69JX_rT.js → empty-Cs2gdmIo.js} +1 -1
  214. package/dist/assets/{empty-CRPcZP1j.js → empty-vcyFM9nz.js} +1 -1
  215. package/dist/assets/epic-B8nKq-i6.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Deoc5oar.js → gift-box-Cmt9OgIZ-RzjSa1iy.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdDmkNr4.js → graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fmWTttVF.js → graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B0P5ObqQ.js → handshake-BPg58FML-FDeEnKd2.js} +1 -1
  220. package/dist/assets/{helper-Cl1NuKS2-GEpi-XmM.js → helper-T710NLca-BU35xGXS.js} +2 -2
  221. package/dist/assets/{index-DQj8IFZB.js → index-C9hDAJ7o.js} +4039 -4061
  222. package/dist/assets/{index-Qi-3x-ZJ.js → index-CrlTOcjY.js} +1 -1
  223. package/dist/assets/{index-B1UWDNYH.js → index-D9vmx-FC.js} +1 -1
  224. package/dist/assets/{index-CtuKpkPR.js → index-DIT7C2zP.js} +1 -1
  225. package/dist/assets/{index-CuuLV5Ja.js → index-DSJ6HKL8.js} +1 -1
  226. package/dist/assets/{index-5swzSU-P.js → index-LuFlN8FP.js} +1 -1
  227. package/dist/assets/{index-DV0An2Zv.js → index-t-uTuAYw.js} +1 -1
  228. package/dist/assets/{lexical-aqmLQuMS.js → lexical-CgNStNGD.js} +1 -1
  229. package/dist/assets/{liveblocks-C1mHPmJS.js → liveblocks-NP7ye8lf.js} +1 -1
  230. package/dist/assets/{lottie-DyTfNQDx.js → lottie-DhXcx4Hv.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-CBq8hzRN-fxI2JqXr.js → mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtYXgw-F-oAphex73.js → mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +1 -0
  237. package/dist/assets/{mui-BU7efdfo.js → mui-BQR0Ruo4.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CtnTIFRc.js → page-detail-CWX5S47F-BBbQvoIw.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-V1yMMv-q.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-4z6Camq9.js → radio-default-CiSgisfh-OYLDx768.js} +1 -1
  241. package/dist/assets/{react-3qpqyaOU.js → react-72w_Kluy.js} +1 -1
  242. package/dist/assets/{react-CWsZgXSV.js → react-BL2s-aF_.js} +1 -1
  243. package/dist/assets/{react-BemuwBnj.js → react-CUdUBRF6.js} +1 -1
  244. package/dist/assets/{react-Bom9bczX.js → react-CX9OzKa9.js} +1 -1
  245. package/dist/assets/{react-B4itwZHV.js → react-Cp-6oWln.js} +1 -1
  246. package/dist/assets/{react-CN_MK9F3.js → react-CvT9aEmE.js} +1 -1
  247. package/dist/assets/{react-ctGSvN4G.js → react-DcMbwERn.js} +2 -2
  248. package/dist/assets/{react-BFU7EV8v.js → react-Du36QLI3.js} +1 -1
  249. package/dist/assets/{recharts-wrfDO0AQ.js → recharts-DkFolWRg.js} +1 -1
  250. package/dist/assets/{sentry-CmSZxGiC.js → sentry-Ckvw8Zf1.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DkXtzp4a.js → shield-DOlUxcFf-rM_NpNHL.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +1 -0
  253. package/dist/assets/toChartData-8r0AvOIP-Dhy8B0ZL.js +1 -0
  254. package/dist/assets/{uploadAttachment-CLjjVoJ0-G44pYEnV.js → uploadAttachment-CTXeI85v-BVATkq8k.js} +25 -25
  255. package/dist/assets/uploadReceipts-Dge0cNF1-nRZK_a0M.js +1 -0
  256. package/dist/assets/{url-Dh6RHozD.js → url-D8pFj_Ts.js} +1 -1
  257. package/dist/assets/{url-Y0e70W7v.js → url-DCwOBFCk.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-CTF1V7Dp.js → useLongPress-GCK2COYQ-BkrNXw3e.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CAUsjG1o.js → usp-line-BBd1wKwW-54Q8nh58.js} +1 -1
  260. package/dist/assets/{utils-4HiCQfG5.js → utils-B4eJ0QQL.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-4hreDbys.js → zeni-epic-state-BnsQ52n7.js} +4 -4
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-VLhd4vnL-I5Lr2n0M.js +0 -18
  265. package/dist/assets/AccountLockedInfoModal-DNjLeZYt-LNUXwZM-.js +0 -59
  266. package/dist/assets/AccountRow-CK5HLVrf-DXJZ_sEO.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-DmajBqRK-nxIYPo1E.js +0 -6
  268. package/dist/assets/ApAgingDetailPage-pfP6vTc2-BpIJBEds.js +0 -46
  269. package/dist/assets/ApprovalRulesSettingsPage-BurRfT7n-DRTxj05J.js +0 -47
  270. package/dist/assets/BillPayApprovalRuleDetailPage-DS31MPI0-4xXvJcm0.js +0 -27
  271. package/dist/assets/BillingSettingsPage-B91NuvxJ-D_FEm3L1.js +0 -44
  272. package/dist/assets/ChargeCardPromoPage-CN9d98ht-CvggjDIQ.js +0 -222
  273. package/dist/assets/ChargeCardSetupPage-Cie4HjPR-DCzfspb8.js +0 -36
  274. package/dist/assets/ConfettiBurst-BWYsiO3O-4BlId3h5.js +0 -1
  275. package/dist/assets/CurrencySelectField-DAmYUy85-DMDmUadH.js +0 -139
  276. package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BJUaNX44.js +0 -1
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-NYtLjb5A-C_ZMV7U-.js +0 -12
  278. package/dist/assets/EditPeoplePage-Dq02jvsi-1vFBiR26.js +0 -55
  279. package/dist/assets/EntityDetailPage-s91tl4Wk-D9-Khkld.js +0 -18
  280. package/dist/assets/ExpenseAutomationPage-CFxbvTbd-BAfLqXb6.js +0 -1700
  281. package/dist/assets/InsightsSection-CK6L0ggh-CEIo4wru.js +0 -27
  282. package/dist/assets/InternationalWireVerificationPage-C3EEqPT--C-SNZ09B.js +0 -65
  283. package/dist/assets/InvitePeoplePage-DGTYEet3-ww7dc8Ap.js +0 -12
  284. package/dist/assets/InvoiceUploadSection-C4K602QO-DQ0TMvgE.js +0 -140
  285. package/dist/assets/LabeledAddressValueField-DSU3b6xx-Do3zHmCW.js +0 -45
  286. package/dist/assets/LabeledControlledCheckBoxField-CKE6Nln6-D3D8TfOs.js +0 -16
  287. package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-DPdZjBrF.js +0 -1
  288. package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-DgnH4Uml.js +0 -1
  289. package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-D5zfuNtc.js +0 -1
  290. package/dist/assets/MailingDetailsSection-CKtLfBik-B4Pa39ev.js +0 -21
  291. package/dist/assets/MyProfileSettingsPage-D7btjvQI-D2DR3yb7.js +0 -85
  292. package/dist/assets/NavBarWithPicker-B_vr1zc6-CdH-de-A.js +0 -30
  293. package/dist/assets/NoDataChart-CGab-TiT-BBfAYwSH.js +0 -26
  294. package/dist/assets/NotificationsListConfig-8zpkH26L-DDuzcyo-.js +0 -1
  295. package/dist/assets/PeoplePage-3Fux2UtP-DZR4BINj.js +0 -675
  296. package/dist/assets/QBOSetupSection-DwqXfi9i-Dmc0UPaw.js +0 -79
  297. package/dist/assets/RoleWithToolTip-BBbrv_x_-B3Cv90ZD.js +0 -22
  298. package/dist/assets/ScheduleSequenceTable-B973PTTc-DWRrpKit.js +0 -324
  299. package/dist/assets/SignIn-CUOfBh48-wGxg0FBZ.js +0 -491
  300. package/dist/assets/SignInScreen-Cwd6Qtqw.js +0 -1
  301. package/dist/assets/StatementItem-BDCdJuBz-C-uwkj2X.js +0 -31
  302. package/dist/assets/SummaryCard-BrsOKcrF-DrLZV6Qo.js +0 -1
  303. package/dist/assets/TaskManagementPage-C5vXcK0R-CZ850Y5X.js +0 -508
  304. package/dist/assets/TimeframeSwitcherWithToggle-D265f15Y-_axA0W9R.js +0 -31
  305. package/dist/assets/TransactionDetailPage-63dqDjgt-D8KEE6zE.js +0 -903
  306. package/dist/assets/TransactionListPage-klQ0oBzv-e1BZ0UAD.js +0 -35
  307. package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--DhNnA2rA.js +0 -58
  308. package/dist/assets/UploadAdditionalDocumentOverlay-DID6dcux-D1ONPT0t.js +0 -38
  309. package/dist/assets/Vendor2FAPopup-DySyuG4R-BF3S6gEn.js +0 -1
  310. package/dist/assets/VendorACHDetailsPage-CS0fu-kk-Cuvu_0OU.js +0 -1
  311. package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BNC9Fid9.js +0 -1
  312. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BiRtjzPd.js +0 -1
  313. package/dist/assets/ZeniAccountNavBarPieces-BQXOnqhc-6j8hLlJi.js +0 -14
  314. package/dist/assets/analyticsHelper-Dri1zWcx.js +0 -1
  315. package/dist/assets/commonDimensions-DbvjFx29-D9IHQgGS.js +0 -1
  316. package/dist/assets/downloadPdf-CDTl_Ev--DcUV3a6w.js +0 -1
  317. package/dist/assets/epic-DitwVTZc.js +0 -2
  318. package/dist/assets/mapSpacerToTreeNode-ycecmJKa-DGUz2Bon.js +0 -1
  319. package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-DvcBmYb-.js +0 -1
  320. package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-CX71VW8Z.js +0 -1
  321. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DBxf8ZEY.js +0 -1
  322. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DuSq5GIk.js +0 -4
  323. package/dist/assets/toCOABalancesWithID-DKhXdLyk-DNK_OJ2b.js +0 -1
  324. package/dist/assets/toChartData-B3G_wqcy-WplUF94r.js +0 -1
  325. package/dist/assets/uploadReceipts-Dge0cNF1-OrsZovci.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,o as i,i as W,aQ as A,y as m,H as $,a as b,jv as he,jc as ge,cj as xe,p as r,jw as me,by as we,cZ as ue,al as $e,b as be,jg as ye}from"./index-DQj8IFZB.js";import{a as g}from"./sentry-CmSZxGiC.js";import{n as o,c as D}from"./mui-BU7efdfo.js";import{EP as fe}from"./zeni-epic-state-4hreDbys.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-D09GVq9M.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6e3da710-0a7d-40be-8741-5dfc99f85460",e._sentryDebugIdIdentifier="sentry-dbid-6e3da710-0a7d-40be-8741-5dfc99f85460")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
1
+ import{J as L,a8 as le,ax as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,o as i,i as W,ab as A,x as m,H as $,a as b,jv as he,jc as ge,cj as xe,p as r,jw as me,by as we,c_ as ue,am as $e,w as be,jg as ye}from"./index-C9hDAJ7o.js";import{a as g}from"./sentry-Ckvw8Zf1.js";import{n as o,c as D}from"./mui-BQR0Ruo4.js";import{ER as fe}from"./zeni-epic-state-BnsQ52n7.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-DdT9Rn3y.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="81ba8238-5988-492e-97dc-9b639cc04122",e._sentryDebugIdIdentifier="sentry-dbid-81ba8238-5988-492e-97dc-9b639cc04122")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -37,7 +37,7 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju 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:F,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Fe=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:F.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ue,{children:[t.jsx(qe,{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($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:F.addToWallet})]}),t.jsx(st,{})]}),B=({tabType:e})=>{const a=M();return t.jsxs(Le,{children:[t.jsxs(E,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(R,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(E,{children:[t.jsx(Me,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(R,{windowSize:a,children:d.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Rt=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:Y,cardHolderDepartmentName:K})=>{const s=M(),O=le().analytics,[T,Q]=g.useState(!1),[z,U]=g.useState(!1),[q,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:O,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:Y,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{Q(!0)},a?9500:4500),setTimeout(()=>{U(!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(Ye,{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(Qe,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Fe(q,ee,se)]})}):null,t.jsxs(Ee,{windowSize:s,children:[t.jsx(Re,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(H,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(H,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Be,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(B,{tabType:"apple"})}),t.jsx(He,{isActive:S==="google",children:t.jsx(B,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Be=o.div`
40
+ `,{spendManagement:{chargeCard:{chargeCardsPromo:F,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Fe=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:F.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Qe,{children:[t.jsx(Ue,{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($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:F.addToWallet})]}),t.jsx(st,{})]}),B=({tabType:e})=>{const a=L();return t.jsxs(Me,{children:[t.jsxs(H,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(M,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(H,{children:[t.jsx(Le,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(M,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:O,cardHolderDepartmentName:Y})=>{const s=L(),K=le().analytics,[T,q]=g.useState(!1),[z,Q]=g.useState(!1),[U,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:K,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:O,cardHolderDepartmentName:Y,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:V,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{q(!0)},a?9500:4500),setTimeout(()=>{Q(!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(Oe,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ye,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Ke,{windowSize:s,children:[t.jsxs(qe,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Fe(U,ee,se)]})}):null,t.jsxs(He,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(R,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(R,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Be,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(B,{tabType:"apple"})}),t.jsx(Re,{isActive:S==="google",children:t.jsx(B,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Be=o.div`
41
41
  display: flex;
42
42
  position: relative;
43
43
  width: 100%;
@@ -49,7 +49,7 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
49
49
  position: absolute;
50
50
  left: ${e=>e.isActive?i.sp0:"-369px"};
51
51
  transition: left 0.3s ease-in-out;
52
- `,He=o.div`
52
+ `,Re=o.div`
53
53
  display: flex;
54
54
  width: 100%;
55
55
  position: absolute;
@@ -62,11 +62,11 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
62
62
  min-height: 1px;
63
63
  max-height: 1px;
64
64
  margin: ${i.sp3} ${i.sp0};
65
- `,Ee=o.div`
65
+ `,He=o.div`
66
66
  display: flex;
67
67
  width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
68
68
  flex-direction: column;
69
- `,Re=o.div`
69
+ `,Ee=o.div`
70
70
  display: flex;
71
71
  height: ${i.sp8};
72
72
  width: 100%;
@@ -74,15 +74,15 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
74
74
  border: 1px solid ${e=>e.theme.colors.grey2};
75
75
  background: ${e=>e.theme.colors.grey3};
76
76
  position: relative;
77
- `,H=o(xe)`
77
+ `,R=o(xe)`
78
78
  text-transform: none;
79
79
  margin-left: ${i.sp2};
80
80
  cursor: pointer;
81
- `,Le=o.div`
81
+ `,Me=o.div`
82
82
  display: flex;
83
83
  flex-direction: column;
84
84
  margin-top: ${i.sp6};
85
- `,Me=o.div`
85
+ `,Le=o.div`
86
86
  padding: 12px;
87
87
  border-radius: ${i.sp4};
88
88
  background: ${r.successLight};
@@ -92,14 +92,14 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
92
92
  border-radius: ${i.sp4};
93
93
  background: ${e=>e.theme.colors.graphColor16Light};
94
94
  display: flex;
95
- `,E=o.div`
95
+ `,H=o.div`
96
96
  display: flex;
97
97
  align-items: center;
98
98
  gap: ${i.sp3};
99
- `,R=o(b)`
99
+ `,E=o(b)`
100
100
  ${({windowSize:e})=>y.walletTitleFont.style(e)}
101
101
  color: ${e=>e.theme.colors.primary};
102
- `,L=o(b)`
102
+ `,M=o(b)`
103
103
  ${({windowSize:e})=>y.walletSubTitleFont.style(e)}
104
104
  color: ${e=>e.theme.colors.hero};
105
105
  margin-left: ${i.sp9};
@@ -121,13 +121,13 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
121
121
  width: 100%;
122
122
  display: flex;
123
123
  flex-direction: column;
124
- `,Ye=o.div`
124
+ `,Oe=o.div`
125
125
  width: 100%;
126
126
  display: flex;
127
127
  flex-direction: column;
128
128
  margin-top: ${({windowSize:e})=>c.headingMarginTop.valuePx(e)};
129
129
  margin-bottom: ${({windowSize:e})=>c.headingMarginBottom.valuePx(e)};
130
- `,Ke=o.div`
130
+ `,Ye=o.div`
131
131
  ${e=>e.windowSize==="small"?"height: 100%;":null};
132
132
  display: flex;
133
133
  justify-content: center;
@@ -136,11 +136,11 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
136
136
  `:D`
137
137
  width: 100%;
138
138
  `};
139
- `,Oe=o.div`
139
+ `,Ke=o.div`
140
140
  display: flex;
141
141
  position: relative;
142
142
  align-items: center;
143
- `,Qe=o.div`
143
+ `,qe=o.div`
144
144
  position: relative;
145
145
  display: flex;
146
146
  flex-direction: column;
@@ -151,13 +151,13 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
151
151
  transform-style: preserve-3d;
152
152
  border-radius: ${i.sp2};
153
153
  box-shadow: ${e=>`1px 3px ${i.sp4} ${i.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
154
- `,Ue=o.div`
154
+ `,Qe=o.div`
155
155
  position: relative;
156
156
  height: 118px;
157
157
  width: 182px;
158
158
  margin: 13px;
159
159
  margin-top: 60px;
160
- `,qe=o(Se)`
160
+ `,Ue=o(Se)`
161
161
  height: 36px;
162
162
  width: 36px;
163
163
  position: absolute;
@@ -341,4 +341,4 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,
341
341
  margin-right: -92px;
342
342
  margin-top: -92px;
343
343
  z-index: 5;
344
- `;export{Rt as default};
344
+ `;export{Et as default};
@@ -1,22 +1,22 @@
1
- import{d as U,J as O,i4 as _e,V as t,i5 as De,bP as Ne,i6 as ve,bE as Oe,bD as je,y as D,aa as T,g9 as ke,F as x,o as N,aU as Pe,u as m,aO as X,cg as Be,ch as $e,ci as Ie,al as Me,cj as Ae,b4 as ne,aE as oe,aW as re}from"./index-DQj8IFZB.js";import{a as f}from"./sentry-CmSZxGiC.js";import{n as y}from"./mui-BU7efdfo.js";import{bh as R,G4 as Ye}from"./zeni-epic-state-4hreDbys.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Ee}from"./ArAgingChart-Dx8jVL0O-Cgykn0Lt.js";import{C as ie}from"./NoDataChart-CGab-TiT-BBfAYwSH.js";import{I as se,R as $}from"./CollapsableReportTable-vwzu1AgW-DuMTLVG4.js";import{d as le}from"./NoDataTable-B2CS7NPq-DRIt6CHH.js";import{l as ce}from"./mapSpacerToTreeNode-ycecmJKa-DGUz2Bon.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";import"./chartTypes-BqKhmkSG-CgQV-TUL.js";import"./AccountRow-CK5HLVrf-DXJZ_sEO.js";import"./graphic-no-data-l-DU4J8fDt-DdDmkNr4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1218ced2-36df-45da-837e-681657a54f15",e._sentryDebugIdIdentifier="sentry-dbid-1218ced2-36df-45da-837e-681657a54f15")}catch{}})();const Te={chartHeight:new D(288,360)},de=y.div`
1
+ import{y as U,J as O,i5 as _e,V as t,i6 as De,bP as ve,i7 as Ne,bE as Oe,bD as je,x as D,aa as F,ga as Pe,F as x,o as v,aU as ke,u as m,aP as X,cg as Be,ch as $e,ci as Ie,am as Me,cj as Ae,b4 as ne,aF as oe,aW as re}from"./index-C9hDAJ7o.js";import{a as f}from"./sentry-Ckvw8Zf1.js";import{n as y}from"./mui-BQR0Ruo4.js";import{bh as R,G6 as Ye}from"./zeni-epic-state-BnsQ52n7.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Ee}from"./ArAgingChart-BwEspm7G-DNjHaENA.js";import{C as ie}from"./NoDataChart-BQdJyfHh-BLmune73.js";import{I as se,R as $}from"./CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js";import{d as le}from"./NoDataTable-B__TVPte-CetA5lza.js";import{l as ce}from"./mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./chartTypes-DL1AC5R1-CSQ4LZOa.js";import"./AccountRow-DtE1mQFq-sRlcgWT1.js";import"./graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="45c0984f-b5fb-4a7b-bac2-dd6453afc8bb",e._sentryDebugIdIdentifier="sentry-dbid-45c0984f-b5fb-4a7b-bac2-dd6453afc8bb")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
5
5
  flex: 1 1 auto;
6
6
  flex-direction: column;
7
- height: ${e=>Te.chartHeight.valuePx(e.windowSize)};
8
- padding-bottom: ${N.sp6};
9
- `;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(Ke,{report:e})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ee,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ue({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(Ue({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function He({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function H({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const qe=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>He({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}},Ge=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title: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=H({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const v={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},A=y.div`
7
+ height: ${e=>Fe.chartHeight.valuePx(e.windowSize)};
8
+ padding-bottom: ${v.sp6};
9
+ `;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Ke,{report:e})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ee,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ue({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(Ue({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function He({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function H({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const qe=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>He({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}},Ge=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title: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=H({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const N={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},A=y.div`
10
10
  display: flex;
11
11
  position: sticky;
12
12
  justify-content: center;
13
- padding-top: ${e=>v.wrapperPadding.valuePx(e.windowSize)};
14
- padding-left: ${e=>v.wrapperPadding.valuePx(e.windowSize)};
13
+ padding-top: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
14
+ padding-left: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
16
  `,he=y.div`
17
17
  width: 100%;
18
- height: calc(100vh - ${N.sp11});
19
- `;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(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=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=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(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const C=Ge(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
18
+ height: calc(100vh - ${v.sp11});
19
+ `;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(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=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=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(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:N.contentPaddingLeft.value(l),right:N.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=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=Ge(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:N.contentPaddingLeft.value(r),right:N.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{d as U,J as O,i4 as _e,V as t,i5 as De,bP as Ne,i6 as ve,bE as Oe,bD as j
34
34
  width: fit-content;
35
35
  `,te=y(Ae)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children: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:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:E,selectedDate:S,agingDateSelectionType:q}=c,{authParams:G,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,b)=>{const P=ae(b);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),Q=f.useCallback(h=>{const b=_e({options:B.preComputedDurationOptions.map(({label:L,value:be})=>({label:L,value:Ye(be)})).filter(({value:L})=>L!=null),selectedDate:h}),P=ae(b);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),xe=f.useCallback((h,b)=>{C(h,b),r.trackAgingReportSortChange(M(w),b,h)},[r,C,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(q),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[S,V,Q,q]);if(f.useEffect(()=>{async function h(){const b={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:E,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,G,b),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,E)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[G,W,l.companyName,I,o,w,k,z,E,Y,S,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(T,{controller:j==="Completed",children:[t.jsx(T,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,F.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function 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`
37
+ `;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children: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:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:P,downloadState:I,sortKey:z,sortOrder:E,selectedDate:b,agingDateSelectionType:q}=c,{authParams:G,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const k=ae(C);u(h,k),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),k)},[r,u,w,b]),Q=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:L,value:Ce})=>({label:L,value:Ye(Ce)})).filter(({value:L})=>L!=null),selectedDate:h}),k=ae(C);u(h,k),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),k)},[r,u,w,b]),xe=f.useCallback((h,C)=>{S(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,S,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(q),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[b,V,Q,q]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:P,sortKey:z,sortOrder:E,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(W,G,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,E)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[G,W,l.companyName,I,o,w,P,z,E,Y,b,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(ve,{})}),t.jsx(rt,{children:et.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(Ne,{isSearchOpen:(P?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:P??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(Pe,{fetchState:j})}),t.jsxs(F,{controller:j==="Completed",children:[t.jsx(F,{controller:P.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(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
38
38
  display: flex;
39
39
  width: 100%;
40
40
  height: calc(100% - 60px);
@@ -48,7 +48,7 @@ import{d as U,J as O,i4 as _e,V as t,i5 as De,bP as Ne,i6 as ve,bE as Oe,bD as j
48
48
  border-radius: 50%;
49
49
  cursor: pointer;
50
50
  & svg {
51
- margin: ${N.sp5};
51
+ margin: ${v.sp5};
52
52
  color: ${e=>e.theme.colors.grey1};
53
53
  }
54
54
  &:hover {
@@ -56,8 +56,8 @@ import{d as U,J as O,i4 as _e,V as t,i5 as De,bP as Ne,i6 as ve,bE as Oe,bD as j
56
56
  color: ${e=>e.theme.colors.primary};
57
57
  }
58
58
  }
59
- `,rt=y(Pe)`
60
- margin-top: ${N.sp3};
59
+ `,rt=y(ke)`
60
+ margin-top: ${v.sp3};
61
61
  color: ${e=>e.theme.colors.hero};
62
62
  `,it=y.div`
63
63
  display: flex;
@@ -66,13 +66,13 @@ import{d as U,J as O,i4 as _e,V as t,i5 as De,bP as Ne,i6 as ve,bE as Oe,bD as j
66
66
  flex-direction: column;
67
67
  width: 100%;
68
68
  background-color: ${e=>e.theme.colors.grey5};
69
- padding: ${N.sp0};
69
+ padding: ${v.sp0};
70
70
  gap: 2px;
71
71
  `,st=y.div`
72
- margin-bottom: ${N.sp6};
72
+ margin-bottom: ${v.sp6};
73
73
  `,lt=y.div`
74
74
  position: relative;
75
- box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
75
+ box-shadow: ${e=>`2px 2px ${v.sp1} ${e.theme.colors.dropShadowNormal}`};
76
76
  background-color: ${e=>e.theme.colors.grey5};
77
77
  padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
78
78
  padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as ie,al as ne,d0 as Pe,cj as Ce,u as k,bU as Se,aK as te,cC as J,gT as de,g0 as R,fZ as Y,f_ as G,f$ as ce,g1 as pe,b0 as me,gU as Oe,p as ue,c$ as ge,am as he,ew as Te,ad as Re}from"./index-DQj8IFZB.js";import{n as p}from"./mui-BU7efdfo.js";import{FL as ze,bg as X}from"./zeni-epic-state-4hreDbys.js";import{a as V}from"./sentry-CmSZxGiC.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-DQAVipT_.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-DS1icRVA-DRmTnd0N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b048e1b2-95c8-4bf7-9d3f-7510ca720814",e._sentryDebugIdIdentifier="sentry-dbid-b048e1b2-95c8-4bf7-9d3f-7510ca720814")}catch{}})();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:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),U=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(J.roles),[]),u=X(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize: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(K,{}),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:G(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(K,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),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],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(K,{}),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}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[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:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
1
+ import{cL as J,ep as je,J as _,V as l,ab as P,x as T,o as i,ba as re,F as B,i as ie,am as ne,d1 as Pe,cj as Ce,u as k,bU as Se,aL as te,cD as Y,gU as de,g1 as R,f_ as G,f$ as K,g0 as ce,g2 as pe,b0 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-C9hDAJ7o.js";import{n as p}from"./mui-BQR0Ruo4.js";import{FN as ze,bg as X}from"./zeni-epic-state-BnsQ52n7.js";import{a as V}from"./sentry-Ckvw8Zf1.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e2a40481-d138-4051-b50e-cfa6e2307dfa",e._sentryDebugIdIdentifier="sentry-dbid-e2a40481-d138-4051-b50e-cfa6e2307dfa")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=J(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(Y.roles),[]),u=X(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:G(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||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,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -9,13 +9,13 @@ import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as
9
9
  .single-select-field__menu {
10
10
  border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
11
11
  }
12
- `,K=p.div`
12
+ `,Q=p.div`
13
13
  display: flex;
14
14
  flex: 1;
15
15
  background-color: ${e=>e.theme.colors.grey3};
16
16
  min-height: 1px;
17
17
  max-height: 1px;
18
- `,Ne=p(he)`
18
+ `,Ue=p(he)`
19
19
  padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
20
20
  background: ${e=>e.theme.colors.grey4};
21
21
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
@@ -25,7 +25,7 @@ import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as
25
25
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
26
26
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
27
27
  gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
28
- `,Ue=p.a`
28
+ `,Ne=p.a`
29
29
  color: ${e=>e.theme.colors.hero};
30
30
  text-decoration: none;
31
31
  cursor: pointer;
@@ -43,7 +43,7 @@ import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  }
45
45
  }
46
- `,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(w),[U,...M]=y,u=M.map(d=>d.email).join(","),r=V.useMemo(()=>J.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return V.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Oe)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(E,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(x,v)},productsByUserRole:Y(e.role,f)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],L=h.find(O=>O.classId===j.userRole.accountingClassIDs[0]),b=[];return L!=null&&b.push(L.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(E,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(E,{}),N?null:l.jsxs(Be,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,U?l.jsx(Ve,{firstController:[U],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
46
+ `,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=B.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:D}=J(),$=oe.largeLabelWidth.value(w),[N,...M]=y,u=M.map(d=>d.email).join(","),r=V.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return V.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Oe)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(E,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:G(e.role,f)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],L=h.find(O=>O.classId===j.userRole.accountingClassIDs[0]),b=[];return L!=null&&b.push(L.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(E,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(E,{}),U?null:l.jsxs(Ze,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ve,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  background-color: ${e=>e.theme.colors.grey5};
@@ -60,7 +60,7 @@ import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as
60
60
  background-color: ${e=>e.theme.colors.grey3};
61
61
  min-height: 1px;
62
62
  max-height: 1px;
63
- `,Be=p(he)`
63
+ `,Ze=p(he)`
64
64
  padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
65
65
  background: ${e=>e.theme.colors.grey4};
66
66
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
@@ -71,7 +71,7 @@ import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as
71
71
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
72
72
  gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
73
73
  opacity: ${e=>e.isDisabled?.32:1};
74
- `,Ze=p.a`
74
+ `,Be=p.a`
75
75
  color: ${e=>e.theme.colors.hero};
76
76
  text-decoration: none;
77
77
  cursor: ${e=>e.isDisabled?"unset":"pointer"};
@@ -89,14 +89,14 @@ import{cK as Q,eo as je,J as _,V as l,aQ as P,y as T,o as i,ba as re,F as Z,i as
89
89
  color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
90
90
  }
91
91
  }
92
- `,Ee=(e,t,o,a,s)=>{if(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}},Ve=({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(Fe,{...e})}),Ae=p.div`
92
+ `,Ee=(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}},Ve=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Be,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
- `,W={buttonWidth:new T(70,70),marginBottom:new T(12,k[3]),deleteContentMarginLeft:new T(k[0],k[3]),containerPaddingTop:new T(k[0],k[3]),addUserWrapperGap:new T(k[1],k[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:G(h,y)},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:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:U}=Q(),{append:M,remove:u}=je({name:h,control:t}),r=_(),n=U().userItems,d=()=>{const b=n.length-1,O=He(b+1,f,N,y,v,w,C);setTimeout(()=>M(O,{shouldFocus:!0}))},I=b=>{a(b)},j=()=>{a(-1)},L=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ye,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,O)=>{const Ie=n.length;let q={};if(y==="zeni_only")q={email:b.email,role:Je(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(Ge,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Ke,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:L})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:q,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:O}),o===O&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:L})}):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}`})]})]})},Ke=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Je=(e,t)=>t?e:e!=null?[e]:[],Ye=p.div`
95
+ `,W={buttonWidth:new T(70,70),marginBottom:new T(12,k[3]),deleteContentMarginLeft:new T(k[0],k[3]),containerPaddingTop:new T(k[0],k[3]),addUserWrapperGap:new T(k[1],k[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,y)},productsByUserRole:G([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:y,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=J(),{append:M,remove:u}=je({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const b=n.length-1,O=He(b+1,f,U,y,v,w,C);setTimeout(()=>M(O,{shouldFocus:!0}))},I=b=>{a(b)},j=()=>{a(-1)},L=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ge,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,O)=>{const Ie=n.length;let q={};if(y==="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(Ke,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:L})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:q,mode:y,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:O}),o===O&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:L})}):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 y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Je,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Je=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Ge=p.div`
96
96
  display: flex;
97
97
  flex-direction: column;
98
98
  padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
99
- `,Ge=p.div`
99
+ `,Ke=p.div`
100
100
  .delete-icon-wrapper {
101
101
  visibility: hidden;
102
102
  }
@@ -0,0 +1,46 @@
1
+ import{y as U,J as V,F as g,V as o,bP as J,ga as K,bC as q,cn as X,bD as G,o as F,aU as Q,x as A,bE as W,cg as Z,ch as ee,ci as oe,u as f}from"./index-C9hDAJ7o.js";import{a as v}from"./sentry-Ckvw8Zf1.js";import{n as i}from"./mui-BQR0Ruo4.js";import{L as te,D as ne}from"./EntitySummarySection-BYP9LNlh-CHZV8J2r.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b2a5be92-d6b5-48eb-a15a-973d0b8b7a40",e._sentryDebugIdIdentifier="sentry-dbid-b2a5be92-d6b5-48eb-a15a-973d0b8b7a40")}catch{}})();const C={wrapperContainerMarginTop:new A(f[4],f[0]),wrapperContaineHorizontalrMargin:new A(f[0],f[8])},ae=i.div`
2
+ height: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+ max-width: 99.9%;
6
+ `,re=i.div`
7
+ display: flex;
8
+ width: 100%;
9
+ height: calc(100% - 60px);
10
+ flex-direction: column;
11
+ justify-content: center;
12
+ align-items: center;
13
+ `,ie=i.div`
14
+ height: 96px;
15
+ width: 96px;
16
+ background: ${e=>e.theme.colors.background};
17
+ border-radius: 50%;
18
+ cursor: pointer;
19
+ & svg {
20
+ margin: ${F.sp5};
21
+ color: ${e=>e.theme.colors.grey1};
22
+ }
23
+ &:hover {
24
+ & svg {
25
+ color: ${e=>e.theme.colors.primary};
26
+ }
27
+ }
28
+ `,se=i(Q)`
29
+ margin-top: ${F.sp3};
30
+ color: ${e=>e.theme.colors.hero};
31
+ `,le=i.div`
32
+ display: flex;
33
+ min-height: 100%;
34
+ flex-direction: column;
35
+ width: 100%;
36
+ background-color: ${e=>e.theme.colors.grey5};
37
+ `,de=i.div`
38
+ display: block;
39
+ background-color: ${e=>e.theme.colors.grey4};
40
+ height: calc(100vh - 178px);
41
+ margin-top: ${e=>C.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
+ `,ce=i.div`
43
+ margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
+ margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
+ height: 100%;
46
+ `;function Ie(e){const s=U(),l=V(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:L,sidePanelIsOpen:N,sidePanelIsFullView:E,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:k}=a,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:r,totalBalances:Y}=n,{sortKey:b,sortOrder:D,downloadState:u}=z,[P,j]=v.useState(!1),M=g.getLocalizedStrings(),R=M.reports.aging.agingDetail,B=v.useCallback((c,y)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,y,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,y)},[d,n.vendor,t,S]);if(v.useEffect(()=>{async function c(){const y={companyName:a.companyName,sortKey:b,sortOrder:D,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:r?.id??"",timezone:k,reportDate:t};await ge(I,_,y),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(b,D,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}P&&u!=="In-Progress"&&(j(!1),x("In-Progress"),c())},[d,n.vendor,_,I,a.companyName,u,P,t,b,D,k,x,r?.id]),m==="Error")return o.jsxs(re,{children:[o.jsx(ie,{onClick:w,children:o.jsx(J,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const H=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsx(q,{isOpen:N??!1,isFullView:E??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(G,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:H,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:$.length===0||r==null?o.jsx(X,{message:R.noDataText}):o.jsx(ae,{windowSize:l,children:o.jsx(te,{uiState:z,invoices:$,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:B,onTransactionClick:L})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,a=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,a.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,J as m,x as f,o as r,y as p,p as a,aU as x,F as g,bq as u,c_ as $,dP as w,cZ as b}from"./index-DQj8IFZB.js";import{n as i,k as y}from"./mui-BU7efdfo.js";import{a as j}from"./sentry-CmSZxGiC.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./zeni-epic-state-4hreDbys.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d4a42070-2c1d-4239-9d6c-deff94effdfc",e._sentryDebugIdIdentifier="sentry-dbid-d4a42070-2c1d-4239-9d6c-deff94effdfc")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
1
+ import{V as t,J as m,b as x,o as r,x as p,p as a,aU as f,F as g,bq as u,c$ as $,dP as w,c_ as b}from"./index-C9hDAJ7o.js";import{n as i,k as y}from"./mui-BQR0Ruo4.js";import{a as j}from"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="39d82c32-b8ef-44d6-a37f-a9c0fd250600",e._sentryDebugIdIdentifier="sentry-dbid-39d82c32-b8ef-44d6-a37f-a9c0fd250600")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -47,7 +47,7 @@ import{V as t,J as m,x as f,o as r,y as p,p as a,aU as x,F as g,bq as u,c_ as $,
47
47
  width: ${r.sp3};
48
48
  height: ${r.sp3};
49
49
  color: ${a.info};
50
- `,T=i.div``,E=i(x)`
50
+ `,E=i.div``,T=i(f)`
51
51
  color: ${a.neutralGrey2Light};
52
52
  word-break: break-word;
53
53
  white-space: pre-line;
@@ -66,6 +66,6 @@ import{V as t,J as m,x as f,o as r,y as p,p as a,aU as x,F as g,bq as u,c_ as $,
66
66
  &:hover {
67
67
  color: ${a.primaryDark};
68
68
  }
69
- `,G=(e,o,s)=>{let n=g.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(d=>{n=n.replace(d.variableName,d.variableValue)}),n},L=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function M(e){const o=m(),{message:s,messageType:n,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(L,{type:n}):null,t.jsx(W,{windowSize:o,children:t.jsx(T,{children:t.jsx(E,{children:G(s.section,s.text,s.variables)})})}),t.jsx(_,{onClick:c,children:t.jsx(f,{})})]})}const Z=e=>t.jsx(O,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(M,{...e.snackbar}):null}),O=i.div`
69
+ `,L=(e,o,s)=>{let n=g.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(d=>{n=n.replace(d.variableName,d.variableValue)}),n},M=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function N(e){const o=m(),{message:s,messageType:n,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(M,{type:n}):null,t.jsx(W,{windowSize:o,children:t.jsx(E,{children:t.jsx(T,{children:L(s.section,s.text,s.variables)})})}),t.jsx(_,{onClick:c,children:t.jsx(x,{})})]})}const A=e=>t.jsx(O,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(N,{...e.snackbar}):null}),O=i.div`
70
70
  background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
71
- `;export{Z as default};
71
+ `;export{A as default};
@@ -1,11 +1,11 @@
1
- import{aw as oe,I as le,n as v,bk as re,V as n,bl as de,bm as ce,bn as ue,bo as pe,aa as be,bp as fe,o as t,bq as me,av as b,b6 as f}from"./index-DQj8IFZB.js";import{a as o,P as he}from"./sentry-CmSZxGiC.js";import{n as l}from"./mui-BU7efdfo.js";import{bk as ge}from"./zeni-epic-state-4hreDbys.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-NYtLjb5A-C_ZMV7U-.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3bd1a775-a19d-4d17-9995-dc1d7b7e0d85",e._sentryDebugIdIdentifier="sentry-dbid-3bd1a775-a19d-4d17-9995-dc1d7b7e0d85")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
1
+ import{ax as oe,I as le,n as v,bk as re,V as n,bl as de,bm as ce,bn as ue,bo as pe,aa as be,bp as fe,o as t,bq as me,aw as b,b6 as f}from"./index-C9hDAJ7o.js";import{a as o,P as he}from"./sentry-Ckvw8Zf1.js";import{n as l}from"./mui-BQR0Ruo4.js";import{bk as ge}from"./zeni-epic-state-BnsQ52n7.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="bf05ec48-661a-43ed-9c50-13f19a6c7515",e._sentryDebugIdIdentifier="sentry-dbid-bf05ec48-661a-43ed-9c50-13f19a6c7515")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${t.sp3};
5
5
  display: flex;
6
6
  height: auto;
7
7
  right: ${t.sp0};
8
- `,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(we,{children:n.jsx(f,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),we=l.div`
8
+ `,we=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Ce,{children:n.jsx(f,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ce=l.div`
9
9
  position: absolute;
10
10
  z-index: 0;
11
11
  bottom: ${t.sp0};
@@ -32,7 +32,7 @@ import{aw as oe,I as le,n as v,bk as re,V as n,bl as de,bm as ce,bn as ue,bo as
32
32
  display: flex;
33
33
  height: auto;
34
34
  right: ${t.sp0};
35
- `,je=o.memo(function({christmasAnimationEnabled:e=!1,halloweenAnimationEnabled:i=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return i?n.jsx(ke,{animationEnabled:i}):a?n.jsx(Se,{animationEnabled:a}):e?n.jsx(Ce,{animationEnabled:e}):s?n.jsx(Ee,{animationEnabled:s}):null}),Te=l.div`
35
+ `,je=o.memo(function({christmasAnimationEnabled:e=!1,halloweenAnimationEnabled:i=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return i?n.jsx(ke,{animationEnabled:i}):a?n.jsx(Se,{animationEnabled:a}):e?n.jsx(we,{animationEnabled:e}):s?n.jsx(Ee,{animationEnabled:s}):null}),Te=l.div`
36
36
  display: flex;
37
37
  flex: 1 1 auto;
38
38
  flex-direction: column;
@@ -89,4 +89,4 @@ import{aw as oe,I as le,n as v,bk as re,V as n,bl as de,bm as ce,bn as ue,bo as
89
89
  height: ${t.sp4};
90
90
  align-items: center;
91
91
  justify-content: center;
92
- `;function Ge({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:T,rewardsConfiguration:$,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:P,isAiCfoAccessEnabled:V,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:F,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:w=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:R,isTaskManagerAccessEnabled:z,treasuryYieldPercentage:N,onNotificationIconClick:U,handleLogOutClick:_,handleMenuChange:B,onZeniLogoClick:L,handlePopupClose:H,handleBackClick:k,handleCockpitClick:O,handleMyProfileClick:A,handleReferralsClick:G,handleTenantSelect:Z,onDeleteChatSession:X,updateCurrentChatSessionId:W}){const[d,q]=o.useState(c&&x),g=he.useRef("noAnimation"),K=ge(m),J=oe(),{useFeatureGate:S}=le(),{isFeatureEnabled:Q}=S(v.isReimbursementCommentingEnabled),{isFeatureEnabled:ee}=S(v.isBillPayCommentingEnabled),ne=re(),ie=()=>{g.current="slide-in-right-to-left",A&&A()},te=()=>{g.current="slide-in-left-to-right",d&&k&&k()};o.useEffect(()=>{c!==d&&q(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ae=g.current,se=K||Q&&ee&&!J.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Te,{isOnDashboard:P,children:[n.jsxs($e,{children:[n.jsx(de,{onClick:L,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C}),n.jsx(ce,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:Z})]}),n.jsx(De,{children:n.jsx(ue,{className:ae,signedInUser:m,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:$,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:F,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:N,isChargeCardEnabled:T,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:ne,isExpenseAutomationEnabledForUser:R,isTaskManagerAccessEnabled:z,onSelectionChanged:B,onDeleteChatSession:X,updateCurrentChatSessionId:W,onBackClick:te,onPopupClose:H})}),n.jsx(xe,{christmasAnimationEnabled:h}),n.jsxs(Ie,{children:[n.jsx(pe,{signedInUser:m,onLogOutClick:_,onMyProfileClick:ie,onReferralsClick:G,onCockpitClick:O,currentTenant:E,isSettingsFeatureEnabled:x}),se?n.jsx(be,{controller:u!=null,children:n.jsxs(Me,{isDisabled:p,onClick:p?void 0:U,children:[n.jsx(fe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Pe,{})]})}):null]}),n.jsx(je,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:w,christmasAnimationEnabled:h,newYearAnimationEnabled:C})]},d.toString())}export{Ge as default};
92
+ `;function Oe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:T,rewardsConfiguration:$,selectedMenu:D,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:M=!1,isOnDashboard:P,isAiCfoAccessEnabled:V,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:R,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:C=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:z,isTaskManagerAccessEnabled:F,treasuryYieldPercentage:L,onNotificationIconClick:B,handleLogOutClick:N,handleMenuChange:U,onZeniLogoClick:_,handlePopupClose:H,handleBackClick:k,handleCockpitClick:G,handleMyProfileClick:A,handleReferralsClick:O,handleTenantSelect:Z,onDeleteChatSession:X,updateCurrentChatSessionId:q}){const[d,J]=o.useState(c&&x),g=he.useRef("noAnimation"),K=ge(m),W=oe(),{useFeatureGate:S}=le(),{isFeatureEnabled:Q}=S(v.isReimbursementCommentingEnabled),{isFeatureEnabled:ee}=S(v.isBillPayCommentingEnabled),ne=re(),ie=()=>{g.current="slide-in-right-to-left",A&&A()},te=()=>{g.current="slide-in-left-to-right",d&&k&&k()};o.useEffect(()=>{c!==d&&J(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ae=g.current,se=K||Q&&ee&&!W.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Te,{isOnDashboard:P,children:[n.jsxs($e,{children:[n.jsx(de,{onClick:_,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(ce,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:Z})]}),n.jsx(De,{children:n.jsx(ue,{className:ae,signedInUser:m,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:$,isSetting:d,isAiCfo:M,isAiCfoAccessEnabled:V,aiCfoView:R,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:L,isChargeCardEnabled:T,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:ne,isExpenseAutomationEnabledForUser:z,isTaskManagerAccessEnabled:F,onSelectionChanged:U,onDeleteChatSession:X,updateCurrentChatSessionId:q,onBackClick:te,onPopupClose:H})}),n.jsx(xe,{christmasAnimationEnabled:h}),n.jsxs(Ie,{children:[n.jsx(pe,{signedInUser:m,onLogOutClick:N,onMyProfileClick:ie,onReferralsClick:O,onCockpitClick:G,currentTenant:E,isSettingsFeatureEnabled:x}),se?n.jsx(be,{controller:u!=null,children:n.jsxs(Me,{isDisabled:p,onClick:p?void 0:B,children:[n.jsx(fe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Pe,{})]})}):null]}),n.jsx(je,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Oe as default};
@@ -0,0 +1,47 @@
1
+ import{y as U,J as _,ax as V,F as p,aW as y,V as t,bD as J,k as E,fy as v,dH as S,x as d,o as j,an as G,w as k,u as o}from"./index-C9hDAJ7o.js";import{n as l}from"./mui-BQR0Ruo4.js";import{FK as N,FL as K}from"./zeni-epic-state-BnsQ52n7.js";import"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b623e4d2-4431-4118-9631-9284fbbbc705",e._sentryDebugIdIdentifier="sentry-dbid-b623e4d2-4431-4118-9631-9284fbbbc705")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:T,onSetupApprovalRulesRemiSectionClick:I})=>{const r=U(),i=_(),u=V(),{fetchState:g,allApprovalRules:h,approvalRulesStatus:z}=e,{fetchState:m,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),b=p.getLocalizedStrings().common.settings,w=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:W}=$,{billPaySetup:M}=B,{reimbursementSetup:D}=W,{setUp:s}=C,L=g==="In-Progress"||m==="In-Progress"||g==="Not-Started"||m==="Not-Started",x=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),H=N(c,u.loggedInUserRoleMap),F=K(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(J,{source:"ApprovalRulesSettingsPage",title:b.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:L?t.jsx(Y,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(q,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:b.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[H===!0&&t.jsx(v,{title:h.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:w.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:x},onClick:T,status:h.length>0?z:void 0}),F===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:w.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:I,status:f.length>0?A: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
+ `,Q=l.div`
11
+ display: flex;
12
+ min-height: 100%;
13
+ flex-direction: column;
14
+ row-gap: ${j.sp3};
15
+ width: 100%;
16
+ background-color: ${e=>e.theme.colors.grey4};
17
+ `,X=l.div`
18
+ display: flex;
19
+ height: 100%;
20
+ overflow-y: auto;
21
+ justify-content: center;
22
+ `,Y=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: ${e=>e.theme.colors.grey4};
30
+ `,Z=l.div`
31
+ display: flex;
32
+ flex-direction: column;
33
+ row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
34
+ `,q=l(G)`
35
+ display: flex;
36
+ justify-content: center;
37
+ align-items: center;
38
+ width: ${e=>n.subtitleSectionWidth.valuePx(e.windowSize)};
39
+ margin-bottom: ${j.sp5};
40
+ `,ee=l.div`
41
+ display: flex;
42
+ align-items: center;
43
+
44
+ color: ${e=>e.theme.colors.hero};
45
+ font-family: ${k.largeMedium.fontFamily};
46
+ ${k.standardRegular.css};
47
+ `;export{ue as default};