@zeniai/web-cockpit-ui 1.14.36-qa → 1.14.37-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/dist/assets/{ACHDetailsPage-3oKbHC1_-CPH8w5qf.js → ACHDetailsPage-B-YGNgNu-Bmzj5VCx.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Cn2skpeY-CCjJ368o.js → AIPerformancePage-BtD_7Ftm-Dc6s17nv.js} +26 -26
  3. package/dist/assets/{AccountInfoPage-Dxnr3s2C-mYTnutAU.js → AccountInfoPage-BtnzwNNq-dHfnRP44.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CMT1vJ_n-DQ3BhCnz.js → AccountInfoPageContent-B4wK76bm-bje-d7jv.js} +30 -30
  5. package/dist/assets/{AccountLockedInfoModal-2GuYlOQJ-BX3E8P3K.js → AccountLockedInfoModal-4JAQCp4H-oFdcTD1v.js} +4 -4
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cu_lsw9T-BWyP2J7P.js → AccountReconDetailsDrawerPage-Ddi5U4Ae-yt2cu51z.js} +13 -13
  7. package/dist/assets/{AccountRow-BcSPuOPF-Bl8Vk7p2.js → AccountRow-m99usqft-CVwqPSiA.js} +14 -14
  8. package/dist/assets/{AccountsPromoCardStack-Ch88Cvn8-CEnh-d4e.js → AccountsPromoCardStack-D-dhzSE8-DDW4X8m8.js} +30 -30
  9. package/dist/assets/{AddAddressForCardDrawer-Df4OROTJ-roa6Kbp7.js → AddAddressForCardDrawer-Bc7FcxQ9-CPCqNMQu.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DgVLkIkz-DR75t9Mp.js → AddToWalletPage-y4kvtUka-DDEooDf0.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-M1xr5QPt-DIjA9-NT.js → AgingReportsPage-DrNIGwGn-SYUURrNK.js} +15 -15
  12. package/dist/assets/{AllUserItems-CzMARJS5-Dr-Osj3i.js → AllUserItems-B7zg_GaP-Be7aIkSs.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-C3YN724_-8hos2jUo.js → ApAgingDetailPage-DnnUrY0w-YKhaNkmF.js} +3 -3
  14. package/dist/assets/{AppBasePage-CP4BX_QO-DtNH4Uku.js → AppBasePage-Bk7AUQvW-DewGDFAI.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-Dc3UorVz-B203bUTM.js → AppDrawerContent-BoIqLCcg-DSqSJb6O.js} +8 -8
  16. package/dist/assets/{ApprovalRulesSettingsPage-DHw_cGEb-FeAB5p5Z.js → ApprovalRulesSettingsPage-C9F_rLkj-CMuUFv_Y.js} +1 -1
  17. package/dist/assets/ArAgingChart-DIwVIc---JSQnHbrf.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BU6gubOU-Cwybk5ti.js → ArAgingDetailPage-DxW2xm-N-C3cyEzON.js} +1 -1
  19. package/dist/assets/{AttachmentView-Cjq9bT2R-ChfqxVCP.js → AttachmentView-BlhBiGC5-BQVXVdi4.js} +6 -6
  20. package/dist/assets/{BankAccountSection-DcBAe_nk-BDZiyC0N.js → BankAccountSection-A8IfSLFo-DZ6IsEkG.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-CgdNj2lq-DYMBafFn.js → BankAccountWarningSection-DFi3iK9n-Bwv6p1-d.js} +19 -19
  22. package/dist/assets/{BankConnectionsSettingsPage-DN-l_MKN-D93nWaHf.js → BankConnectionsSettingsPage-CKGG85vp-aivbIsnx.js} +10 -10
  23. package/dist/assets/{BillDetailPage-DSNj9dZa-DtxuLV4-.js → BillDetailPage-BOVwHvyV-BfaeR7sU.js} +11 -11
  24. package/dist/assets/BillPayApprovalRuleDetailPage-BVdiHMjx-H3-_-QUF.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-3E7Zb7Tv-DCFzCAOs.js → BillPayApprovalRulesPage-Dl45oEp5-Bp4yjfcf.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-iqi-3PsJ-DMCZpJDo.js → BillPayPromoPage-CEX8Udbv-Bz1WZJJS.js} +32 -32
  27. package/dist/assets/{BillPaySetUpPage-DkBnCNVT-CNLCohDg.js → BillPaySetUpPage-CSfEFV18-C8fnmfrq.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-Bxl_rTxp-Dt1R5WU3.js → BillingSettingsPage-hu1pz4dA-DIqnmxGS.js} +4 -4
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BAQfge2H-D02R2KEO.js → BillsBulkReviewDrawerPage-DIY4Aa7i-DWQniSAN.js} +1 -1
  30. package/dist/assets/{BoxItem-BiXktaUJ-Dx4UpZnl.js → BoxItem-BnivUbj--D0CHtSbc.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BvtQdbIO-C-4HEjnu.js → BusinessVerificationPage-BZB4KFum-B7vFGHC7.js} +7 -7
  32. package/dist/assets/CardNumberSubText-CIysZ6zp-BeRdb8DH.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-CKSxtvZL-DMy_1ncD.js → CashbackDetailPage-C-MPq54h-Di99A_id.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-Dwb3MwPx-Cyo9oIdd.js → ChargeCardDetailPage-CGyuANsu-BXb0v708.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-CQ3lUqTC-mqawFLzr.js → ChargeCardListPage-BbzjzgAv-D6IqTZDO.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-B2MUmgfU-D_shYqbL.js → ChargeCardListTable-D-wd0edv-Ccs8wgch.js} +14 -14
  37. package/dist/assets/{ChargeCardPromoPage-DNZ_qrk1-DBSQWDn9.js → ChargeCardPromoPage-Cs-Xlghn-TDUeeTRa.js} +14 -14
  38. package/dist/assets/{ChargeCardSetupPage-DX4VlcBt-D2BsEuJx.js → ChargeCardSetupPage-CfCGkFxz-Ba3kpJjD.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DlVfCfY8-DacvUnhN.js → ChargeCardStatementsPage-Jc6k_2Gg-C9xm6yF8.js} +6 -6
  40. package/dist/assets/ChargeCardUtils-Vw0LoIey-LQKRCzhH.js +1 -0
  41. package/dist/assets/{ChaseOverlay-DYQYE0RM-BNyyunYf.js → ChaseOverlay-Cm-3BKNK-ByPesCFg.js} +8 -8
  42. package/dist/assets/{CheckDepositDrawerPage-C653BICE-kqu99eF3.js → CheckDepositDrawerPage-BAwg3duC-unpJ_-VW.js} +11 -11
  43. package/dist/assets/{CollapsableReportTable-KGZROyWO-Db0w9Rdn.js → CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-WlKm-fM0-BGoXAhO_.js → CompanyOfficerDetailsSection-_m4C7Xgf-B3wASBKA.js} +30 -30
  45. package/dist/assets/{CompanyPassportCard-BXQt77bL-75HeNLig.js → CompanyPassportCard-BiuPML3b-oaTBtIaM.js} +5 -5
  46. package/dist/assets/{CompanyPassportPage-CdM9x1g7-CU7hHuy1.js → CompanyPassportPage-BHf1pHbJ-Buj_TW7B.js} +29 -29
  47. package/dist/assets/{CompleteProfile-g0ErQlZA-CH_f-t16.js → CompleteProfile-DKEFybHA-C1kFizxR.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-Cu0ce9ZQ-B-O04vC2.js → ConfettiBurst-BvcmPG2b-ZMa2QlEG.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Zn--1Mu0-D9gWbjtv.js → CreateOrEditVendorPage-EpWC9Uuv-Dc0tZPg8.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BSS4YcVE-CgX6IwV-.js → CreditCardPaymentDrawerPage-DI-za1T2-bRyqVvzT.js} +19 -19
  51. package/dist/assets/{CreditCardPaymentPlgSection-QKLSnyR5-CcwitUra.js → CreditCardPaymentPlgSection-BGu0Am-e-aYbEN-hH.js} +8 -8
  52. package/dist/assets/{CurrencySelectField-DxrwSaJK-CtUHanPt.js → CurrencySelectField-DL628Rog-Bmtvp9OQ.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-BbfI4g9k-BQ3KiLNv.js → CustomerOnboardingActivationPage-DzuWnPaH-_LvR1atL.js} +2 -2
  54. package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-B0ZyZA5y.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyIeAi4x-sDf2KJmg.js → CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BvbC0CJP.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BbHZQvuH-Cs54P_au.js → CustomerOnboardingNoStepsPage-CSI_jqkM-BvTSxYdS.js} +2 -2
  57. package/dist/assets/{CustomerOnboardingPage-BGKjRruK-l9abCt_I.js → CustomerOnboardingPage-CuS2FfSh--tD5QTKd.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Cmwfbh1x-CqTz3Oek.js → CustomerOnboardingProductSuitePage-B4HtoU9G-k9fDWiOr.js} +1 -1
  59. package/dist/assets/{Dashboard-DCbGYUNO-Ba0gdUJ8.js → Dashboard-bFhMc4h1-CwTlVIc3.js} +114 -114
  60. package/dist/assets/{DashboardReportPage-7sacscjb-DQsdps8x.js → DashboardReportPage-B1pKZHaH-C002ABtg.js} +19 -19
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CcQR2lMq-CdazmDjf.js → DashboardSidebarBackgroundAnimation-CLaTbvuZ-DTILeRgb.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-u7kiVxu3-kPzkE3jM.js → DepositAccTransactionItem-DnzXR7B4-BzeCDAAx.js} +3 -3
  63. package/dist/assets/DepositAccTransactionListPage-C0F0N3XK-CpXVyO43.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-CjliTPRp-DDFMQRln.js → DomesticWireDetailsPage-BS3N4ATj-Z9M0LUQc.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-LzyYQ7X7-C1kfy2nO.js → DownloadOverlay-yXed0RbK-CILknCuS.js} +1 -1
  66. package/dist/assets/{DrawerPage-DVu3OGym-CoS-_2wf.js → DrawerPage-LV8__F8R-DnqAUVKa.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-COZuksUu-COZ99MkR.js → EditPeoplePage-GBNK0lo_-DOfo7pqS.js} +5 -5
  68. package/dist/assets/{EditReimbursementDetailPage-P7gybbTe-DoN5gC4Y.js → EditReimbursementDetailPage-COApDpVm-BQmgcdfZ.js} +59 -59
  69. package/dist/assets/{EntityDetailPage-CMAFiXng-5jgc6gJM.js → EntityDetailPage-DdZmhyPX-DWJHl4Bk.js} +2 -2
  70. package/dist/assets/{EntitySummarySection-BezHSTT7-44jzqjl2.js → EntitySummarySection-Cn7rnQeI-CBO7wVuQ.js} +5 -5
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CX5wpbbp-BFiisz1L.js → ExpenseAutomationOverviewPage-ipXT_MCO-bp6l5ftT.js} +17 -17
  72. package/dist/assets/ExpenseAutomationPage-BXyGtnBz-BNGaSmRn.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-KpzY-AC4-MUf8Bliz.js → ExpressPayPage-C0J3X657-nQamsxue.js} +9 -9
  74. package/dist/assets/{FeaturePreviewPage-T7VgNi57-DfDILGAW.js → FeaturePreviewPage-lIDKDiwy-ByXy-FSZ.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-BffVXexb-D3pEbTc3.js → FollowStepsSection-CtCRMD2R-CbwNNmmr.js} +23 -23
  76. package/dist/assets/{GlobalReviewListPage-DPJug-7p-Dl-cd64S.js → GlobalReviewListPage-DXPuMshX-BcxIk4p1.js} +14 -14
  77. package/dist/assets/{HelpButton-BkxT0f9t-BbQSDGRC.js → HelpButton-Dmp2RZDD-B2Rab4OD.js} +4 -4
  78. package/dist/assets/{InformationCardStack-CiO7p4bX-Do2a1fQI.js → InformationCardStack-bpQXbFWJ-Cm38YEZv.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-CCx4eRv0-CLWY9RSw.js → InsightsCardStack-BzyYnnH_-BColy9W-.js} +9 -9
  80. package/dist/assets/{InsightsSection-CQRpIy9c-Cv1jNfx6.js → InsightsSection-BVjjBkzp-DdtTOhLh.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-CDHIF3ky-DtZ5IA9g.js → IntegrationsSettingsPage-DjMaGIv9-C8FJSTfl.js} +3 -3
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BTB0YTLP-n6XtyIV1.js → InternationalWireSwiftDetailsPage-DXYaOaYh-D23V0HqY.js} +13 -13
  83. package/dist/assets/{InternationalWireVerificationPage-DZAa5CXK-DbY47A1b.js → InternationalWireVerificationPage-yPrzoGA9-BxdDeF-a.js} +10 -10
  84. package/dist/assets/{InviteFormPage-CVIA_4cc-eg7gJ7Ox.js → InviteFormPage-xQ6xN_gt-BMpnhTIU.js} +20 -20
  85. package/dist/assets/{InvitePageListView-BapkK9dR-BVEYyyQ6.js → InvitePageListView-BmkX934z-BfZaFs-7.js} +40 -40
  86. package/dist/assets/InvitePeoplePage-BxxEjVs5-CabY1R7G.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-CfoxMKse-CDjglzly.js → InvoiceUploadSection-BxfSI49h-Brw0wgV3.js} +6 -6
  88. package/dist/assets/{IssueChargeCardPage-DoNxoxCV-CmM-tr_7.js → IssueChargeCardPage-ByK_ayX6-rSu6Sks_.js} +22 -22
  89. package/dist/assets/{LabeledAddressValue-DzKLuwO0-DH63jMra.js → LabeledAddressValue-Bk-opSoh-CfhrR6VE.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-RFI4bpOj-V_HSBjtL.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-BsXmJGaz-sGVdJyTH.js → LabeledControlledCheckBoxField-DtVQoSev-CxGQ4PV5.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CNcoKtBi-Bc2UKXaN.js → LabeledCreatableSingleSelectField-BFmP_-GA-Dc6F7WMx.js} +2 -2
  93. package/dist/assets/{LabeledDocumentField-DB-XX9hy-mKhff6Yn.js → LabeledDocumentField-CyW3tPI--BGc7rzmx.js} +3 -3
  94. package/dist/assets/{LabeledDropDownFormattedTextField-ChF-tfZl-DZO5Gtru.js → LabeledDropDownFormattedTextField-_b5VDmOJ-XXRUXuQU.js} +3 -3
  95. package/dist/assets/{LabeledText-DQjY46zj-up0sQhsW.js → LabeledText-Bc8QavrT-DRMQG5Fd.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-oTL0jcAw.js → LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-Bf2C7jq-.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField-qeHXm7K1-C_80YZK_.js → LabeledZeniRolesDropDownField-BqlbDyA1-Z63nBo8a.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-DWq96C-C-DRgB8kQY.js → LinkJETransactionPage-DE8ch_W7-BbSoAkGH.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-DIu4EJtv-rczMO9N_.js → LowBalancePopup-DWXEyi2S-BS-B0i1n.js} +4 -4
  100. package/dist/assets/{MagicLinkACHDetailsPage-0uTQmYPp-BzrnVjRN.js → MagicLinkACHDetailsPage-CJ57XAxp-B8DWH8Pe.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CtkSDg_U-DAUSWNXX.js → MagicLinkDomesticWireDetailsPage-Ba1gbLAX-C3b71Pt2.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-qNEvVVcm-BLVdFllq.js → MagicLinkInternationalWireDetailsPage-U3ygf3uO-B8lQWMEo.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D4C3XF4W-CxC7T2yq.js → MagicLinkSuccessPage-CGjxH6Hl-BGgftVAk.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DXZCLfIM-Kc9li2Mz.js → MagicLinkTitleSection-Dzfctx8H-BBKMnm9G.js} +9 -9
  105. package/dist/assets/{MailingDetailsSection-7_w5PfFQ-l-Ms2dZv.js → MailingDetailsSection-N-M1JzkW-CJwTbRpR.js} +6 -6
  106. package/dist/assets/{MeetingCalenderPopup-2P6uhLqh-Bv6Y7JYF.js → MeetingCalenderPopup-BJgsd-6e-BVSiedfG.js} +1 -1
  107. package/dist/assets/{Menu-Ya9EH9T1-PA0M0_dJ.js → Menu-DCl4YiCd-B0YQHXqY.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-Bz9BP12B-DFEjaiEQ.js → MyBankConnectionsSettingsPage-BZP3Dbes-DmpNjSAQ.js} +11 -11
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-BxFFCBYU-J7pq_dIc.js → MyPendingActivationChargeCardListPage-Cc8Onh73-CbDOi7oK.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-BRTEYBf1-CImsulwL.js → MyProfileSettingsPage-7YrgIr-M-ZiI_qPOd.js} +11 -11
  111. package/dist/assets/{NavBarWithPicker-Cx1ldzdT-DvbtCcQI.js → NavBarWithPicker-Bbu7_9sU-Drz87Xca.js} +4 -4
  112. package/dist/assets/{NavigationArrow-Cic_S7sL-ckG0aVUi.js → NavigationArrow-DNJkGq5e-CFURJ7Q6.js} +1 -1
  113. package/dist/assets/{NavigationDots-BnqdhDar-Cev6ZyTd.js → NavigationDots-BDhrBzmw-D1HC0qJi.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-BMLnV68V-BCfbjcR4.js → NewGlobalMerchantPage-DSyitl-a-Cmd_Uf-_.js} +11 -11
  115. package/dist/assets/{NoDataChart-CyIzcvzb-Dem0-EFr.js → NoDataChart-Bww-GG_z-Bc_skb_f.js} +3 -3
  116. package/dist/assets/{NoDataTable-Cf9Qv-ms-CRyA81-u.js → NoDataTable-DRSEE7HT-D9jhDjAA.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BP2jA51O-CIcxo9pO.js → NotFoundPage-BepvWGxk-DxNfmeBZ.js} +4 -4
  118. package/dist/assets/{NotificationSettingsPage-Bhj72XzL-DVOSzeQy.js → NotificationSettingsPage-CR6XVZlL-wDdA0j9g.js} +17 -17
  119. package/dist/assets/NotificationsListConfig-CBjTcLzj-jvVy89VO.js +1 -0
  120. package/dist/assets/{NotificationsPage-DEQ0muyV-Bv0NHOnt.js → NotificationsPage-BgUc61wf-BZgONaPK.js} +29 -29
  121. package/dist/assets/{OpExByVendorPage-BPvIdjMh-TNiWMr5D.js → OpExByVendorPage-BkgsQ4lY-7o0GC3_0.js} +6 -6
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo--5yg6Tax.js → OverlayContainerPage-Bmu909Fo-C009NgjC.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-CgMYDel--CkSNRDaI.js → PandLWithForecastPage-B0pUD9U8-DO8PheB4.js} +6 -6
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CfUpfrt6-BW_SKK1b.js → PaymentAccountSetupBillingAddressSection-YvYPpyzH-C8eu7aCq.js} +12 -12
  125. package/dist/assets/{PeoplePage-BrL4O-03-DC4TJAlL.js → PeoplePage-mobCML9r-CoCd3iyK.js} +18 -18
  126. package/dist/assets/{PortfolioAllocationFormPage-C24sa7Lv-CS9exMuD.js → PortfolioAllocationFormPage-CB9lfs6z-DLoszR7s.js} +7 -7
  127. package/dist/assets/{PortfolioDetails-wAtPiO4w-DtXhftWz.js → PortfolioDetails-zYYGkoC--vz6_lm4y.js} +23 -23
  128. package/dist/assets/{ProductsCarousel-B8KxzJsX-D-U3TnaP.js → ProductsCarousel-B4zdUn5q-DoM0qjnT.js} +5 -5
  129. package/dist/assets/{PromoBaseCards-DKu8lmMb-BIMtIVy2.js → PromoBaseCards-CgGg3lpk-Dz6RYIDW.js} +3 -3
  130. package/dist/assets/{QBOConnectionDialog-CSRVcpvB-C3IWq6r8.js → QBOConnectionDialog-BBVBEJWA-dgJxEpfC.js} +9 -9
  131. package/dist/assets/{QBOSetupSection-CwO2OwTA-lgs-jkrv.js → QBOSetupSection-pBOQk_mE-Dd7Gnjqf.js} +10 -10
  132. package/dist/assets/ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-BX6Ge_l2.js +26 -0
  133. package/dist/assets/{ReimbursementApprovalRulesPage-CWZIqbqf-BTn_SLR-.js → ReimbursementApprovalRulesPage-D7LTvUrz-DlssbBj8.js} +32 -32
  134. package/dist/assets/{ReimbursementDetailPage-DaiOed8i-DwZH8KtK.js → ReimbursementDetailPage-CbgWCawo-C7_BdWis.js} +8 -8
  135. package/dist/assets/{ReimbursementPromoPage-CTpCa9C7-DXsIPlPa.js → ReimbursementPromoPage-DmV5eoIo-DOkiivOI.js} +6 -6
  136. package/dist/assets/{ReimbursementSetUpPage-Cd0w6zdZ-DGtqM3KM.js → ReimbursementSetUpPage-kAlaG5Ag-CleK9Kyi.js} +3 -3
  137. package/dist/assets/ReimbursementsBulkReviewDrawerPage-70qXVn3v-C1moxDIU.js +1 -0
  138. package/dist/assets/{ReloadCard-D8XT-nw--BV8bnUyY.js → ReloadCard-DoOxxK_q-CpkIPzoZ.js} +5 -5
  139. package/dist/assets/{ReportTableViewSelector-kf12PTIw-DworDG8i.js → ReportTableViewSelector-7OJVsL-G-DHAAlp0N.js} +10 -10
  140. package/dist/assets/{ReportsPage-D0dEACVc-DgIJNvPU.js → ReportsPage-29ims7Ks-DeqwxbGw.js} +9 -9
  141. package/dist/assets/{RevenueChart-D67Egnoj-BPCWUSxJ.js → RevenueChart-CLtUUYr5-BiKK-4fc.js} +14 -14
  142. package/dist/assets/{ReviewDetailsPage-DX3JdY2D-D3dyGngD.js → ReviewDetailsPage-DNDzoyA5-DEPI6irg.js} +5 -5
  143. package/dist/assets/{ReviewOverlay-BUmIoEZp-D2ymNLjK.js → ReviewOverlay-VleZWRhn-92ozUwMn.js} +4 -4
  144. package/dist/assets/{RoleWithToolTip-QUDWRgyn-CpllGBka.js → RoleWithToolTip-DsEos8I_-DRhh0Kxb.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-ffFbqWqR-CjimSP3l.js → ScheduleDetailsFixedAssetsPage-Cv84NP5--DgtnhyGw.js} +4 -4
  146. package/dist/assets/{ScheduleDetailsPage-Btyinpxx-BEc7XiII.js → ScheduleDetailsPage-D4IKW5z6-Dgpd_Bt3.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-nubG9ZPF-BREfUXr4.js → ScheduleSequenceTable-qHcZL82y-hvYO0uf8.js} +17 -17
  148. package/dist/assets/{ScreenRoutes-Dgea21fw.js → ScreenRoutes-BMiRN1n5.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-CjOOpWa2-DlvlGnwo.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-D54P9sLQ-BDnsJt2v.js → SetUpDefaultSection-Ax1FuH_A-CyAf_lFy.js} +9 -9
  151. package/dist/assets/{SignIn-DQERofSd-oBlnYa-P.js → SignIn-Bj2czf21-DLn_5Hl2.js} +11 -11
  152. package/dist/assets/{SignInScreen-B2EaGJl8.js → SignInScreen-EkV2uFui.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B9iJVZhK-CRCiUJ6M.js → SpendManagementListViewPage-7oQurX8D-Btm2dsFE.js} +10 -10
  154. package/dist/assets/{SpendManagementPerTabPage-DiduNPFx-D9oqLhbJ.js → SpendManagementPerTabPage-DG8qRSeQ-DkldK9oK.js} +12 -12
  155. package/dist/assets/{SpendManagementSection-BPJDk9AQ-DYJYXq75.js → SpendManagementSection-CzGLKJ01-CMEY5Je9.js} +5 -5
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BVOwbOVv-DBEGxYJg.js → SpendMgmtSetupAccountSection-BSuY_zqo-DgJtGLqh.js} +6 -6
  157. package/dist/assets/StatementItem-teWYG-k5-DINRmcX_.js +31 -0
  158. package/dist/assets/{StatementsPage-BzG0fWr9-C2WmykTu.js → StatementsPage-Kqug4TjC-i8j_G7aT.js} +6 -6
  159. package/dist/assets/{StatusSwitcher-aZiGS6I4-SJleRIpV.js → StatusSwitcher-BXzanE6h-DMj6aTv0.js} +4 -4
  160. package/dist/assets/{SubTabSwitcher-BPzCR9_G-BHHHtmm3.js → SubTabSwitcher-Dc78MPYF-BBOjByHP.js} +1 -1
  161. package/dist/assets/{SummaryCard-DE3DiW4z-Ob-uwEAE.js → SummaryCard-DDpG4vry-B5U4mOGE.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-bmYzZzlx-CIXVz4DA.js → TaskManagementPage-DQXNMGNK-CKRAR0zh.js} +14 -14
  163. package/dist/assets/{TimeRangeSwitcher-D10b_iT0-jUwxoenx.js → TimeRangeSwitcher-BQL2dhVh-BEcsPUsE.js} +3 -3
  164. package/dist/assets/{TimeframeSwitcher-w4308CL0-DnYzOk2-.js → TimeframeSwitcher-CXvrXTdI-C26WdHZR.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DP7dCTZ--DkJE5OK1.js → TimeframeSwitcherWithToggle-C_hQ5Vj--Bx-1-ivl.js} +1 -1
  166. package/dist/assets/{TopExCard-C9Dwe5gi-LPUiisav.js → TopExCard-CmajFYfY-r8AKz4at.js} +6 -6
  167. package/dist/assets/{TopExDetailPage-Ch4gEAFc-jqF5sDN8.js → TopExDetailPage-DNfBQfSC-C7SERVmo.js} +14 -14
  168. package/dist/assets/TransactionDetailPage-DZPHVxna-gW9ty_N8.js +912 -0
  169. package/dist/assets/{TransactionList-Dy4LSOLF-B2cK80Yz.js → TransactionList-DifBTNrV-XDxlPwJi.js} +5 -5
  170. package/dist/assets/{TransactionListBig-BOmqcsRt-D39HjkKA.js → TransactionListBig-Bjmt3Xib-2_W_aEC_.js} +13 -13
  171. package/dist/assets/{TransactionListPage-D1XobIP_-DbIWZvtt.js → TransactionListPage-CpFiD4Aw-CR2PsPHW.js} +4 -4
  172. package/dist/assets/TransactionVendorDetailPage-BSZ4IBis-BYhm_gdm.js +80 -0
  173. package/dist/assets/{TransferDrawerPage-DEK-tLwC-BhvXBxPn.js → TransferDrawerPage-CiGIqLHQ-D46lOtpY.js} +19 -19
  174. package/dist/assets/{TreasuryOverviewPage-Bv8YOcOu-C7TfPiOx.js → TreasuryOverviewPage-C21g82G6-DYbFAWwM.js} +45 -45
  175. package/dist/assets/{TreasuryPromoPage-BpJ4G2tW-DW2PWamd.js → TreasuryPromoPage-lNMQil_1-N_uS5Aq-.js} +21 -21
  176. package/dist/assets/{TreasurySetupPage-DmXhUnJ2-Cr-EQ97Y.js → TreasurySetupPage-CHjK0p7r-CRu0aFPY.js} +2 -2
  177. package/dist/assets/{TreasuryStatementsPage-iOhX7bQX-BrrdMHEz.js → TreasuryStatementsPage-CKAdFoHY-CmvodGfK.js} +3 -3
  178. package/dist/assets/{TreasuryTaxLetterPage-SKYFef4J-CF457mMz.js → TreasuryTaxLetterPage-DPdcmb53-THnCfe4J.js} +3 -3
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BAQy6UbF-BsouYAgP.js → TreasuryTransferOrReviewPage-DmGpNvWn-BuegZV7_.js} +42 -42
  180. package/dist/assets/{TrendChart-DrNmAOxp-CpCLfpDT.js → TrendChart-BJF_aBUS-9NcnnooQ.js} +4 -4
  181. package/dist/assets/{TrendWithTransactions-CFapbjqF-Br032y4x.js → TrendWithTransactions-DXSMdecG-qeajZlKV.js} +5 -5
  182. package/dist/assets/{UncategorizedAccountsMappingPage-BjyEIyD--CJ52UqmE.js → UncategorizedAccountsMappingPage-DMiXdRb9-CRgBjITM.js} +15 -15
  183. package/dist/assets/{UnitIntegrationPage-CMRuNXKH-CCL29gsJ.js → UnitIntegrationPage-Dqakwr1P-QWF0IWfi.js} +2 -2
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-BJNFsBN7-BRmVDWYA.js → UploadAdditionalDocumentOverlay-DOy8Wvxm-COI977Ym.js} +2 -2
  185. package/dist/assets/{Vendor2FAPopup-Dk_XUHkP-B8kBbJMI.js → Vendor2FAPopup-DR_Uif4s-CCjiwhTD.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-DS1-IldK-9pon97Cr.js → VendorACHDetailsPage-_nmRyuvM-BAqZ8tTf.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CzECD1Tt-BN9kblu_.js → VendorDetailPage-DYhBGXTe-B5kyd9_T.js} +8 -8
  188. package/dist/assets/{VendorDomesticWireDetailsPage-Bd-dOP2Q-CLGAbLU-.js → VendorDomesticWireDetailsPage-OzrrojiZ-CWHL3BiA.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-C7D_fWCV-Bw_MeqVp.js → VendorFiling1099EditablePage-C6i7dipR-DmIuqd6b.js} +14 -14
  190. package/dist/assets/{VendorFirstReviewPage-B4YffYJO-FqqXdwEH.js → VendorFirstReviewPage-DrelrPYn-CtZKswhg.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireDetailsPage-D1i4RwUe-FAsqO0N8.js → VendorInternationalWireDetailsPage-BglZ4_v2-DWh5FNhJ.js} +7 -7
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-QqA8DADQ-BBMTCc4u.js → VendorInternationalWireSwiftDetailsPage-MKHHcDL4-D4F7IynK.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-C8qo0vKx-DHEG4Ulc.js → VendorsAccountsSection-COwLgrG_-BeiJbKgP.js} +2 -2
  194. package/dist/assets/{VerifyDevice-Cku9_tdW-DHMIA102.js → VerifyDevice-FO7331hS-BHG8lbd_.js} +1 -1
  195. package/dist/assets/{VideoPlayer-DqxblGWn-CC-4yIuC.js → VideoPlayer-C7GWTYSG-C3qJA87L.js} +1 -1
  196. package/dist/assets/{VideoPopup-8253nBrT-C3Ehghs3.js → VideoPopup-CB0BXhOA-BgnE8vln.js} +5 -5
  197. package/dist/assets/{WarningsDrawerPage-B08Au4yQ-DzAdN-8l.js → WarningsDrawerPage-B081ksn8-BvnCWJxm.js} +7 -7
  198. package/dist/assets/{ZeniAccountDetailPage-Dx-w2w6D-B6oW0HxJ.js → ZeniAccountDetailPage-Bbx7ge3Z-BwrSFwiV.js} +16 -16
  199. package/dist/assets/{ZeniAccountListViewPage-DH4BnQ7k-BNii6Mpd.js → ZeniAccountListViewPage-CgOxwjk1-Cy-Kh2JX.js} +13 -13
  200. package/dist/assets/ZeniAccountNavBarPieces-BkN8_5Zi-BtKjHrnJ.js +14 -0
  201. package/dist/assets/{ZeniAccountPromoPage-D4J2Yoil-tLr0vhWS.js → ZeniAccountPromoPage-DrMHkTuM-DZxJwu1v.js} +9 -9
  202. package/dist/assets/{ZeniAccountSetupPage-DTkO1ASr-DqUJFMW_.js → ZeniAccountSetupPage-BCpKadR1-BZqzR_uG.js} +3 -3
  203. package/dist/assets/{ZeniCopyright-BiSq0yhI-CxxSPrfu.js → ZeniCopyright-juRAWlbw-DJRbuiIq.js} +1 -1
  204. package/dist/assets/ZeniTransferAmountSlider-BtI1L6UN-f_1E8Iwf.js +63 -0
  205. package/dist/assets/{analyticsHelper-B0gC8iX8.js → analyticsHelper-Bgft_1pJ.js} +1 -1
  206. package/dist/assets/{analyticsHelper-Dc3DtVTm-BSgNWv9S.js → analyticsHelper-DQQo4LQc-Dpi2pZTl.js} +1 -1
  207. package/dist/assets/{chartTypes-C7uaeRCc-CF1IJ0Zr.js → chartTypes-eqxFaFS5-B43Gm107.js} +1 -1
  208. package/dist/assets/{commonDimensions-MaxjMSVa-DDS6Yz-X.js → commonDimensions-C2hbzHZW-OFUCUhbG.js} +1 -1
  209. package/dist/assets/{detailCommon-OK9JA2hc-D4iEvwhr.js → detailCommon-fC811KkH-D6H3c8Ux.js} +6 -6
  210. package/dist/assets/{downloadPdf-QtapKpnq-DihLy_-C.js → downloadPdf-CgcD1OYw-ZvBiL7F-.js} +1 -1
  211. package/dist/assets/{index-DHx5ymlr.js → index-Du1ejFtI.js} +3415 -3415
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-pvoDlh5w-C7nLUjSw.js → mapLoadingInProgressToTreeNode-CM7N02af-DstULqSu.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CVUpGQKE-BV5TzbPA.js → mapSectionWithAcOnlyToTreeNode-MzhgtFpc-aX7osQA1.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-P_HzYMUQ-Kk9cgUyq.js → mapSpacerToTreeNode-C7hklF---Dg7CM6wp.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-CB6RE8w9-D9jDxGg8.js → mapTimeframeBalancesToTreeNode-CEJ9v-Q3-B6zmleAa.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-B8xJouuF-CcCEjtJw.js → mapTimeframeBalancesToTreeNode-D36HLTqR-CiOqATy_.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-B059Dtrr.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-Diyt9jMU.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-JkvOa9nR-BYwMYYAo.js → toCOABalancesWithID-DCFbumLL-BUL3FzIP.js} +1 -1
  219. package/dist/assets/{toChartData-CEfu5Lvp-DjmLr2R6.js → toChartData-Dh9v_zba-IkjT0Y7p.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-Bvcahv9r-BlMw_nJe.js → treasuryColorHelper-ZXa62meg-C9-TrKv9.js} +1 -1
  221. package/dist/assets/{uploadAttachment-DNrYcaTL-Cholr_W4.js → uploadAttachment-DOhn3y-C-AUYll2HA.js} +14 -14
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-ArZe3dEq.js → uploadReceipts-dxsKhm9I-Cdyoe2Us.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +4 -4
  225. package/dist/assets/ArAgingChart-D6396NAQ-D9EGzoVz.js +0 -24
  226. package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-D5SkQUAQ.js +0 -27
  227. package/dist/assets/CardNumberSubText-usoiubBx-QXbkZUhG.js +0 -21
  228. package/dist/assets/ChargeCardUtils-i4In9Us5-C9THFfoq.js +0 -1
  229. package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-CKyWwY0E.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CpgQjnLH.js +0 -66
  231. package/dist/assets/ExpenseAutomationPage-CaeVli6J-D_RBOInw.js +0 -1650
  232. package/dist/assets/InvitePeoplePage-ChM26gAd-tkyY1YVT.js +0 -12
  233. package/dist/assets/LabeledAddressValueField-C-fJPbDr-si3fj6mD.js +0 -45
  234. package/dist/assets/NotificationsListConfig-BcRqz3T--_kCrOUBW.js +0 -1
  235. package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-B-JT-bmK.js +0 -26
  236. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-Bw_bWRdV.js +0 -1
  237. package/dist/assets/SetUpAccountSection-C9PPpmcc-BwjqbpIO.js +0 -378
  238. package/dist/assets/StatementItem-DPiBruWm-BYcMr1Ax.js +0 -31
  239. package/dist/assets/TransactionDetailPage-y3Jwxln6-XqloTW5v.js +0 -912
  240. package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-BUiP7F5k.js +0 -80
  241. package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-aolww07f.js +0 -14
  242. package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--DoQjJC_n.js +0 -63
