@zeniai/web-cockpit-ui 1.14.72-dev → 1.14.72-dev-betaSK01

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 (314) hide show
  1. package/dist/assets/{ACHDetailsPage-BZFkcCOG-Bm0yzLzS.js → ACHDetailsPage-BZFkcCOG-WfBPHoUX.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DtNLjoUW-C8WssBlV.js → AIPerformancePage-DtNLjoUW-CinUSJg2.js} +124 -124
  3. package/dist/assets/{AccountInfoPage-D-E_-WpE-D3xkesKo.js → AccountInfoPage-D-E_-WpE-DJyb7x4k.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-B8GKrtCm-Bl_GPEk1.js → AccountInfoPageContent-B8GKrtCm-10kK72ec.js} +13 -13
  5. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +59 -0
  6. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +239 -0
  7. package/dist/assets/{AccountRow-Be3LIHO--AtWCxnkE.js → AccountRow-Be3LIHO--BjLJB43L.js} +32 -32
  8. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +207 -0
  9. package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-BwSuj-eK.js → AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-nSq-9dQy-DNXeo8yV.js → AddToWalletPage-nSq-9dQy-D56Hf4hb.js} +13 -13
  11. package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +79 -0
  12. package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +192 -0
  13. package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +46 -0
  14. package/dist/assets/{AppBasePage-Br0WbQRY-C5P2SI_a.js → AppBasePage-Br0WbQRY-BAK8zLlg.js} +5 -5
  15. package/dist/assets/{AppDrawerContent-BZODvVvi-DO9-i0u3.js → AppDrawerContent-BZODvVvi-DQ-V9QL0.js} +7 -7
  16. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +47 -0
  17. package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BlV3iJeW-DvSoM4Rd.js → ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js} +3 -3
  19. package/dist/assets/{AttachmentView-DhluaeAV-DnrJUkr5.js → AttachmentView-DhluaeAV-DsM43aN0.js} +9 -9
  20. package/dist/assets/{BankAccountSection-GDEQdiGL-CuwfGvXF.js → BankAccountSection-GDEQdiGL-CmBLlIS1.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Cp36wJhl.js → BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js} +9 -9
  22. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +425 -0
  23. package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DYCBn6RW.js → BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-D20J03DB.js → BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js} +7 -7
  26. package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +42 -0
  28. package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +1 -0
  30. package/dist/assets/{BoxItem-COIjjFrn-DqU4ZyNU.js → BoxItem-COIjjFrn-CYZK_lth.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CmhH95Ff-CLBGKyAX.js → CardNumberSubText-CmhH95Ff-D70_vfvB.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-BPLjvuA3-362WFi2j.js → CashbackDetailPage-BPLjvuA3-D2AlurqK.js} +56 -56
  34. package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-BUoeKuHJ.js → ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js} +215 -215
  35. package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +406 -0
  36. package/dist/assets/{ChargeCardListTable-BGWV4zJl-fPTlw7hA.js → ChargeCardListTable-BGWV4zJl-CcT6S7FA.js} +51 -51
  37. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BpTcE_Fq.js → ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js} +3 -3
  40. package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +1 -0
  41. package/dist/assets/{ChaseOverlay-BC_4vwtb-ZJ37WP7g.js → ChaseOverlay-BC_4vwtb-BQqHx8M-.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-BcLnzbHC.js → CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js} +21 -21
  43. package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +2932 -0
  44. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +260 -0
  45. package/dist/assets/{CompanyPassportCard-D3F01eJL-CYg3XwZh.js → CompanyPassportCard-D3F01eJL-BhEJq4YF.js} +1 -1
  46. package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +574 -0
  47. package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +52 -0
  48. package/dist/assets/{ConfettiBurst--HIHB7Os-CFkZhGnX.js → ConfettiBurst--HIHB7Os-S4QyIwiq.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-BqbzMjKm.js → CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js} +11 -11
  50. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +224 -0
  51. package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js → CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-nhg_dhDw-Ct_sJsLw.js → CurrencySelectField-nhg_dhDw-nZHVWMo0.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-2HboMU2B.js → CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js} +5 -5
  54. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-Bm0dGA9J.js → CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js} +13 -13
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-BNFSu_0c.js → CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js} +6 -6
  57. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +107 -0
  58. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +202 -0
  59. package/dist/assets/{Dashboard-D6Ba5oj0-DGZ5Ekyf.js → Dashboard-D6Ba5oj0-C5iZr7Dc.js} +262 -262
  60. package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +371 -0
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js → DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-CxL2uxQm.js → DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js} +5 -5
  63. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +21 -0
  65. package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +439 -0
  66. package/dist/assets/{DrawerPage-BRD6cE6J-CdG9rNJx.js → DrawerPage-BRD6cE6J-1UMYAHb7.js} +13 -13
  67. package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +865 -0
  69. package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BRt1kPDf-BrvMzC_z.js → EntitySummarySection-BRt1kPDf-DQbEIQFx.js} +28 -28
  71. package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-D28DcERt.js → ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js} +50 -50
  72. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +1650 -0
  73. package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +168 -0
  74. package/dist/assets/{FeaturePreviewPage-CQN2xThT-D8GcVVCI.js → FeaturePreviewPage-CQN2xThT-DJXN60Ac.js} +3 -3
  75. package/dist/assets/{FollowStepsSection-DdwEVWhG-XjqeMDlz.js → FollowStepsSection-DdwEVWhG-yjJ5FRCa.js} +21 -21
  76. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +291 -0
  77. package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +28 -0
  78. package/dist/assets/{InformationCardStack-Cw7c9Pnd-JKEjusS_.js → InformationCardStack-Cw7c9Pnd-BX2LTL8l.js} +2 -2
  79. package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +79 -0
  80. package/dist/assets/{InsightsSection-JIKb9lz3-CSUvMdaP.js → InsightsSection-JIKb9lz3-Hi0aN8hq.js} +5 -5
  81. package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CfkisAjm.js → IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js} +4 -4
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-D4h6wt17.js → InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-CGQwkBKG.js → InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js} +28 -28
  84. package/dist/assets/{InviteFormPage-CrtH0cSG-lBcBfRNC.js → InviteFormPage-CrtH0cSG-eVIYbN0r.js} +16 -16
  85. package/dist/assets/{InvitePageListView-DUoopPip-D3WES4Ay.js → InvitePageListView-DUoopPip-D5qrm4ww.js} +164 -164
  86. package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +12 -0
  87. package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-D6DCohbK-CY0NLJ-D.js → IssueChargeCardPage-D6DCohbK-BMG4Ljit.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-C3R0DSjj-DSFQoK0_.js → LabeledAddressValue-C3R0DSjj-CpxXKm9c.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-WAKwiqVu.js → LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-r1U--LmU.js → LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js} +7 -7
  93. package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DR9C1PhE.js → LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js} +5 -5
  95. package/dist/assets/{LabeledText-BESSkt5Z-DvRhicFs.js → LabeledText-BESSkt5Z-CPDVK04g.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-BRFp4N3Z.js → LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js} +18 -18
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-C9dcF_vL.js → LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js} +33 -33
  98. package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +98 -0
  99. package/dist/assets/{LockCardPage-DYfgK11k-CA2sqFlt.js → LockCardPage-DYfgK11k-BFAZ4k7o.js} +71 -71
  100. package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +34 -0
  101. package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--CVcTUs2d.js → MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-BPglJFOV.js → MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-DFwZaRYm.js → MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-Ddx1hbRe.js → MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js} +3 -3
  105. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +17 -0
  106. package/dist/assets/{MailingDetailsSection-9RwlQxVG-C09sdGhg.js → MailingDetailsSection-9RwlQxVG-_UrE81Sw.js} +2 -2
  107. package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js → MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js} +4 -4
  108. package/dist/assets/Menu-B6iTf2H7-Cu2Vb11u.js +17 -0
  109. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +110 -0
  110. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +6 -0
  111. package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +85 -0
  112. package/dist/assets/{NavBarWithPicker-CKh_HMfV-U1f60LTo.js → NavBarWithPicker-CKh_HMfV-i4ObGPrS.js} +4 -4
  113. package/dist/assets/{NavigationArrow-XZmJpDrE-BSGdgz-m.js → NavigationArrow-XZmJpDrE-DolsLofY.js} +2 -2
  114. package/dist/assets/{NavigationDots-BxPgEW_p-CnLRJgGA.js → NavigationDots-BxPgEW_p-Cjr25BX_.js} +3 -3
  115. package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-CFbklyjG.js → NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js} +35 -35
  116. package/dist/assets/{NoDataChart-5E72SElf-Bfyft1Tp.js → NoDataChart-5E72SElf-3CnLxisw.js} +4 -4
  117. package/dist/assets/{NoDataTable-BwHbkm3l-C4AJlFQY.js → NoDataTable-BwHbkm3l-VTHrTfOq.js} +2 -2
  118. package/dist/assets/{NotFoundPage-6udaksBZ-Bdrzyyzv.js → NotFoundPage-6udaksBZ-DUgTbMe0.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DkYmxMgg-B7fNoy2R.js → NotificationSettingsPage-DkYmxMgg-BVRECpS0.js} +32 -32
  120. package/dist/assets/{NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js → NotificationsListConfig-FGxLgO1o-C0kfEx8A.js} +1 -1
  121. package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +685 -0
  122. package/dist/assets/{OpExByVendorPage-CM0RluUk-BgpW2giu.js → OpExByVendorPage-CM0RluUk-PZB-G7xm.js} +4 -4
  123. package/dist/assets/{OverlayContainerPage-BKHs_4eI-mLdiagVZ.js → OverlayContainerPage-BKHs_4eI-CSsJiY_P.js} +2 -2
  124. package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +107 -0
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-ChYOGpfy.js → PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js} +9 -9
  126. package/dist/assets/{PeoplePage-CB3T3u_F-DC1PdCPq.js → PeoplePage-CB3T3u_F-BR69e4ui.js} +96 -96
  127. package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-CmTdPnvM.js → PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js} +13 -13
  128. package/dist/assets/{PortfolioDetails-D4yT8r35-DSk0Sc23.js → PortfolioDetails-D4yT8r35-BZAutCbg.js} +34 -34
  129. package/dist/assets/{ProductsCarousel-CR7_rk0K-DQWJaP-C.js → ProductsCarousel-CR7_rk0K-CKMGS-I4.js} +7 -7
  130. package/dist/assets/{PromoBaseCards-BAPolzxE-DLtmx-3v.js → PromoBaseCards-BAPolzxE-DjUVr5kX.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-D3eazhj7-fJDNmSLU.js → QBOConnectionDialog-D3eazhj7-DCdAj667.js} +7 -7
  132. package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CrlXRkit.js → QBOSetupSection-Cjjhm_Ee-CX61tnWs.js} +12 -12
  133. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +26 -0
  134. package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-H2GhhV11.js → ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js} +12 -12
  135. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +314 -0
  136. package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +84 -0
  137. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +140 -0
  138. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +1 -0
  139. package/dist/assets/{ReloadCard-Dpoxd9nE-B9DlyhD4.js → ReloadCard-Dpoxd9nE-_RGkkZLm.js} +5 -5
  140. package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js → ReportTableViewSelector-Ci-WKrCO-D0sA8766.js} +30 -30
  141. package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +121 -0
  142. package/dist/assets/{RevenueChart-CXMBT3cr-DnDEiqPG.js → RevenueChart-CXMBT3cr-BigDcfmP.js} +29 -29
  143. package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +290 -0
  144. package/dist/assets/{ReviewOverlay-C6Kx7Hfm-IahzUsv3.js → ReviewOverlay-C6Kx7Hfm-Aab2M4el.js} +12 -12
  145. package/dist/assets/{RoleWithToolTip-BqI6M0x_-CwUqJeb5.js → RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js} +2 -2
  146. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +37 -0
  147. package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +37 -0
  148. package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BFWt_8N-.js → ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js} +42 -42
  149. package/dist/assets/ScreenRoutes-Du6t5Ig_.js +206 -0
  150. package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +378 -0
  151. package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js → SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js} +13 -13
  152. package/dist/assets/{SignIn-BlISBvt5-C9HXqHPg.js → SignIn-BlISBvt5-BSeULTEW.js} +28 -28
  153. package/dist/assets/SignInScreen-BN2xWnU-.js +1 -0
  154. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +123 -0
  155. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +754 -0
  156. package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +230 -0
  157. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +206 -0
  158. package/dist/assets/{StatementItem-BVIVLdDn-BLcyHqWZ.js → StatementItem-BVIVLdDn-DWQxeT2X.js} +2 -2
  159. package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +58 -0
  160. package/dist/assets/{StatusSwitcher-aAizq1mr-D4E7X1zy.js → StatusSwitcher-aAizq1mr-c-jcIGD9.js} +2 -2
  161. package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hsvJe_.js → SubTabSwitcher-COrYJ6CW-BIZF-iNv.js} +1 -1
  162. package/dist/assets/{SummaryCard-Dv0dWKBw-BnK7xgrF.js → SummaryCard-Dv0dWKBw-CGu-GHYa.js} +1 -1
  163. package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +508 -0
  164. package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js → TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js} +3 -3
  165. package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js → TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-Dd12kokF.js → TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js} +1 -1
  167. package/dist/assets/{TopExCard-Bam-Q4MV-GCmLzO6i.js → TopExCard-Bam-Q4MV-BsP_HKjG.js} +6 -6
  168. package/dist/assets/{TopExDetailPage-P0Twt5zZ-BElfoauE.js → TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js} +12 -12
  169. package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +912 -0
  170. package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +147 -0
  171. package/dist/assets/{TransactionListBig-u4SJBZTE-BZvqZwTB.js → TransactionListBig-u4SJBZTE-BlGBIBoN.js} +44 -44
  172. package/dist/assets/{TransactionListPage-D4GJ6i3l-BXLL3BhX.js → TransactionListPage-D4GJ6i3l-yaso0Nlb.js} +3 -3
  173. package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-Cl9iluIt.js → TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js} +5 -5
  174. package/dist/assets/{TransferDrawerPage-GD2I8ptj-B7cXbGdy.js → TransferDrawerPage-GD2I8ptj-CANT8JC_.js} +27 -27
  175. package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +708 -0
  176. package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CZjoBD0v.js → TreasuryPromoPage-DW1f8_q1-CkWefV3r.js} +6 -6
  177. package/dist/assets/{TreasurySetupPage-53k6ARHC-8YVNt5Wt.js → TreasurySetupPage-53k6ARHC-DuoYqIOy.js} +3 -3
  178. package/dist/assets/{TreasuryStatementsPage-pIshKNaR-Dtfk2lx_.js → TreasuryStatementsPage-pIshKNaR--8vN-IgR.js} +5 -5
  179. package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CKVKJh1V.js → TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js} +5 -5
  180. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +576 -0
  181. package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +16 -0
  182. package/dist/assets/{TrendWithTransactions-mI_El5D1-SbfSjDf-.js → TrendWithTransactions-mI_El5D1-DUVZm_U-.js} +4 -4
  183. package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BxpsIXJf.js → UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js} +47 -47
  184. package/dist/assets/{UnitIntegrationPage-XOWqGHla-DR8O2yO4.js → UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js} +11 -11
  185. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +38 -0
  186. package/dist/assets/{Vendor2FAPopup-BfqIHZBb-CksyyTez.js → Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-CswCvAFH-CdUK-HJH.js → VendorACHDetailsPage-CswCvAFH-DqnJleBx.js} +1 -1
  188. package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +257 -0
  189. package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-B4ZHtbXA.js → VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-BmDatzoV.js → VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js} +32 -32
  191. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +730 -0
  192. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +152 -0
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-ZgE8KOcO.js → VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C2XOcHy1.js → VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js} +4 -4
  195. package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +112 -0
  196. package/dist/assets/{VideoPlayer-ByyqUuhG-DTMNeCaX.js → VideoPlayer-ByyqUuhG-CcmvFcG0.js} +1 -1
  197. package/dist/assets/{VideoPopup-DJrQQTPq-DoXO-Vwb.js → VideoPopup-DJrQQTPq-BZRShVLd.js} +4 -4
  198. package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-DBDTIhyB.js → WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js} +5 -5
  199. package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +300 -0
  200. package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-B-baYGeD.js → ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js} +12 -12
  201. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +14 -0
  202. package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-DAONZr9A.js → ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js} +21 -21
  203. package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CApQPT0B.js → ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-B7Q6IUGC-Ca3UXoxG.js → ZeniCopyright-B7Q6IUGC-DjtbTVnp.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D_ugGHJW.js → ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js} +3 -3
  206. package/dist/assets/addSubtractPeriod-CFvkmqm8.js +1 -0
  207. package/dist/assets/analyticsHelper-L-FpsGLH.js +1 -0
  208. package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +1 -0
  209. package/dist/assets/{chartTypes-DCvOVjlS-BdPIN5WI.js → chartTypes-DCvOVjlS-CF3jsUNb.js} +1 -1
  210. package/dist/assets/{commonDimensions-C32v1F7H-CiAEfJl2.js → commonDimensions-C32v1F7H-C9uaBJ8J.js} +1 -1
  211. package/dist/assets/{detailCommon-CRAGrqoO-Cq9phP1q.js → detailCommon-CRAGrqoO-5xMc7u9M.js} +8 -8
  212. package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +1 -0
  213. package/dist/assets/{index-sAOH0Fje.js → index-kF4u7Flm.js} +511 -704
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js → mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js → mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-DpF_Q8pH.js → mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-Do2_oG27.js → mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-C559SZVp.js → mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js} +1 -1
  220. package/dist/assets/redux-D-TY61DZ.js +12 -0
  221. package/dist/assets/{toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js → toCOABalancesWithID-B3yVGPrV-Dj01dEre.js} +1 -1
  222. package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +1 -0
  223. package/dist/assets/{treasuryColorHelper-13LJ_xhk-LqN_6Xl4.js → treasuryColorHelper-13LJ_xhk-5-aGYtqD.js} +1 -1
  224. package/dist/assets/{uploadAttachment-DVy2pZeJ-X-xSyfvF.js → uploadAttachment-DVy2pZeJ-DL6B1oGY.js} +25 -25
  225. package/dist/assets/{uploadReceipts-Dp1dvCjf-Bw0_dVvQ.js → uploadReceipts-Dp1dvCjf-BQPyxtgi.js} +1 -1
  226. package/dist/index.html +1 -1
  227. package/package.json +2 -2
  228. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-CexK1k9m.js +0 -59
  229. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-s74oVSdU.js +0 -239
  230. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-0eZTGbZE.js +0 -207
  231. package/dist/assets/AgingReportsPage-L0zQxwCf-BGxthXxn.js +0 -79
  232. package/dist/assets/AllUserItems-CvwaOEhu-4FgiUHmj.js +0 -192
  233. package/dist/assets/ApAgingDetailPage-B_78aSEv-BIkW3as9.js +0 -46
  234. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-B57JU70m.js +0 -47
  235. package/dist/assets/ArAgingChart-BezVy1Sm-UplSlTlX.js +0 -24
  236. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-CIHmOttI.js +0 -425
  237. package/dist/assets/BillDetailPage-CDAh8Jtl-0qBbZ__0.js +0 -266
  238. package/dist/assets/BillPayPromoPage-B2YcxWc9-CwLnyiow.js +0 -84
  239. package/dist/assets/BillPaySetUpPage-oJvoWpFu-CYkgRBSH.js +0 -42
  240. package/dist/assets/BillingSettingsPage-BRsKYzT5-gKM6YCmc.js +0 -44
  241. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-Cjhni78W.js +0 -1
  242. package/dist/assets/BusinessVerificationPage-Nw_fedst-D0V3bhmc.js +0 -138
  243. package/dist/assets/ChargeCardListPage-v5hH98Wi-D_Ffaz0x.js +0 -406
  244. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-BJBmWN7Q.js +0 -222
  245. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-DXJQIwPQ.js +0 -36
  246. package/dist/assets/ChargeCardUtils-BRgkrCTs-DoVoCmwL.js +0 -1
  247. package/dist/assets/CollapsableReportTable-7iAngywY-CxWB4sRz.js +0 -2932
  248. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-BshC7d2B.js +0 -260
  249. package/dist/assets/CompanyPassportPage-BQoEcPJr-DzLqV-NZ.js +0 -574
  250. package/dist/assets/CompleteProfile-D5e9TQgy-ppOK1lFi.js +0 -52
  251. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-Dr585X5v.js +0 -224
  252. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-4OaWohod.js +0 -1
  253. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-D_UHEoUt.js +0 -107
  254. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-C_0KKlnp.js +0 -202
  255. package/dist/assets/DashboardReportPage-DTMbYOWH-CSMllwg6.js +0 -371
  256. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-CiLAoQqZ.js +0 -66
  257. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bj16Fg_f.js +0 -21
  258. package/dist/assets/DownloadOverlay-DRcasKoB-BDQCkt6Q.js +0 -439
  259. package/dist/assets/EditPeoplePage-Zzo62if7-CQfgpQsa.js +0 -55
  260. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-7T5j9Uz8.js +0 -865
  261. package/dist/assets/EntityDetailPage-CzlzOW8n-DjZ6eItY.js +0 -18
  262. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-Ch0agMlw.js +0 -1650
  263. package/dist/assets/ExpressPayPage-DdQiFzDu-ykW984zo.js +0 -168
  264. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Cd3V8M7p.js +0 -291
  265. package/dist/assets/HelpButton-BNMy-6ce-WFq-iELy.js +0 -28
  266. package/dist/assets/InsightsCardStack-CaMZiCnn-D5ut2TNQ.js +0 -79
  267. package/dist/assets/InvitePeoplePage-C3ecL8XJ-D06hBumB.js +0 -12
  268. package/dist/assets/InvoiceUploadSection-DoR834b4-BezkawDL.js +0 -140
  269. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-8CibrbWw.js +0 -45
  270. package/dist/assets/LabeledDocumentField-ED03S2kQ-wbMhlpMQ.js +0 -41
  271. package/dist/assets/LinkJETransactionPage-_ROjxBMO-DP6JabBY.js +0 -98
  272. package/dist/assets/LowBalancePopup-CZDcHxyW-BHOAXZjC.js +0 -34
  273. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-BaSRKY-c.js +0 -17
  274. package/dist/assets/Menu-B6iTf2H7-Cqx4dVPp.js +0 -17
  275. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-CVF8iXYJ.js +0 -110
  276. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-BD419NGA.js +0 -6
  277. package/dist/assets/MyProfileSettingsPage-BRK5nWg2--GwgfIws.js +0 -85
  278. package/dist/assets/NotificationsPage-C7lSAnUb-wDRHsOkp.js +0 -685
  279. package/dist/assets/PandLWithForecastPage-W4jlNjml-Bcn3UKYp.js +0 -107
  280. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DmIjK42h.js +0 -26
  281. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-fUbgpa2M.js +0 -314
  282. package/dist/assets/ReimbursementPromoPage-PshodHUZ-B_XNUegE.js +0 -84
  283. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-Bw__edeG.js +0 -140
  284. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-BQcspCuT.js +0 -1
  285. package/dist/assets/ReportsPage-C7zirS74-CyyHiNy4.js +0 -121
  286. package/dist/assets/ReviewDetailsPage-ClsyL5-w-_y4o463o.js +0 -290
  287. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-BSd6OZtz.js +0 -37
  288. package/dist/assets/ScheduleDetailsPage-BftjSvA7-Jy_FtZQR.js +0 -37
  289. package/dist/assets/ScreenRoutes-en4svsq9.js +0 -206
  290. package/dist/assets/SetUpAccountSection-Bnbi8X23-DL-18RCf.js +0 -378
  291. package/dist/assets/SignInScreen-Ba17TSWH.js +0 -1
  292. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-BhMjXPdH.js +0 -123
  293. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-GaRieOUe.js +0 -754
  294. package/dist/assets/SpendManagementSection-kucZgC-H-DLgSRXEX.js +0 -230
  295. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js +0 -206
  296. package/dist/assets/StatementsPage-KnLUSJbm-DvU_Y3UP.js +0 -58
  297. package/dist/assets/TaskManagementPage-CPLyyK1Y-ena6uodh.js +0 -508
  298. package/dist/assets/TransactionDetailPage-D1Z1f-DD-DTPxqy3v.js +0 -912
  299. package/dist/assets/TransactionList-BzJEbOV9-BQZ8x4Oq.js +0 -147
  300. package/dist/assets/TreasuryOverviewPage-DySunaqy-CWB-hp0S.js +0 -708
  301. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-CX84O_mN.js +0 -576
  302. package/dist/assets/TrendChart-B_5D-Zud-BUU2-6nI.js +0 -16
  303. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-DvVrgitE.js +0 -38
  304. package/dist/assets/VendorDetailPage-CEX7xMIN-Djo4PloX.js +0 -257
  305. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-PlB10gEr.js +0 -730
  306. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-DAoPjpj5.js +0 -152
  307. package/dist/assets/VerifyDevice-C27gEWkZ-C7pLL5Wm.js +0 -112
  308. package/dist/assets/ZeniAccountDetailPage-egmysAfI-DFbZv9KZ.js +0 -300
  309. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-aSJ3m6rj.js +0 -14
  310. package/dist/assets/analyticsHelper-CVWZE356.js +0 -1
  311. package/dist/assets/analyticsHelper-or1KkBWk-Plh_6I_p.js +0 -1
  312. package/dist/assets/downloadPdf-D7p3yKmg-CYmmjPHt.js +0 -1
  313. package/dist/assets/redux-CEhZD0hA.js +0 -12
  314. package/dist/assets/toChartData-DEW0iT7T-DrkbvIyQ.js +0 -1
