@zeniai/web-cockpit-ui 1.15.52-dev → 1.15.53-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 (346) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-DmDhM3Ya.js +21 -0
  2. package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
  7. package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
  11. package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
  12. package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
  13. package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
  14. package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
  15. package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
  17. package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
  19. package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
  20. package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
  21. package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
  23. package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
  30. package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
  32. package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
  33. package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
  34. package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
  38. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
  40. package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
  42. package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
  43. package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
  46. package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
  58. package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
  62. package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
  63. package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
  64. package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
  65. package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
  66. package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
  76. package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
  78. package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
  82. package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
  83. package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
  94. package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
  98. package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
  99. package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
  108. package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
  109. package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
  110. package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
  111. package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
  113. package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
  114. package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
  115. package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
  123. package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
  124. package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
  128. package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
  135. package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
  136. package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
  137. package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
  138. package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
  139. package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
  140. package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
  145. package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
  146. package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
  147. package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
  148. package/dist/assets/SignInScreen-efHROixG.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
  151. package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
  152. package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
  153. package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
  154. package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
  156. package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
  161. package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
  162. package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
  165. package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
  166. package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
  167. package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
  169. package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
  170. package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
  172. package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
  174. package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
  175. package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
  176. package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
  177. package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
  179. package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
  188. package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
  189. package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
  190. package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
  192. package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
  193. package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
  194. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
  196. package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
  197. package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
  200. package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
  202. package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
  205. package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
  206. package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
  207. package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
  208. package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
  209. package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
  210. package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
  211. package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
  212. package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
  213. package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
  214. package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
  215. package/dist/assets/epic-DzSc1k1-.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
  220. package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
  221. package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
  222. package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
  223. package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
  224. package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
  225. package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
  226. package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
  227. package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
  228. package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
  229. package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
  230. package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
  237. package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
  241. package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
  242. package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
  243. package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
  244. package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
  245. package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
  246. package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
  247. package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
  248. package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
  249. package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
  250. package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
  254. package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
  256. package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
  257. package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
  260. package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
  265. package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
  266. package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
  268. package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
  269. package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
  270. package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
  271. package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
  272. package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
  273. package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
  274. package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
  275. package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
  276. package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
  277. package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
  278. package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
  279. package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
  280. package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
  282. package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
  283. package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
  284. package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
  285. package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
  286. package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
  287. package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
  288. package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
  289. package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
  290. package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
  291. package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
  292. package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
  293. package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
  294. package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
  295. package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
  296. package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
  297. package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
  298. package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
  299. package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
  300. package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
  301. package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
  302. package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
  303. package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
  304. package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
  305. package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
  306. package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
  307. package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
  308. package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
  309. package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
  310. package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
  311. package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
  312. package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
  313. package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
  314. package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
  315. package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
  316. package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
  317. package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
  318. package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
  319. package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
  320. package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
  321. package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
  322. package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
  323. package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
  324. package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
  325. package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
  326. package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
  327. package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
  328. package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
  329. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
  330. package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
  331. package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
  332. package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
  333. package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
  334. package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
  335. package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
  336. package/dist/assets/epic-CJba3GMN.js +0 -2
  337. package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
  338. package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
  339. package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
  340. package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
  341. package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
  342. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
  343. package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
  344. package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
  345. package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
  346. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
