@zeniai/web-cockpit-ui 1.15.67-dev → 1.15.68-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 (363) hide show
  1. package/dist/assets/ACHDetailsPage-B5qIuZya-C3aJkcMK.js +21 -0
  2. package/dist/assets/{AIPerformancePage-Da3gFo8A-Z4ui8_vI.js → AIPerformancePage-BHB45mP--Dkqa_6NM.js} +32 -32
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-oYlOoTFh.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DqErO8FH-BbWzsS4C.js → AccountInfoPageContent-CJ7ycVIK-D3wmzb6C.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-Dox7IuAX-D2jstjYM.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js → AccountReconDetailsDrawerPage-Bqty08m0-C2lF-15J.js} +19 -19
  7. package/dist/assets/AccountRow-D1cjRJJD-68vCYcVL.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js → AccountsPromoCardStack-Bs3naJHM-aTi5So3x.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-B1yl6GaN.js +6 -0
  10. package/dist/assets/{AddToWalletPage-zJy9QCjx-C9dnTqSq.js → AddToWalletPage-CyRfqVDB-DUq2dZuO.js} +16 -16
  11. package/dist/assets/{AgingReportsPage-wAvQb1d8-CHVcAAAX.js → AgingReportsPage-xBFff3BM-DTUv7MP5.js} +7 -7
  12. package/dist/assets/{AllUserItems-DEv_CXOA-DrRFxVFx.js → AllUserItems-BJf6WPDo-oBZrDqKF.js} +12 -12
  13. package/dist/assets/ApAgingDetailPage-CjBrPyi8-Ctyp_OQl.js +46 -0
  14. package/dist/assets/{AppBasePage-DMlomvFS-DqF43oJC.js → AppBasePage-CqDm-hnV-CBWeFJt1.js} +13 -13
  15. package/dist/assets/AppDrawerContent-CVVWj66i-BVbze0mI.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-DVPWeDhs.js +47 -0
  17. package/dist/assets/{ArAgingChart-m-Xp3HAW-BYykckhE.js → ArAgingChart-CBsqOd-4-DjyETjt2.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-i7JObt60-SsEu5TGI.js +46 -0
  19. package/dist/assets/{AttachmentView-DB_V1qT1-BAHgn941.js → AttachmentView-CzC4skJ3-Bi12zP8s.js} +9 -9
  20. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-ia72rJE3.js +38 -0
  21. package/dist/assets/{BankAccountSection-BabhrBM7-CsYno7bw.js → BankAccountSection-Di4sF52j-DIEDANH7.js} +7 -7
  22. package/dist/assets/{BankAccountWarningSection-yT2UAd12-AQuYXXrV.js → BankAccountWarningSection-Cled-2cR-Btg4jA3W.js} +9 -9
  23. package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js → BankConnectionsSettingsPage-Ccnzq7st-zo73imcz.js} +19 -19
  24. package/dist/assets/BillDetailPage-XXOwBfO1-bzzMt-3T.js +266 -0
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js → BillPayApprovalRuleDetailPage-DFZ0csaT-MjgDonCW.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js → BillPayApprovalRulesPage-COCypDcS-OXkxfW5r.js} +15 -15
  27. package/dist/assets/BillPayPromoPage-DOE2YIqC-BdcB_fiR.js +84 -0
  28. package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js → BillPaySetUpPage-BCJbZDsV-CqE7jRvx.js} +4 -4
  29. package/dist/assets/BillingSettingsPage-iImtlEmO-CoZpnA72.js +44 -0
  30. package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js → BillsBulkReviewDrawerPage-B11GWM_0-DD3e0R6N.js} +1 -1
  31. package/dist/assets/{BoxItem-DRwx0M5a-BMNzRCBU.js → BoxItem-Bxa1M4QU-C6dqF4Ox.js} +11 -11
  32. package/dist/assets/{BusinessVerificationPage-1h0z3N9u-B1KNa18N.js → BusinessVerificationPage-DSuJFoW1-DjAbvNNU.js} +9 -9
  33. package/dist/assets/{CardNumberSubText-DqtLT1w5-DwPe5Ik5.js → CardNumberSubText-_ZZbaz_k-B01MfVRx.js} +3 -3
  34. package/dist/assets/{CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js → CashbackDetailPage-DAZXitLt-CcETVJHX.js} +26 -26
  35. package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js → ChargeCardDetailPage-B1VIpASk-CholRaxO.js} +34 -34
  36. package/dist/assets/{ChargeCardListPage-DhLUsUhd-CLRkrqGa.js → ChargeCardListPage-BOBepN-x-B_s13mPY.js} +26 -26
  37. package/dist/assets/{ChargeCardListTable-DE72YU_i-BYCOUa2e.js → ChargeCardListTable-YznzSsJo-BNhOVvS0.js} +38 -38
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js → ChargeCardPaymentHistoryPage--jOwsMla-cFFoj7V4.js} +44 -44
  39. package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bo4_w0av.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js → ChargeCardSetupPage-0bpVkeJs-C9PMx1NQ.js} +3 -3
  41. package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js → ChargeCardStatementsPage-ChWyQlw6-CwHckC8y.js} +7 -7
  42. package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js → CheckDepositDrawerPage-BS7hnyZn-B5V5osVM.js} +23 -23
  43. package/dist/assets/CollapsableReportTable-DNfFkAts-CKi8-92F.js +2982 -0
  44. package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js → CompanyOfficerDetailsSection-CrOIN4IW-Bdbu216-.js} +22 -22
  45. package/dist/assets/{CompanyPassportCard-B9ymV6Az-COMAf0pP.js → CompanyPassportCard-CkzYFTrp-BacKEy19.js} +9 -9
  46. package/dist/assets/{CompanyPassportPage-BQ68t7oK-BMTwLfpK.js → CompanyPassportPage-FE6yli6h-DR6Ghlmc.js} +32 -32
  47. package/dist/assets/{CompleteProfile-C5n9b8gQ-hT3HEiCg.js → CompleteProfile-Cb8i1XgZ-DbJmNPo9.js} +1 -1
  48. package/dist/assets/ConfettiBurst-BZCXEGYA-B2yhgQww.js +1 -0
  49. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js → ConstrainedInnerElement-CgdnMeoA--qLpImjq.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js → CreateOrEditVendorPage-CzpSgxbO-CRxdxAMc.js} +20 -20
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js → CreditCardPaymentDrawerPage-c_q0MsSO-TA4Hobh4.js} +18 -18
  52. package/dist/assets/CurrencySelectField-BAh7SHrG-DxidpKws.js +139 -0
  53. package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js → CustomerOnboardingActivationPage-f3Aa6E5r-BBdnGtao.js} +29 -29
  54. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-B7XaiHVP.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js} +8 -8
  56. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-BNSUjl4v.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js → CustomerOnboardingPage-B9hSO88_-D7k4547U.js} +16 -16
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-S3V_r-iH.js} +12 -12
  59. package/dist/assets/{Dashboard-bX3cWkmP-BbU8pr2A.js → Dashboard-BJ_oIHab-Cok5_WDR.js} +33 -33
  60. package/dist/assets/{DashboardReportPage-DuZ4d4CE-DK-gMM8o.js → DashboardReportPage-BemzMw2e-DYYVToam.js} +41 -41
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-C_JawxjH.js +12 -0
  62. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BmUq2dbW.js +76 -0
  63. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-m3SoF-kw.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-DOZS_gVw.js +21 -0
  65. package/dist/assets/DownloadOverlay-D_lL1sPW-DvGv3saF.js +439 -0
  66. package/dist/assets/{DrawerPage-CaG-xx5d-EitebnoL.js → DrawerPage-DesxXhZk-B8kYZddx.js} +13 -13
  67. package/dist/assets/EditPeoplePage-QvPy_Six-BvFKkCVw.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-BUe-Yiha.js +865 -0
  69. package/dist/assets/EntityDetailPage-l7nXIsyF-D4NCMOsL.js +18 -0
  70. package/dist/assets/{EntitySummarySection-LEA5m6mN-BORCaqtF.js → EntitySummarySection-BwX0a4JL-SUavY1op.js} +14 -14
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js → ExpenseAutomationOverviewPage-EdyHjbff-C6Bwm59D.js} +51 -51
  72. package/dist/assets/ExpenseAutomationPage-DA22Qofw-dd8tGA4N.js +3001 -0
  73. package/dist/assets/{ExpressPayPage-C-nqret2-DlkmEIam.js → ExpressPayPage-EMP6inpX-Bhq6MNQ0.js} +16 -16
  74. package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js → FeaturePreviewPage-SYJm-3aR-Bec3W0NG.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-0eFMS0c5-B5EQvoc9.js → FollowStepsSection-BxESVqJD-Da5FF3Sc.js} +11 -11
  76. package/dist/assets/GlobalReviewListPage-D5_ACa-q-DSyD6bgo.js +291 -0
  77. package/dist/assets/{InformationCardStack-C7XJCUlh-CiHVF9R1.js → InformationCardStack-B_qQUEYD-Cf9-swA_.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-fBAbQwhK-BkpAEowk.js → InsightsCardStack-BsQzoVzj-B7Cu144k.js} +9 -9
  79. package/dist/assets/InsightsSection-B6CNlTNH-C1k0XkMl.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js → IntegrationsSettingsPage-DP6fAccq-DcJmzI7u.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TISIJuKT.js} +27 -27
  82. package/dist/assets/InternationalWireVerificationPage-COC6lZml-DVDnoPVJ.js +65 -0
  83. package/dist/assets/InviteFormPage-DN02jRy5-DXwTiwQI.js +312 -0
  84. package/dist/assets/{InvitePageListView-Cuq9dlgu-CDBeR_PP.js → InvitePageListView-CP4K9tJi-DYuLEhyF.js} +46 -46
  85. package/dist/assets/InvitePeoplePage-VTM6kM1u-LzOSX0B1.js +12 -0
  86. package/dist/assets/InvoiceUploadSection-it-ZYl1N-DRo_N6ol.js +140 -0
  87. package/dist/assets/{IssueChargeCardPage-CK6fnO24-BKSJZVY1.js → IssueChargeCardPage-CVfuvGey-dFAkH-M9.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-Ma1WURjK-BbziAecd.js → LabeledAddressValue-DDrQcHIE-DMu0GW44.js} +1 -1
  89. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DuJuz6B4.js +45 -0
  90. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-Y5RGRfkw.js +16 -0
  91. package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js → LabeledCountryMultiSelectField-BYYjzwUG-D382-i5G.js} +4 -4
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js → LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js} +8 -8
  93. package/dist/assets/LabeledDocumentField-C_bcFxdY-BV9lofDJ.js +41 -0
  94. package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-5lKoXSFL.js +59 -0
  95. package/dist/assets/{LabeledText-DvzVOku6-qtDKT9OR.js → LabeledText-C8Y7EOsX-C8fojKEp.js} +3 -3
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D0nf30JX.js} +21 -21
  97. package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js → LabeledZeniRolesDropDownField-BZtreVpj-jb4353B6.js} +23 -23
  98. package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CQSugFmY.js → LinkJETransactionPage-CKq4oiX9-BvFmTxZj.js} +17 -17
  99. package/dist/assets/{LockCardPage-BBIVLYVD-DGVUoots.js → LockCardPage-CZENNby7-DiexnWId.js} +233 -233
  100. package/dist/assets/{LowBalancePopup-ScEqPY9J-zI-i6Isi.js → LowBalancePopup-1727S1ri-B9nzvQPQ.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CO-n7uHX.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-D9JIICZ3.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-DRdINlrf.js +1 -0
  104. package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-DaCG6zJz.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js → MagicLinkTitleSection-CARU1oLQ-DPmYWXSQ.js} +5 -5
  106. package/dist/assets/MailingDetailsSection-ByOPaJ05-kJqgrlBw.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js → MyBankConnectionsSettingsPage-BdgIIhL1-FAtVw-QI.js} +12 -12
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js → MyPendingActivationChargeCardListPage-CX38bDdq-Cb-hNB9U.js} +1 -1
  109. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-DSGiByeo.js +85 -0
  110. package/dist/assets/{NavBarWithPicker-zmvBmWS1-DG_L70Us.js → NavBarWithPicker-CGGEvLwe-CLvQbXHm.js} +5 -5
  111. package/dist/assets/{NavigationArrow-D26UG3p--Bc_WE-hA.js → NavigationArrow-CTNkKUtV-Bew2hAIb.js} +7 -7
  112. package/dist/assets/{NavigationDots-Bv4tBDN3-3qW0LzNq.js → NavigationDots-Dvce3gHt-CdTxmSBW.js} +3 -3
  113. package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js → NewGlobalMerchantPage-D_f7z47T-BushshXt.js} +35 -35
  114. package/dist/assets/{NoDataChart-CgT19fV7-DcCaLcsZ.js → NoDataChart-CrKeqWSr-4ekDnDn1.js} +4 -4
  115. package/dist/assets/NoDataTable-4vPXmPYF-B2XN4oW_.js +8 -0
  116. package/dist/assets/{NotFoundPage-CP2i3FTm-zCn5IOVY.js → NotFoundPage-BLWPU1wU-DvXGp0oy.js} +3 -3
  117. package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js → NotificationSettingsPage-CDiDLX3A-n_uE9rCj.js} +23 -23
  118. package/dist/assets/NotificationsListConfig-B5pDa4cJ-BR4-nfaA.js +1 -0
  119. package/dist/assets/NotificationsPage-Ccl7Dny1-EW2nfZLI.js +685 -0
  120. package/dist/assets/OpExByVendorPage-spd-nKV4-i9MSwJXR.js +100 -0
  121. package/dist/assets/{OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js → OverlayContainerPage-BG9y5C0t-CMjvkc2h.js} +1 -1
  122. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DcZ-ZrV7.js +123 -0
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js} +16 -16
  124. package/dist/assets/PeoplePage-b5_I0qOw-B2fq5ot3.js +727 -0
  125. package/dist/assets/{Preview-P62UcEJK.js → Preview-COnCxLvp.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-7R3cvGiS-Bu_PFFN9.js → ProductsCarousel-C3M0ocdF-wqRbMSDI.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-DdCMZIc7-DR_4jktz.js → PromoBaseCards-BOGJI2ws--eO42JRX.js} +2 -2
  128. package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js → QBOConnectionDialog-CmpnnuzP-Dp-zON6o.js} +7 -7
  129. package/dist/assets/QBOSetupSection-DjnN9dgv-CJUK3Jp5.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-B3fuWRBp.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js → ReimbursementApprovalRulesPage-BsCTIqUJ-DFIBXG2A.js} +17 -17
  132. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-D7JOSI03.js +314 -0
  133. package/dist/assets/ReimbursementPromoPage-CyEgwqcf-A2nuc-1r.js +84 -0
  134. package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js → ReimbursementSetUpPage-RETPkEQd-CKs-VBpH.js} +8 -8
  135. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BVo2hc1R.js +1 -0
  136. package/dist/assets/{ReloadCard-DKGn1uxF-DmSJJ42p.js → ReloadCard-Bdoo0XiI-D4akwdvc.js} +6 -6
  137. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js +151 -0
  138. package/dist/assets/ReportsPage-BOTHMLWh-jv_O0Yek.js +269 -0
  139. package/dist/assets/{RevenueChart-SvdhwBcE-BkckN20x.js → RevenueChart-DvyZ3aO7-C6C2HRpr.js} +18 -18
  140. package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js → ReviewDetailsPage-BIMg1n2e-Ih4y_jnc.js} +26 -26
  141. package/dist/assets/{ReviewOverlay-BoM41t8W-3p-Qz-jJ.js → ReviewOverlay-CxwoiOLC-mlyTzHF7.js} +10 -10
  142. package/dist/assets/{RoleWithToolTip-C8x5yXaK-DMsCF0JH.js → RoleWithToolTip-Ct3_VuDM-DPE6FK82.js} +4 -4
  143. package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-ZdtyO7K8.js +37 -0
  144. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CMywSb8w.js +37 -0
  145. package/dist/assets/ScheduleSequenceTable-R3-PsXES-CJvXYjeZ.js +326 -0
  146. package/dist/assets/{ScreenRoutes-EnKgc_BI.js → ScreenRoutes-D5p_xk-S.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-sfIB1h4i-DtGgsFok.js → SetUpAccountSection-CctbMmoK-CuWHUORG.js} +14 -14
  148. package/dist/assets/SignIn-CmgmnRm4-CODAfAgX.js +491 -0
  149. package/dist/assets/SignInScreen-DzQr_yQg.js +1 -0
  150. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BFFGha36.js +134 -0
  151. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-B4ll_8b8.js +754 -0
  152. package/dist/assets/{SpendManagementSection-dT-N4bSQ-C4Kh22QW.js → SpendManagementSection-CIz4nE_w-Cd92E473.js} +20 -20
  153. package/dist/assets/{StatementItem-g5tfNBjV-BibsnlRn.js → StatementItem-vVtoBN2w-BlzDOZcF.js} +4 -4
  154. package/dist/assets/StatementsPage-As5WOnMR-CoYZUSlH.js +58 -0
  155. package/dist/assets/{StatusSwitcher-CaoFw0cf-zIzs68OS.js → StatusSwitcher-Bv-ozN6U-BKoiK-si.js} +5 -5
  156. package/dist/assets/SubTabSwitcher-D7QeM6nb-BmZk-zBb.js +58 -0
  157. package/dist/assets/SummaryCard-C2qoTsAY-4dgnd5I6.js +1 -0
  158. package/dist/assets/TaskManagementPage-BJwp32Ph-BXxEB9ws.js +508 -0
  159. package/dist/assets/TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js +64 -0
  160. package/dist/assets/TimeframeSwitcher-DA99HdHt-DUsdK6ru.js +31 -0
  161. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Dg5fJRkI.js +53 -0
  162. package/dist/assets/{TopExCard-BUjnGDUB-Btojk3ah.js → TopExCard-Z1WabZ8c-_3_PDA2G.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-CNDkfc3u-B6N4DKA1.js → TopExDetailPage-CzHG4f9E-BrWfJk_t.js} +14 -14
  164. package/dist/assets/{TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js → TransactionActivityLogPage-CGKnjNfU-DuJzBBcn.js} +20 -20
  165. package/dist/assets/TransactionDetailPage-1-mLOWSz-D2-6FnXF.js +903 -0
  166. package/dist/assets/TransactionList-BB-xoIGm-Cs0g42iq.js +153 -0
  167. package/dist/assets/{TransactionListBig-Bx_Rm9ho-DHw-0VWf.js → TransactionListBig-C5Sf5Xh--DoQGlOXx.js} +21 -21
  168. package/dist/assets/TransactionListPage-Cj7h1Ros-0xwtgWrr.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js → TransactionVendorDetailPage-SsrSOk3O-DnCs2Tcb.js} +5 -5
  170. package/dist/assets/{TransferDrawerPage-BayVa6po-TPzD0GjA.js → TransferDrawerPage-BvKZ7vHF-U4D4BHco.js} +45 -45
  171. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DaWJ0Z8W.js +725 -0
  172. package/dist/assets/{TreasuryPromoPage-BCjz1EKX-B0iczXcI.js → TreasuryPromoPage-CtTFvSQW-ByP104Sz.js} +131 -131
  173. package/dist/assets/TreasuryStatementsPage-Catz8shX-DqD0V1HF.js +58 -0
  174. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-_SN1L0BB.js +58 -0
  175. package/dist/assets/{TrendChart-JTOG0a7B-Bjcs41DB.js → TrendChart-Bnp4Pcdf-BY18h9jb.js} +4 -4
  176. package/dist/assets/TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js +116 -0
  177. package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js → UncategorizedAccountsMappingPage-DbyY-dYB-BC4-aDe6.js} +9 -9
  178. package/dist/assets/{UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js → UnitIntegrationPage-CTzme1te-BpgcZRO2.js} +10 -10
  179. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-Ckt7F9AB.js +38 -0
  180. package/dist/assets/Vendor2FAPopup-D0zYKkIv-BA93A3FY.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DswVRSnB.js +1 -0
  182. package/dist/assets/VendorDetailPage-Br9wIOnI-CiQfXNfs.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-DgAKk1Hg.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js → VendorFiling1099EditablePage-himC7iD3-DN6_aqMw.js} +13 -13
  185. package/dist/assets/VendorFirstReviewPage-BbknTCBD-DRyalqYz.js +730 -0
  186. package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js → VendorInternationalWireDetailsPage-CS595Xgc-DyYlqKnN.js} +22 -22
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B6FT2wH7.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js → VendorsAccountsSection-CgSJu8wq-DAQ1vUE3.js} +4 -4
  189. package/dist/assets/{VerifyDevice-B6B_nk3v-FhJvFMiC.js → VerifyDevice-Dvf0JsNN-BhIFtpoZ.js} +12 -12
  190. package/dist/assets/{VideoPlayer-BRAgZThr-CdNKLBM0.js → VideoPlayer-VAzOGCDL-dg_i7rhP.js} +2 -2
  191. package/dist/assets/{VideoPopup-C_SkBI9U-BmOF4TeE.js → VideoPopup-BqvZ-XIh-j79cwOsZ.js} +5 -5
  192. package/dist/assets/{WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js → WarningsDrawerPage-DeNonoNp-B2ZGl3aK.js} +8 -8
  193. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BH5nfFTv.js +300 -0
  194. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-Bq_tNys0.js +443 -0
  195. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-H4nUIkPW.js +33 -0
  196. package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js → ZeniAccountPromoPage-JrcedQYB-C192Vo1k.js} +33 -33
  197. package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-BOKcMzjm.js +36 -0
  198. package/dist/assets/{ZeniCopyright-BlLvlGZV-FpsBBUu8.js → ZeniCopyright-DglqrTpl-DiOzf86L.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js → ZeniTransferAmountSlider-BcaZZuAw-DwXtlH-I.js} +7 -7
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-CiWKe3pw.js → add-to-wallet-DgdBD8_G-B2d4-MGl.js} +1 -1
  201. package/dist/assets/{analytics-Dmyyfi9O.js → analytics-BdPgTZIq.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CYr5V2MV-D-hMRpr3.js → analyticsHelper-CAYdbjhS-B2pke1yA.js} +1 -1
  203. package/dist/assets/{analyticsHelper-fNnGbi4W.js → analyticsHelper-CqcfNRvx.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-odM3_tAX.js → arrow-south-east-round-PEovUgvH-CQDBPmsC.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-YYpYw6PW.js → auto-transfer-rule-mbafm5D3-D3lLCn3Q.js} +1 -1
  206. package/dist/assets/chartTypes-CD3vrBsI-B60Spgf7.js +1 -0
  207. package/dist/assets/commonDimensions-Oz1tdAcx-DwbBmI-Z.js +1 -0
  208. package/dist/assets/{commonTypes-DsWS6Ccc-cGR0O9Jz.js → commonTypes-5tEXwrX4-DCDhKssr.js} +1 -1
  209. package/dist/assets/{constants-CL2zzW6O.js → constants-CBenFj2i.js} +1 -1
  210. package/dist/assets/{core-CuilwggZ.js → core--0SFXVg4.js} +2 -2
  211. package/dist/assets/{dash.all.min-BQNcgKZW.js → dash.all.min-CMzLy0h6.js} +1 -1
  212. package/dist/assets/downloadPdf-Dsuxeias-COKJ0VCh.js +1 -0
  213. package/dist/assets/{empty-Br0K9kol.js → empty-2Ztl6Ian.js} +1 -1
  214. package/dist/assets/{empty-CEDPaJOT.js → empty-B-BVwcCU.js} +1 -1
  215. package/dist/assets/{epic-C2KVDXXW.js → epic-BDwupNLN.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Ka06cghW.js → gift-box-Cmt9OgIZ-gUV3c8cx.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-6m6GIu0k.js → graphic-no-data-l-DU4J8fDt-DzC5dTIM.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js → graphic-no-data-net-burn-l-CzmycA0m-BjiTvRpS.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Sg0ioDB8.js → handshake-BPg58FML-C_pCUoyC.js} +1 -1
  220. package/dist/assets/{helper-BMiMbXMj-RteEmtlv.js → helper-Ckm10Uko-C9m0OsqI.js} +5 -5
  221. package/dist/assets/{index-ChqRS7At.js → index-C2ktPgcm.js} +1 -1
  222. package/dist/assets/{index-Cwdqq_eD.js → index-CKQ5JKXb.js} +1 -1
  223. package/dist/assets/{index-BdeZI4Mn.js → index-CUC_7JNL.js} +1 -1
  224. package/dist/assets/{index-D3ZUUMU-.js → index-CdtFtg4i.js} +1 -1
  225. package/dist/assets/{index-DyBrELD_.js → index-DMG72kst.js} +4818 -4804
  226. package/dist/assets/{index-HP0uFTr8.js → index-DRaGNS6O.js} +1 -1
  227. package/dist/assets/{index-Dvsx2dcd.js → index-Dg4q7vvv.js} +1 -1
  228. package/dist/assets/{lexical-BV3aGUzT.js → lexical-RPR5fwFX.js} +1 -1
  229. package/dist/assets/{liveblocks-VMOu1QaQ.js → liveblocks-BPjePRRW.js} +1 -1
  230. package/dist/assets/{lottie-DcZDexOB.js → lottie-x1a70pv5.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-C8lourC4.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CeRR9HNy.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DNs8km3x.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js} +1 -1
  237. package/dist/assets/{mui-D3hEqMLm.js → mui-PTGaeBGX.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D-m40EVy.js → page-detail-CWX5S47F-3PBwxH1C.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-CGfB88iV.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-eAbgY-Yj.js → radio-default-CiSgisfh-D9daKtZ-.js} +1 -1
  241. package/dist/assets/{react-CTpij_Bh.js → react-BEXFTqCN.js} +1 -1
  242. package/dist/assets/{react-Y6e5YCHa.js → react-CPjlVQm7.js} +1 -1
  243. package/dist/assets/{react-CqeqecYS.js → react-Cc4bx4sY.js} +1 -1
  244. package/dist/assets/{react-CEbGSPpW.js → react-DBNQWrgN.js} +1 -1
  245. package/dist/assets/{react-DI8vxsp0.js → react-De98TyJc.js} +1 -1
  246. package/dist/assets/{react-Drm5UQxC.js → react-DrO9dj3C.js} +3 -3
  247. package/dist/assets/{react-CMq4HMxB.js → react-PvV8gmtB.js} +1 -1
  248. package/dist/assets/{react-C1gXLOT-.js → react-vwiCHqgl.js} +2 -2
  249. package/dist/assets/{recharts-Bs6FfRQK.js → recharts-qzs3V2Ze.js} +19 -19
  250. package/dist/assets/{sentry-BV4jcjA3.js → sentry-DA3cfNtR.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-FCvOtDWd.js → shield-DOlUxcFf-BOQtgkJq.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js +1 -0
  253. package/dist/assets/{toChartData-C6s-eBzE-DCXAm4rQ.js → toChartData-DUL6vnzJ-BfCuWWLN.js} +1 -1
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.js +1 -0
  255. package/dist/assets/{uploadAttachment-BlLqRIXe-B5ch9itw.js → uploadAttachment-Ck4wivBR-Bh6Y3xK9.js} +32 -32
  256. package/dist/assets/uploadReceipts-CIgkuVpu-BMgQocne.js +1 -0
  257. package/dist/assets/{url-MntlJyPp.js → url-D0R1uffE.js} +1 -1
  258. package/dist/assets/{url-BkyzSFLl.js → url-DNLur0Mx.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-Dwfp0CDv.js → useLongPress-GCK2COYQ-Dvxz8hJC.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-Ccl_yhhe.js → usp-line-BBd1wKwW-Bxz4MR0G.js} +1 -1
  261. package/dist/assets/{utils-AGDkxX5e.js → utils-ZYxK6Sqs.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-wSe7lDM8.js → zeni-epic-state-qJAZZeEy.js} +6 -6
  263. package/dist/index.html +1 -1
  264. package/package.json +4 -4
  265. package/dist/assets/ACHDetailsPage-fOu5grd7-_I6UtkXF.js +0 -21
  266. package/dist/assets/AccountInfoPage-o7hTXtgZ-CYBdmYMP.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js +0 -59
  268. package/dist/assets/AccountRow-CpftykFx-bzN_3qh3.js +0 -298
  269. package/dist/assets/AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js +0 -6
  270. package/dist/assets/ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js +0 -46
  271. package/dist/assets/AppDrawerContent-Dc2sHnR3-Bud5cVOk.js +0 -92
  272. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js +0 -47
  273. package/dist/assets/ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js +0 -46
  274. package/dist/assets/BillDetailPage-7TMkWo3V-BpI29Fow.js +0 -266
  275. package/dist/assets/BillPayPromoPage-AGffhbY3-C44MBEry.js +0 -84
  276. package/dist/assets/BillingSettingsPage-CQ117tT9-3H-s6tQ2.js +0 -44
  277. package/dist/assets/ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js +0 -222
  278. package/dist/assets/CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js +0 -2844
  279. package/dist/assets/ConfettiBurst-BizTW0hz-D0Pewk0g.js +0 -1
  280. package/dist/assets/CurrencySelectField-KvKyemY6-B3GfB4CH.js +0 -139
  281. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +0 -1
  282. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js +0 -66
  283. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js +0 -12
  284. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js +0 -76
  285. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js +0 -66
  286. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js +0 -21
  287. package/dist/assets/DownloadOverlay-DqiL3-FB-BSVRX95E.js +0 -439
  288. package/dist/assets/EditPeoplePage-BcsdEp_d-CHb4ex1x.js +0 -55
  289. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js +0 -865
  290. package/dist/assets/EntityDetailPage-DtX5TjBc-DQKDGAg6.js +0 -18
  291. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js +0 -1703
  292. package/dist/assets/GlobalReviewListPage-4eiopkzw-Bih8gWqa.js +0 -291
  293. package/dist/assets/InsightsSection-De9zu_me-Bh9zGZF1.js +0 -27
  294. package/dist/assets/InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js +0 -65
  295. package/dist/assets/InviteFormPage-E2igwKEh-BCSU2LM1.js +0 -312
  296. package/dist/assets/InvitePeoplePage-Db4P4ZEq-BEebaP5f.js +0 -12
  297. package/dist/assets/InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js +0 -140
  298. package/dist/assets/LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js +0 -45
  299. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js +0 -16
  300. package/dist/assets/LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js +0 -41
  301. package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js +0 -59
  302. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js +0 -1
  303. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js +0 -1
  304. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js +0 -1
  305. package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js +0 -31
  306. package/dist/assets/MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js +0 -21
  307. package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js +0 -85
  308. package/dist/assets/NoDataTable-CPjJmo4s-rcoXWqQH.js +0 -8
  309. package/dist/assets/NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js +0 -1
  310. package/dist/assets/NotificationsPage-DDwdR_Jq-T3skh5EK.js +0 -685
  311. package/dist/assets/OpExByVendorPage-DukFYlqO-C6JAoAcj.js +0 -100
  312. package/dist/assets/PandLWithForecastPage-Bgflh9Om-DboN8TAW.js +0 -107
  313. package/dist/assets/PeoplePage-CDvKreQl-CkudxP0y.js +0 -675
  314. package/dist/assets/QBOSetupSection-CzBfIVqR-DJuM0C4n.js +0 -79
  315. package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js +0 -32
  316. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js +0 -314
  317. package/dist/assets/ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js +0 -84
  318. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js +0 -1
  319. package/dist/assets/ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js +0 -150
  320. package/dist/assets/ReportsPage-BoUyXSBC-DHugo8wm.js +0 -121
  321. package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js +0 -37
  322. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js +0 -37
  323. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js +0 -324
  324. package/dist/assets/SignIn-Cu2nzuEC-gpOpExBj.js +0 -491
  325. package/dist/assets/SignInScreen-COk_kO8l.js +0 -1
  326. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js +0 -134
  327. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js +0 -754
  328. package/dist/assets/StatementsPage-DaFrVUeK-COpXIOnq.js +0 -58
  329. package/dist/assets/SubTabSwitcher-zrkVj1aP-DHjajhP7.js +0 -58
  330. package/dist/assets/SummaryCard-B9wqNSwM-D3nnkdoj.js +0 -1
  331. package/dist/assets/TaskManagementPage-dAK9tl2b-DxOEeJV7.js +0 -508
  332. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js +0 -64
  333. package/dist/assets/TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js +0 -31
  334. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js +0 -31
  335. package/dist/assets/TransactionDetailPage-f7vWtXWL-WDAq0TSH.js +0 -903
  336. package/dist/assets/TransactionList-3-mUZOsw-DUcE4Bg8.js +0 -153
  337. package/dist/assets/TransactionListPage-q6x4_jni-DQgB6nBX.js +0 -35
  338. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js +0 -708
  339. package/dist/assets/TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js +0 -58
  340. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js +0 -58
  341. package/dist/assets/TrendWithTransactions-CTJhTpAM-COrQLjb7.js +0 -116
  342. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js +0 -38
  343. package/dist/assets/Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js +0 -1
  344. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js +0 -1
  345. package/dist/assets/VendorDetailPage-DufNphGD-mmWMGpt3.js +0 -257
  346. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js +0 -1
  347. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js +0 -730
  348. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js +0 -1
  349. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js +0 -300
  350. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js +0 -441
  351. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js +0 -14
  352. package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js +0 -36
  353. package/dist/assets/chartTypes-40RenddT-DZcmdGKn.js +0 -1
  354. package/dist/assets/commonDimensions-BMnB1-xU-QqtoTCOP.js +0 -1
  355. package/dist/assets/detailCommon-CrcyqWtZ-D8Fb1SL4.js +0 -38
  356. package/dist/assets/downloadPdf-CUUx8PWn-2rBn8EvK.js +0 -1
  357. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js +0 -1
  358. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js +0 -1
  359. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js +0 -1
  360. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js +0 -1
  361. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js +0 -4
  362. package/dist/assets/toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js +0 -1
  363. package/dist/assets/uploadReceipts-Dge0cNF1-Bo0yI6m6.js +0 -1
@@ -0,0 +1,41 @@
1
+ import{e as N,cU as U,eJ as u,V as r,cZ as W,x as a,f7 as j,O,ac as k,u as i,o,d as _,N as A}from"./index-DMG72kst.js";import{n as d}from"./mui-PTGaeBGX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a1654273-0ec4-46e5-963a-57ebd19e7722",e._sentryDebugIdIdentifier="sentry-dbid-a1654273-0ec4-46e5-963a-57ebd19e7722")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function Z({label:e,isDisabled:l,isOptional:p,style:b,file:h,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:I,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:D,updateFilesEntity:B,onDeleteFile:L,onEditFileName:M,onFileSizeError:R}){const s=N(),{formState:{errors:m}}=U(),g=u(m,n),C=u(m,`${n}.fileName`);return r.jsxs(J,{size:s,style:b,isDisabled:l!=null,"data-testid":k("document-field",n),children:[r.jsx(W,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(q,{labelWidth:e.width,size:s,children:[r.jsx(j,{name:n,filesEndPoint:P,authParams:E,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:B,onFileSizeError:R,onDeleteFile:L,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:I,showWebCamPopUpCloseIcon:D,showUploadSuccessAnimation:T}),g&&r.jsx(G,{size:s,isError:g,children:C&&h!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const J=d.div`
2
+ display: flex;
3
+ flex-direction: ${e=>e.size==="small"?"column":"row"};
4
+ align-items: flex-start;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ width: ${e=>t.width.valuePx(e.size)};
7
+ min-height: ${e=>t.height.valuePx(e.size)};
8
+ padding-right: ${e=>t.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
11
+
12
+ :first-of-type {
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ }
16
+
17
+ :last-of-type {
18
+ border-bottom-left-radius: inherit;
19
+ border-bottom-right-radius: inherit;
20
+ }
21
+
22
+ &:hover {
23
+ z-index: 1;
24
+ outline: 1px solid
25
+ ${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
26
+ }
27
+ `,q=d.div`
28
+ display: flex;
29
+ flex-direction: column;
30
+ width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
31
+ padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
32
+ box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
33
+ align-items: flex-end;
34
+ flex-grow: 1;
35
+ `,G=d.label`
36
+ display: flex;
37
+ color: ${e=>e.isError?_.important:e.theme.colors.grey1};
38
+ ${e=>`${V.infoLabel.style(e.size)}`};
39
+ padding-right: ${o.sp3};
40
+ text-align: right;
41
+ `;export{Z as Y};
@@ -0,0 +1,59 @@
1
+ import{e as C,g as T,cU as f,eJ as R,V as r,o,eS as _,b$ as O,w as P,gu as U,d as s,N as A,bI as F}from"./index-DMG72kst.js";import{n as i}from"./mui-PTGaeBGX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="76e94ea5-7420-4e49-a4fa-74e4af14ffd4",e._sentryDebugIdIdentifier="sentry-dbid-76e94ea5-7420-4e49-a4fa-74e4af14ffd4")}catch{}})();const H={infoLabel:new A("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:b,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:g,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=C(),p=T(),{formState:{errors:E}}=f(),c=R(E,t.name),{control:I}=f(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(J,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(B,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...b},children:r.jsx(_,{name:S,control:I,defaultValue:g.dropDownValue,rules:L,render:({field:{value:l,onChange:V}})=>r.jsx(O,{pickerValues:g.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:v,titleTextStyle:P.standardRegular,titleColor:p.colors.hero,valueOpacity:1,backgroundColor:p.colors.grey5,placeholder:j})})})}),r.jsxs(M,{children:[r.jsx(U,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(N,{children:r.jsx(Y,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const J=i.div`
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ min-height: ${o.sp6};
7
+ padding-top: ${o.sp2};
8
+ padding-bottom: ${o.sp2};
9
+ padding-right: ${o.sp2};
10
+
11
+ :first-of-type {
12
+ border-top-left-radius: inherit;
13
+ border-top-right-radius: inherit;
14
+ }
15
+
16
+ :last-of-type {
17
+ border-bottom-left-radius: inherit;
18
+ border-bottom-right-radius: inherit;
19
+ }
20
+
21
+ &:focus-within {
22
+ z-index: 1;
23
+
24
+ input {
25
+ background-color: ${e=>e.isError?s.importantLight:e.theme.colors.background};
26
+ }
27
+ }
28
+ input {
29
+ background-color: ${e=>e.isError?s.importantLight:e.theme.colors.grey5};
30
+ }
31
+ &:hover {
32
+ input {
33
+ background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?s.importantLight:e.theme.colors.background};
34
+ }
35
+ }
36
+ `,M=i.div`
37
+ display: flex;
38
+ flex-direction: column;
39
+ align-items: flex-end;
40
+ flex-grow: 1;
41
+ `,h=i.label`
42
+ display: flex;
43
+ color: ${e=>e.isError?s.important:e.theme.colors.grey1};
44
+ ${e=>`${H.infoLabel.style(e.size)}`};
45
+ padding-right: ${o.sp3};
46
+ text-align: right;
47
+ `,N=i.div`
48
+ display: flex;
49
+ margin-right: ${o.sp1};
50
+ align-items: center;
51
+ `,Y=i(F)`
52
+ width: ${o.sp3};
53
+ height: ${o.sp3};
54
+ color: ${s.successDark};
55
+ `,B=i.div`
56
+ display: flex;
57
+ width: 100%;
58
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
+ `,G=i.div``;export{q as Y};
@@ -1,4 +1,4 @@
1
- import{J as f,V as o,cQ as p,y as l,aR as g,u as t,o as a,am as u,H as y}from"./index-DyBrELD_.js";import{n as d}from"./mui-D3hEqMLm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="2f8a067f-aa21-46b6-b339-51e260420ed5",e._sentryDebugIdIdentifier="sentry-dbid-2f8a067f-aa21-46b6-b339-51e260420ed5")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new y("extraSmallRegular","smallRegular")};function R({label:e,value:r,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=f();return o.jsxs(m,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[o.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:h,children:s}):null]})]})}const m=d.div`
1
+ import{e as p,V as o,cZ as f,x as l,ac as g,u as t,o as a,an as u,N as c}from"./index-DMG72kst.js";import{n as d}from"./mui-PTGaeBGX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="97c36811-5270-4870-92f9-5e5e79a4ae7e",e._sentryDebugIdIdentifier="sentry-dbid-97c36811-5270-4870-92f9-5e5e79a4ae7e")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function T({label:e,value:r,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const n=p();return o.jsxs(m,{size:n,style:h,"data-testid":g("labeled-text",e.label),children:[o.jsx(f,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:b,children:s}):null]})]})}const m=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -36,7 +36,7 @@ import{J as f,V as o,cQ as p,y as l,aR as g,u as t,o as a,am as u,H as y}from"./
36
36
  display: flex;
37
37
  justify-content: flex-end;
38
38
  color: ${e=>e.theme.colors.hero};
39
- ${e=>`${c.infoLabel.style(e.size)}`};
39
+ ${e=>`${y.infoLabel.style(e.size)}`};
40
40
  padding-right: ${a.sp3};
41
41
  text-align: right;
42
- `;export{R as S};
42
+ `;export{T as S};
@@ -1,4 +1,4 @@
1
- import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex as fe,d as be,g3 as xe,O as R,H as we,bK as _,g4 as K,aq as H,g5 as G,bI as J,p as F,b as q,am as X,g6 as $e,an as ye,aj as ve}from"./index-DyBrELD_.js";import{n as r}from"./mui-D3hEqMLm.js";import{T as je}from"./RoleWithToolTip-C8x5yXaK-DMsCF0JH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="0111f81d-6530-4df1-8312-eff70adb337b",e._sentryDebugIdIdentifier="sentry-dbid-0111f81d-6530-4df1-8312-eff70adb337b")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ as fe,g as be,gd as xe,O as E,N as we,bK as W,ge as Z,ar as H,gf as Y,bI as B,d as R,w as G,an as X,gg as $e,ao as ye,ak as ve}from"./index-DMG72kst.js";import{n as r}from"./mui-PTGaeBGX.js";import{T as je}from"./RoleWithToolTip-Ct3_VuDM-DPE6FK82.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="96a4cfd9-e956-48bb-af83-a2f8b332df80",e._sentryDebugIdIdentifier="sentry-dbid-96a4cfd9-e956-48bb-af83-a2f8b332df80")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -55,23 +55,23 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
55
55
  `,Ve=r(M)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
- `,Pe=r.div`
58
+ `,ke=r.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  height: ${s.sp6};
62
62
  gap: ${s.sp2};
63
63
  justify-content: ${e=>e.menuIsOpen?"flex-start":"flex-end"};
64
64
  width: 100%;
65
- `,ke=r(X)`
65
+ `,Pe=r(X)`
66
66
  white-space: nowrap;
67
67
  overflow: hidden;
68
68
  text-overflow: ellipsis;
69
- `,Re=r.div`
69
+ `,Ee=r.div`
70
70
  display: flex;
71
71
  align-items: center;
72
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
72
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?R.important:e.theme.colors.grey1};
73
73
  fill: ${e=>e.theme.colors.grey1};
74
- `,Ee=r(ve)`
74
+ `,Ne=r(ve)`
75
75
  color: ${e=>e.hasSelectedUser?e.theme.colors.primary:e.theme.colors.hero};
76
76
  margin-left: -10px;
77
77
  margin-right: -10px;
@@ -89,21 +89,21 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
89
89
  box-sizing: border-box;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- `,Fe=r(M)`
92
+ `,Re=r(M)`
93
93
  align-items: center;
94
94
  gap: ${s.sp2};
95
- `,E=r.div`
95
+ `,N=r.div`
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,B=r.div``,Ne=r.div`
99
+ `,J=r.div``,Fe=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
103
103
  .select-control {
104
104
  border: none;
105
105
  height: 100%;
106
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?F.importantLight:e.theme.colors.grey5};
106
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?R.importantLight:e.theme.colors.grey5};
107
107
  box-shadow: none;
108
108
  border-radius: ${s.sp1};
109
109
  &:hover {
@@ -133,7 +133,7 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${q.standardRegular.css};
136
+ ${G.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${q.standardRegular.css};
148
+ ${G.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -159,7 +159,7 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
159
159
  visibility: visible;
160
160
  }
161
161
  ::placeholder {
162
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
162
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?R.important:e.theme.colors.grey1};
163
163
  }
164
164
  }
165
165
  }
@@ -168,11 +168,11 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
168
168
  width: ${e=>e.windowSize==="small"?"max-content":"100%"};
169
169
  display: flex;
170
170
  flex-direction: column;
171
- `,Me=r(K)`
171
+ `,Me=r(Z)`
172
172
  width: ${s.sp5};
173
173
  height: ${s.sp5};
174
174
  color: ${e=>e.theme.colors.hero};
175
- `,Q=r($e)`
175
+ `,K=r($e)`
176
176
  color: ${e=>e.theme.colors.alert};
177
177
  text-transform: none;
178
178
  border: 1px solid ${e=>e.theme.colors.alert};
@@ -180,21 +180,21 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:k}}=Z(),L=fe(k,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Re,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(B,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(J,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(G,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(G,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(Q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(J,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(Q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(_.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(_.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const _e={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=Z(),k=U();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Ge,{width:w?.width,"data-testid":Y("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Je,{size:k,children:D})]})})},Ge=r.div`
183
+ `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:P}}=Q(),L=fe(P,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ne,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Me,{}),l.jsx(J,{children:l.jsx(N,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Pe,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(Y,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(N,{children:i})]}),S?l.jsx(_,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(Y,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(J,{children:[l.jsx(N,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(K,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(K,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Fe,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=Q(),P=U();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Ye,{width:w?.width,"data-testid":q("user-single-select",e),children:[l.jsx(_e,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Be,{size:P,children:D})]})})},Ye=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
187
- `,Je=r.label`
187
+ `,Be=r.label`
188
188
  color: ${e=>e.theme.colors.hero};
189
- ${e=>`${_e.infoLabel.style(e.size)}`};
189
+ ${e=>`${We.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(qe,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":Y("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const qe=r.div`
192
+ `,F={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Qe({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:F.labelMarginLeft.value(f),marginRight:F.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
196
196
  background-color: ${e=>e.theme.colors.grey5};
197
- width: ${e=>N.width.valuePx(e.size)};
197
+ width: ${e=>F.width.valuePx(e.size)};
198
198
  min-height: ${s.sp6};
199
199
  padding-right: ${s.sp2};
200
200
  padding-top: ${s.sp2};
@@ -226,4 +226,4 @@ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex a
226
226
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
227
227
  }
228
228
  }
229
- `;export{Ze as Y};
229
+ `;export{Qe as Y};
@@ -1,4 +1,4 @@
1
- import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d as X,b as M,bJ as ie,O as te,g0 as se,g7 as ae,aL as ne,b3 as de,bK as B,bc as ce,bI as pe,cE as ue,p as C,g8 as F,ck as q,i as he,aj as Y,am as ge,an as me,fO as be,fN as fe,by as xe,fP as ye,bk as we,g9 as ve}from"./index-DyBrELD_.js";import{n as d,c as $e}from"./mui-D3hEqMLm.js";import{a as D}from"./sentry-BV4jcjA3.js";import{Gv as A,Gw as Re}from"./zeni-epic-state-wSe7lDM8.js";import{T as je}from"./RoleWithToolTip-C8x5yXaK-DMsCF0JH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="7194e284-37e0-4a7d-8ee1-0416ec868ab3",e._sentryDebugIdIdentifier="sentry-dbid-7194e284-37e0-4a7d-8ee1-0416ec868ab3")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g as q,w as I,bJ as ie,O as te,ga as se,gh as ae,aM as ne,b3 as de,bK as B,bc as ce,bI as pe,cL as ue,d as D,gi as F,cq as X,a as he,ak as Y,an as ge,ao as me,fY as be,fX as fe,by as xe,fZ as ye,bk as we,gj as ve}from"./index-DMG72kst.js";import{n as d,c as $e}from"./mui-PTGaeBGX.js";import{a as C}from"./sentry-DA3cfNtR.js";import{Gw as A,Gx as Re}from"./zeni-epic-state-qJAZZeEy.js";import{T as je}from"./RoleWithToolTip-Ct3_VuDM-DPE6FK82.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="aeca106b-a133-461f-ab96-e103a04f12f8",e._sentryDebugIdIdentifier="sentry-dbid-aeca106b-a133-461f-ab96-e103a04f12f8")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -20,14 +20,14 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
20
20
  ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
21
21
  }
22
22
  }
23
- `,De=d.div`
23
+ `,Ce=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=I(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(ke,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(De,{className:"verticalLine"}):null]},u.value))})},V={allRolesMarginLeftRight:new m(n[3],n[4])},Ce=d.div`
25
+ `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(ke,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},L={allRolesMarginLeftRight:new m(n[3],n[4])},De=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
29
- margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
30
- margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
29
+ margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
30
+ margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
@@ -51,7 +51,7 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
51
51
  flex-direction: row;
52
52
  margin-bottom: ${o.sp3};
53
53
  justify-content: space-between;
54
- `,Te=d(q)`
54
+ `,Te=d(X)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
57
  `,Z=d(Y)`
@@ -60,7 +60,7 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
60
60
  `,Be=d.div`
61
61
  display: flex;
62
62
  .roleTitle {
63
- color: ${e=>e.isError?C.important:e.theme.colors.hero};
63
+ color: ${e=>e.isError?D.important:e.theme.colors.hero};
64
64
  }
65
65
  .roleSubTitle {
66
66
  color: ${e=>e.theme.colors.hero};
@@ -84,15 +84,15 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
84
84
  border-color: ${e=>e.theme.colors.primary};
85
85
  }
86
86
  }
87
- `,Ie=d.div`
87
+ `,Me=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Le=d(q)`
90
+ `,Ve=d(X)`
91
91
  display: flex;
92
- `,Me=d(Y)`
92
+ `,Ie=d(Y)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
- `,Ve=d(me)`
95
+ `,Le=d(me)`
96
96
  display: flex;
97
97
  padding: 1px 6px 1px 6px;
98
98
  border: 1px solid;
@@ -129,13 +129,13 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
129
129
  width: ${o.sp4};
130
130
  height: ${o.sp4};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,Ge=d.div`
132
+ `,Je=d.div`
133
133
  display: flex;
134
134
  flex-direction: column;
135
- margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
- margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
- color: ${e=>e.theme.mode==="light"?C.brandColorOnyx:C.brandColorPearl};
138
- `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Fe,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(We,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ke=e=>l.jsxs(Ie,{children:[l.jsx(Le,{className:"roleTitle",children:F[e].label}),l.jsx(Me,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=I(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=D.useCallback(h=>{const t=se([h]),k=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===k),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=D.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);D.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,z=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ge,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(Ce,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:z(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Je(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=I();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const qe=d.div`
135
+ margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
+ margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
+ color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
138
+ `,Ge=e=>{switch(e){case"bookkeeping":return l.jsx(Fe,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(We,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Ve,{className:"roleTitle",children:F[e].label}),l.jsx(Ie,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=C.useCallback(h=>{const t=se([h]),k=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===k),V=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:V?void 0:v[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=C.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);C.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,z=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Je,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(De,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:z(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Ge(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Xe=d.div`
139
139
  display: flex;
140
140
  flex-direction: ${e=>e.isDisabled?"row":"column"};
141
141
  align-items: ${e=>e.isDisabled?"center":"flex-start"};
@@ -169,7 +169,7 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Ye({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=D.useState(),{formState:{errors:z}}=E(),h=Q(z,b??"");D.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),D.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),k=I(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=M.smallRegular.cssObject,_=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:k==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...M.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:k==="small"?"230px":"100%",right:k==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:k==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=A(O.value)&&s===!0,U=G(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:U,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:G(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return D.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:U}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:U,isError:h,isValuePlacedAtEnd:y,windowSize:k,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&A(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,G=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?C.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
172
+ `;function Ye({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=C.useState(),{formState:{errors:z}}=E(),h=Q(z,b??"");C.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),C.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),k=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,V=I.smallRegular.cssObject,_=V,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:k==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...I.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:k==="small"?"230px":"100%",right:k==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:k==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=A(O.value)&&s===!0,U=J(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...V,color:U,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return C.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:U}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:U,isError:h,isValuePlacedAtEnd:y,windowSize:k,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&A(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -189,7 +189,7 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
189
189
  .select-control {
190
190
  border: none;
191
191
  height: ${e=>e.windowSize==="small"?"auto":o.sp6};
192
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?C.importantLight:e.theme.colors.grey5};
192
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?D.importantLight:e.theme.colors.grey5};
193
193
  box-shadow: none;
194
194
  &:hover {
195
195
  fill: ${e=>e.theme.colors.primary};
@@ -218,7 +218,7 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
218
218
  border-radius: ${o.sp0};
219
219
  margin: ${o.sp0};
220
220
  color: ${e=>e.theme.colors.primary};
221
- ${M.standardRegular.css};
221
+ ${I.standardRegular.css};
222
222
  box-sizing: border-box;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
@@ -229,7 +229,7 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
229
229
  display: flex;
230
230
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue==null?o.sp0:"100%"};
231
231
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
232
- ${M.standardRegular.css};
232
+ ${I.standardRegular.css};
233
233
  color: ${e=>e.theme.colors.primary};
234
234
  margin: ${o.sp0};
235
235
  cursor: inherit;
@@ -247,18 +247,18 @@ import{J as I,V as l,cQ as J,y as m,o,aR as H,u as n,cL as E,eG as K,ex as Q,d a
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?C.important:e.theme.colors.grey1};
250
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
251
251
  }
252
252
  }
253
253
  }
254
254
  .placeholder-container {
255
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?C.important:e.theme.colors.grey1};
255
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
256
256
  }
257
257
  > div:nth-last-of-type(2) .seperator {
258
258
  visibility: hidden;
259
259
  }
260
260
  }
261
- `,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:z=>{x({allOptions:c.allOptions,selectedOptions:z}),$?.(z)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=I();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
261
+ `,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:z=>{x({allOptions:c.allOptions,selectedOptions:z}),$?.(z)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as ge,ga as fe,aT as xe,O as W,o as t,y as m,a as be,x as ye,cM as V,iO as we,p as je,b as P,bj as Ce,u as r}from"./index-DyBrELD_.js";import{a as J}from"./sentry-BV4jcjA3.js";import{n as i}from"./mui-D3hEqMLm.js";import{GY as G,GV as Se,GW as De}from"./zeni-epic-state-wSe7lDM8.js";import $e from"./TransactionDetailPage-f7vWtXWL-WDAq0TSH.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js";import"./TrendWithTransactions-CTJhTpAM-COrQLjb7.js";import"./TrendChart-JTOG0a7B-Bjcs41DB.js";import"./chartTypes-40RenddT-DZcmdGKn.js";import"./toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js";import"./toChartData-C6s-eBzE-DCXAm4rQ.js";import"./NoDataChart-CgT19fV7-DcCaLcsZ.js";import"./InsightsSection-De9zu_me-Bh9zGZF1.js";import"./NavigationDots-Bv4tBDN3-3qW0LzNq.js";import"./TransactionList-3-mUZOsw-DUcE4Bg8.js";import"./ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js";import"./BoxItem-DRwx0M5a-BMNzRCBU.js";import"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import"./panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js";import"./uploadAttachment-BlLqRIXe-B5ch9itw.js";import"./radio-default-CiSgisfh-eAbgY-Yj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a1cf8e76-ae62-4288-92cc-345fecc48660",e._sentryDebugIdIdentifier="sentry-dbid-a1cf8e76-ae62-4288-92cc-345fecc48660")}catch{}})();const M={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as ge,gk as fe,aT as be,O as Q,o as t,x as m,n as xe,b as ye,cV as V,i_ as we,d as je,w as I,bj as Ce,u as r}from"./index-DMG72kst.js";import{a as O}from"./sentry-DA3cfNtR.js";import{n as i}from"./mui-PTGaeBGX.js";import{GZ as W,GW as Se,GX as De}from"./zeni-epic-state-qJAZZeEy.js";import $e from"./TransactionDetailPage-1-mLOWSz-D2-6FnXF.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./LabeledControlledCheckBoxField-CcPO1k23-Y5RGRfkw.js";import"./TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js";import"./TrendChart-Bnp4Pcdf-BY18h9jb.js";import"./chartTypes-CD3vrBsI-B60Spgf7.js";import"./toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js";import"./toChartData-DUL6vnzJ-BfCuWWLN.js";import"./NoDataChart-CrKeqWSr-4ekDnDn1.js";import"./InsightsSection-B6CNlTNH-C1k0XkMl.js";import"./NavigationDots-Dvce3gHt-CdTxmSBW.js";import"./TransactionList-BB-xoIGm-Cs0g42iq.js";import"./ConstrainedInnerElement-CgdnMeoA--qLpImjq.js";import"./BoxItem-Bxa1M4QU-C6dqF4Ox.js";import"./commonDimensions-Oz1tdAcx-DwbBmI-Z.js";import"./panelSelectedMixin-Cddsb26L-CGfB88iV.js";import"./uploadAttachment-Ck4wivBR-Bh6Y3xK9.js";import"./radio-default-CiSgisfh-D9daKtZ-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="5f9503cd-ceb5-45f0-86ee-0ded7880e5d9",e._sentryDebugIdIdentifier="sentry-dbid-5f9503cd-ceb5-45f0-86ee-0ded7880e5d9")}catch{}})();const B={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
12
12
  `,Ee=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${P.largeMedium.css};
16
- `,Ie=i.div`
15
+ ${I.largeMedium.css};
16
+ `,Pe=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,R=(e,l)=>`${e}.${l}`;function Pe({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=H();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:C.header}),n.jsxs(ke,{children:[n.jsx(V,{label:{label:o.jePostingDate,width:M.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:R(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Ie,{}),n.jsx(V,{label:{label:o.jeLink,width:M.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:R(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},F="linkJETransactionPage",Q="linkJETransaction",Z=W.getLocalizedStrings(),{common:{footer:B},dateFormat:Le}=Z,xt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=H(),A=ue(u),y=G(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};J.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),J.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:x}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",O=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&O&&v||$&&z&&v,k=O&&v;return n.jsxs(Te,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Je,{windowSize:p,children:x.linkJE}),n.jsx(Oe,{children:n.jsx(Ve,{onClick:U})})]}),n.jsxs(Ae,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(F),onSubmit:f.handleSubmit(oe),children:n.jsx(Pe,{jePostingDate:s.postingDate,sectionId:Q,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Re,{windowSize:p,children:[n.jsx(Fe,{})," ",x.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Me,{children:[re?n.jsx(q,{windowSize:p,children:x.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:x.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(xe,{formId:w?Y(F):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?x.fetchJE:B.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:B.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Q]:{qboURL:G(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Te=i.div`
22
+ `,F=(e,l)=>`${e}.${l}`;function Ie({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=G();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:C.header}),n.jsxs(ke,{children:[n.jsx(V,{label:{label:o.jePostingDate,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:F(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Pe,{}),n.jsx(V,{label:{label:o.jeLink,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:F(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Z="linkJETransaction",H=Q.getLocalizedStrings(),{common:{footer:M},dateFormat:Le}=H,bt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:X,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=G(),A=ue(u),y=W(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=H,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&R&&v||$&&z&&v,k=R&&v;return n.jsxs(Te,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Oe,{windowSize:p,children:b.linkJE}),n.jsx(Re,{children:n.jsx(Ve,{onClick:U})})]}),n.jsxs(Ae,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(J),onSubmit:f.handleSubmit(oe),children:n.jsx(Ie,{jePostingDate:s.postingDate,sectionId:Z,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Fe,{windowSize:p,children:[n.jsx(Je,{})," ",b.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:X??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Be,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(J):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Z]:{qboURL:W(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Te=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -36,10 +36,10 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
36
36
  align-items: center;
37
37
  top: ${t.sp0};
38
38
  z-index: 2;
39
- padding-left: ${e=>b.containerPaddingLeft.valuePx(e.windowSize)};
40
- padding-right: ${e=>b.containerPaddingRight.valuePx(e.windowSize)};
41
- padding-top: ${e=>b.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
- padding-bottom: ${e=>b.navbarContainerPaddingBottom.valuePx(e.windowSize)};
39
+ padding-left: ${e=>x.containerPaddingLeft.valuePx(e.windowSize)};
40
+ padding-right: ${e=>x.containerPaddingRight.valuePx(e.windowSize)};
41
+ padding-top: ${e=>x.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
+ padding-bottom: ${e=>x.navbarContainerPaddingBottom.valuePx(e.windowSize)};
43
43
  `,Ne=i.div`
44
44
  max-width: 100%;
45
45
  margin-bottom: ${t.sp5};
@@ -48,7 +48,7 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Oe=i.div`
51
+ `,Re=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
@@ -61,7 +61,7 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Je=i(be)`
64
+ `,Oe=i(xe)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
@@ -69,7 +69,7 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
69
69
  margin: auto;
70
70
  justify-content: center;
71
71
  `,q=i.div`
72
- height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
72
+ height: ${e=>x.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
75
75
  justify-content: center;
@@ -78,11 +78,11 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${P.standardRegular.css};
82
- `,Me=i.div`
81
+ ${I.standardRegular.css};
82
+ `,Be=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
- `,Re=i.div`
85
+ `,Fe=i.div`
86
86
  display: flex;
87
87
  align-items: center;
88
88
  gap: ${t.sp1};
@@ -91,8 +91,8 @@ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as g
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${P.standardRegular.css};
95
- `,Fe=i(Ce)`
94
+ ${I.standardRegular.css};
95
+ `,Je=i(Ce)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
- `;export{xt as default,Y as uniqueFormName};
98
+ `;export{bt as default,Y as uniqueFormName};