@zeniai/web-cockpit-ui 1.13.97-qa → 1.13.98-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 (248) hide show
  1. package/dist/assets/{ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CK4ZdUEb-fJZXFPPa.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +21 -21
  3. package/dist/assets/{AccountInfoPage-LiZYkJMA-D7v8XtXB.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +17 -17
  6. package/dist/assets/{AccountRow--5DnpNqk-C6gOEeWO.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +23 -23
  7. package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +19 -19
  10. package/dist/assets/{AgingReportsPage-PrvYryW8-ClQ8Euxf.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +6 -6
  11. package/dist/assets/{AllUserItems-DlTukPhY-377gtzJq.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-BVciGQma-NVEgOPKU.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
  13. package/dist/assets/{AppBasePage-uJGLWCbr-B_okH7tb.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-SD57OqHe-DBC1ZQdx.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +7 -7
  15. package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +47 -0
  16. package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
  18. package/dist/assets/{AttachmentView-C3xQE0te-BFkbocnS.js → AttachmentView-wIV1i6gf-__2UovKF.js} +5 -5
  19. package/dist/assets/{BankAccountSection-Bi3uoDPa-DlE9WCjC.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +33 -33
  22. package/dist/assets/{BillDetailPage-BoxJCC9n-dUgWZp0T.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +11 -11
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage--BGTNJhm-DrmzLzpj.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
  26. package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-DgbRhg-m-CRqpdOiy.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
  29. package/dist/assets/{BoxItem-BHtgE0KL-BJPg4xAk.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +14 -14
  31. package/dist/assets/{CardNumberSubText-BHe1nqr7-BRmm9g1p.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-C9RhIR0R-CyQle5Hi.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +24 -24
  33. package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-C2nnAxo5-Bk77oToU.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +18 -18
  36. package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +219 -0
  37. package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +3 -3
  39. package/dist/assets/{ChargeCardUtils-BxyMuU6--CHwiPaoq.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CRiYxWuZ-BZR-S0kG.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +2932 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +35 -35
  44. package/dist/assets/{CompanyPassportCard-PXdmJC_B-SLgfN-m9.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-MxIwsh3W-CUmwVoPG.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +37 -37
  46. package/dist/assets/{CompleteProfile-Bd9xEPVl-Cy044ZoG.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
  47. package/dist/assets/{ConfettiBurst-CMpZ2feY-D-Nq3IFV.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-B3AvTbkp-CwUBnsMJ.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
  58. package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +1254 -0
  59. package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +370 -0
  60. package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +7 -7
  62. package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-D1kGkMFo-DOkMNDuh.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +12 -12
  65. package/dist/assets/{DrawerPage-CQkJW5hg-DkryY6SR.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-m2qls8hv-BZd-DWw-.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +17 -17
  67. package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +72 -72
  68. package/dist/assets/{EntityDetailPage-CcJJwGo7-DCvr4KdD.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-JxKHehL1-CtvARgSu.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +13 -13
  70. package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationPage-B0f86olm-wJehtW2E.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +74 -74
  72. package/dist/assets/{ExpressPayPage-B-at6uDS-BEaELiUG.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-gSb_rct_-C-KQutKv.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-eedORgku-FnBhDPYP.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-BfPwveCc-ftKEGRYk.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +10 -10
  76. package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +28 -0
  77. package/dist/assets/{InformationCardStack-DPaZz4XW-BZPDjtdj.js → InformationCardStack-BALkGk48-BWmXScs3.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-sKUFRR0H-BiHLZWGW.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +10 -10
  79. package/dist/assets/{InsightsSection-Corx5iDh-fVbgdM2i.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +14 -14
  82. package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +18 -18
  83. package/dist/assets/{InviteFormPage-BRb4jyp_-BuUalkW4.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +19 -19
  84. package/dist/assets/{InvitePageListView-Bb_Q_xqJ-BhN72Smm.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +49 -49
  85. package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-D2vDF5sP-BZfqDHMl.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +8 -8
  92. package/dist/assets/{LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
  94. package/dist/assets/{LabeledText-CqZ-udSP-CWd8HtpU.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +5 -5
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +22 -22
  97. package/dist/assets/{LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-BLfeh0xm-C28uSa7K.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-CJhcwaGu-BAyX38PR.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +3 -3
  106. package/dist/assets/{Menu-D-Gk-Xfo-DBDtrJ_2.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +18 -18
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-CXyMHDUO-FwAGF1cV.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +4 -4
  111. package/dist/assets/{NavigationArrow-Bv-PvnhZ-BqeVWU8r.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +10 -7
  112. package/dist/assets/{NavigationDots-DJkiFidH-5V7knboW.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +8 -8
  114. package/dist/assets/{NoDataChart-Bsj1HEPq-CTuuS1jm.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
  115. package/dist/assets/{NoDataTable-6vR2vOMI-C3_Xw78i.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
  116. package/dist/assets/{NotFoundPage-SRxATfaW-y-aOb1MC.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +33 -33
  118. package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +1 -0
  119. package/dist/assets/{NotificationsPage-DMfBgh2w-1OVVoKkc.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-DOkwCGkr-DKAYXBt6.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BEYdjpiV.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +11 -11
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +8 -8
  124. package/dist/assets/{PeoplePage-PvOhX-gy-bUl8LV-N.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
  126. package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
  127. package/dist/assets/{ProductsCarousel-qzlVuyK5-BlxLSS9s.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-26GOEn3a-DaZDnJ-z.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-u1sJhV67-3guqHTYH.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +13 -13
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +35 -35
  133. package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-Claybyvt.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +10 -10
  134. package/dist/assets/{ReimbursementPromoPage-BWsOD49o-D82HFW_4.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
  137. package/dist/assets/{ReloadCard-CpauR6-c-3e4dg5U2.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +150 -0
  139. package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +121 -0
  140. package/dist/assets/{RevenueChart-JdtvK4L6-CpCUlh1v.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +15 -15
  142. package/dist/assets/{ReviewOverlay-BLxhto7d-Ote-FEid.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +49 -49
  147. package/dist/assets/{ScreenRoutes-C5pHLsYO.js → ScreenRoutes-iE9-v0dJ.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CyyxtFvK-Bjoxqucl.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +16 -16
  150. package/dist/assets/{SignIn-Gw75P03k-B_X_KXq6.js → SignIn-BC8yop4g-CznicFTu.js} +17 -17
  151. package/dist/assets/{SignInScreen-CU1N7put.js → SignInScreen-k0dvslKE.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BccaMtyd-shshvd9r.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +10 -10
  153. package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +33 -33
  154. package/dist/assets/{SpendManagementSection-CdH1r1Vw-C3epoUbW.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +8 -8
  155. package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
  156. package/dist/assets/{StatementItem-BW9HKaf9-CsEdfyzn.js → StatementItem-CKTGWEW_-d6SqxmfH.js} +3 -3
  157. package/dist/assets/{StatementsPage-CXawS1th-D6ifdlgD.js → StatementsPage-CjR4AlPy-BQRlcz37.js} +6 -6
  158. package/dist/assets/{StatusSwitcher-oC-AP25Z-D-8kVIuC.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-DXWQMf7B-D5NgssDf.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
  160. package/dist/assets/{SummaryCard-C3zjN-kT-DVcdP-G4.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BGDJNpe_-BGexoSAd.js → TaskManagementPage-Oct77yO--igT2quo0.js} +31 -31
  162. package/dist/assets/{TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +31 -0
  165. package/dist/assets/{TopExCard-BD9Ehuw_-BEZAD6RQ.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-3HoXp_6D-C4AntCB3.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-CbnGQ8bn-D1kf6rih.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +26 -26
  168. package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
  169. package/dist/assets/{TransactionListBig-5aenxEn4-DbuGNI6-.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +18 -18
  170. package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-2P1mhp1M-DQ83dYHD.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +11 -11
  173. package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +34 -34
  174. package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +14 -14
  175. package/dist/assets/{TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +10 -10
  177. package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +77 -77
  179. package/dist/assets/{TrendChart-DRNocU0p-B5zGJHBv.js → TrendChart-D3_4i3qH-wYUerKRk.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-CldwGpXX-C-miaXCt.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage--cDHqgXs-CzBp1mNW.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-vdFWf98b-D5sSolYh.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BOeEd9pX-C40iOslI.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +14 -14
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +9 -9
  189. package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +75 -75
  190. package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-BTRiZlIa-D2xftT7n.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-ZgfQEBme-BogIku8q.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +10 -10
  194. package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +40 -40
  195. package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +5 -5
  196. package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +18 -18
  198. package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BAbOOFg9-CEbrOROr.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-j8smtjIR.js → analyticsHelper-BbcCIpO1.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CkzpobMi-DnjY1jLw.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
  203. package/dist/assets/{chartTypes-JD2mR9iq-B-Dqgpc8.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
  204. package/dist/assets/{commonDimensions-DRfDJ_wQ-DeEC_LLv.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
  205. package/dist/assets/{detailCommon-BbKkY_46-DwHUZLAg.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +5 -5
  206. package/dist/assets/{downloadPdf-D7ANJLK4-BVhr8pTH.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
  207. package/dist/assets/{index-Dr7k10Ge.js → index-DyBH5SZv.js} +3543 -3520
  208. package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +1 -0
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
  210. package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +1 -0
  211. package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +1 -0
  212. package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +1 -0
  213. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +1 -0
  214. package/dist/assets/{play-icon-BbWpG2oG-CGqef6-e.js → play-icon-D3OSczih-8eMagn70.js} +3 -3
  215. package/dist/assets/{toCOABalancesWithID-DOgHiMwn-C3l_klRD.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
  216. package/dist/assets/{toChartData-CNfdaXyM-Cc0Cbk9b.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-JBMxqa9X-CRkfUPI_.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BGZjtYkJ-DDuM3kuv.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +25 -25
  219. package/dist/assets/{uploadReceipts-Buvz7DfG-CEx_e_oz.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js +0 -149
  223. package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +0 -47
  224. package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +0 -24
  225. package/dist/assets/BillPaySetUpPage-_s4R537_-DvISkevy.js +0 -42
  226. package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +0 -1447
  227. package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +0 -355
  228. package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +0 -175
  229. package/dist/assets/ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js +0 -36
  230. package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +0 -2860
  231. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +0 -1
  232. package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +0 -778
  233. package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +0 -349
  234. package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +0 -28
  235. package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +0 -12
  236. package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +0 -1
  237. package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js +0 -207
  238. package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +0 -218
  239. package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +0 -140
  240. package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +0 -150
  241. package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +0 -120
  242. package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js +0 -206
  243. package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +0 -31
  244. package/dist/assets/TransactionList-BBjiP2Nf-CVZYe7YT.js +0 -147
  245. package/dist/assets/TransactionListPage-BeVkiwkg-BwC4l02u.js +0 -35
  246. package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +0 -1
  247. package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +0 -1
  248. package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +0 -1
@@ -0,0 +1 @@
1
+ import{W as a}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.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{r as m,b as N}from"./CollapsableReportTable-BGT77T9W-DWoWj-VL.js";import"./index-Dr7k10Ge.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 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=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 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=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{b as D,T as I,D as L,L as M,A as S,y as T,g};
1
+ import{W as m,x as N}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js";import"./index-DyBH5SZv.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};
@@ -0,0 +1 @@
1
+ import{W as r}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.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};
@@ -0,0 +1 @@
1
+ import{W as n}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.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};
@@ -0,0 +1 @@
1
+ import{W as r}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.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};
@@ -0,0 +1 @@
1
+ import{W as a}from"./CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.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,4 +1,4 @@
1
- import{X as s,j as i,p as c,Y as d,g as p,o as n,C as o}from"./index-Dr7k10Ge.js";import{b as l,n as t}from"./vendor-CnQcJ2Lu.js";const a={width:new o(300,770,770),height:new o(195,500,500)},h=t.div`
1
+ import{X as s,j as i,m as c,Y as d,g as p,o as n,C as o}from"./index-DyBH5SZv.js";import{b as l,n as t}from"./vendor-CnQcJ2Lu.js";const a={width:new o(300,770,770),height:new o(195,500,500)},h=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -24,8 +24,8 @@ import{X as s,j as i,p as c,Y as d,g as p,o as n,C as o}from"./index-Dr7k10Ge.js
24
24
  height: ${e=>a.height.valuePx(e.windowSize)};
25
25
  padding: ${n.sp3};
26
26
  background: ${e=>e.theme.colors.grey3};
27
- `,u=t.div`
27
+ `,m=t.div`
28
28
  position: relative;
29
29
  width: 100%;
30
30
  height: 100%;
31
- `;function g(e){const r=s();return i.jsx(h,{windowSize:r,role:"presentation",children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:r,"data-testid":d("video-popup"),children:i.jsxs(u,{children:[i.jsx("iframe",{src:e.videoUrl,frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,style:{width:"100%",height:"100%"},title:"Zeni - Modern Finance Team For Startups - 9 January 2023.mp4"}),i.jsx("script",{src:"https://player.vimeo.com/api/player.js"})]})})})})}const f=e=>l.createElement("svg",{width:23,height:26,viewBox:"0 0 23 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.6517 14.0115L2.53051 25.0499C1.56792 25.6054 0.78125 25.1505 0.78125 24.0396V1.9602C0.78125 0.849324 1.56792 0.394416 2.53051 0.949856L12.0911 6.46907L21.6517 11.9883C22.6143 12.5462 22.6143 13.4561 21.6517 14.0115Z",fill:"currentColor"}));export{f as C,g as f};
31
+ `;function g(e){const r=s();return i.jsx(h,{windowSize:r,role:"presentation",children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:r,"data-testid":d("video-popup"),children:i.jsxs(m,{children:[i.jsx("iframe",{src:e.videoUrl,frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,style:{width:"100%",height:"100%"},title:"Zeni - Modern Finance Team For Startups - 9 January 2023.mp4"}),i.jsx("script",{src:"https://player.vimeo.com/api/player.js"})]})})})})}const f=e=>l.createElement("svg",{width:23,height:26,viewBox:"0 0 23 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.6517 14.0115L2.53051 25.0499C1.56792 25.6054 0.78125 25.1505 0.78125 24.0396V1.9602C0.78125 0.849324 1.56792 0.394416 2.53051 0.949856L12.0911 6.46907L21.6517 11.9883C22.6143 12.5462 22.6143 13.4561 21.6517 14.0115Z",fill:"currentColor"}));export{f as C,g as f};
@@ -1 +1 @@
1
- import{p as m}from"./chartTypes-JD2mR9iq-B-Dqgpc8.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-qpvW4LwC-4Ag0mdD1.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-Dr7k10Ge.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{M as h,l as u}from"./index-DyBH5SZv.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{g as r}from"./index-Dr7k10Ge.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-DyBH5SZv.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,6 +1,6 @@
1
- import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as Pe,Y as S,b1 as Ne,o as n,C as Ie,dh as De,b2 as L,bt as ce,eo as te,a$ as ne,a6 as Ee,d3 as Me,en as Fe,Q as oe,v as pe,r as R,b4 as Ve,eF as Te,g,cq as _e,t as me,ew as ze,m as ue,aj as Ge,ak as Be,ac as q,dt as se,du as Ae,dv as We,eG as He,dC as Ze,dD as ie,dE as le,dF as Qe,dG as Ue}from"./index-Dr7k10Ge.js";import{b as f,n as i,j as qe}from"./vendor-CnQcJ2Lu.js";const Je=i(me)`
1
+ import{eg as Se,cg as Le,co as ee,X as re,u as Re,M as de,j as t,eC as ke,cp as Pe,Y as S,b1 as Ne,o as n,C as De,dg as Ie,b2 as L,bs as ce,em as te,a$ as ne,a2 as Ee,d2 as Me,el as Fe,Q as oe,w as pe,v as k,aB as Ve,eD as Te,g,cq as _e,q as me,eu as ze,f as ue,ad as Be,ae as Ae,a8 as Q,ds as se,dt as Ge,du as We,eE as He,dB as Ze,dC as ie,dD as le,dE as qe,dF as Je}from"./index-DyBH5SZv.js";import{b as f,n as i,j as Qe}from"./vendor-CnQcJ2Lu.js";const Ue=i(me)`
2
2
  margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.sp3:n.sp2};
3
- `,Ke=i(He)``,Xe=i.div`
3
+ `,Xe=i(He)``,Ke=i.div`
4
4
  display: flex;
5
5
  height: ${e=>e.isRecommended?"auto":n.sp6};
6
6
  align-items: center;
@@ -13,7 +13,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp 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(Ze,{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(Qe,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Ue,{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(Ye,{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(Ke,{children:s}):t.jsx(Je,{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:b,customPlaceholderString:C,allowEmpty:D=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:G,menuPortal:B,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:k,valueToId:v,onMenuClose:E,getStyles:M,menuPlacement:Z="auto",onCOTView:Q})=>{const{control:U,formState:{dirtyFields:$,errors:F}}=Le(),ge=ee(F,e??""),J=re(),V=ke(),[fe,xe]=f.useState(!1),ye=ee($,e),{dropDowns:K,common:{strings:{empty:N}}}=de.getLocalizedStrings(),X=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:k?.(o.value)??N,id:v?.(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}),[k,v,N]),be=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(j=>X(j))})),[X]),$e=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(j=>{c=c.concat(j.options)}),{value:o,label:c.find(j=>j.value===o)?.label??o,info:k?.(o)??N}},[a.allOptions,k,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(Re,{style:l,buttonTitle:K.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...b,container:(o,c)=>({...o,width:"100%",...l,...M?.(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(J):"300px",margin:0,...b?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...b?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...b?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:V.colors.primary,...b?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...b?.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,...b?.menuPortal?.(o,c)})},Ce=z??{line1:K.noOptions.standard,line2:N},ve={hasError:ge,noOptions:Ce,customPlaceholderColor:G,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:U,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:j,name:Y,ref:je}})=>{const I=j;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...ve,menuPortalTarget:B,ref:je,name:Y,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:$e(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:be(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?D===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:De(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:Z,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:E,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,D,x,r,m,W,H,Q),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Gt,IndicatorSeparator:Bt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",Y)}),O!=null?t.jsx(Et,{size:J,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs($t,{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),b=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:b,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(Qt,{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(Zt,{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(Mt,{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(bt,{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:b}=e,{customPlaceholderString:C}=b,{depth:D,isLeaf:_,isLastNode:z,hasSiblings:G,hasChildren:B,collapsed:A,displayName:W,ancestorMetadata:H,label:P}=r,k=H,v=dt(r,m,s,d,p,l,u),E=t.jsx(kt,{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(Rt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(It,{children:[t.jsxs(Dt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:D,isLastNode:z,isLeaf:_,hasSiblings:G,collapsed:A,hasChildren:B,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:k})}),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(Ut,{children:[r?.isOptionRecommended?t.jsxs(qt,{children:[t.jsx(Jt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Kt,{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(Ee,{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]})]})})}),M=Me().analytics,Z=f.useCallback(()=>{const Q=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,U=r.recommendedOptionIndex===1?"alternative":"primary",$=v?.recommendations[0],F=$?.cot??[];M.trackTransactionCotDropdownView({recommendationType:U,recommendationFor:l,currentValue:Q,recommendation:$?.name??T,recommendationCot:F,isRecommendationCotAvailable:F.length>0,recommendationReason:$?.reason??T,recommendationConfidenceLevel:Fe(te($?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:$?.confidencePercentage??null}),x!=null&&$!=null&&$.cot.length>0&&x(l,$.source)},[M,v,d,p,l,e,r.recommendedOptionIndex]);return v!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:v,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:Z,children:E}):E},bt=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(vt,{children:[s,t.jsx(jt,{})]}),e]}),$t=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(Ge,{},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(Ze,{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(qe,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Je,{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(Ye,{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(Ke,{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(Xe,{children:s}):t.jsx(Ue,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new De(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:I=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:B,menuPortal:A,showCOT:G=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:E,getStyles:M,menuPlacement:Z="auto",onCOTView:q})=>{const{control:J,formState:{dirtyFields:b,errors:F}}=Le(),ge=ee(F,e??""),U=re(),V=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:X,common:{strings:{empty:N}}}=de.getLocalizedStrings(),K=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=>K(v))})),[K]),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:X.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,...M?.(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(U):"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=z??{line1:X.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:B,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:J,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:Y,ref:ve}})=>{const D=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:A,ref:ve,name:Y,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??D.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??D.allOptions),onChange:y=>{y==null||y?.value!=null&&D?.selectedOption===y.value?I===!0&&o({selectedOption:void 0,allOptions:D.allOptions}):o({selectedOption:y.value,allOptions:D.allOptions})},key:Ie(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:Z,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:E,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,G,I,x,r,m,W,H,q),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Bt,IndicatorSeparator:At,Placeholder:xt,ClearIndicator:Gt},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",Y)}),O!=null?t.jsx(Et,{size:U,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(qt,{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(Zt,{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(Mt,{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:I,isLeaf:_,isLastNode:z,hasSiblings:B,hasChildren:A,collapsed:G,displayName:W,ancestorMetadata:H,label:P}=r,R=H,j=dt(r,m,s,d,p,l,u),E=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(Dt,{children:[t.jsxs(It,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:I,isLastNode:z,isLeaf:_,hasSiblings:B,collapsed:G,hasChildren:A,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(Jt,{children:[r?.isOptionRecommended?t.jsxs(Qt,{children:[t.jsx(Ut,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Xt,{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(Ee,{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(Kt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),M=Me().analytics,Z=f.useCallback(()=>{const q=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,J=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],F=b?.cot??[];M.trackTransactionCotDropdownView({recommendationType:J,recommendationFor:l,currentValue:q,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)},[M,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:Z,children:E}):E},$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;
@@ -34,23 +34,23 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
34
34
  `,Ct=i.div`
35
35
  position: relative;
36
36
  display: contents;
37
- `,vt=i.div`
37
+ `,jt=i.div`
38
38
  position: absolute;
39
- background: ${q.primary};
40
- color: ${q.grey5};
39
+ background: ${Q.primary};
40
+ color: ${Q.grey5};
41
41
  padding: ${n.sp3};
42
42
  border-radius: ${n.sp1};
43
43
  top: -${n.sp2};
44
44
  right: 225px;
45
45
  opacity: 0.85;
46
46
  pointer-events: none;
47
- `,jt=i.span`
47
+ `,vt=i.span`
48
48
  position: absolute;
49
49
  top: 30%;
50
50
  right: -8%;
51
51
  border-width: 10px;
52
52
  border-style: solid;
53
- border-color: transparent transparent transparent ${q.primary};
53
+ border-color: transparent transparent transparent ${Q.primary};
54
54
  `,St=i.span`
55
55
  width: 100%;
56
56
  background-color: ${e=>e.menuIsOpen?e.theme.colors.background:e.theme.colors.grey5};
@@ -93,7 +93,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
93
93
  display: flex;
94
94
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?n.sp0:"100%"};
95
95
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
96
- ${R.standardRegular.css};
96
+ ${k.standardRegular.css};
97
97
  color: ${e=>e.theme.colors.primary};
98
98
  margin: ${n.sp0};
99
99
  cursor: inherit;
@@ -112,14 +112,14 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
112
112
  }
113
113
  }
114
114
  }
115
- `,Lt=i(Be)`
115
+ `,Lt=i(Ae)`
116
116
  width: ${n.sp3};
117
117
  height: ${n.sp3};
118
- `,kt=i.div`
118
+ `,Rt=i.div`
119
119
  border-bottom: ${e=>e.showBottomBorder===!0?"inherit":"none"} !important;
120
120
  .select-option {
121
121
  padding: ${n.sp0} ${n.sp3};
122
- ${R.smallRegular.css};
122
+ ${k.smallRegular.css};
123
123
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
124
124
 
125
125
  .confidence-label {
@@ -144,7 +144,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
144
144
  color: ${e=>e.theme.colors.primary};
145
145
  }
146
146
 
147
- ${({allowEmpty:e})=>e&&qe`
147
+ ${({allowEmpty:e})=>e&&Qe`
148
148
  .right-tick-icon {
149
149
  display: none;
150
150
  }
@@ -154,7 +154,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
154
154
  `}
155
155
  }
156
156
  }
157
- `,Rt=i.div`
157
+ `,kt=i.div`
158
158
  display: flex;
159
159
  flex-direction: row;
160
160
  justify-content: space-between;
@@ -174,12 +174,12 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
174
174
  text-overflow: ellipsis;
175
175
  white-space: nowrap;
176
176
  color: inherit;
177
- `,It=i.div`
177
+ `,Dt=i.div`
178
178
  display: flex;
179
179
  flex-direction: column;
180
180
  width: 100%;
181
181
  overflow: hidden;
182
- `,Dt=i.div`
182
+ `,It=i.div`
183
183
  flex: 1;
184
184
  display: flex;
185
185
  align-items: center;
@@ -208,10 +208,10 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
208
208
 
209
209
  .grouped-single-select-field__group-heading {
210
210
  display: flex;
211
- font-size: ${R.standardMedium.fontSize};
212
- font-weight: ${R.standardMedium.fontWeight};
213
- line-height: ${R.standardMedium.lineHeight};
214
- font-family: ${R.standardMedium.fontFamily};
211
+ font-size: ${k.standardMedium.fontSize};
212
+ font-weight: ${k.standardMedium.fontWeight};
213
+ line-height: ${k.standardMedium.lineHeight};
214
+ font-family: ${k.standardMedium.fontFamily};
215
215
  color: inherit;
216
216
  text-transform: capitalize;
217
217
  cursor: pointer;
@@ -250,7 +250,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
250
250
  padding: ${n.sp0} 6px;
251
251
  border: 1px solid ${e=>e.theme.colors.primary};
252
252
  border-radius: ${n.sp1};
253
- `,Gt=()=>null,Bt=()=>null,At=()=>null,Wt=i.div`
253
+ `,Bt=()=>null,At=()=>null,Gt=()=>null,Wt=i.div`
254
254
  display: flex;
255
255
  align-items: center;
256
256
  justify-content: center;
@@ -262,23 +262,23 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
262
262
  color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
263
263
  `,Zt=i(me)`
264
264
  color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
265
- `,Qt=i.div``,Ut=i.div`
265
+ `,qt=i.div``,Jt=i.div`
266
266
  display: flex;
267
267
  align-items: center;
268
268
  gap: ${n.sp4};
269
269
  margin-left: ${n.sp2};
270
- `,qt=i.div`
270
+ `,Qt=i.div`
271
271
  display: flex;
272
272
  flex-direction: column;
273
273
  align-items: center;
274
274
  text-align: center;
275
- `,Jt=i(Ge)`
275
+ `,Ut=i(Be)`
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
- `,Kt=i(ue)``,Xt=i.div`
281
+ `,Xt=i(ue)``,Kt=i.div`
282
282
  display: flex;
283
283
  align-items: center;
284
284
  justify-content: center;
@@ -1 +1 @@
1
- import{ei as h}from"./index-Dr7k10Ge.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{eg as h}from"./index-DyBH5SZv.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-Dr7k10Ge.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-CnQcJ2Lu.js"><link rel="modulepreload" crossorigin href="/assets/mui-C5LQ0bMa.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CBL_L82S.js"><link rel="modulepreload" crossorigin href="/assets/routing-Cpaypegg.js"><link rel="modulepreload" crossorigin href="/assets/sentry-HDxG13yk.js"><link rel="modulepreload" crossorigin href="/assets/redux-ByjIRbhZ.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-sSQ9JElv.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BURQLTgV.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-DyBH5SZv.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-CnQcJ2Lu.js"><link rel="modulepreload" crossorigin href="/assets/mui-C5LQ0bMa.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CBL_L82S.js"><link rel="modulepreload" crossorigin href="/assets/routing-Cpaypegg.js"><link rel="modulepreload" crossorigin href="/assets/sentry-HDxG13yk.js"><link rel="modulepreload" crossorigin href="/assets/redux-ByjIRbhZ.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-sSQ9JElv.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BURQLTgV.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.13.97-qa",
3
+ "version": "1.13.98-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.46",
20
- "@zeniai/client-epic-state": "4.18.28",
21
- "@zeniai/web-components": "3.15.0",
19
+ "@zeniai/client-analytics": "1.6.45",
20
+ "@zeniai/client-epic-state": "4.18.31",
21
+ "@zeniai/web-components": "3.15.5",
22
22
  "color": "3.1.3",
23
23
  "cross-fetch": "^4.0.0",
24
24
  "crypto-js": "4.2.0",
@@ -1,149 +0,0 @@
1
- import{X as we,fe as Ae,gY as H,j as r,M as Se,bt as C,e as Te,Y as z,o as a,aq as ve,bq as De,g as R,v as ee,ee as Ce,fg as ze,t as re}from"./index-Dr7k10Ge.js";import{b as s,n as o}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-D7ANJLK4-BVhr8pTH.js";import{o as _e}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";const{common:{strings:Re,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:t}},downloads:Q}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const te=we(),[,M]=Ae(),[k,oe]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,q]=s.useState(!1),[N,I]=s.useState(!1),[j,P]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,O]=s.useState(!1),[T,U]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,m=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{q(!1),O(!1),U(!1),X(!1),J(!1),F(!1),P(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const Y=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${t.bankRoutingNumber} ${n.routingNumberAch}
2
-
3
- ${t.accountTypeLabel} ${n.accountSubType.name??""}
4
-
5
- ${t.bankAccountNumber} ${n.accountNumber}
6
-
7
- ${t.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
-
9
- ${t.bankAddress} ${m}`:c=`${t.bankRoutingNumber} ${n.routingNumberAch}
10
-
11
- ${t.accountTypeLabel} ${n.accountSubType.name??""}
12
-
13
- ${t.bankAccountNumber} ${n.accountNumber}
14
-
15
- ${t.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
-
17
- ${t.beneficiaryName} ${v}
18
-
19
- ${t.bankAddress} ${m}
20
-
21
- ${t.beneficiaryAddress} ${D}`,M(c),q(!0)},i=(h,c,x,B)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":O(!0);break;case"acccountNumber":U(!0);break;case"routingNumber":X(!0);break;case"bankName":J(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>Y(x,!0),onMouseLeave:()=>Y(x,!1),children:[r.jsx(Oe,{children:h}),r.jsx(Xe,{children:r.jsxs(Ye,{children:[r.jsxs(Ue,{children:[d||te==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(G,{"data-testid":z("account-info-copy",x),onClick:()=>{M(c),je()}})})}):null,c]}),B!=null?r.jsx(Be,{children:B}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Me,{children:[r.jsxs(qe,{children:[r.jsx(Pe,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Ie,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Re.empty,e,oe,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(G,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{children:i(t.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(t.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(t.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(t.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(W,{children:i(t.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{children:i(t.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(t.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(t.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(t.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(t.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(t.beneficiaryName,v,"beneficiaryName",t.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(W,{children:i(t.beneficiaryAddress,D,"beneficiaryAddress",t.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=o.div``,Me=o.div`
22
- margin: ${a.sp4};
23
- margin-left: ${a.sp0};
24
- `,qe=o.div`
25
- display: flex;
26
- align-items: center;
27
- justify-content: space-between;
28
- margin-bottom: ${a.sp3};
29
- `,Ie=o.div`
30
- display: flex;
31
- gap: ${a.sp4};
32
- `,Pe=o(ve)`
33
- color: ${e=>e.theme.colors.primary};
34
- margin-right: ${a.sp2};
35
- `,Fe=o(De)`
36
- height: ${a.sp3};
37
- width: ${a.sp3};
38
- color: ${e=>e.theme.colors.hero};
39
- cursor: pointer;
40
- &:hover {
41
- color: ${e=>e.theme.colors.primary};
42
- }
43
- `,E=o.div`
44
- box-sizing: border-box;
45
- min-height: ${_e.transactionItemHeight}px;
46
- display: flex;
47
- border: 1px solid;
48
- border-radius: ${a.sp2};
49
- background-color: ${e=>e.theme.colors.grey5};
50
- border-color: ${e=>e.theme.colors.grey3};
51
- color: ${e=>e.theme.colors.hero};
52
- &:hover {
53
- border-color: ${e=>e.theme.colors.primary};
54
- color: ${e=>e.theme.colors.primary};
55
- .tag {
56
- border-color: ${e=>e.theme.colors.grey2};
57
- color: ${e=>e.theme.colors.grey1};
58
- }
59
- }
60
- `,V=o(E)`
61
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
- display: flex;
63
- border-top-width: 1px;
64
- border-right-width: 1px;
65
- border-bottom-width: 0.5px;
66
- border-left-width: 1px;
67
-
68
- border-top-left-radius: ${a.sp2};
69
- border-top-right-radius: ${a.sp2};
70
- border-bottom-left-radius: ${a.sp0};
71
- border-bottom-right-radius: ${a.sp0};
72
- &:hover {
73
- border-bottom-width: 1px;
74
- }
75
- `,W=o(E)`
76
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
- display: flex;
78
- border-top-width: 0.5px;
79
- border-right-width: 1px;
80
- border-bottom-width: 1px;
81
- border-left-width: 1px;
82
- border-top-left-radius: ${a.sp0};
83
- border-top-right-radius: ${a.sp0};
84
- border-bottom-left-radius: ${a.sp2};
85
- border-bottom-right-radius: ${a.sp2};
86
- &:hover {
87
- border-top-width: 1px;
88
- }
89
- `,L=o.div`
90
- display: flex;
91
- color: ${e=>e.theme.colors.grey1};
92
- &:hover {
93
- color: ${e=>e.theme.colors.primary};
94
- svg {
95
- color: ${e=>e.theme.colors.primary};
96
- }
97
- }
98
- `,G=o(ze)`
99
- height: ${a.sp3};
100
- width: ${a.sp3};
101
- color: ${e=>e.theme.colors.hero};
102
- cursor: pointer;
103
- &:hover {
104
- color: ${e=>e.theme.colors.primary};
105
- }
106
- `,Z=o(Ce)`
107
- height: ${a.sp3};
108
- width: ${a.sp3};
109
- color: ${R.success};
110
- `,Je=o.div`
111
- display: flex;
112
- flex-direction: row;
113
- padding: ${a.sp3} ${a.sp4};
114
- justify-content: space-between;
115
- width: 100%;
116
- gap: ${a.sp4};
117
- `,Oe=o(re)`
118
- color: ${e=>e.theme.colors.hero};
119
- `,Ue=o(re)`
120
- display: flex;
121
- align-items: center;
122
- color: ${e=>e.theme.colors.primary};
123
- background-color: ${e=>e.theme.colors.grey5};
124
- justify-content: flex-end;
125
- text-align: end;
126
- `,Xe=o.div`
127
- display: flex;
128
- `,Ye=o.div`
129
- display: flex;
130
- flex-direction: column;
131
- align-items: flex-end;
132
- `,Be=o(ee)`
133
- color: ${e=>e.theme.colors.grey1};
134
- text-align: end;
135
- `,_=o(ee)`
136
- color: ${e=>e.isTextCopied?R.primaryDark:R.neutralGrey1Light};
137
- `,b=o(E)`
138
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
- display: flex;
140
- border-radius: ${a.sp0};
141
- border-top-width: 0.5px;
142
- border-right-width: 1px;
143
- border-bottom-width: 0.5px;
144
- border-left-width: 1px;
145
- &:hover {
146
- border-top-width: 1px;
147
- border-bottom-width: 1px;
148
- }
149
- `,He=o.div``,Ke=o.div``;export{Ze as r};
@@ -1,47 +0,0 @@
1
- import{u as E,X,V as D,M as c,ab as S,l as f,j as e,aW as G,e as N,d0 as y,C as s,o as R,m as O,r as b,q as i}from"./index-Dr7k10Ge.js";import{n as l}from"./vendor-CnQcJ2Lu.js";import{J as j}from"./SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const a={sectionRowGap:new s(i[4],i[8],i[8]),lastSectionPaddingBottom:new s(i[7],i[10],i[10]),iconWidthHeight:new s(20,i[4]),subtitleSectionWidth:new s(343,580,1200)},de=({billpayApprovalView:t,remiApproverView:k,currentTenant:d,onBackClick:P,onClickMenuIcon:C,onSetupApprovalRulesBillPaySectionClick:$,onSetupApprovalRulesRemiSectionClick:z})=>{const n=E(),o=X(),p=D(),{fetchState:u,allApprovalRules:m,approvalRulesStatus:T}=t,{fetchState:h,allApprovalRules:g,approvalRulesStatus:A}=k,{commonSetUp:M,spendManagement:B}=c.getLocalizedStrings(),x=c.getLocalizedStrings().common.settings,v=c.getLocalizedStrings().common.headers,{billPay:I,reimbursement:W}=B,{billPaySetup:L}=I,{reimbursementSetup:H}=W,{setUp:r}=M,U=u==="In-Progress"||h==="In-Progress"||u==="Not-Started"||h==="Not-Started",w=n.mode==="light"?new S(n.colors.brandColorJadeLight):new S(n.colors.brandColorJadeDark),J=f.hasBillPayAccessible(d,p.loggedInUserRoleMap),V=f.hasReimbursementAccessible(d,p.loggedInUserRoleMap);return e.jsxs(F,{children:[e.jsx(G,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:P,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:C}),e.jsx(K,{windowSize:o,children:U?e.jsx(Q,{children:e.jsx(N,{size:"ExtraLarge",start:!0})}):e.jsxs(q,{children:[e.jsx(_,{windowSize:o,children:e.jsx(Y,{windowSize:o,children:x.infoText.approvalRules})}),e.jsxs(Z,{windowSize:o,children:[J===!0&&e.jsx(j,{title:m.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:L.approvalSubTitle,header:v.bills,icon:{element:e.jsx(y,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:w},onClick:$,status:m.length>0?T:void 0}),V===!0&&e.jsx(j,{title:g.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:H.approvalSubTitle,header:v.reimbursements,icon:{element:e.jsx(y,{height:a.iconWidthHeight.valuePx(o)}),color:w},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:z,status:g.length>0?A:void 0})]})]})})]})},q=l.div`
2
- width: 100%;
3
- margin: auto;
4
- display: flex;
5
- justify-content: flex-start;
6
- height: 100%;
7
- overflow-y: auto;
8
- flex-direction: column;
9
- align-items: center;
10
- `,F=l.div`
11
- display: flex;
12
- min-height: 100%;
13
- flex-direction: column;
14
- row-gap: ${R.sp3};
15
- width: 100%;
16
- background-color: ${t=>t.theme.colors.grey4};
17
- `,K=l.div`
18
- display: flex;
19
- height: 100%;
20
- overflow-y: auto;
21
- justify-content: center;
22
- `,Q=l.div`
23
- display: flex;
24
- width: 100%;
25
- height: calc(100vh - 110px);
26
- flex-direction: row;
27
- justify-content: center;
28
- align-items: center;
29
- background-color: ${t=>t.theme.colors.grey4};
30
- `,Z=l.div`
31
- display: flex;
32
- flex-direction: column;
33
- row-gap: ${t=>a.sectionRowGap.valuePx(t.windowSize)};
34
- `,_=l(O)`
35
- display: flex;
36
- justify-content: center;
37
- align-items: center;
38
- width: ${t=>a.subtitleSectionWidth.valuePx(t.windowSize)};
39
- margin-bottom: ${R.sp5};
40
- `,Y=l.div`
41
- display: flex;
42
- align-items: center;
43
-
44
- color: ${t=>t.theme.colors.hero};
45
- font-family: ${b.largeMedium.fontFamily};
46
- ${b.standardRegular.css};
47
- `;export{de as default};
@@ -1,24 +0,0 @@
1
- import{j as u,M as f,d6 as k,l as S,u as E,ao as z,bc as N,q as v,b7 as P,aB as T,r as w,aA as A,aJ as K,b8 as R,d7 as V,ba as W,d8 as G,g as m,o as b,t as J}from"./index-Dr7k10Ge.js";import{b as C,f as X,n as j}from"./vendor-CnQcJ2Lu.js";import{l as L,_ as M,h as I,m as Y,u as B}from"./chartTypes-JD2mR9iq-B-Dqgpc8.js";const _=j.div`
2
- display: flex;
3
- `,Q=j.div`
4
- flex: display;
5
- opacity: 0.85;
6
- border-radius: ${b.sp1};
7
- flex-direction: column;
8
- padding: ${b.sp3};
9
- background-color: ${r=>r.theme.colors.black};
10
- `,D=j(J)`
11
- color: ${r=>r.color??m.neutralGrey2Light};
12
- text-align: left;
13
- `,U=j.div`
14
- margin: ${b.sp2} ${b.sp0} ${b.sp2} ${b.sp0};
15
- width: 100%;
16
- height: 1px;
17
- background-color: ${m.neutralGrey3Dark};
18
- `,Z=({active:r,payload:o,barName:e})=>{const t=[];if(o!=null&&r===!0){const n=o.filter(h=>h.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 h=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=h!=null?h.currencyCode:d.currencyCode,d.currencySymbol=h!=null?h.currencySymbol:d.currencySymbol}const a=Y(e);t.push({barName:a,actual:s,color:i}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:m.brandColorPearl})}return t},rr=({barLabelsWithValues:r})=>u.jsx(_,{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})},q=X.memo(er),F=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,F-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>F){const s=tr(n),d=k(n,(x,y)=>s[y]===!0),l=k(n,(x,y)=>s[y]!==!0),a=Object.keys(l).reduce((x,y)=>x+(l[y].amount?.amount??0),0),h=Object.keys(l)[0],g=L("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??S.defaultVendorCurrency.currencyCode,currencySymbol:l[h].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(q,{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(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>u.jsx(W,{name:a,animationDuration:h?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill: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(A,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>K("0,0.[00]a",a,s)}),u.jsx(R,{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 m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}const 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,(x,y)=>s[y]===!0),l=k(n,(x,y)=>s[y]!==!0),a=Object.keys(l).reduce((x,y)=>x+(l[y].amount?.amount??0),0),h=Object.keys(l)[0],g=L("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??S.defaultCustomerCurrency.currencyCode,currencySymbol:l[h].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(q,{active:r,payload:o,barName:e}):null;function xr({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(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>u.jsx(W,{name:a,animationDuration:h?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:mr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(hr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(dr,{mouseOverBarName:c})})}const hr=({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(A,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>K("0,0.[00]a",a,s)}),u.jsx(R,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function mr(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 m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}export{xr as L,fr as k};