@@ -1 +1 @@
1
- import{W as a}from"./CollapsableReportTable-KGZROyWO-Db0w9Rdn.js";function r({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:e,data:n,numOfBalances:n.length},config:t}}}export{r as d};
1
+ import{W as a}from"./CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js";function r({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:e,data:n,numOfBalances:n.length},config:t}}}export{r as d};
@@ -1 +1 @@
1
- import{W as m,x as N}from"./CollapsableReportTable-KGZROyWO-Db0w9Rdn.js";import"./index-DHx5ymlr.js";function D({calculatedSection:t,numOfBalances:c,title:n,isLastNode:i,config:r}){return{children:[],id:m("calculated_section",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section",title:n,data:t,numOfBalances:c},config:r}}}function B({account:t,numOfBalances:c,title:n,config:i,parentNodeIDs:r,ancestorMetadata:e}){return{children:[],id:m("ac_subentity_total",r,t.account.accountId),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:n,data:t,numOfBalances:c,metadata:e},config:i}}}function g({account:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o={children:[],id:m("ac_subaccount",l,t.account.accountId),isLastNode:r,reportElementData:{element:{kind:"ac_subaccount",title:i,sectionType:c,metadata:s,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.children),d=a.map((u,p)=>g({account:u,sectionType:c,numOfBalances:n,title:u.account.accountName,config:e,isLastNode:p===a.length-1,parentNodeIDs:l,ancestorMetadata:{subAccountAncestorMetadata:[...s.subAccountAncestorMetadata,{depth:u.id.length-1,hasSibling:a.length>1,hasChildren:u.children.length>0,isLastNode:p===a.length-1,name:u.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return o.children.push(...d),a.length>0&&o.children.push(B({config:e,account:t,numOfBalances:n,title:t.account.accountDescription,parentNodeIDs:l,ancestorMetadata:s})),o}function L({acGroup:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l}){const s=m("ac_group_subaccount",l,t.accountGroupId),o={children:[],id:s,isLastNode:r,reportElementData:{element:{kind:"ac_group_subaccount",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts);return o.children=a.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountDescription,config:e,isLastNode:u===a.length-1,parentNodeIDs:[...l,s],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:a.length>1,hasChildren:d.children.length>0,isLastNode:u===a.length-1,name:d.account.accountName}]}})),o}function A({classNode:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o=m("class",l,i),a={children:[],id:o,isLastNode:r,reportElementData:{element:{kind:"class",title:i,data:t,metadata:s,numOfBalances:n},config:e}},d=s.classAncestorMetadata!=null?s.classAncestorMetadata:[],u=t.children.map((h,f)=>A({classNode:h,sectionType:c,numOfBalances:n,title:h.class.className,isLastNode:f===t.children.length-1,config:e,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[...d,{depth:h.id.length-1,hasSibling:t.children.length>1,hasChildren:h.children.length>0,isLastNode:f===t.children.length-1,name:h.class.className}]}})),p=t.class.accounts.map((h,f)=>g({account:h,sectionType:c,numOfBalances:n,title:h.account.accountName,config:e,isLastNode:f===t.class.accounts.length-1,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:t.class.accounts.length>1,hasChildren:h.children.length>0,isLastNode:f===t.class.accounts.length-1,name:h.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return a.children.push(...p),a.children.push(...u),a}function y({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=t.classes.map((a,d)=>A({classNode:a,sectionType:c,numOfBalances:n,title:a.class.className,isLastNode:a.isLeafClass,config:e,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:a.id.length-1,hasSibling:!1,hasChildren:a.children.length>0,isLastNode:d===t.classes.length-1,name:a.class.className}]}}));return s.children.push(...o),s}function b({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(t.accountGroups),a=o.map((d,u)=>L({acGroup:d,sectionType:c,numOfBalances:n,title:d.accountGroupName,isLastNode:u===o.length-1,config:e,parentNodeIDs:[l]}));return s.children.push(...a),s}function T({sectionWithAcOnly:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts),a=o.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountName,config:e,isLastNode:u===o.length-1,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:o.length>1,hasChildren:d.children.length>0,isLastNode:u===o.length-1,name:d.account.accountName}]}}));return s.children.push(...a),s}export{y as D,T as I,D as L,L as M,A as S,b as T,g};
1
+ import{W as m,x as N}from"./CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js";import"./index-Du1ejFtI.js";function D({calculatedSection:t,numOfBalances:c,title:n,isLastNode:i,config:r}){return{children:[],id:m("calculated_section",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section",title:n,data:t,numOfBalances:c},config:r}}}function B({account:t,numOfBalances:c,title:n,config:i,parentNodeIDs:r,ancestorMetadata:e}){return{children:[],id:m("ac_subentity_total",r,t.account.accountId),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:n,data:t,numOfBalances:c,metadata:e},config:i}}}function g({account:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o={children:[],id:m("ac_subaccount",l,t.account.accountId),isLastNode:r,reportElementData:{element:{kind:"ac_subaccount",title:i,sectionType:c,metadata:s,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.children),d=a.map((u,p)=>g({account:u,sectionType:c,numOfBalances:n,title:u.account.accountName,config:e,isLastNode:p===a.length-1,parentNodeIDs:l,ancestorMetadata:{subAccountAncestorMetadata:[...s.subAccountAncestorMetadata,{depth:u.id.length-1,hasSibling:a.length>1,hasChildren:u.children.length>0,isLastNode:p===a.length-1,name:u.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return o.children.push(...d),a.length>0&&o.children.push(B({config:e,account:t,numOfBalances:n,title:t.account.accountDescription,parentNodeIDs:l,ancestorMetadata:s})),o}function L({acGroup:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l}){const s=m("ac_group_subaccount",l,t.accountGroupId),o={children:[],id:s,isLastNode:r,reportElementData:{element:{kind:"ac_group_subaccount",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts);return o.children=a.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountDescription,config:e,isLastNode:u===a.length-1,parentNodeIDs:[...l,s],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:a.length>1,hasChildren:d.children.length>0,isLastNode:u===a.length-1,name:d.account.accountName}]}})),o}function A({classNode:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o=m("class",l,i),a={children:[],id:o,isLastNode:r,reportElementData:{element:{kind:"class",title:i,data:t,metadata:s,numOfBalances:n},config:e}},d=s.classAncestorMetadata!=null?s.classAncestorMetadata:[],u=t.children.map((h,f)=>A({classNode:h,sectionType:c,numOfBalances:n,title:h.class.className,isLastNode:f===t.children.length-1,config:e,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[...d,{depth:h.id.length-1,hasSibling:t.children.length>1,hasChildren:h.children.length>0,isLastNode:f===t.children.length-1,name:h.class.className}]}})),p=t.class.accounts.map((h,f)=>g({account:h,sectionType:c,numOfBalances:n,title:h.account.accountName,config:e,isLastNode:f===t.class.accounts.length-1,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:t.class.accounts.length>1,hasChildren:h.children.length>0,isLastNode:f===t.class.accounts.length-1,name:h.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return a.children.push(...p),a.children.push(...u),a}function y({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=t.classes.map((a,d)=>A({classNode:a,sectionType:c,numOfBalances:n,title:a.class.className,isLastNode:a.isLeafClass,config:e,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:a.id.length-1,hasSibling:!1,hasChildren:a.children.length>0,isLastNode:d===t.classes.length-1,name:a.class.className}]}}));return s.children.push(...o),s}function b({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(t.accountGroups),a=o.map((d,u)=>L({acGroup:d,sectionType:c,numOfBalances:n,title:d.accountGroupName,isLastNode:u===o.length-1,config:e,parentNodeIDs:[l]}));return s.children.push(...a),s}function T({sectionWithAcOnly:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts),a=o.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountName,config:e,isLastNode:u===o.length-1,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:o.length>1,hasChildren:d.children.length>0,isLastNode:u===o.length-1,name:d.account.accountName}]}}));return s.children.push(...a),s}export{y as D,T as I,D as L,L as M,A as S,b as T,g};
@@ -1 +1 @@
1
- import{W as r}from"./CollapsableReportTable-KGZROyWO-Db0w9Rdn.js";function i({title:t,balances:e=[],config:n,nodeId:a}){return{children:[],id:a??r("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
1
+ import{W as r}from"./CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js";function i({title:t,balances:e=[],config:n,nodeId:a}){return{children:[],id:a??r("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
@@ -1 +1 @@
1
- import{W as n}from"./CollapsableReportTable-KGZROyWO-Db0w9Rdn.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??n("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as o};
1
+ import{W as n}from"./CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??n("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as o};
@@ -1 +1 @@
1
- import{W as r}from"./CollapsableReportTable-KGZROyWO-Db0w9Rdn.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
1
+ import{W as r}from"./CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
@@ -1 +1 @@
1
- import{W as a}from"./CollapsableReportTable-KGZROyWO-Db0w9Rdn.js";const t={0:"section-row",1:"root-class-row",2:"sub-class-row",3:"leaf-class-row"};function l({title:o,balances:e,config:s,nodeId:n}){return{children:[],id:n??a("headers_loading_in_progress",[],o),isLastNode:!1,reportElementData:{element:{kind:"headers_loading_in_progress",title:"",data:e,numOfBalances:e.length},config:s}}}export{l as d,t as l};
1
+ import{W as a}from"./CollapsableReportTable-C_qcwMWq-DwhvFgWQ.js";const t={0:"section-row",1:"root-class-row",2:"sub-class-row",3:"leaf-class-row"};function l({title:o,balances:e,config:s,nodeId:n}){return{children:[],id:n??a("headers_loading_in_progress",[],o),isLastNode:!1,reportElementData:{element:{kind:"headers_loading_in_progress",title:"",data:e,numOfBalances:e.length},config:s}}}export{l as d,t as l};
@@ -1 +1 @@
1
- import{p as m}from"./chartTypes-C7uaeRCc-CF1IJ0Zr.js";const e=(a,o,c)=>n(a,o,c.balances),t=(a,o,c)=>e(a,o,c),b=(a,o,c)=>e(a,o,c),n=(a,o,c)=>c.map(p=>({key:m(a,o),balance:p}));export{e as c,b as h,t as i,n as o};
1
+ import{p as m}from"./chartTypes-eqxFaFS5-B43Gm107.js";const e=(a,o,c)=>n(a,o,c.balances),t=(a,o,c)=>e(a,o,c),b=(a,o,c)=>e(a,o,c),n=(a,o,c)=>c.map(p=>({key:m(a,o),balance:p}));export{e as c,b as h,t as i,n as o};
@@ -1 +1 @@
1
- import{M as h,l as u}from"./index-DHx5ymlr.js";function E(o,t,c,s,D){const l=D??!1,i=[];let f=[];if(t.forEach(r=>{const n=s[r];n!=null&&(i.push(n),r===c&&(f=n))}),i.length>0&&f.length>0){const r=f.map(a=>({startDate:a.balance.startDate,endDate:a.balance.endDate,label:y(o,a.balance,a.balance.balanceTimeFrame)})),n=[];for(let a=0;a<r.length;a++){const m={};i.forEach(b=>{if(b.length>0){const e=b[a];if(e!=null){const Y=l?e.balance.totalBalance:e.balance.balance,g=l?e.balance.totalForecast:e.balance.forecast,p=l?e.balance.totalPercentValue:e.balance.percentValue,k=e.balance.forecastPercentValue,d=e.key.endsWith("_forecast")?g:Y;if(d!=null){const w=e.key.endsWith("_forecast")?k:p;m[e.key]={amount:d,percentValue:w}}}}}),n.push({timeLabel:r[a],record:m})}return{timeseries:r,recordByTimeseries:n,orderedKeys:t}}else return}const y=(o,t,c)=>{const{dateFormat:{visual:s}}=h.getLocalizedStrings();switch(c){case"month":return`${u.formatZeniDate(t.startDate,s.MMMYYFormat,o)}`;case"quarter":return`${h.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,s.QYYYYformat,o)}`;case"year":return`${u.formatZeniDate(t.startDate,s.YYYYformat,o)}`;case"free_range":case"week":throw new Error("free_range/week dates are not supported!")}};export{E as V};
1
+ import{B as h,l as u}from"./index-Du1ejFtI.js";function E(o,t,c,s,D){const l=D??!1,i=[];let f=[];if(t.forEach(r=>{const n=s[r];n!=null&&(i.push(n),r===c&&(f=n))}),i.length>0&&f.length>0){const r=f.map(a=>({startDate:a.balance.startDate,endDate:a.balance.endDate,label:y(o,a.balance,a.balance.balanceTimeFrame)})),n=[];for(let a=0;a<r.length;a++){const m={};i.forEach(b=>{if(b.length>0){const e=b[a];if(e!=null){const Y=l?e.balance.totalBalance:e.balance.balance,g=l?e.balance.totalForecast:e.balance.forecast,p=l?e.balance.totalPercentValue:e.balance.percentValue,k=e.balance.forecastPercentValue,d=e.key.endsWith("_forecast")?g:Y;if(d!=null){const w=e.key.endsWith("_forecast")?k:p;m[e.key]={amount:d,percentValue:w}}}}}),n.push({timeLabel:r[a],record:m})}return{timeseries:r,recordByTimeseries:n,orderedKeys:t}}else return}const y=(o,t,c)=>{const{dateFormat:{visual:s}}=h.getLocalizedStrings();switch(c){case"month":return`${u.formatZeniDate(t.startDate,s.MMMYYFormat,o)}`;case"quarter":return`${h.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,s.QYYYYformat,o)}`;case"year":return`${u.formatZeniDate(t.startDate,s.YYYYformat,o)}`;case"free_range":case"week":throw new Error("free_range/week dates are not supported!")}};export{E as V};
@@ -1 +1 @@
1
- import{f as r}from"./index-DHx5ymlr.js";const g=(e,h)=>`${e}${h}`,o=[{light:r.graphColor34Dark,dark:r.graphColor34Dark,headerBackgroundLight:g(r.graphColor34Light,"99"),headerBackgroundDark:g(r.graphColor34Light,""),highlightsBackgroundLight:g(r.graphColor34,"14"),highlightsBackgroundDark:g(r.graphColor34,"1F")},{light:r.graphColor16Dark,dark:r.graphColor16Dark,headerBackgroundLight:g(r.graphColor16Light,"99"),headerBackgroundDark:g(r.graphColor16Light,""),highlightsBackgroundLight:g(r.graphColor16Light,"29"),highlightsBackgroundDark:g(r.graphColor16Light,"29")}],d=(e,h)=>{const a=o[e%o.length];return{headerBackground:h.mode==="light"?a.headerBackgroundLight:a.headerBackgroundDark,fundNameColor:h.mode==="light"?a.light:a.dark,fundSubNameColor:h.mode==="light"?a.light:a.dark,highlightsBackground:h.mode==="light"?a.highlightsBackgroundLight:a.highlightsBackgroundDark}},l=e=>{if(e!=null){const{code:h,name:a}=e;return{value:a,color:t(h),code:h}}},t=e=>{switch(e){case"initiated":case"scheduled":return r.neutralGrey1Light;case"canceled":case"delayed":case"failed":case"problem":return r.important;case"completed":return r.success;case"mfa_required":case"consent_required":default:return r.neutralGrey1Light}};export{l as d,d as l};
1
+ import{g as r}from"./index-Du1ejFtI.js";const g=(e,h)=>`${e}${h}`,o=[{light:r.graphColor34Dark,dark:r.graphColor34Dark,headerBackgroundLight:g(r.graphColor34Light,"99"),headerBackgroundDark:g(r.graphColor34Light,""),highlightsBackgroundLight:g(r.graphColor34,"14"),highlightsBackgroundDark:g(r.graphColor34,"1F")},{light:r.graphColor16Dark,dark:r.graphColor16Dark,headerBackgroundLight:g(r.graphColor16Light,"99"),headerBackgroundDark:g(r.graphColor16Light,""),highlightsBackgroundLight:g(r.graphColor16Light,"29"),highlightsBackgroundDark:g(r.graphColor16Light,"29")}],d=(e,h)=>{const a=o[e%o.length];return{headerBackground:h.mode==="light"?a.headerBackgroundLight:a.headerBackgroundDark,fundNameColor:h.mode==="light"?a.light:a.dark,fundSubNameColor:h.mode==="light"?a.light:a.dark,highlightsBackground:h.mode==="light"?a.highlightsBackgroundLight:a.highlightsBackgroundDark}},l=e=>{if(e!=null){const{code:h,name:a}=e;return{value:a,color:t(h),code:h}}},t=e=>{switch(e){case"initiated":case"scheduled":return r.neutralGrey1Light;case"canceled":case"delayed":case"failed":case"problem":return r.important;case"completed":return r.success;case"mfa_required":case"consent_required":default:return r.neutralGrey1Light}};export{l as d,d as l};
@@ -1,10 +1,10 @@
1
- import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as Pe,_ as S,b3 as Ne,o as n,C as Ie,dj as Me,b4 as L,bp as ce,es as te,b1 as ne,a3 as De,x as Ee,er as Fe,J as oe,w as pe,v as k,aD as Ve,eJ as Te,f as g,cx as _e,y as me,eA as Be,B as ue,ae as ze,af as Ge,a9 as U,dv as se,dw as Ae,dx as We,eK as Je,dF as He,dG as ie,dH as le,dI as Ze,dJ as Qe}from"./index-DHx5ymlr.js";import{b as f,n as i,j as Ue}from"./vendor-rkTZJa59.js";const Ke=i(me)`
1
+ import{el as Se,cn as Le,cv as ee,e as re,u as Re,B as de,j as t,eH as ke,cw as Pe,$ as S,b3 as Ne,o as n,C as Ie,dj as Me,b4 as L,bp as ce,er as te,b1 as ne,a3 as De,x as Ee,eq as Ve,J as oe,w as pe,v as k,aD as Fe,eI as Te,g,cx as Be,t as me,ez as ze,n as ue,ae as _e,af as Ge,a9 as U,dv as se,dw as Ae,dx as We,eJ as He,dF as Je,dG as ie,dH as le,dI as Ze,dJ as Qe}from"./index-Du1ejFtI.js";import{b as f,n as i,j as Ue}from"./vendor-rkTZJa59.js";const Ye=i(me)`
2
2
  margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.sp3:n.sp2};
3
- `,Ye=i(Je)``,qe=i.div`
3
+ `,qe=i(He)``,Xe=i.div`
4
4
  display: flex;
5
5
  height: ${e=>e.isRecommended?"auto":n.sp6};
6
6
  align-items: center;
7
- `,Xe=i.div`
7
+ `,Ke=i.div`
8
8
  display: flex;
9
9
  height: ${n.sp6};
10
10
  align-items: center;
@@ -13,7 +13,7 @@ import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as
13
13
  width: ${n.sp3};
14
14
  `,tt=i.div`
15
15
  display: flex;
16
- `,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ae,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(He,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Ze,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Qe,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Xe,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(qe,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Ye,{children:s}):t.jsx(Ke,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ie(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:C,allowEmpty:M=!0,tooltip:_,noOptionsMessage:B,customPlaceholderColor:z,menuPortal:G,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:J,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:D,getStyles:E,menuPlacement:H="auto",onCOTView:Z})=>{const{control:Q,formState:{dirtyFields:b,errors:F}}=Le(),ge=ee(F,e??""),K=re(),V=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:Y,common:{strings:{empty:N}}}=de.getLocalizedStrings(),q=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??N,id:j?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,j,N]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>q(v))})),[q]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??N}},[a.allOptions,R,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:Y.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...E?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:V.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${V.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(K):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:V.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${V.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},Ce=B??{line1:Y.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:z,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:Q,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:X,ref:ve}})=>{const I=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:G,ref:ve,name:X,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?M===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:Me(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:H,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:D,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,M,x,r,m,W,J,Z),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:zt,IndicatorSeparator:Gt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",X)}),O!=null?t.jsx(Dt,{size:K,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Zt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Jt,{hasError:r}),t.jsx(Ht,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Et,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Ft,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:C}=$,{depth:M,isLeaf:_,isLastNode:B,hasSiblings:z,hasChildren:G,collapsed:A,displayName:W,ancestorMetadata:J,label:P}=r,R=J,j=dt(r,m,s,d,p,l,u),D=t.jsx(Rt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(It,{children:[t.jsxs(Mt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:M,isLastNode:B,isLeaf:_,hasSiblings:z,collapsed:A,hasChildren:G,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(Bt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Qt,{children:[r?.isOptionRecommended?t.jsxs(Ut,{children:[t.jsx(Kt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Yt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Vt,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(De,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(qt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),E=Ee().analytics,H=f.useCallback(()=>{const Z=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,Q=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],F=b?.cot??[];E.trackTransactionCotDropdownView({recommendationType:Q,recommendationFor:l,currentValue:Z,recommendation:b?.name??T,recommendationCot:F,isRecommendationCotAvailable:F.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Fe(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[E,j,d,p,l,e,r.recommendedOptionIndex]);return j!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:j,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:H,children:D}):D},$t=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(jt,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
16
+ `,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ae,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Je,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Ze,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Qe,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ke,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(Xe,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(qe,{children:s}):t.jsx(Ye,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ie(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:C,allowEmpty:M=!0,tooltip:B,noOptionsMessage:z,customPlaceholderColor:_,menuPortal:G,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:D,getStyles:E,menuPlacement:J="auto",onCOTView:Z})=>{const{control:Q,formState:{dirtyFields:b,errors:V}}=Le(),ge=ee(V,e??""),Y=re(),F=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:q,common:{strings:{empty:N}}}=de.getLocalizedStrings(),X=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??N,id:j?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,j,N]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>X(v))})),[X]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??N}},[a.allOptions,R,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:q.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...E?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:F.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${F.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(Y):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:F.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${F.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},Ce=z??{line1:q.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:_,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:Q,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:K,ref:ve}})=>{const I=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:G,ref:ve,name:K,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?M===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:Me(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:J,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:D,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,M,x,r,m,W,H,Z),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,B),ValueContainer:y=>mt(y),DropdownIndicator:_t,IndicatorSeparator:Gt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",K)}),O!=null?t.jsx(Dt,{size:Y,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Zt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Jt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Et,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Vt,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:C}=$,{depth:M,isLeaf:B,isLastNode:z,hasSiblings:_,hasChildren:G,collapsed:A,displayName:W,ancestorMetadata:H,label:P}=r,R=H,j=dt(r,m,s,d,p,l,u),D=t.jsx(Rt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(Bt,{})}),t.jsxs(It,{children:[t.jsxs(Mt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:M,isLastNode:z,isLeaf:B,hasSiblings:_,collapsed:A,hasChildren:G,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Qt,{children:[r?.isOptionRecommended?t.jsxs(Ut,{children:[t.jsx(Yt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(qt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Ft,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(De,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(Xt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),E=Ee().analytics,J=f.useCallback(()=>{const Z=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,Q=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],V=b?.cot??[];E.trackTransactionCotDropdownView({recommendationType:Q,recommendationFor:l,currentValue:Z,recommendation:b?.name??T,recommendationCot:V,isRecommendationCotAvailable:V.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Ve(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[E,j,d,p,l,e,r.recommendedOptionIndex]);return j!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:j,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:J,children:D}):D},$t=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(jt,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  align-items: center;
@@ -194,7 +194,7 @@ import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as
194
194
  padding-right: ${n.sp3};
195
195
  text-align: right;
196
196
  white-space: pre-line;
197
- `,Et=i(Ve)`
197
+ `,Et=i(Fe)`
198
198
  display: flex;
199
199
  color: ${e=>e.theme.colors.primary};
200
200
  align-items: center;
@@ -218,14 +218,14 @@ import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as
218
218
  padding: 0 ${n.sp3};
219
219
  margin-bottom: ${n.sp0};
220
220
  }
221
- `,Ft=i.div`
221
+ `,Vt=i.div`
222
222
  display: flex;
223
223
  align-items: center;
224
224
  margin-left: ${n.sp0};
225
225
  transform: ${e=>e.isGroupOpen?"rotate(0deg)":"rotate(180deg)"};
226
226
  color: ${e=>e.theme.colors.primary};
227
227
  margin-right: ${n.sp2};
228
- `,Vt=i.div`
228
+ `,Ft=i.div`
229
229
  display: flex;
230
230
  color: ${e=>e.theme.colors.primary};
231
231
  `,Tt=i.div`
@@ -235,13 +235,13 @@ import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as
235
235
  height: ${n.sp4};
236
236
  width: ${n.sp3};
237
237
  margin-right: ${n.sp2};
238
- `,_t=i(Be)`
238
+ `,Bt=i(ze)`
239
239
  height: ${n.sp3};
240
240
  width: ${n.sp3};
241
241
  path {
242
242
  stroke-width: 2;
243
243
  }
244
- `,Bt=i(ue)`
244
+ `,zt=i(ue)`
245
245
  display: flex;
246
246
  color: ${e=>e.theme.colors.primary};
247
247
  align-items: center;
@@ -250,17 +250,17 @@ import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as
250
250
  padding: ${n.sp0} 6px;
251
251
  border: 1px solid ${e=>e.theme.colors.primary};
252
252
  border-radius: ${n.sp1};
253
- `,zt=()=>null,Gt=()=>null,At=()=>null,Wt=i.div`
253
+ `,_t=()=>null,Gt=()=>null,At=()=>null,Wt=i.div`
254
254
  display: flex;
255
255
  align-items: center;
256
256
  justify-content: center;
257
257
  cursor: pointer;
258
- `,Jt=i(_e)`
258
+ `,Ht=i(Be)`
259
259
  margin-right: ${n.sp1};
260
260
  width: ${n.sp3};
261
261
  height: ${n.sp3};
262
262
  color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
263
- `,Ht=i(me)`
263
+ `,Jt=i(me)`
264
264
  color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
265
265
  `,Zt=i.div``,Qt=i.div`
266
266
  display: flex;
@@ -272,13 +272,13 @@ import{em as Se,cn as Le,cv as ee,e as re,u as Re,M as de,j as t,eI as ke,cw as
272
272
  flex-direction: column;
273
273
  align-items: center;
274
274
  text-align: center;
275
- `,Kt=i(ze)`
275
+ `,Yt=i(_e)`
276
276
  display: flex;
277
277
  width: 100%;
278
278
  align-items: center;
279
279
  justify-content: center;
280
280
  color: ${e=>e.confidence==null?e.theme.mode==="dark"?g.alert:g.alertDark:e.confidence>=90?e.theme.mode==="dark"?g.success:g.successDark:e.confidence>=70?e.theme.mode==="dark"?g.alert:g.alertDark:e.theme.mode==="dark"?g.important:g.importantDark};
281
- `,Yt=i(ue)``,qt=i.div`
281
+ `,qt=i(ue)``,Xt=i.div`
282
282
  display: flex;
283
283
  align-items: center;
284
284
  justify-content: center;
@@ -1 +1 @@
1
- import{em as h}from"./index-DHx5ymlr.js";async function f(i,e,o,r,d){let s;const a=new FormData;o.forEach((t,n)=>{a.append(`attachment_file_${n}`,t);const c=JSON.stringify({file_name:r[n],content_type:t.type,size:t.size});a.append(`attachment_json_${n}`,c)});try{await h(i,{method:"POST",body:a,headers:{"zeni-user-id":e.userId,"zeni-tenant-id":e.tenantId,"zeni-session-id":e.sessionId}}).then(t=>t.json()).then(t=>{if(t.status.code>=200&&t.status.code<300)s=t.data;else throw console.error(`Upload attachment failed with ${t.statusText}`),d?.(t.status.message),new Error(`Upload attachment failed with ${t.statusText}`)})}catch(t){throw console.error(`Upload attachment failed with ${JSON.stringify(t)}`),new Error(`Upload attachment failed with ${JSON.stringify(t)}`)}return s}export{f as l};
1
+ import{el as h}from"./index-Du1ejFtI.js";async function f(i,e,o,r,d){let s;const a=new FormData;o.forEach((t,n)=>{a.append(`attachment_file_${n}`,t);const c=JSON.stringify({file_name:r[n],content_type:t.type,size:t.size});a.append(`attachment_json_${n}`,c)});try{await h(i,{method:"POST",body:a,headers:{"zeni-user-id":e.userId,"zeni-tenant-id":e.tenantId,"zeni-session-id":e.sessionId}}).then(t=>t.json()).then(t=>{if(t.status.code>=200&&t.status.code<300)s=t.data;else throw console.error(`Upload attachment failed with ${t.statusText}`),d?.(t.status.message),new Error(`Upload attachment failed with ${t.statusText}`)})}catch(t){throw console.error(`Upload attachment failed with ${JSON.stringify(t)}`),new Error(`Upload attachment failed with ${JSON.stringify(t)}`)}return s}export{f as l};
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-DHx5ymlr.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-rkTZJa59.js"><link rel="modulepreload" crossorigin href="/assets/mui-C42whWwM.js"><link rel="modulepreload" crossorigin href="/assets/analytics-B3n5JGPc.js"><link rel="modulepreload" crossorigin href="/assets/routing-VwiwPky5.js"><link rel="modulepreload" crossorigin href="/assets/sentry-osuhWjvS.js"><link rel="modulepreload" crossorigin href="/assets/redux-2gfZRks6.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-CP09Cz-7.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BDNqpTKX.js"><link rel="stylesheet" crossorigin href="/assets/index-BAKoUD4u.css"></head><body><div id="root"></div></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-Du1ejFtI.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-rkTZJa59.js"><link rel="modulepreload" crossorigin href="/assets/mui-C42whWwM.js"><link rel="modulepreload" crossorigin href="/assets/analytics-B3n5JGPc.js"><link rel="modulepreload" crossorigin href="/assets/routing-VwiwPky5.js"><link rel="modulepreload" crossorigin href="/assets/sentry-osuhWjvS.js"><link rel="modulepreload" crossorigin href="/assets/redux-2gfZRks6.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-CP09Cz-7.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BDNqpTKX.js"><link rel="stylesheet" crossorigin href="/assets/index-BAKoUD4u.css"></head><body><div id="root"></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-cockpit-ui",
3
- "version": "1.14.36-qa",
3
+ "version": "1.14.37-dev",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -16,9 +16,9 @@
16
16
  "@sentry/react": "^9.42.1",
17
17
  "@types/crypto-js": "^4.1.0",
18
18
  "@types/lodash": "^4.17.16",
19
- "@zeniai/client-analytics": "1.6.63",
20
- "@zeniai/client-epic-state": "4.18.64",
21
- "@zeniai/web-components": "3.15.89",
19
+ "@zeniai/client-analytics": "1.6.61",
20
+ "@zeniai/client-epic-state": "4.18.62",
21
+ "@zeniai/web-components": "3.15.91",
22
22
  "color": "3.1.3",
23
23
  "cross-fetch": "^4.0.0",
24
24
  "crypto-js": "4.2.0",
@@ -1,24 +0,0 @@
1
- import{j as u,M as f,d8 as k,l as S,u as E,aj as z,bd as N,r as v,b8 as P,aw as T,v as w,av as K,ab as R,b9 as A,d9 as V,bb as W,da as G,f as h,o as x,y as X}from"./index-DHx5ymlr.js";import{b as C,f as Y,n as j}from"./vendor-rkTZJa59.js";import{l as L,_ as M,h as I,m as _,u as B}from"./chartTypes-C7uaeRCc-CF1IJ0Zr.js";const J=j.div`
2
- display: flex;
3
- `,Q=j.div`
4
- flex: display;
5
- opacity: 0.85;
6
- border-radius: ${x.sp1};
7
- flex-direction: column;
8
- padding: ${x.sp3};
9
- background-color: ${r=>r.theme.colors.black};
10
- `,D=j(X)`
11
- color: ${r=>r.color??h.neutralGrey2Light};
12
- text-align: left;
13
- `,U=j.div`
14
- margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
15
- width: 100%;
16
- height: 1px;
17
- background-color: ${h.neutralGrey3Dark};
18
- `,Z=({active:r,payload:o,barName:e})=>{const t=[];if(o!=null&&r===!0){const n=o.filter(m=>m.name==e)[0],c=n.payload,i=n.color,s=e!=null&&c.record[e]!=null?c.record[e].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=_(e);t.push({barName:a,actual:s,color:i}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},rr=({barLabelsWithValues:r})=>u.jsx(J,{children:u.jsxs(Q,{children:[u.jsx(D,{color:r[0].color,children:`${r[0].barName}: ${B(r[0].actual)}`}),u.jsx(U,{}),u.jsx(D,{children:`${f.getLocalizedStrings().chartCard.total}: ${B(r[1].actual)}`})]})}),er=r=>{const o=Z({...r});return o.length===0?null:u.jsx(rr,{barLabelsWithValues:o})},F=Y.memo(er),q=5;function tr(r){const o=V(r,(e,t)=>[e.amount?.amount??0,t]);return o.sort((e,t)=>t[0]-e[0]),o.slice(0,q-1).reduce((e,t)=>({...e,[t[1]]:!0}),{})}function O(r){const o=[];for(const e in r)o.push(e);return o.sort((e,t)=>(r[t].amount?.amount??0)-(r[e].amount?.amount??0)),o}const or=r=>{const o=r.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),e=[];return{recordByDurations:r.agingPeriods.map(t=>{const n={};r.agingBalances.forEach(s=>{const d=L(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>q){const s=tr(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=L("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??S.defaultVendorCurrency.currencyCode,currencySymbol:l[m].amount?.currencySymbol??S.defaultVendorCurrency.currencySymbol}};const p=O(d);return e.push(...p),{label:c,record:d}}const i=O(n);return e.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(e)}},ar=j.div`
19
- width: ${r=>r.width}px;
20
- height: ${r=>r.height}px;
21
- `,nr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(F,{active:r,payload:o,barName:e}):null;function fr({report:r,width:o,height:e,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=or(r),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>u.jsx(W,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:cr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(sr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(nr,{mouseOverBarName:c})})}const sr=({chartData:r,barElements:o,customToolTipContent:e,width:t,height:n,isDetailPage:c})=>{const i=E(),s=M(r);return u.jsx(ar,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:r.recordByDurations,barCategoryGap:"25%",maxBarSize:c?v[8]:v[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(P,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),u.jsx(T,{dataKey:a=>a.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject}}),u.jsx(K,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>R("0,0.[00]a",a,s)}),u.jsx(A,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function cr(r,o){const e=I(r),t=f.getLocalizedStrings().reports.aging.duration[e],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[r]!=null){const c=n[r].amount?.amount??0;let i=1;switch(G(n,s=>{(s.amount?.amount??0)>c&&i++}),i){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}const H=5;function lr(r){const o=V(r,(e,t)=>[e.amount?.amount??0,t]);return o.sort((e,t)=>t[0]-e[0]),o.slice(0,H-1).reduce((e,t)=>({...e,[t[1]]:!0}),{})}function $(r){const o=[];for(const e in r)o.push(e);return o.sort((e,t)=>(r[t].amount?.amount??0)-(r[e].amount?.amount??0)),o}const ur=r=>{const o=r.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),e=[];return{recordByDurations:r.agingPeriods.map(t=>{const n={};r.agingBalances.forEach(s=>{const d=L(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>H){const s=lr(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=L("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??S.defaultCustomerCurrency.currencyCode,currencySymbol:l[m].amount?.currencySymbol??S.defaultCustomerCurrency.currencySymbol}};const p=$(d);return e.push(...p),{label:c,record:d}}const i=$(n);return e.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(e)}},ir=j.div`
22
- width: ${r=>r.width}px;
23
- height: ${r=>r.height}px;
24
- `,dr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(F,{active:r,payload:o,barName:e}):null;function br({report:r,width:o,height:e,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ur(r),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>u.jsx(W,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:hr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(mr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(dr,{mouseOverBarName:c})})}const mr=({chartData:r,barElements:o,customToolTipContent:e,width:t,height:n,isDetailPage:c})=>{const i=E(),s=M(r);return u.jsx(ir,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:r.recordByDurations,barCategoryGap:"25%",maxBarSize:c?v[8]:v[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(P,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),u.jsx(T,{dataKey:a=>a.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject}}),u.jsx(K,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>R("0,0.[00]a",a,s)}),u.jsx(A,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function hr(r,o){const e=I(r),t=f.getLocalizedStrings().reports.aging.duration[e],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[r]!=null){const c=n[r].amount?.amount??0;let i=1;switch(G(n,s=>{(s.amount?.amount??0)>c&&i++}),i){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}export{fr as L,br as k};
@@ -1,27 +0,0 @@
1
- import{C as O,r as B,e as q,M as D,a as M,a2 as W,j as o,W as G,ca as X,aX as Z,F as H,a4 as J,o as c}from"./index-DHx5ymlr.js";import{b as L,n as h}from"./vendor-rkTZJa59.js";import{b as K,f as Q,l as R,o as j}from"./FollowStepsSection-BffVXexb-D3pEbTc3.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const C="billPayApprovalRuleDetailPage",T="lowerBound",E="upperBound",y="steps",Y={footerPadding:new O(B[2],B[3])};function ve({localData:e,approvalUpdateActionType:t,onBackClick:a,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:b=!0,hideUpperBoundField:A=!1,onSaveRuleClick:_,onSaveRuleSuccess:S}){const I=q(),l=D.getLocalizedStrings().commonSetUp.approval,P=D.getLocalizedStrings().spendManagement.billPay.billPayApproval,x=ee(e,t==="approval_create"&&!n),v=M({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,w=W(u?.fetchState),{upperBound:$}=x,{allApprovalRules:p,allAccountingClasses:k,billPaySetupApproverViewUpdateData:m}=e;let f=p.length>1?p.length-1:0,g=p.length>0?p[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:i}=m.data;f=p.findIndex(d=>d.approvalRuleId===i),g=f>0?p[f-1].criteria[0].range.min.amount:0}const F=v.handleSubmit(()=>{_()}),V=async(i,d)=>{r(d)};return L.useEffect(()=>{const i=v.watch((d,{name:U})=>{if(U!=null&&d!=null){const z=G(d);X(()=>V(U,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&S()},[w,u?.fetchState,S]),o.jsxs(re,{children:[o.jsx(Z,{title:t==="approval_create"?l.newApproval:l.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),o.jsx(se,{children:o.jsx(H,{...v,children:o.jsx("form",{id:N(C),onSubmit:F,children:o.jsxs(oe,{children:[o.jsx(K,{label:{label:A?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:$===1/0?Number.MAX_SAFE_INTEGER-1:$-1,min:g,validate:i=>n?!0:i!=null&&i>g},isDisabled:n,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:b,hideField:A,additionalInfoLabel:l.upperBoundInfoLabel}}),o.jsx(ie,{}),o.jsx(Q,{sectionId:y,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:k,stepsInfo:x[y],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})})}),o.jsx(J,{formId:N(C),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:I==="small"?"space-between":"center"},style:{padding:Y.footerPadding.valuePx(I)},separatorStyle:{marginRight:c.sp4}})]})}const ee=(e,t)=>{const{criteria:a,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[y]:ae(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),j(e.allAttributes),j(e.filteredAttributes),r??[])??[],[T]:t?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},ae=(e,t,a,r,s)=>s&&s.length>0?s.map((n,b)=>({stepIndex:b,stepType:{selectedOption:n.action,allOptions:R},actors:{allUsers:t,selectedUsers:le(e,n.actors),allNonUsers:r,selectedNonUsers:te(a,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:t,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],le=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(r=>r.userId===a.userId)>-1),te=(e,t)=>e.filter(a=>t.findIndex(r=>r.subType===a.value)>-1),N=e=>`${e}_form`,ge=e=>`${e}`,re=h.div`
2
- display: flex;
3
- height: 100%;
4
- flex-direction: column;
5
- width: 100%;
6
- background-color: ${e=>e.theme.colors.grey4};
7
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
8
- `,oe=h.div`
9
- display: flex;
10
- flex-direction: column;
11
- border: 1px solid ${e=>e.theme.colors.grey3};
12
- box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
13
- border-radius: ${c.sp2};
14
- `,se=h.div`
15
- display: flex;
16
- justify-content: flex-start;
17
- height: 100%;
18
- overflow-y: auto;
19
- flex-direction: column;
20
- align-items: center;
21
- `,ie=h.div`
22
- display: flex;
23
- flex: 1;
24
- background-color: ${e=>e.theme.colors.grey3};
25
- min-height: 1px;
26
- max-height: 1px;
27
- `;export{Y as D,ve as default,N as uniqueFormName,ge as uniqueName};
@@ -1,21 +0,0 @@
1
- import{e as m,M as w,j as t,v as x,J as $,o as s,g as C}from"./index-DHx5ymlr.js";import{n as o,b as d}from"./vendor-rkTZJa59.js";const y=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:n,spendManagement:{chargeCard:r}}=w.getLocalizedStrings(),f={subText:new $("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a})=>{const h=m(),g=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let l=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=n.strings.space+r.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,u=e.status.code==="request_on_hold"||!a?l:i,c=e.type.code.includes("physical");return t.jsxs(v,{windowSize:h,forDetailPage:a,className:"cardName",title:`${u}`,children:[g,t.jsx(H,{}),l,c&&!a?t.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?t.jsx(p,{}):null]})},v=o(C)`
2
- ${e=>e.forDetailPage?{...x.extraSmallRegular.cssObject}:`${f.subText.style(e.windowSize)}`};
3
- color: ${e=>e.theme.colors.hero};
4
- max-width: 100%;
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- white-space: nowrap;
8
- display: flex;
9
- align-items: center;
10
- gap: ${s.sp1};
11
- `,H=o.span`
12
- height: ${s.sp1};
13
- width: ${s.sp1};
14
- background-color: ${e=>e.theme.colors.grey1};
15
- border-radius: 50%;
16
- margin: ${s.sp0} ${s.sp1};
17
- `,p=o(y)`
18
- width: ${s.sp3};
19
- height: ${s.sp3};
20
- color: ${e=>e.theme.colors.hero};
21
- `;export{R as f};
@@ -1 +0,0 @@
1
- import{fm as D,M as S,dt as c,l as B}from"./index-DHx5ymlr.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},b=e=>e.limit.amount-e.available.amount,Y="1.75";export{F,L as H,U as L,N as M,A as U,b as _,Y as b};
@@ -1 +0,0 @@
1
- import{j as r}from"./index-DHx5ymlr.js";import o from"./CustomerOnboardingNoStepsPage-BbHZQvuH-Cs54P_au.js";import i from"./CustomerOnboardingPage-BGKjRruK-l9abCt_I.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./HelpButton-BkxT0f9t-BbQSDGRC.js";import"./MeetingCalenderPopup-2P6uhLqh-Bv6Y7JYF.js";import"./PaymentAccountSetupBillingAddressSection-CfUpfrt6-BW_SKK1b.js";import"./SetUpAccountSection-C9PPpmcc-BwjqbpIO.js";import"./SetUpDefaultSection-D54P9sLQ-BDnsJt2v.js";import"./ChaseOverlay-DYQYE0RM-BNyyunYf.js";import"./CustomerOnboardingDetailPageSkeleton-DyIeAi4x-sDf2KJmg.js";import"./CompanyOfficerDetailsSection-WlKm-fM0-BGoXAhO_.js";import"./LabeledAddressValueField-C-fJPbDr-si3fj6mD.js";import"./LabeledCreatableSingleSelectField-CNcoKtBi-Bc2UKXaN.js";import"./LabeledDocumentField-DB-XX9hy-mKhff6Yn.js";import"./QBOSetupSection-CwO2OwTA-lgs-jkrv.js";import"./QBOConnectionDialog-CSRVcpvB-C3IWq6r8.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,66 +0,0 @@
1
- import{u as S,e as z,h6 as C,j as e,aX as D,M as Y,aj as F,o as r,f as g,b_ as B,l as L,C as R,w as A,y as I,r as f,de as T,df as E,d9 as N,dg as P}from"./index-DHx5ymlr.js";import{b,n as a}from"./vendor-rkTZJa59.js";import{$ as V}from"./BoxItem-BiXktaUJ-Dx4UpZnl.js";import{o as H}from"./commonDimensions-MaxjMSVa-DDS6Yz-X.js";import{H as K}from"./DepositAccTransactionItem-u7kiVxu3-kPzkE3jM.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const n=Y.getLocalizedStrings(),O={listItemMargin:new R(f[3],f[8])};function X(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:P(o,h=>h.transactionDate,"desc")}))}const _=C(X),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=b.createRef(),p=b.useRef(null),l=_(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*H.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(Z,{children:s.transactions.map((M,u)=>e.jsx(K,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(q,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(F,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
- margin: ${t=>`${r.sp0} ${O.listItemMargin.valuePx(t.windowSize)}`};
3
- `,q=a.div`
4
- display: flex;
5
- height: 100%;
6
- flex: 1 1 auto;
7
- flex-direction: row;
8
- justify-content: center;
9
- align-items: flex-end;
10
- `,J=a.div`
11
- display: flex;
12
- height: 100%;
13
- flex-direction: column;
14
- width: 100%;
15
- padding-bottom: ${r.sp7};
16
- `,Q=a(I)`
17
- display: flex;
18
- color: ${t=>t.theme.colors.grey2};
19
- `,U=a(A)`
20
- display: flex;
21
- height: 21px;
22
- margin-bottom: ${r.sp2};
23
- margin-top: ${r.sp3};
24
- color: ${t=>t.theme.colors.grey1};
25
- `,y=a.div`
26
- display: flex;
27
- flex-direction: column;
28
- width: 100%;
29
- height: 100%;
30
- `,Z=a.div`
31
- display: flex;
32
- flex: 1 1 auto;
33
- flex-direction: column;
34
- box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
35
- border-radius: ${r.sp2};
36
- background-color: ${t=>t.theme.colors.grey5};
37
- `,G=a(B)`
38
- scrollbar-width: thin;
39
- scrollbar-color: transparent transparent;
40
- &::-webkit-scrollbar {
41
- width: ${r.sp2};
42
- height: ${r.sp0};
43
- background-color: transparent;
44
- }
45
- &::-webkit-scrollbar-track {
46
- box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
47
- -webkit-box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
48
- background-color: transparent;
49
- }
50
- &::-webkit-scrollbar-thumb {
51
- background-color: transparent;
52
- }
53
-
54
- &:hover {
55
- scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
56
- &::-webkit-scrollbar {
57
- width: ${r.sp2};
58
- height: ${r.sp0};
59
- background-color: transparent;
60
- }
61
- &::-webkit-scrollbar-thumb {
62
- background-color: ${t=>t.theme.colors.grey1};
63
- border-radius: 2px;
64
- }
65
- }
66
- `;export{mt as default};