@@ -1,4 +1,4 @@
1
- import{K as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,eH as P,bJ as T,c as N,bK as p,eZ as B,d as H,an as K,w as $,bI as A}from"./index-D0RCZvbR.js";import{n as a}from"./mui-CWpKo4a_.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]="9079aeba-1d58-43b5-9898-dc89c21bff35",e._sentryDebugIdIdentifier="sentry-dbid-9079aeba-1d58-43b5-9898-dc89c21bff35")}catch{}})();const G=({name:e,registerOptions:r,defaultValue:t,isDisabled:n,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=k(),w=C(),x=S(d,e??""),_=i=>({value:i.value,label:i.label}),D=i=>i.map(m=>_(m)),L=i=>{if(!(i==null||!i))return{value:i,label:t.allOptions.find(m=>m.value===i)?.label??i}},I=i=>i.map(m=>L(m)),M={container:i=>({...i,width:"100%",...h}),menu:i=>({...i,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:i=>({...i,borderRadius:l.sp1})},R={hasError:x};return o.jsx(P,{name:e,control:f,defaultValue:t,rules:r,render:({field:{onChange:i,onBlur:m,value:y,ref:F}})=>o.jsx(T,{...R,ref:F,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:I(y.selectedOptions),options:D(y.allOptions),onChange:O=>{i({selectedOptions:O.map(z=>z?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:J,Option:ee,Input:W,MultiValue:Z,MultiValueLabel:U,MultiValueRemove:X,ValueContainer:Q,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:q,ClearIndicator:Y},hideSelectedOptions:!1,styles:M,isDisabled:n!=null})})},J=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:n,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:r,isFocused:t,isDisabled:n,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},Q=e=>{const{selectProps:r}=e,{value:t}=r;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(n=>n.label).join(", ")})]})},W=e=>{const{selectProps:r}=e,{placeholder:t,value:n}=r;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:n.length===0?t:void 0,children:e.children})},Z=e=>o.jsx(p.MultiValue,{...e,children:e.children}),U=e=>{const{data:r}=e;return o.jsx(p.MultiValueLabel,{...e,children:r.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(v,{style:{marginTop:"2px"}})}),Y=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(v,{})}),q=()=>null,ee=e=>{const{isSelected:r,isDisabled:t,isFocused:n}=e;return o.jsx(ie,{isFocused:n,isSelected:r,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(re,{children:[o.jsx(B,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:r,isDisabled:t,children:e.label})}),r?o.jsxs(ne,{children:[o.jsx(ae,{className:"right-tick-icon"}),o.jsx(v,{className:"close-tick-icon"})]}):null]})})})},oe=a.div`
1
+ import{J as E,cL as k,ex as S,V as o,cQ as V,y as u,p as g,o as l,u as s,d as C,eG as P,bJ as T,H as N,bK as p,eY as H,x as B,am as J,b as $,bI as G}from"./index-ByXRm0Fj.js";import{n as a}from"./mui-BtuxyOQU.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]="de581fd7-e117-47fb-8cf5-03dcab11fac3",e._sentryDebugIdIdentifier="sentry-dbid-de581fd7-e117-47fb-8cf5-03dcab11fac3")}catch{}})();const Q=({name:e,registerOptions:r,defaultValue:t,isDisabled:n,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=k(),w=C(),x=S(d,e??""),D=i=>({value:i.value,label:i.label}),_=i=>i.map(m=>D(m)),L=i=>{if(!(i==null||!i))return{value:i,label:t.allOptions.find(m=>m.value===i)?.label??i}},I=i=>i.map(m=>L(m)),M={container:i=>({...i,width:"100%",...h}),menu:i=>({...i,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:i=>({...i,borderRadius:l.sp1})},F={hasError:x};return o.jsx(P,{name:e,control:f,defaultValue:t,rules:r,render:({field:{onChange:i,onBlur:m,value:y,ref:R}})=>o.jsx(T,{...F,ref:R,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:I(y.selectedOptions),options:_(y.allOptions),onChange:z=>{i({selectedOptions:z.map(O=>O?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:A,Option:ee,Input:Y,MultiValue:U,MultiValueLabel:W,MultiValueRemove:X,ValueContainer:K,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:q,ClearIndicator:Z},hideSelectedOptions:!1,styles:M,isDisabled:n!=null})})},A=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:n,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:r,isFocused:t,isDisabled:n,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},K=e=>{const{selectProps:r}=e,{value:t}=r;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(n=>n.label).join(", ")})]})},Y=e=>{const{selectProps:r}=e,{placeholder:t,value:n}=r;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:n.length===0?t:void 0,children:e.children})},U=e=>o.jsx(p.MultiValue,{...e,children:e.children}),W=e=>{const{data:r}=e;return o.jsx(p.MultiValueLabel,{...e,children:r.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(v,{style:{marginTop:"2px"}})}),Z=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(v,{})}),q=()=>null,ee=e=>{const{isSelected:r,isDisabled:t,isFocused:n}=e;return o.jsx(ie,{isFocused:n,isSelected:r,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(re,{children:[o.jsx(H,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:r,isDisabled:t,children:e.label})}),r?o.jsxs(ne,{children:[o.jsx(ae,{className:"right-tick-icon"}),o.jsx(v,{className:"close-tick-icon"})]}):null]})})})},oe=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -118,7 +118,7 @@ import{K as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,
118
118
  }
119
119
  }
120
120
  }
121
- `,le=a(K)`
121
+ `,le=a(J)`
122
122
  color: ${e=>e.theme.colors.primary};
123
123
  width: 100%;
124
124
  overflow: hidden;