@@ -0,0 +1,79 @@
1
+ import{x as K,q as j,cD as R,O as w,lz as De,lA as be,j as t,lB as Ne,e0 as Oe,lC as je,dG as ve,dD as Pe,y as b,c2 as T,ju as ke,o as N,cM as Be,u as m,cG as V,eN as $e,eO as Ae,eP as Me,cd as Ie,eQ as Ye,cZ as ne,cu as oe,cO as re}from"./index-kF4u7Flm.js";import{b as f,n as x}from"./vendor-Bs1fkIUX.js";import{n as M}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{L as ze,k as Le}from"./ArAgingChart-BezVy1Sm-ClcQ64wd.js";import{C as ie}from"./NoDataChart-5E72SElf-3CnLxisw.js";import{I as se,R as $}from"./CollapsableReportTable-7iAngywY-BhPujiYA.js";import{d as le}from"./NoDataTable-BwHbkm3l-VTHrTfOq.js";import{l as ce}from"./mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./chartTypes-DCvOVjlS-CF3jsUNb.js";import"./AccountRow-Be3LIHO--BjLJB43L.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Re={chartHeight:new b(288,360)},de=x.div`
2
+ display: flex;
3
+ `,ge=x.div`
4
+ display: flex;
5
+ flex: 1 1 auto;
6
+ flex-direction: column;
7
+ height: ${e=>Re.chartHeight.valuePx(e.windowSize)};
8
+ padding-bottom: ${N.sp6};
9
+ `;function Te({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(qe,{report:e})}function Fe({report:e}){const a=j();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:w.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function qe({report:e}){const a=j();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:w.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Le,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(Ke({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ge({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function G({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=G({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ge({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:w.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${w.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},Ue=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=G({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:w.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${w.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=G({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const O={contentPaddingLeft:new b(m[0],m[0],m[0]),contentPaddingRight:new b(m[3],m[3],m[8]),wrapperPadding:new b(m[3],m[3],m[8])},I=x.div`
10
+ display: flex;
11
+ position: sticky;
12
+ justify-content: center;
13
+ padding-top: ${e=>O.wrapperPadding.valuePx(e.windowSize)};
14
+ padding-left: ${e=>O.wrapperPadding.valuePx(e.windowSize)};
15
+ background-color: ${e=>e.theme.colors.grey4};
16
+ `,he=x.div`
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(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=j(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(I,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(I,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:O.contentPaddingLeft.value(l),right:O.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=j(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const C=Ue(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(I,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(I,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:O.contentPaddingLeft.value(r),right:O.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new b(m[2],m[1],m[1],m[2],m[6])},Ve=x.div`
20
+ display: flex;
21
+ width: 100%;
22
+ justify-content: space-between;
23
+ align-items: center;
24
+ overflow: auto;
25
+ column-gap: ${e=>Ze.summaryColumnGap.valuePx(e.windowSize)};
26
+ `,X=x.div`
27
+ display: flex;
28
+ flex-direction: column;
29
+ align-items: center;
30
+ justify-content: center;
31
+ `,ee=x(Ie)`
32
+ color: ${e=>e.theme.colors.grey1};
33
+ text-wrap: nowrap;
34
+ width: fit-content;
35
+ `,te=x(Ye)`
36
+ color: ${e=>e.theme.colors.primary};
37
+ `;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=j();return t.jsxs(Ve,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:w.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?w.getLocalizedStrings().reports.aging.apAging.totalPayable:w.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new b(m[3],m[3],m[8]),navbarMarginBottom:new b(m[7],m[4])},{download:F,dateFormat:D,reports:{common:et,aging:B}}=w.getLocalizedStrings();function Pt(e){const a=K(),[o,i]=f.useState(!1),s=j(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:xe}=e,{fetchState:v,reportTitle:ye,reportId:y}=n,{searchString:P,downloadState:A,sortKey:z,sortOrder:L,selectedDate:S,agingDateSelectionType:H}=c,{authParams:U,downloadEndPoint:W,timezone:J}=l,Q=f.useCallback((h,_)=>{const k=ae(_);u(h,k),r.trackAgingReportDateChange(M(y),S!=null?S.format(D.analytics.YYYYDashMMDashDDFormat):R().format(D.analytics.YYYYDashMMDashDDFormat),h.format(D.analytics.YYYYDashMMDashDDFormat),k)},[r,u,y,S]),Z=f.useCallback(h=>{const _=De({options:B.preComputedDurationOptions.map(({label:E,value:_e})=>({label:E,value:be(_e)})).filter(({value:E})=>E!=null),selectedDate:h}),k=ae(_);u(h,k),r.trackAgingReportDateChange(M(y),S!=null?S.format(D.analytics.YYYYDashMMDashDDFormat):R().format(D.analytics.YYYYDashMMDashDDFormat),h.format(D.analytics.YYYYDashMMDashDDFormat),k)},[r,u,y,S]),we=f.useCallback((h,_)=>{C(h,_),r.trackAgingReportSortChange(M(y),_,h)},[r,C,y]),Se=f.useCallback(()=>t.jsx(Ne,{maxDate:R(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:D.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:Q},onSelectedDateChanged:Z}),[S,Q,Z,H]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:P,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:y==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,U,_),Y("Completed"),r.trackAgingReportDownloadClick(M(y),z,L)}o&&A!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[U,W,l.companyName,A,o,y,P,z,L,Y,S,r,J]),v==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Oe,{})}),t.jsx(rt,{children:et.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(P?.length??0)>0,searchPlaceHolder:y==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:P??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(ve,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:A==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(A==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:ye,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(T,{controller:v==="Completed",children:[t.jsx(T,{controller:P.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:y==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:we,onEntityNameClick:fe,onNodeCollapseToggled:xe})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await $e({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=Ae(n.headers,F.defaultFileName),l=await n.arrayBuffer();Me(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:w.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=x.div`
38
+ display: flex;
39
+ width: 100%;
40
+ height: calc(100% - 60px);
41
+ flex-direction: column;
42
+ justify-content: center;
43
+ align-items: center;
44
+ `,ot=x.div`
45
+ height: 96px;
46
+ width: 96px;
47
+ background: ${e=>e.theme.colors.background};
48
+ border-radius: 50%;
49
+ cursor: pointer;
50
+ & svg {
51
+ margin: ${N.sp5};
52
+ color: ${e=>e.theme.colors.grey1};
53
+ }
54
+ &:hover {
55
+ & svg {
56
+ color: ${e=>e.theme.colors.primary};
57
+ }
58
+ }
59
+ `,rt=x(Be)`
60
+ margin-top: ${N.sp3};
61
+ color: ${e=>e.theme.colors.hero};
62
+ `,it=x.div`
63
+ display: flex;
64
+ flex: 1 1 auto;
65
+ height: 100vh;
66
+ flex-direction: column;
67
+ width: 100%;
68
+ background-color: ${e=>e.theme.colors.grey5};
69
+ padding: ${N.sp0};
70
+ gap: 2px;
71
+ `,st=x.div`
72
+ margin-bottom: ${N.sp6};
73
+ `,lt=x.div`
74
+ position: relative;
75
+ box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
76
+ background-color: ${e=>e.theme.colors.grey5};
77
+ padding-left: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
78
+ padding-right: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
79
+ `,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},ae=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Pt as default,at as toDownloadAgingReportOptionsPayload};
@@ -0,0 +1,192 @@
1
+ import{fy as G,hy as Ie,q as B,j as l,cF as P,jr as Pe,cp as Y,O as Z,y as T,o as i,d2 as re,n as ie,cd as ne,fJ as Ce,eQ as Oe,jg as J,jh as K,f7 as X,u as L,eh as Se,cB as te,kg as de,jj as R,ji as ce,jk as pe,cV as me,kh as Te,h as ue,fG as ge,ce as he,fH as Re,c5 as ze}from"./index-kF4u7Flm.js";import{n as p,b as q}from"./vendor-Bs1fkIUX.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js";import{j as ve,C as be}from"./LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js";const _=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:$,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:f})=>{const w=B(),C=se.largeLabelWidth.value(w),{setValue:O}=G(),D=te(h),y=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=q.useMemo(()=>te(X.roles),[]),u=Y(e.role);return q.useEffect(()=>{(u||m||b)&&O("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&O("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:_(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder: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(ve,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:_(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,b)},productsByUserRole:J(e.role,$)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:_(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable: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:_(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||b?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,y[0]?l.jsxs(Ne,{href:`mailto:${y[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${y[0].firstName} ${y[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:_(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&&f?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ background-color: ${e=>e.theme.colors.grey5};
5
+ border: 1px solid ${e=>e.theme.colors.grey3};
6
+ box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
7
+ border-radius: ${i.sp2};
8
+ margin-bottom: ${i.sp3};
9
+ .single-select-field__menu {
10
+ border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
11
+ }
12
+ `,Q=p.div`
13
+ display: flex;
14
+ flex: 1;
15
+ background-color: ${e=>e.theme.colors.grey3};
16
+ min-height: 1px;
17
+ max-height: 1px;
18
+ `,Ue=p(he)`
19
+ padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
20
+ background: ${e=>e.theme.colors.grey4};
21
+ border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
22
+ text-align: left;
23
+ color: ${e=>e.theme.colors.grey1};
24
+ display: flex;
25
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
26
+ align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
27
+ gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
28
+ `,Ne=p.a`
29
+ color: ${e=>e.theme.colors.hero};
30
+ text-decoration: none;
31
+ cursor: pointer;
32
+ display: flex;
33
+ align-items: center;
34
+ gap: 6px;
35
+ .arrowIcon {
36
+ cursor: pointer;
37
+ height: ${i.sp3};
38
+ width: ${i.sp3};
39
+ }
40
+ :hover {
41
+ color: ${e=>e.theme.colors.primary};
42
+ .arrowIcon {
43
+ color: ${e=>e.theme.colors.primary};
44
+ }
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:$,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:f})=>{const w=B(),{getValues:C,formState:{errors:O},setValue:D}=G(),y=oe.largeLabelWidth.value(w),[N,...M]=$,u=M.map(d=>d.email).join(","),r=q.useMemo(()=>X.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=Y(e.role);return q.useEffect(()=>{(n||x||f)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,f]),l.jsxs(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=>!Be(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Te)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,O)}),l.jsx(E,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:c.invitePage.role,width:y},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,f)},productsByUserRole:J(e.role,b)},registerOptions:{required:!0}}}),l.jsx(E,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:y},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 j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(S=>S.classId===I.userRole.accountingClassIDs[0]),v=[];return k!=null&&v.push(k.className),v}else return[]},placeholderLabel:n?c.notApplicable: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:y},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||f?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||f)},isDisabled:n||x||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||f?"disabled":void 0,opacity:n||x||f?.32:1}),l.jsx(E,{}),U?null:l.jsxs(_e,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(qe,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:y},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Be=(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
+ display: flex;
48
+ flex-direction: column;
49
+ background-color: ${e=>e.theme.colors.grey5};
50
+ border: 1px solid ${e=>e.theme.colors.grey3};
51
+ box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
52
+ border-radius: ${i.sp2};
53
+ margin-bottom: ${i.sp3};
54
+ .single-select-field__menu {
55
+ border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
56
+ }
57
+ `,E=p.div`
58
+ display: flex;
59
+ flex: 1;
60
+ background-color: ${e=>e.theme.colors.grey3};
61
+ min-height: 1px;
62
+ max-height: 1px;
63
+ `,_e=p(he)`
64
+ padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
65
+ background: ${e=>e.theme.colors.grey4};
66
+ border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
67
+ text-align: left;
68
+ color: ${e=>e.theme.colors.grey1};
69
+ display: flex;
70
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
71
+ align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
72
+ gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
73
+ opacity: ${e=>e.isDisabled?.32:1};
74
+ `,Ze=p.a`
75
+ color: ${e=>e.theme.colors.hero};
76
+ text-decoration: none;
77
+ cursor: ${e=>e.isDisabled?"unset":"pointer"};
78
+ display: flex;
79
+ align-items: center;
80
+ gap: 6px;
81
+ .arrowIcon {
82
+ cursor: pointer;
83
+ height: ${i.sp2};
84
+ width: ${i.sp2};
85
+ }
86
+ :hover {
87
+ color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
88
+ .arrowIcon {
89
+ color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
90
+ }
91
+ }
92
+ `,Ee=(e,t,o,a,s)=>{if(Re(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!ze.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}},qe=({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"})]})},Ve=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
+ display: flex;
94
+ flex-direction: column;
95
+ `,W={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},He=(e,t,o,a,s,h,$)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:X.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,$)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,ml=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:$,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:f,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:O=!1,person:D,analytics:y})=>{const{getValues:N}=G(),{append:M,remove:u}=Ie({name:h,control:t}),r=B(),n=N().userItems,d=()=>{const v=n.length-1,S=He(v+1,b,U,$,f,w,C);setTimeout(()=>M(S,{shouldFocus:!0}))},j=v=>{a(v)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Je,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((v,S)=>{const je=n.length;let V={};if($==="zeni_only")V={email:v.email,role:Ye(v.role.selectedOptions,O)??void 0};else{const ee=v.nonZeniRole?.userRole.selectedRole,A=ee!=null?(v.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>Pe(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?Y(A):!1;V={email:v.email,role:A,managerId:le?void 0:v.manager?.selectedUser,departmentId:le?void 0:v.department?.selectedOption?.value}}return l.jsxs(Ke,{"data-testid":P("user-item",v.userIndex.toString()),children:[O?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:S,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx(ye,{children:l.jsx($e,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${S}`,control:t,user:V,mode:$,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:f,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:O,person:D,analytics:y,index:S}),o===S&&r==="small"?l.jsx(ll,{children:l.jsx(fe,{onCancelClick:I,onRemoveUserItem:k})}):null]},S)}):null,O?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 $=B();return l.jsxs(we,{children:[l.jsx(ye,{children:l.jsx($e,{windowSize:$,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Ge,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=B();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(fe,{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,{})})})})})},fe=({onCancelClick:e,onRemoveUserItem:t})=>{const o=B();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]:[],Je=p.div`
96
+ display: flex;
97
+ flex-direction: column;
98
+ padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
99
+ `,Ke=p.div`
100
+ .delete-icon-wrapper {
101
+ visibility: hidden;
102
+ }
103
+ &:hover {
104
+ .delete-icon-wrapper {
105
+ visibility: visible;
106
+ }
107
+ }
108
+ `,we=p(re)`
109
+ display: flex;
110
+ width: 100%;
111
+ align-items: center;
112
+ justify-content: space-between;
113
+ color: ${e=>e.theme.colors.champion};
114
+ margin-top: ${i.sp3};
115
+ height: ${i.sp5};
116
+ `,$e=p(re)`
117
+ color: ${e=>e.theme.colors.primary};
118
+ `,ye=p.div`
119
+ display: flex;
120
+ align-items: center;
121
+ `,Xe=p.div`
122
+ width: ${i.sp3};
123
+ height: ${i.sp3};
124
+ cursor: pointer;
125
+ position: relative;
126
+ `,el=p(ne)`
127
+ display: flex;
128
+ color: ${e=>e.theme.colors.hero};
129
+ align-items: center;
130
+ `,ll=p.div`
131
+ display: flex;
132
+ color: ${e=>e.theme.colors.hero};
133
+ flex-direction: column;
134
+ justify-content: center;
135
+ align-items: center;
136
+ width: 100%;
137
+ padding: ${i.sp0} ${i.sp0} ${i.sp7};
138
+ gap: ${i.sp2};
139
+ `,il=p.div`
140
+ display: flex;
141
+ margin-left: ${e=>W.deleteContentMarginLeft.valuePx(e.windowSize)};
142
+ `,ae=p.div`
143
+ display: flex;
144
+ margin-bottom: ${e=>W.marginBottom.valuePx(e.windowSize)};
145
+ `,tl=p(ge)`
146
+ width: ${i.sp3};
147
+ height: ${i.sp3};
148
+ cursor: pointer;
149
+ color: ${e=>e.theme.colors.grey1};
150
+ &:hover {
151
+ color: ${ue.important};
152
+ }
153
+ `,sl=p(ge)`
154
+ width: ${i.sp3};
155
+ height: ${i.sp3};
156
+ cursor: pointer;
157
+ color: ${ue.important};
158
+ `,ol=p(ne)`
159
+ cursor: pointer;
160
+ display: flex;
161
+ flex-direction: row;
162
+ justify-content: center;
163
+ align-items: center;
164
+ padding: ${i.sp3} ${i.sp4};
165
+ gap: ${e=>W.addUserWrapperGap.valuePx(e.windowSize)};
166
+
167
+ width: auto;
168
+ height: ${i.sp8};
169
+
170
+ border: 1px solid ${e=>e.theme.colors.hero};
171
+ border-radius: ${i.sp2};
172
+ color: ${e=>e.theme.colors.grey1};
173
+ box-sizing: border-box;
174
+ &:hover {
175
+ svg {
176
+ color: ${e=>e.theme.colors.primary};
177
+ }
178
+ div {
179
+ color: ${e=>e.theme.colors.primary};
180
+ }
181
+ color: ${e=>e.theme.colors.primary};
182
+ border-color: ${e=>e.theme.colors.primary};
183
+ }
184
+ margin-top: ${i.sp3};
185
+ margin-bottom: ${i.sp9};
186
+ `,al=p(Ce)`
187
+ width: ${i.sp4};
188
+ height: ${i.sp4};
189
+ color: ${e=>e.theme.colors.hero};
190
+ `,rl=p(Oe)`
191
+ color: ${e=>e.theme.colors.hero};
192
+ `;export{ml as f};
@@ -0,0 +1,46 @@
1
+ import{x as Y,q as B,O as d,j as o,e0 as H,ju as K,dD as U,eU as q,o as L,cM as J,dG as W,y as b,eN as G,eO as Q,eP as V,u as y}from"./index-kF4u7Flm.js";import{b as v,n as i}from"./vendor-Bs1fkIUX.js";import{W as X,L as Z}from"./EntitySummarySection-BRt1kPDf-DQbEIQFx.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={wrapperContainerMarginTop:new b(y[4],y[0]),wrapperContaineHorizontalrMargin:new b(y[0],y[8])},ee=i.div`
2
+ height: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+ max-width: 99.9%;
6
+ `,oe=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
+ `,re=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: ${L.sp5};
21
+ color: ${e=>e.theme.colors.grey1};
22
+ }
23
+ &:hover {
24
+ & svg {
25
+ color: ${e=>e.theme.colors.primary};
26
+ }
27
+ }
28
+ `,te=i(J)`
29
+ margin-top: ${L.sp3};
30
+ color: ${e=>e.theme.colors.hero};
31
+ `,ae=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
+ `,ne=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
+ `,ie=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 De(e){const h=Y(),c=B(),f=d.getLocalizedStrings().common,g=d.getLocalizedStrings().reports.common,{apAgingDetail:t,downloadParams:a,reportDate:r,analytics:s,onReload:w,onBackClick:N,onColumnSortConfigChanged:_,updateDownloadStateHandler:x,onTransactionClick:T}=e,{authParams:j,downloadEndPoint:k,timezone:z}=a,{fetchState:p,invoices:$,apAgingDetailUIState:P,vendor:n,totalBalances:E}=t,{sortKey:D,sortOrder:S,downloadState:m}=P,[I,M]=v.useState(!1),A=d.getLocalizedStrings(),O=A.reports.aging.agingDetail,F=v.useCallback((l,u)=>{t.vendor!=null&&s.trackApAgingDetailReportSortChange(l,u,r.format(A.dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name),_(l,u)},[s,t.vendor,r,_]);if(v.useEffect(()=>{async function l(){const u={companyName:a.companyName,sortKey:D,sortOrder:S,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:z,reportDate:r};await se(k,j,u),x("Completed"),t.vendor!=null&&s.trackApAgingDetailReportDownload(D,S,r.format(d.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name)}I&&m!=="In-Progress"&&(M(!1),x("In-Progress"),l())},[s,t.vendor,j,k,a.companyName,m,I,r,D,S,z,x,n?.id]),p==="Error")return o.jsxs(oe,{children:[o.jsx(re,{onClick:w,children:o.jsx(H,{})}),o.jsx(te,{children:g.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(K,{fetchState:p});const R=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async l=>{if(l==="excel")if(m==="In-Progress"){console.log("Download is already in progress!");return}else M(!0)}}}});return o.jsxs(ae,{children:[o.jsx(U,{title:f.strings.empty,backgroundColor:h.colors.grey5,onBackClick:N,rightSideComponent:R,source:"ApAgingDetailPage"}),o.jsx(X,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:r}),o.jsx(ne,{windowSize:c,children:o.jsx(ie,{windowSize:c,children:$.length===0||n==null?o.jsx(q,{message:O.noDataText}):o.jsx(ee,{windowSize:c,children:o.jsx(Z,{uiState:P,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:F,onTransactionClick:T})})})})]})}async function se(e,h,c){const f=`${e}?query=${encodeURIComponent(JSON.stringify(le(c)))}`,g=d.getLocalizedStrings(),t=g.reports.aging.apAging.apAging,a=g.download;try{const r=await G({urlEndPoint:f,authParams:h,fileType:"excel"});if(r.ok){const s=Q(r.headers,a.defaultFileName),w=await r.arrayBuffer();V(w,s)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${r.statusText}`)}catch(r){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(r)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:d.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{De as default,le as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,O as g,bt as u,d8 as w,e4 as f,d7 as b}from"./index-sAOH0Fje.js";import{n as s,b as j,k}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const d={maxWidth:new l(280,322),contentMaxWidth:new l(200,250)},y=k`
1
+ import{j as t,q as m,A as x,o as e,y as l,h as o,cM as $,O as g,dp as u,fD as w,gX as f,fC as b}from"./index-kF4u7Flm.js";import{n as s,b as j,k}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const d={maxWidth:new l(280,322),contentMaxWidth:new l(200,250)},y=k`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -47,13 +47,13 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,O as g,bt as u,d8 as w,
47
47
  width: ${e.sp3};
48
48
  height: ${e.sp3};
49
49
  color: ${o.info};
50
- `,W=s.div``,O=s($)`
50
+ `,W=s.div``,M=s($)`
51
51
  color: ${o.neutralGrey2Light};
52
52
  word-break: break-word;
53
53
  white-space: pre-line;
54
- `,T=s.div`
54
+ `,O=s.div`
55
55
  max-width: ${r=>d.contentMaxWidth.valuePx(r.windowSize)};
56
- `,M=s.div`
56
+ `,T=s.div`
57
57
  margin-top: 3px;
58
58
  margin-left: 12px;
59
59
  width: ${e.sp3};
@@ -66,6 +66,6 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,O as g,bt as u,d8 as w,
66
66
  &:hover {
67
67
  color: ${o.primaryDark};
68
68
  }
69
- `,P=(r,n,i)=>{let a=g.getLocalizedStrings().common.snackBar[r][n];return i?.forEach(c=>{a=a.replace(c.variableName,c.variableValue)}),a},R=({type:r})=>{switch(r){case"success":return t.jsx(S,{});case"info":return t.jsx(z,{});case"error":case"warning":return t.jsx(D,{});case"notification":return t.jsx(E,{});default:return null}};function X(r){const n=m(),{message:i,messageType:a,showStatusIcon:c,onRemoveSnackbar:p}=r;return j.useEffect(()=>{const h=setTimeout(()=>{p()},5e3);return()=>clearTimeout(h)},[i.section]),t.jsxs(v,{windowSize:n,children:[c===!0?t.jsx(R,{type:a}):null,t.jsx(T,{windowSize:n,children:t.jsx(W,{children:t.jsx(O,{children:P(i.section,i.text,i.variables)})})}),t.jsx(M,{onClick:p,children:t.jsx(x,{})})]})}const F=r=>t.jsx(A,{isOnDashboard:r.isOnDashboard,children:r.showSnackbar===!0?t.jsx(X,{...r.snackbar}):null}),A=s.div`
69
+ `,X=(r,n,i)=>{let a=g.getLocalizedStrings().common.snackBar[r][n];return i?.forEach(c=>{a=a.replace(c.variableName,c.variableValue)}),a},C=({type:r})=>{switch(r){case"success":return t.jsx(S,{});case"info":return t.jsx(z,{});case"error":case"warning":return t.jsx(D,{});case"notification":return t.jsx(E,{});default:return null}};function P(r){const n=m(),{message:i,messageType:a,showStatusIcon:c,onRemoveSnackbar:p}=r;return j.useEffect(()=>{const h=setTimeout(()=>{p()},5e3);return()=>clearTimeout(h)},[i.section]),t.jsxs(v,{windowSize:n,children:[c===!0?t.jsx(C,{type:a}):null,t.jsx(O,{windowSize:n,children:t.jsx(W,{children:t.jsx(M,{children:X(i.section,i.text,i.variables)})})}),t.jsx(T,{onClick:p,children:t.jsx(x,{})})]})}const F=r=>t.jsx(R,{isOnDashboard:r.isOnDashboard,children:r.showSnackbar===!0?t.jsx(P,{...r.snackbar}):null}),R=s.div`
70
70
  background-color: ${r=>r.isOnDashboard?r.theme.colors.background:"transparent"};
71
71
  `;export{F as default};
@@ -1,11 +1,11 @@
1
- import{l as te,ax as ae,Q as se,p as v,bn as oe,j as e,bo as le,bp as re,bq as de,br as ce,ab as pe,bs as ue,o as t,bt as be,aY as b,b4 as m}from"./index-sAOH0Fje.js";import{b as o,w as me,n as l}from"./vendor-Bs1fkIUX.js";import{j as he}from"./DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const fe=o.memo(function({animationEnabled:i=!1}){const[n,s]=b("DashboardSidebarBottomNewYear"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(xe,{children:e.jsx(m,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),xe=l.div`
1
+ import{dh as te,co as ae,a9 as se,aa as v,di as oe,j as e,dj as le,dk as re,dl as de,dm as ce,c2 as ue,dn as pe,o as t,dp as me,cS as m,c_ as h}from"./index-kF4u7Flm.js";import{b as o,w as he,n as l}from"./vendor-Bs1fkIUX.js";import{j as be}from"./DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const fe=o.memo(function({animationEnabled:i=!1}){const[n,s]=m("DashboardSidebarBottomNewYear"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(ge,{children:e.jsx(h,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${t.sp3};
5
5
  display: flex;
6
6
  height: auto;
7
7
  right: ${t.sp0};
8
- `,ge=o.memo(function({animationEnabled:i=!1}){const[n,s]=b("DashboardSidebarBottomChristmas"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(Ee,{children:e.jsx(m,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ee=l.div`
8
+ `,xe=o.memo(function({animationEnabled:i=!1}){const[n,s]=m("DashboardSidebarBottomChristmas"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(Ee,{children:e.jsx(h,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ee=l.div`
9
9
  position: absolute;
10
10
  z-index: 0;
11
11
  bottom: ${t.sp0};
@@ -13,7 +13,7 @@ import{l as te,ax as ae,Q as se,p as v,bn as oe,j as e,bo as le,bp as re,bq as d
13
13
  height: auto;
14
14
  right: ${t.sp0};
15
15
  width: 100%;
16
- `,we=o.memo(function({animationEnabled:i=!1}){const[n,s]=b("DashboardSidebarBottomHalloween"),[a,r]=o.useState(null);return n!=null&&a==null&&!s&&r(n),i&&a!=null?e.jsx(Ce,{children:e.jsx(m,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ce=l.div`
16
+ `,we=o.memo(function({animationEnabled:i=!1}){const[n,s]=m("DashboardSidebarBottomHalloween"),[a,r]=o.useState(null);return n!=null&&a==null&&!s&&r(n),i&&a!=null?e.jsx(Ce,{children:e.jsx(h,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ce=l.div`
17
17
  position: absolute;
18
18
  z-index: 0;
19
19
  width: 100%;
@@ -25,14 +25,14 @@ import{l as te,ax as ae,Q as se,p as v,bn as oe,j as e,bo as le,bp as re,bq as d
25
25
  background-repeat: no-repeat;
26
26
  background-position-y: bottom;
27
27
  left: 0;
28
- `,ye=o.memo(function({animationEnabled:i=!1}){const[n,s]=b("DashboardSidebarBottomThanksgiving"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(Se,{children:e.jsx(m,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
28
+ `,ye=o.memo(function({animationEnabled:i=!1}){const[n,s]=m("DashboardSidebarBottomThanksgiving"),[a,r]=o.useState(null);return o.useEffect(()=>{n!=null&&!s&&r(n)},[n,s]),i&&a!=null?e.jsx(Se,{children:e.jsx(h,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
29
29
  position: absolute;
30
30
  z-index: 0;
31
31
  bottom: ${t.sp0};
32
32
  display: flex;
33
33
  height: auto;
34
34
  right: ${t.sp0};
35
- `,Ae=o.memo(function({christmasAnimationEnabled:i=!1,halloweenAnimationEnabled:n=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return n?e.jsx(we,{animationEnabled:n}):a?e.jsx(ye,{animationEnabled:a}):i?e.jsx(ge,{animationEnabled:i}):s?e.jsx(fe,{animationEnabled:s}):null}),je=l.div`
35
+ `,Ae=o.memo(function({christmasAnimationEnabled:i=!1,halloweenAnimationEnabled:n=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return n?e.jsx(we,{animationEnabled:n}):a?e.jsx(ye,{animationEnabled:a}):i?e.jsx(xe,{animationEnabled:i}):s?e.jsx(fe,{animationEnabled:s}):null}),je=l.div`
36
36
  display: flex;
37
37
  flex: 1 1 auto;
38
38
  flex-direction: column;
@@ -82,10 +82,10 @@ import{l as te,ax as ae,Q as se,p as v,bn as oe,j as e,bo as le,bp as re,bq as d
82
82
  color: ${i=>i.theme.colors.primary};
83
83
  }
84
84
  z-index: 1;
85
- `,De=l(be)`
85
+ `,De=l(me)`
86
86
  display: flex;
87
87
  width: ${t.sp4};
88
88
  height: ${t.sp4};
89
89
  align-items: center;
90
90
  justify-content: center;
91
- `;function Ue({currentTenantId:i,tenants:n,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:M,isSettings:c=!1,isAiCfo:I=!1,isOnDashboard:Y,isAiCfoAccessEnabled:V,isNotificationsTabVisible:F,isSettingsFeatureEnabled:g,signedInUser:h,aiCfoView:N,currentTenant:E,christmasAnimationEnabled:f=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:y=!1,notificationCountDetails:p,isExpenseAutomationEnabledForUser:L,treasuryYieldPercentage:P,onNotificationIconClick:z,handleLogOutClick:R,handleMenuChange:U,onZeniLogoClick:B,handlePopupClose:G,handleBackClick:S,handleCockpitClick:H,handleTenantSelect:O,updateCurrentChatSessionId:Z,handleSettingsClick:A}){const[d,Q]=o.useState(c&&g),x=me.useRef("noAnimation"),q=te.isZeniSignedInUser(h),K=ae(),{useFeatureGate:j}=se(),{isFeatureEnabled:X}=j(v.isReimbursementCommentingEnabled),{isFeatureEnabled:_}=j(v.isBillPayCommentingEnabled),W=oe(),J=()=>{x.current="slide-in-right-to-left",A&&A()},ee=()=>{x.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&Q(c)},[c,d]);const u=p?.fetchStatus.fetchState==="Not-Started"||p?.fetchStatus.fetchState==="In-Progress",ie=x.current,ne=q||X&&_&&!K.loggedInUserRole.includes("investor_or_banker");return e.jsxs(je,{isOnDashboard:Y,children:[e.jsxs(ve,{children:[e.jsx(le,{onClick:B,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:C}),e.jsx(re,{currentTenantId:i??"",tenants:n,isDisabled:M,onTenantSelect:O})]}),e.jsx(ke,{children:e.jsx(de,{className:ie,signedInUser:h,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:I,isAiCfoAccessEnabled:V,aiCfoView:N,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,treasuryYieldPercentage:P,isChargeCardEnabled:$,isNotificationsTabVisible:F,isPerformanceEnabledForUser:W,isExpenseAutomationEnabledForUser:L,onSelectionChanged:U,updateCurrentChatSessionId:Z,onBackClick:ee,onPopupClose:G})}),e.jsx(he,{christmasAnimationEnabled:f}),e.jsxs($e,{children:[e.jsx(ce,{signedInUser:h,onLogOutClick:R,onSettingsClick:J,onCockpitClick:H,currentTenant:E,isSettingsFeatureEnabled:g}),ne?e.jsx(pe,{controller:p!=null,children:e.jsxs(Te,{isDisabled:u,onClick:u?void 0:z,children:[e.jsx(ue,{count:u?void 0:p?.count,type:"important",isLoading:u,style:{left:"12px"}}),e.jsx(De,{})]})}):null]}),e.jsx(Ae,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:C})]},d.toString())}export{Ue as default};
91
+ `;function Ue({currentTenantId:i,tenants:n,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,isChargeCardEnabled:$,rewardsConfiguration:T,selectedMenu:D,isTenantDropdownDisabled:M,isSettings:c=!1,isAiCfo:I=!1,isOnDashboard:V,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:F,isSettingsFeatureEnabled:x,signedInUser:b,aiCfoView:N,currentTenant:E,christmasAnimationEnabled:f=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:C=!1,thanksGivingAnimationEnabled:y=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:L,treasuryYieldPercentage:P,onNotificationIconClick:z,handleLogOutClick:R,handleMenuChange:U,onZeniLogoClick:B,handlePopupClose:G,handleBackClick:S,handleCockpitClick:H,handleTenantSelect:O,updateCurrentChatSessionId:Z,handleSettingsClick:A}){const[d,_]=o.useState(c&&x),g=he.useRef("noAnimation"),K=te(b),Q=ae(),{useFeatureGate:j}=se(),{isFeatureEnabled:X}=j(v.isReimbursementCommentingEnabled),{isFeatureEnabled:q}=j(v.isBillPayCommentingEnabled),W=oe(),J=()=>{g.current="slide-in-right-to-left",A&&A()},ee=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&_(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ie=g.current,ne=K||X&&q&&!Q.loggedInUserRole.includes("investor_or_banker");return e.jsxs(je,{isOnDashboard:V,children:[e.jsxs(ve,{children:[e.jsx(le,{onClick:B,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:C}),e.jsx(re,{currentTenantId:i??"",tenants:n,isDisabled:M,onTenantSelect:O})]}),e.jsx(ke,{children:e.jsx(de,{className:ie,signedInUser:b,selectedMenu:D,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:T,isSetting:d,isAiCfo:I,isAiCfoAccessEnabled:Y,aiCfoView:N,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:k,treasuryYieldPercentage:P,isChargeCardEnabled:$,isNotificationsTabVisible:F,isPerformanceEnabledForUser:W,isExpenseAutomationEnabledForUser:L,onSelectionChanged:U,updateCurrentChatSessionId:Z,onBackClick:ee,onPopupClose:G})}),e.jsx(be,{christmasAnimationEnabled:f}),e.jsxs($e,{children:[e.jsx(ce,{signedInUser:b,onLogOutClick:R,onSettingsClick:J,onCockpitClick:H,currentTenant:E,isSettingsFeatureEnabled:x}),ne?e.jsx(ue,{controller:u!=null,children:e.jsxs(Te,{isDisabled:p,onClick:p?void 0:z,children:[e.jsx(pe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),e.jsx(De,{})]})}):null]}),e.jsx(Ae,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:y,christmasAnimationEnabled:f,newYearAnimationEnabled:C})]},d.toString())}export{Ue as default};
@@ -0,0 +1,47 @@
1
+ import{x as U,q as D,co as G,O as c,cO as S,j8 as J,j9 as K,j as e,dD as N,Y as V,gP as f,y as s,o as j,ce as Y,C as y,u as i}from"./index-kF4u7Flm.js";import{n as l}from"./vendor-Bs1fkIUX.js";import{K as b}from"./SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const a={sectionRowGap:new s(i[4],i[8],i[8]),lastSectionPaddingBottom:new s(i[7],i[10],i[10]),iconWidthHeight:new s(20,i[4]),subtitleSectionWidth:new s(343,580,1200)},pe=({billpayApprovalView:t,remiApproverView:P,currentTenant:d,onBackClick:R,onClickMenuIcon:k,onSetupApprovalRulesBillPaySectionClick:C,onSetupApprovalRulesRemiSectionClick:z})=>{const n=U(),o=D(),p=G(),{fetchState:u,allApprovalRules:m,approvalRulesStatus:T}=t,{fetchState:h,allApprovalRules:g,approvalRulesStatus:$}=P,{commonSetUp:A,spendManagement:B}=c.getLocalizedStrings(),x=c.getLocalizedStrings().common.settings,v=c.getLocalizedStrings().common.headers,{billPay:I,reimbursement:M}=B,{billPaySetup:W}=I,{reimbursementSetup:L}=M,{setUp:r}=A,H=u==="In-Progress"||h==="In-Progress"||u==="Not-Started"||h==="Not-Started",w=n.mode==="light"?new S(n.colors.brandColorJadeLight):new S(n.colors.brandColorJadeDark),E=J(d,p.loggedInUserRoleMap),O=K(d,p.loggedInUserRoleMap);return e.jsxs(F,{children:[e.jsx(N,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:k}),e.jsx(Q,{windowSize:o,children:H?e.jsx(X,{children:e.jsx(V,{size:"ExtraLarge",start:!0})}):e.jsxs(q,{children:[e.jsx(_,{windowSize:o,children:e.jsx(ee,{windowSize:o,children:x.infoText.approvalRules})}),e.jsxs(Z,{windowSize:o,children:[E===!0&&e.jsx(b,{title:m.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:W.approvalSubTitle,header:v.bills,icon:{element:e.jsx(f,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:w},onClick:C,status:m.length>0?T:void 0}),O===!0&&e.jsx(b,{title:g.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:L.approvalSubTitle,header:v.reimbursements,icon:{element:e.jsx(f,{height:a.iconWidthHeight.valuePx(o)}),color:w},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:z,status:g.length>0?$:void 0})]})]})})]})},q=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
+ `,F=l.div`
11
+ display: flex;
12
+ min-height: 100%;
13
+ flex-direction: column;
14
+ row-gap: ${j.sp3};
15
+ width: 100%;
16
+ background-color: ${t=>t.theme.colors.grey4};
17
+ `,Q=l.div`
18
+ display: flex;
19
+ height: 100%;
20
+ overflow-y: auto;
21
+ justify-content: center;
22
+ `,X=l.div`
23
+ display: flex;
24
+ width: 100%;
25
+ height: calc(100vh - 110px);
26
+ flex-direction: row;
27
+ justify-content: center;
28
+ align-items: center;
29
+ background-color: ${t=>t.theme.colors.grey4};
30
+ `,Z=l.div`
31
+ display: flex;
32
+ flex-direction: column;
33
+ row-gap: ${t=>a.sectionRowGap.valuePx(t.windowSize)};
34
+ `,_=l(Y)`
35
+ display: flex;
36
+ justify-content: center;
37
+ align-items: center;
38
+ width: ${t=>a.subtitleSectionWidth.valuePx(t.windowSize)};
39
+ margin-bottom: ${j.sp5};
40
+ `,ee=l.div`
41
+ display: flex;
42
+ align-items: center;
43
+
44
+ color: ${t=>t.theme.colors.hero};
45
+ font-family: ${y.largeMedium.fontFamily};
46
+ ${y.standardRegular.css};
47
+ `;export{pe as default};
@@ -0,0 +1,24 @@
1
+ import{j as i,O as f,fX as k,fY as L,x as z,cZ as N,dZ as P,u as S,dU as T,db as K,C as w,da as R,cR as A,dV as V,fZ as O,f_ as W,dX as G,f$ as I,h as m,o as b,cd as _}from"./index-kF4u7Flm.js";import{b as C,w as q,n as j}from"./vendor-Bs1fkIUX.js";import{l as v,_ as M,h as X,m as Q,u as B}from"./chartTypes-DCvOVjlS-CF3jsUNb.js";const U=j.div`
2
+ display: flex;
3
+ `,H=j.div`
4
+ flex: display;
5
+ opacity: 0.85;
6
+ border-radius: ${b.sp1};
7
+ flex-direction: column;
8
+ padding: ${b.sp3};
9
+ background-color: ${e=>e.theme.colors.black};
10
+ `,$=j(_)`
11
+ color: ${e=>e.color??m.neutralGrey2Light};
12
+ text-align: left;
13
+ `,J=j.div`
14
+ margin: ${b.sp2} ${b.sp0} ${b.sp2} ${b.sp0};
15
+ width: 100%;
16
+ height: 1px;
17
+ background-color: ${m.neutralGrey3Dark};
18
+ `,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(h=>h.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const h=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=h!=null?h.currencyCode:d.currencyCode,d.currencySymbol=h!=null?h.currencySymbol:d.currencySymbol}const a=Q(r);t.push({barName:a,actual:s,color:u}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:m.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(U,{children:i.jsxs(H,{children:[i.jsx($,{color:e[0].color,children:`${e[0].barName}: ${B(e[0].actual)}`}),i.jsx(J,{}),i.jsx($,{children:`${f.getLocalizedStrings().chartCard.total}: ${B(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},Z=q.memo(te),F=5;function oe(e){const o=W(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,F-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function D(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ae=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>F){const s=oe(n),d=k(n,(x,y)=>s[y]===!0),l=k(n,(x,y)=>s[y]!==!0),a=Object.keys(l).reduce((x,y)=>x+(l[y].amount?.amount??0),0),h=Object.keys(l)[0],g=v("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??L.currencyCode,currencySymbol:l[h].amount?.currencySymbol??L.currencySymbol}};const p=D(d);return r.push(...p),{label:c,record:d}}const u=D(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ne=j.div`
19
+ width: ${e=>e.width}px;
20
+ height: ${e=>e.height}px;
21
+ `,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(Z,{active:e,payload:o,barName:r}):null;function xe({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>i.jsx(G,{name:a,animationDuration:h?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=M(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(N,{children:({height:d,width:l})=>i.jsxs(P,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(T,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(K,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(R,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>A("0,0.[00]a",a,s)}),i.jsx(V,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function le(e,o){const r=X(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}const Y=5;function ie(e){const o=W(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,Y-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function E(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>Y){const s=ie(n),d=k(n,(x,y)=>s[y]===!0),l=k(n,(x,y)=>s[y]!==!0),a=Object.keys(l).reduce((x,y)=>x+(l[y].amount?.amount??0),0),h=Object.keys(l)[0],g=v("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??O.currencyCode,currencySymbol:l[h].amount?.currencySymbol??O.currencySymbol}};const p=E(d);return r.push(...p),{label:c,record:d}}const u=E(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},de=j.div`
22
+ width: ${e=>e.width}px;
23
+ height: ${e=>e.height}px;
24
+ `,he=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(Z,{active:e,payload:o,barName:r}):null;function be({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>i.jsx(G,{name:a,animationDuration:h?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(me,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(he,{mouseOverBarName:c})})}const me=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=M(e);return i.jsx(de,{width:t,height:n,children:i.jsx(N,{children:({height:d,width:l})=>i.jsxs(P,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(T,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(K,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(R,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>A("0,0.[00]a",a,s)}),i.jsx(V,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ge(e,o){const r=X(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}export{xe as L,be as k};
@@ -1,4 +1,4 @@
1
- import{d as R,q as Y,O as _,j as o,bZ as F,gh as L,bF as B,cA as H,o as M,aS as K,bH as q,y as A,ct as J,cu as U,cv as W,u as h}from"./index-sAOH0Fje.js";import{b as S,n as s}from"./vendor-Bs1fkIUX.js";import{W as Z,L as G}from"./EntitySummarySection-BRt1kPDf-BrvMzC_z.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={wrapperContainerMarginTop:new A(h[4],h[0]),wrapperContaineHorizontalrMargin:new A(h[0],h[8])},{common:Q,reports:{common:V,aging:{agingDetail:X}},dateFormat:I}=_.getLocalizedStrings();function De(e){const y=R(),d=Y(),{arAgingDetail:r,downloadParams:l,reportDate:t,analytics:a,onReload:n,onBackClick:f,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:j,timezone:v}=l,{fetchState:g,invoices:$,arAgingDetailUIState:P,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:p}=P,[b,z]=S.useState(!1),E=S.useCallback((c,u)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(c,u,t.format(I.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(c,u)},[r.customer,m,a,t]);if(S.useEffect(()=>{async function c(){const u={companyName:l.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:v,reportDate:t};await ee(j,k,u),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(I.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}b&&p!=="In-Progress"&&(z(!1),w("In-Progress"),c())},[k,j,l.companyName,p,b,t,x,D,v,w,i?.id,r.customer,a]),g==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(F,{})}),o.jsx(ne,{children:V.failed})]});if(g==="In-Progress"||g==="Not-Started")return o.jsx(L,{fetchState:g});const O=o.jsx(q,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:p==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(p==="In-Progress"){console.log("Download is already in progress!");return}else z(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:Q.strings.empty,backgroundColor:y.colors.grey5,onBackClick:f,rightSideComponent:O,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(Z,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:d,children:o.jsx(le,{windowSize:d,children:$.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:d,children:o.jsx(G,{uiState:P,invoices:$,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,y,d){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(d)))}`,l=_.getLocalizedStrings(),t=l.reports.aging.arAging.arAging,a=l.download;try{const n=await J({urlEndPoint:r,authParams:y,fileType:"excel"});if(n.ok){const f=U(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,f)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
1
+ import{x as R,q as Y,O as _,j as o,e0 as L,ju as F,dD as B,eU as H,o as b,cM as K,dG as U,y as M,eN as q,eO as J,eP as W,u as h}from"./index-kF4u7Flm.js";import{b as S,n as s}from"./vendor-Bs1fkIUX.js";import{W as G,L as Z}from"./EntitySummarySection-BRt1kPDf-DQbEIQFx.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={wrapperContainerMarginTop:new M(h[4],h[0]),wrapperContaineHorizontalrMargin:new M(h[0],h[8])},{common:Q,reports:{common:V,aging:{agingDetail:X}},dateFormat:A}=_.getLocalizedStrings();function De(e){const y=R(),d=Y(),{arAgingDetail:r,downloadParams:l,reportDate:t,analytics:a,onReload:n,onBackClick:f,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:j,downloadEndPoint:k,timezone:v}=l,{fetchState:g,invoices:P,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:p}=$,[z,I]=S.useState(!1),E=S.useCallback((c,u)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(c,u,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(c,u)},[r.customer,m,a,t]);if(S.useEffect(()=>{async function c(){const u={companyName:l.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:v,reportDate:t};await ee(k,j,u),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(A.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}z&&p!=="In-Progress"&&(I(!1),w("In-Progress"),c())},[j,k,l.companyName,p,z,t,x,D,v,w,i?.id,r.customer,a]),g==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(L,{})}),o.jsx(ne,{children:V.failed})]});if(g==="In-Progress"||g==="Not-Started")return o.jsx(F,{fetchState:g});const O=o.jsx(U,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:p==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(p==="In-Progress"){console.log("Download is already in progress!");return}else I(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:Q.strings.empty,backgroundColor:y.colors.grey5,onBackClick:f,rightSideComponent:O,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(G,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:d,children:o.jsx(le,{windowSize:d,children:P.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:d,children:o.jsx(Z,{uiState:$,invoices:P,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,y,d){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(d)))}`,l=_.getLocalizedStrings(),t=l.reports.aging.arAging.arAging,a=l.download;try{const n=await q({urlEndPoint:r,authParams:y,fileType:"excel"});if(n.ok){const f=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();W(m,f)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:_.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,7 +17,7 @@ import{d as R,q as Y,O as _,j as o,bZ as F,gh as L,bF as B,cA as H,o as M,aS as
17
17
  border-radius: 50%;
18
18
  cursor: pointer;
19
19
  & svg {
20
- margin: ${M.sp5};
20
+ margin: ${b.sp5};
21
21
  color: ${e=>e.theme.colors.grey1};
22
22
  }
23
23
  &:hover {
@@ -26,7 +26,7 @@ import{d as R,q as Y,O as _,j as o,bZ as F,gh as L,bF as B,cA as H,o as M,aS as
26
26
  }
27
27
  }
28
28
  `,ne=s(K)`
29
- margin-top: ${M.sp3};
29
+ margin-top: ${b.sp3};
30
30
  color: ${e=>e.theme.colors.hero};
31
31
  `,ie=s.div`
32
32
  display: flex;