@@ -169,16 +169,16 @@ import{K as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,
169
169
  align-items: center;
170
170
  `,ne=a.div`
171
171
  display: flex;
172
- `,ae=a(A)`
172
+ `,ae=a(G)`
173
173
  width: 12px;
174
174
  height: 12px;
175
175
  margin-right: 2px;
176
176
  color: ${e=>e.theme.colors.primary};
177
- `,v=a(H)`
177
+ `,v=a(B)`
178
178
  width: ${l.sp3};
179
179
  height: ${l.sp3};
180
180
  color: ${e=>e.theme.colors.primary};
181
- `,de=()=>null,ce=()=>null,c={width:new u(343,580,726),height:new u(s[6],s[6]),controlHeight:new u(s[6],s[6]),paddingTopBottom:new u(s[2],s[2]),marginRight:new u(s[2],s[2]),labelMarginLeft:new u(s[3],s[4]),labelMarginRight:new u(s[3],s[4]),labelMarginTop:new u(s[2],s[2])},ue={infoLabel:new N("extraSmallRegular","smallRegular")};function be({additionalInfoLabel:e,errorInfoLabel:r,isDisabled:t,label:n,multiSelectField:h,showAdditionalInfoOnError:b=!1,style:f}){const d=E(),{formState:{errors:w}}=k(),x=S(w,h.name);return o.jsxs(pe,{size:d,style:f,isDisabled:t!=null,isError:x,children:[o.jsx(V,{isDisabled:t,label:n.label,htmlFor:h.name,style:{marginLeft:c.labelMarginLeft.value(d),marginRight:c.labelMarginRight.value(d),marginTop:c.labelMarginTop.value(d),width:n.width??"auto"}}),o.jsxs(he,{children:[o.jsx(G,{...h,isDisabled:t,style:{display:"flex",flexGrow:1,minHeight:c.controlHeight.value(d)}}),e!=null&&(b===!0||!x)?o.jsx(j,{windowSize:d,isError:!1,children:e}):null,x&&r!=null?o.jsx(j,{windowSize:d,isError:!0,children:r}):null]})]})}const pe=a.div`
181
+ `,de=()=>null,ce=()=>null,c={width:new u(343,580,726),height:new u(s[6],s[6]),controlHeight:new u(s[6],s[6]),paddingTopBottom:new u(s[2],s[2]),marginRight:new u(s[2],s[2]),labelMarginLeft:new u(s[3],s[4]),labelMarginRight:new u(s[3],s[4]),labelMarginTop:new u(s[2],s[2])},ue={infoLabel:new N("extraSmallRegular","smallRegular")};function be({additionalInfoLabel:e,errorInfoLabel:r,isDisabled:t,label:n,multiSelectField:h,showAdditionalInfoOnError:b=!1,style:f}){const d=E(),{formState:{errors:w}}=k(),x=S(w,h.name);return o.jsxs(pe,{size:d,style:f,isDisabled:t!=null,isError:x,children:[o.jsx(V,{isDisabled:t,label:n.label,htmlFor:h.name,style:{marginLeft:c.labelMarginLeft.value(d),marginRight:c.labelMarginRight.value(d),marginTop:c.labelMarginTop.value(d),width:n.width??"auto"}}),o.jsxs(he,{children:[o.jsx(Q,{...h,isDisabled:t,style:{display:"flex",flexGrow:1,minHeight:c.controlHeight.value(d)}}),e!=null&&(b===!0||!x)?o.jsx(j,{windowSize:d,isError:!1,children:e}):null,x&&r!=null?o.jsx(j,{windowSize:d,isError:!0,children:r}):null]})]})}const pe=a.div`
182
182
  display: flex;
183
183
  flex-direction: row;
184
184
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{K as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH as G,c as K,y as X,b as Q,eX as q,O as A,dp as J,cw as U,bK as O,d2 as Y,dO as Z,w as k,bI as ee,d as le}from"./index-D0RCZvbR.js";import{n as a}from"./mui-CWpKo4a_.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]="ebfd5e06-6b0a-4dc0-b944-8594283e0325",e._sentryDebugIdIdentifier="sentry-dbid-ebfd5e06-6b0a-4dc0-b944-8594283e0325")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=X(),$=Oe(e,m),S=Q.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${S.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:D,selectProps:N}=l,{value:W}=N;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:D,selectedValue:W,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(O.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(O.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),_=l=>{const{selectProps:p}=l,{placeholder:L,value:D}=p;return t.jsx(O.Input,{...l,autoComplete:"new-password",placeholder:D==null?L:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(q,{isMulti:!1,onCreateOption:l=>{const p=A(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${S.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:_,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},J())},ie=e=>t.jsx(O.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(O.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{J as W,cL as F,ex as z,V as t,cQ as B,y as x,aR as I,p as u,u as s,o as i,eG as G,H as Q,d as J,F as K,eW as X,B as q,dn as A,cv as U,bK as S,d1 as Y,dO as Z,b as k,bI as ee,x as le}from"./index-ByXRm0Fj.js";import{n as a}from"./mui-BtuxyOQU.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]="3ee16b20-5f5f-485e-9931-804c48e11acc",e._sentryDebugIdIdentifier="sentry-dbid-3ee16b20-5f5f-485e-9931-804c48e11acc")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=J(),$=Se(e,m),C=K.getLocalizedStrings().dropDowns,O=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:H}=l,{value:N}=H;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:N,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),_=l=>{const{selectProps:p}=l,{placeholder:D,value:L}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(X,{isMulti:!1,onCreateOption:l=>{const p=q(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:T,Option:ae,Input:_,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -153,7 +153,7 @@ import{K as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH a
153
153
  justify-content: inherit;
154
154
  align-items: center;
155
155
  width: 100%;
156
- `,ve=()=>null,Ie=()=>null,je=()=>null,Oe=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Se=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=R(y,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":I("creatable-single-select-field",e),rules:r,render:({field:{value:S,onChange:C}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{f?.(v??""),C({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:S.selectedOption,allValues:o.allOptions,addIconInCreateLabel:w,isOptionRemovable:b,getLabelForId:j,tagProperties:m,hasError:$,name:e})})})},g={width:new x(343,580,726),height:new x(s[6],s[6]),controlHeight:new x(s[6],s[6]),paddingTopBottom:new x(s[2],s[2]),marginRight:new x(s[2],s[2]),labelMarginLeft:new x(s[3],s[4]),labelMarginRight:new x(s[3],s[4]),labelMarginTop:new x(s[2],s[2])},Ce={infoLabel:new K("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:w,addIconInCreateLabel:b,additionalInfoTextColor:m,onSelectChange:f,getLabelForId:j}){const c=H(),{formState:{errors:y}}=F(),$=R(y,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:$,"data-testid":I("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(De,{labelWidth:r.width,children:[t.jsx(Se,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&b===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:f,isOptionRemovable:w,addIconInCreateLabel:b,getLabelForId:j}),t.jsx(V,{size:c,additionalInfoTextColor:m,children:d}),$&&t.jsx(V,{size:c,hasError:$,children:h})]})]})}const Le=a.div`
156
+ `,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>R(o,r)),R=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ce=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=z(y,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":I("creatable-single-select-field",e),rules:r,render:({field:{value:C,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{f?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.selectedOption,allValues:o.allOptions,addIconInCreateLabel:w,isOptionRemovable:b,getLabelForId:j,tagProperties:m,hasError:$,name:e})})})},g={width:new x(343,580,726),height:new x(s[6],s[6]),controlHeight:new x(s[6],s[6]),paddingTopBottom:new x(s[2],s[2]),marginRight:new x(s[2],s[2]),labelMarginLeft:new x(s[3],s[4]),labelMarginRight:new x(s[3],s[4]),labelMarginTop:new x(s[2],s[2])},Oe={infoLabel:new Q("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:w,addIconInCreateLabel:b,additionalInfoTextColor:m,onSelectChange:f,getLabelForId:j}){const c=W(),{formState:{errors:y}}=F(),$=z(y,o.name??"");return t.jsxs(De,{size:c,style:n,isDisabled:e!=null,hasError:$,"data-testid":I("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(Le,{labelWidth:r.width,children:[t.jsx(Ce,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&b===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:f,isOptionRemovable:w,addIconInCreateLabel:b,getLabelForId:j}),t.jsx(V,{size:c,additionalInfoTextColor:m,children:d}),$&&t.jsx(V,{size:c,hasError:$,children:h})]})]})}const De=a.div`
157
157
  display: flex;
158
158
  flex-direction: row;
159
159
  align-items: flex-start;
@@ -189,7 +189,7 @@ import{K as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH a
189
189
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError===!0?u.importantLight:e.theme.colors.background};
190
190
  }
191
191
  }
192
- `,De=a.div`
192
+ `,Le=a.div`
193
193
  display: flex;
194
194
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
195
195
  justify-content: flex-end;
@@ -202,7 +202,7 @@ import{K as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH a
202
202
  `,V=a.label`
203
203
  color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
204
204
  width: auto;
205
- ${e=>`${Ce.infoLabel.style(e.size)}`};
205
+ ${e=>`${Oe.infoLabel.style(e.size)}`};
206
206
  padding-right: ${i.sp3};
207
207
  text-align: right;
208
208
  `;export{Fe as I};
@@ -0,0 +1,41 @@
1
+ import{J as W,cL as j,ex as g,V as r,cQ as U,y as a,eX as k,F as N,aR as O,u as i,o,p as _,H as A}from"./index-ByXRm0Fj.js";import{n as d}from"./mui-BtuxyOQU.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]="ccc46613-5943-4616-903c-f4e4b1b45d61",e._sentryDebugIdIdentifier="sentry-dbid-ccc46613-5943-4616-903c-f4e4b1b45d61")}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])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function Q({label:e,isDisabled:l,isOptional:p,style:c,file:h,name:n,registerOptions:u,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:D=!1,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:L,onDeleteFile:R,onEditFileName:B,onFileSizeError:M}){const s=W(),{formState:{errors:m}}=j(),b=g(m,n),C=g(m,`${n}.fileName`);return r.jsxs(V,{size:s,style:c,isDisabled:l!=null,"data-testid":O("document-field",n),children:[r.jsx(U,{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(H,{labelWidth:e.width,size:s,children:[r.jsx(k,{name:n,filesEndPoint:P,authParams:F,registerOptions:u,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:D,updateFilesEntity:L,onFileSizeError:M,onDeleteFile:R,onEditFileName:B,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),b&&r.jsx(q,{size:s,isError:b,children:C&&h!=null?N.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=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
+ `,H=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
+ `,q=d.label`
36
+ display: flex;
37
+ color: ${e=>e.isError?_.important:e.theme.colors.grey1};
38
+ ${e=>`${J.infoLabel.style(e.size)}`};
39
+ padding-right: ${o.sp3};
40
+ text-align: right;
41
+ `;export{Q as Y};
@@ -1,4 +1,4 @@
1
- import{K as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as K,gl as O,p as s,c as P,bI as A}from"./index-D0RCZvbR.js";import{n as i}from"./mui-CWpKo4a_.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]="fa57d1cb-4374-4319-a0f0-c19f6d2cbb0f",e._sentryDebugIdIdentifier="sentry-dbid-fa57d1cb-4374-4319-a0f0-c19f6d2cbb0f")}catch{}})();const F={infoLabel:new P("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:h,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const n=V(),f=C(),{formState:{errors:I}}=g(),c=M(I,t.name),{control:S}=g(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(H,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(G,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...h},children:r.jsx(R,{name:j,control:S,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:T}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{T(u)},menuPlacement:v,titleTextStyle:K.standardRegular,titleColor:f.colors.hero,valueOpacity:1,backgroundColor:f.colors.grey5,placeholder:E})})})}),r.jsxs(U,{children:[r.jsx(O,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[x===!0?r.jsx(W,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:D})]})]})}const H=i.div`
1
+ import{J as V,d as C,cL as h,ex as R,V as r,o,eG as _,bT as H,b as J,gk as M,p as s,H as P,bI as A}from"./index-ByXRm0Fj.js";import{n as i}from"./mui-BtuxyOQU.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]="e3c0a617-c22c-4454-a62f-2946259524b2",e._sentryDebugIdIdentifier="sentry-dbid-e3c0a617-c22c-4454-a62f-2946259524b2")}catch{}})();const F={infoLabel:new P("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:k,defaultValue:p,isSelectDisabled:D,menuPlacement:v,name:I,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:E}}=h(),c=R(E,t.name),{control:S}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(G,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(K,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(W,{style:{width:"auto",...f},children:r.jsx(_,{name:I,control:S,defaultValue:p.dropDownValue,rules:k,render:({field:{value:l,onChange:T}})=>r.jsx(H,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||D,onPickerSelectionChanged:u=>{T(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(O,{children:[r.jsx(M,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[w===!0?r.jsx(U,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:L})]})]})}const G=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -33,7 +33,7 @@ import{K as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as K,gl as O,p a
33
33
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?s.importantLight:e.theme.colors.background};
34
34
  }
35
35
  }
36
- `,U=i.div`
36
+ `,O=i.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-end;
@@ -44,7 +44,7 @@ import{K as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as K,gl as O,p a
44
44
  ${e=>`${F.infoLabel.style(e.size)}`};
45
45
  padding-right: ${o.sp3};
46
46
  text-align: right;
47
- `,W=i.div`
47
+ `,U=i.div`
48
48
  display: flex;
49
49
  margin-right: ${o.sp1};
50
50
  align-items: center;
@@ -52,8 +52,8 @@ import{K as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as K,gl as O,p a
52
52
  width: ${o.sp3};
53
53
  height: ${o.sp3};
54
54
  color: ${s.successDark};
55
- `,G=i.div`
55
+ `,K=i.div`
56
56
  display: flex;
57
57
  width: 100%;
58
58
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
- `,J=i.div``;export{q as Y};
59
+ `,W=i.div``;export{N as Y};
@@ -1,4 +1,4 @@
1
- import{K as h,V as o,cR as c,x as l,ac as g,u as t,o as a,an as p,c as u}from"./index-D0RCZvbR.js";import{n as r}from"./mui-CWpKo4a_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="fb6c34df-ce1e-4efc-9d09-2c4cfbe5f9af",e._sentryDebugIdIdentifier="sentry-dbid-fb6c34df-ce1e-4efc-9d09-2c4cfbe5f9af")}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 u("extraSmallRegular","smallRegular")};function R({label:e,value:d,additionalInfoLabel:s,style:f,infoLabelStyle:b}){const n=h();return o.jsxs(m,{size:n,style:f,"data-testid":g("labeled-text",e.label),children:[o.jsx(c,{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:d}),s!=null?o.jsx($,{size:n,style:b,children:s}):null]})]})}const m=r.div`
1
+ import{J as p,V as d,cQ as f,y as l,aR as g,u as t,o as a,am as u,H as c}from"./index-ByXRm0Fj.js";import{n as r}from"./mui-BtuxyOQU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="122a783e-af40-4e86-986e-d9dac7672bb3",e._sentryDebugIdIdentifier="sentry-dbid-122a783e-af40-4e86-986e-d9dac7672bb3")}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 R({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=p();return d.jsxs(m,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[d.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"}}),d.jsxs(x,{labelWidth:e.width,children:[d.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?d.jsx($,{size:n,style:h,children:s}):null]})]})}const m=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -16,7 +16,7 @@ import{K as h,V as o,cR as c,x as l,ac as g,u as t,o as a,an as p,c as u}from"./
16
16
  border-bottom-left-radius: inherit;
17
17
  border-bottom-right-radius: inherit;
18
18
  }
19
- `,w=r(p)`
19
+ `,w=r(u)`
20
20
  display: flex;
21
21
  border-width: ${a.sp0};
22
22
  outline-width: ${a.sp0};
@@ -1,4 +1,4 @@
1
- import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey as fe,y as be,g4 as xe,b as R,c as we,bK as _,g5 as Z,ar as H,g6 as B,bI as G,p as F,w as K,an as X,g7 as $e,ao as ye,ak as ve}from"./index-D0RCZvbR.js";import{n as r}from"./mui-CWpKo4a_.js";import{T as je}from"./RoleWithToolTip-5cp6EPl_-BFxPWWfA.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]="78b8611c-1628-45fa-8e82-f5f37ef618c0",e._sentryDebugIdIdentifier="sentry-dbid-78b8611c-1628-45fa-8e82-f5f37ef618c0")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{J as U,V as l,cQ as me,o as s,y as I,aR as B,u as m,cL as K,eG as ge,ex as be,d as fe,g3 as xe,F as R,H as we,bK as _,g4 as Z,aq as H,g5 as G,bI as J,p as F,b as Y,am as X,g6 as $e,an as ye,aj as ve}from"./index-ByXRm0Fj.js";import{n as r}from"./mui-BtuxyOQU.js";import{T as je}from"./RoleWithToolTip-DhBFvJea-vHmZXp6q.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]="3d70547d-39cf-4483-b643-38281138bd3a",e._sentryDebugIdIdentifier="sentry-dbid-3d70547d-39cf-4483-b643-38281138bd3a")}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;
@@ -25,12 +25,12 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey a
25
25
  gap: ${s.sp3};
26
26
  `,Ce=r(X)`
27
27
  display: flex;
28
- `,ze=r.div`
28
+ `,Le=r.div`
29
29
  width: 100%;
30
30
  display: flex;
31
31
  align-items: center;
32
32
  opacity: ${e=>e.isCurrOptionDisabled?.5:1};
33
- `,Le=r.div`
33
+ `,ze=r.div`
34
34
  display: flex;
35
35
  align-items: center;
36
36
  margin-right: ${s.sp2};
@@ -45,14 +45,14 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey a
45
45
  border-radius: 50%;
46
46
  justify-content: center;
47
47
  color: ${e=>e.theme.colors.hero};
48
- `,U=r.div`
48
+ `,M=r.div`
49
49
  display: flex;
50
50
  flex-direction: row;
51
51
  cursor: pointer;
52
52
  align-items: center;
53
53
  gap: ${s.sp2};
54
54
  height: 100%;
55
- `,Ve=r(U)`
55
+ `,Ve=r(M)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
58
  `,Pe=r.div`
@@ -89,14 +89,14 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey a
89
89
  box-sizing: border-box;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- `,Fe=r(U)`
92
+ `,Fe=r(M)`
93
93
  align-items: center;
94
94
  gap: ${s.sp2};
95
95
  `,E=r.div`
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,Y=r.div``,Ne=r.div`
99
+ `,q=r.div``,Ne=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -133,7 +133,7 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey a
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${K.standardRegular.css};
136
+ ${Y.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey 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
- ${K.standardRegular.css};
148
+ ${Y.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -164,15 +164,15 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey a
164
164
  }
165
165
  }
166
166
  }
167
- `,Me=r.div`
167
+ `,Ue=r.div`
168
168
  width: ${e=>e.windowSize==="small"?"max-content":"100%"};
169
169
  display: flex;
170
170
  flex-direction: column;
171
- `,Ue=r(Z)`
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
+ `,Q=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,16 +180,16 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey 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}}=Q(),L=fe(k,j??""),c=M(),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(Ue,{}),l.jsx(Y,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(G,{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(U,{children:[S||C?l.jsx(Z,{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(B,{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(B,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Y,{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(G,{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(Me,{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}=Q(),k=M();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Be,{width:w?.width,"data-testid":J("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(Ge,{size:k,children:D})]})})},Be=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:b,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:k}}=K(),z=be(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:z,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(q,{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(Z,{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],f=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:f,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=!!L?.(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),f=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(G,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(q,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),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:z,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=fe();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:b,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>L?.(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:b,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),k=U();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:o,render:({field:{value:z,onChange:c}})=>l.jsxs(Ge,{width:w?.width,"data-testid":B("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:b,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Je,{size:k,children:D})]})})},Ge=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
187
- `,Ge=r.label`
187
+ `,Je=r.label`
188
188
  color: ${e=>e.theme.colors.hero};
189
189
  ${e=>`${_e.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 Qe({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=M();return l.jsxs(Ke,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("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 Ke=r.div`
192
+ `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const b=U();return l.jsxs(Ye,{size:b,style:g,isDisabled:e!=null,opacity:j,"data-testid":B("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(b),marginRight:N.labelMarginRight.value(b),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 Ye=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -226,4 +226,4 @@ import{K as M,V as l,cR as me,o as s,x as I,ac as J,u as m,cM as Q,eH as ge,ey a
226
226
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
227
227
  }
228
228
  }
229
- `;export{Qe as Y};
229
+ `;export{Ke as Y};
@@ -1,4 +1,4 @@
1
- import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y as q,w as V,bJ as ie,b as te,g1 as se,g8 as ae,aM as ne,b3 as de,bK as M,bc as ce,bI as pe,cF as ue,p as D,g9 as F,ck as X,a as he,ak as Y,an as ge,ao as me,fP as be,fO as fe,by as xe,fQ as ye,bk as we,ga as ve}from"./index-D0RCZvbR.js";import{n as d,c as $e}from"./mui-CWpKo4a_.js";import{a as C}from"./sentry-D6_R-0PO.js";import{Gt as W,Gu as Re}from"./zeni-epic-state-CQm7BABf.js";import{T as je}from"./RoleWithToolTip-5cp6EPl_-BFxPWWfA.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]="ea3c0515-e8c8-4ad4-b672-008e142cbf87",e._sentryDebugIdIdentifier="sentry-dbid-ea3c0515-e8c8-4ad4-b672-008e142cbf87")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{J as L,V as l,cQ as G,y as m,o,aR as H,u as n,cL as E,eG as K,ex as q,d as Q,b as M,bJ as ie,F 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 U,ck as X,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-ByXRm0Fj.js";import{n as d,c as $e}from"./mui-BtuxyOQU.js";import{a as D}from"./sentry-BfjekFHA.js";import{FK as W,FL as Re}from"./zeni-epic-state-x1SruN8b.js";import{T as je}from"./RoleWithToolTip-DhBFvJea-vHmZXp6q.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]="2ca40470-9683-4f00-8033-d6307c500340",e._sentryDebugIdIdentifier="sentry-dbid-2ca40470-9683-4f00-8033-d6307c500340")}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,22 +20,22 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
20
20
  ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
21
21
  }
22
22
  }
23
- `,Ce=d.div`
23
+ `,De=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,A=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=B(),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`
25
+ `,A=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=L(),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(De,{className:"verticalLine"}):null]},u.value))})},V={allRolesMarginLeftRight:new m(n[3],n[4])},Ce=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
29
- margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
30
- margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
29
+ margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
30
+ margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
- `,ze=d.div`
34
+ `,Pe=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  width: 100%;
38
- `,Pe=d.div`
38
+ `,ze=d.div`
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  padding-left: ${o.sp4};
@@ -57,10 +57,10 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
57
57
  `,Z=d(Y)`
58
58
  display: flex;
59
59
  color: ${e=>e.theme.colors.hero};
60
- `,Me=d.div`
60
+ `,Be=d.div`
61
61
  display: flex;
62
62
  .roleTitle {
63
- color: ${e=>e.isError?D.important:e.theme.colors.hero};
63
+ color: ${e=>e.isError?C.important:e.theme.colors.hero};
64
64
  }
65
65
  .roleSubTitle {
66
66
  color: ${e=>e.theme.colors.hero};
@@ -84,15 +84,15 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
84
84
  border-color: ${e=>e.theme.colors.primary};
85
85
  }
86
86
  }
87
- `,Be=d.div`
87
+ `,Le=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
90
  `,Ie=d(X)`
91
91
  display: flex;
92
- `,Ve=d(Y)`
92
+ `,Me=d(Y)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
- `,Le=d(me)`
95
+ `,Ve=d(me)`
96
96
  display: flex;
97
97
  padding: 1px 6px 1px 6px;
98
98
  border: 1px solid;
@@ -101,11 +101,11 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
101
101
  `,Ee=d.div`
102
102
  display: flex;
103
103
  flex-direction: row;
104
- `,_e=d.div``,Ue=d.div`
104
+ `,_e=d.div``,Fe=d.div`
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Fe=d(ve)`
108
+ `,Ue=d(ve)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
@@ -129,13 +129,13 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
129
129
  width: ${o.sp4};
130
130
  height: ${o.sp4};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,Ke=d.div`
132
+ `,Je=d.div`
133
133
  display: flex;
134
134
  flex-direction: column;
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(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Je=e=>l.jsxs(Be,{children:[l.jsx(Ie,{className:"roleTitle",children:F[e].label}),l.jsx(Ve,{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=B(),$=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),I=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:I?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(Ke,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(De,{windowSize:f,children:[l.jsx(Me,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Je(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(A,{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(A,{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(J,{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=B();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`
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
+ `,Ge=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ke=e=>l.jsxs(Le,{children:[l.jsx(Ie,{className:"roleTitle",children:U[e].label}),l.jsx(Me,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=q(p,`${e}.userRole.selectedRole`),f=L(),$=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(z=>z.productType===k),I=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:I?void 0:v[R].options.filter(z=>z.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,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Je,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(Pe,{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(ze,{windowSize:f,isCollapsed:P(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(Fe,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(A,{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(A,{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=L();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{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y 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]=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=B(),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,I=V.smallRegular.cssObject,_=I,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,...V.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=W(O.value)&&s===!0,U=K(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,...I,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:K(!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(M.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(M.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&&W(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(M.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,K=(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(M.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(M.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]=D.useState(),{formState:{errors:P}}=E(),h=q(P,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=Q(),k=L(),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,I=M.smallRegular.cssObject,_=I,z=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:z?"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=W(O.value)&&s===!0,F=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,...I,color:F,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:z||!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:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,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&&W(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"?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)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -189,7 +189,7 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y 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?D.importantLight:e.theme.colors.grey5};
192
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?C.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{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
218
218
  border-radius: ${o.sp0};
219
219
  margin: ${o.sp0};
220
220
  color: ${e=>e.theme.colors.primary};
221
- ${V.standardRegular.css};
221
+ ${M.standardRegular.css};
222
222
  box-sizing: border-box;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
@@ -229,7 +229,7 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y 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
- ${V.standardRegular.css};
232
+ ${M.standardRegular.css};
233
233
  color: ${e=>e.theme.colors.primary};
234
234
  margin: ${o.sp0};
235
235
  cursor: inherit;
@@ -247,18 +247,18 @@ import{K as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as J,ey as Q,y a
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
250
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?C.important:e.theme.colors.grey1};
251
251
  }
252
252
  }
253
253
  }
254
254
  .placeholder-container {
255
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
255
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?C.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(J,{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=B();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`
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:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},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=L();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;