@zeniai/web-cockpit-ui 1.13.90-qa → 1.13.91-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 (244) hide show
  1. package/dist/assets/{ACHDetailsPage-ppaaVv4t-DerAWpBF.js → ACHDetailsPage---jqahtW-HkPM6iNK.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-brocrTLA-D-qOCG9N.js → AIPerformancePage-CqtdCyg8-Dj0j3-W5.js} +36 -36
  3. package/dist/assets/{AccountInfoPage-BkqXbGUJ-CPi6xrFM.js → AccountInfoPage-Bj1CYa-r-6hrIafHf.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-DOrQxiUF-eaKGkCbW.js → AccountInfoPageContent-qqbfRfuR-DLDodhYL.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-JXbUROYY.js → AccountReconDetailsDrawerPage-B4UwcNN9-Crki_oBL.js} +18 -18
  6. package/dist/assets/AccountRow-CPX-627p-B4ZaO0oz.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-ObKkidII.js → AccountsPromoCardStack-DJRAw09x-KYhdIp34.js} +26 -26
  8. package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-BdS_xiVp.js → AddAddressForCardDrawer-C16ksTIf-_DtEs9T5.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DTEIuDRq-B2C8ipcJ.js → AddToWalletPage-CDP1oPrv-D581H1KG.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-B8iVxaQX-BHVqW05k.js → AgingReportsPage-BE4plS7V-BI8-4bNE.js} +7 -7
  11. package/dist/assets/{AllUserItems-BepRyHp7-uJhUuJ3f.js → AllUserItems-hoI2_gnV-BVf131yZ.js} +8 -8
  12. package/dist/assets/{ApAgingDetailPage-DOObMUqB-PedjJRg4.js → ApAgingDetailPage-Lxprtz8c-v17bsYA_.js} +3 -3
  13. package/dist/assets/{AppBasePage-Ob8EkU54-B3S_sDum.js → AppBasePage-DNOkJf4q-CMKV9Zw9.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-CNsKktFP-ClFlv3eL.js → AppDrawerContent-DG2Jr298-DulxRmba.js} +10 -10
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-BW8_3MdX.js → ApprovalRulesSettingsPage-DnKXln0A-Dwcdgf1j.js} +6 -6
  16. package/dist/assets/{ArAgingChart-C0hTtEmV-VmVxz3SE.js → ArAgingChart-BRcy3--o-CqONheoM.js} +7 -7
  17. package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CIbWz25g.js → ArAgingDetailPage-Djsocm6M-DY45zDqC.js} +3 -3
  18. package/dist/assets/{AttachmentView-CATl3tNf-bIcN6zuK.js → AttachmentView-C3AzH7cN-Csi7tXqw.js} +8 -8
  19. package/dist/assets/{BankAccountSection-VSbZyxoY-DFVEfVO4.js → BankAccountSection-6zosSfPV-CL3CT6a1.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-a39s142r-B8eviNRA.js → BankAccountWarningSection-CWeN3me0-QfeSw0RL.js} +6 -6
  21. package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-UjtlbwmQ.js → BankConnectionsSettingsPage-C6e0pgD4-B1leagLf.js} +22 -22
  22. package/dist/assets/{BillDetailPage-uMG3JJPb-DAfvXj70.js → BillDetailPage-DyIokQbf-BaKgZbi4.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-2SsyPJ6y.js → BillPayApprovalRuleDetailPage-BOhQfwEj-CAExLIKt.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-DE8Fo-0J.js → BillPayApprovalRulesPage-CSua3b4v-Cw1EavO3.js} +7 -7
  25. package/dist/assets/{BillPayPromoPage-DoP2oC8W-DaX8TRVv.js → BillPayPromoPage-CtenNypw-CjfButz0.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-o-V-9aI5-PJo8w9bW.js → BillPaySetUpPage-CAnvQ_-Q-DJBEmdYy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX-rbxzB-rBFZmJ_t.js → BillingSettingsPage-CjSAhEFl-tgXS9QLV.js} +4 -4
  28. package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-UExbn0pb.js → BillsBulkReviewDrawerPage-B62rj2kN-BUJLVUNP.js} +1 -1
  29. package/dist/assets/{BoxItem-CHPfWPEF-D1R-06zc.js → BoxItem-Cqmd_7h4-S5g5H_Jr.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-DT24fycp-CWdqg83h.js +140 -0
  31. package/dist/assets/{CardNumberSubText-dxYfM6ph-DEOIkYXa.js → CardNumberSubText-DszoXtgg-ySKglJLN.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BfTC3IBm-bb4FBcKr.js → CashbackDetailPage-DAwARNZD-3Wx6cNnB.js} +13 -13
  33. package/dist/assets/{ChargeCardDetailPage-npqfreRG-6-EfyUyz.js → ChargeCardDetailPage-BzbR-Z63-7lzvBesN.js} +40 -40
  34. package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DRDAjXYS.js → ChargeCardListPage-DSOp7sFg-CW3N5mrs.js} +10 -10
  35. package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-lo8c0x-v.js → ChargeCardListTable-BE4it4le-6GBRyFGt.js} +10 -10
  36. package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BRai09H4.js → ChargeCardPromoPage-DOibcN9n-8P5nzLqn.js} +4 -4
  37. package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BFmdbREo.js → ChargeCardSetupPage-Dm_N5oDM-BxIAhVV2.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CviaTt41.js → ChargeCardStatementsPage-Dhqs5CF4-Be58aAaq.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js → ChargeCardUtils-oF0M6Gmc-CWcylJdd.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DQz9r9Pp-DwtAFMH1.js → ChaseOverlay-DPgGIuyV-JigHbzQk.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DaaWfNin-BVXQpqWr.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-Dp1985is-CGhJR3X0.js → CollapsableReportTable-DMr2UDgH-cuAz2CYU.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-0xbi1fnR.js → CompanyOfficerDetailsSection-B_cIues7-BNMnvkxE.js} +19 -19
  44. package/dist/assets/{CompanyPassportCard-Dp3a8GH8-B4TBGrw7.js → CompanyPassportCard-CHF83hfN-BGYNkzga.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CS1LPj5f-pnjyNGQL.js → CompanyPassportPage-C5W3KcDY-Bzodetvj.js} +29 -29
  46. package/dist/assets/CompleteProfile-MP9AF8Iu-CvhmGgEz.js +36 -0
  47. package/dist/assets/{ConfettiBurst-DX1P5VT_-CsNzn8F8.js → ConfettiBurst-DVT9EpwF-DHA9TDKH.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-CsdFpWXr.js → CreateOrEditVendorPage-DVbYQaWM-DGXxCdMQ.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-DUyMEAO8.js → CreditCardPaymentDrawerPage-D2qT7vsE-Bf1M1_AV.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-DrIb0IFd.js → CreditCardPaymentPlgSection-7cmMRTQm-CcPhomOR.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-CH65s5Fc-Dcp2BQTf.js → CurrencySelectField-ClhIJFVw-Cum1rEqk.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-DK5c91dn.js → CustomerOnboardingActivationPage-D-Ihd-H0-BECSi6lI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DO8DpQlg.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-CWu3HzYj.js → CustomerOnboardingDetailPageSkeleton-CUxNOK4z-Ch73W5CD.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-B_LwgpIq.js → CustomerOnboardingNoStepsPage-B9ts3Tla-CfVcbZOI.js} +4 -4
  56. package/dist/assets/CustomerOnboardingPage-DJbFeXms-BffeJFQv.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-qL5DHYs8.js → CustomerOnboardingProductSuitePage-iSJtAhvu-CITklSrx.js} +5 -5
  58. package/dist/assets/{Dashboard-beLswUHx-B_MalOUp.js → Dashboard-SKeHZ5QY-pKKhGZuT.js} +38 -38
  59. package/dist/assets/DashboardReportPage-3X6wpJL2-lEFYnnKZ.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-D05hSl8p.js → DepositAccTransactionItem-DJNio75H-BszNXL3v.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-BSifWrOr.js → DepositAccTransactionListPage-DTIjlF2l-BqgMCmPb.js} +3 -3
  62. package/dist/assets/{DocumentSecurityBanner-BRFFDueV-Cy6kVOtz.js → DocumentSecurityBanner-CVNWDvAg-ZZDqDElp.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-D-qwPVDs--Pww9UWD.js +21 -0
  64. package/dist/assets/{DownloadOverlay-Ly2ZesqA-CgW2MbtP.js → DownloadOverlay-BLj0xso_-BlktwxlM.js} +1 -1
  65. package/dist/assets/{DrawerPage-BFIdjtOJ-CoQ0pur4.js → DrawerPage-CEetzMMx-BQrlKpot.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-BPHt33f5-Bk3dHegk.js → EditPeoplePage-DDUuO0Nh-opJ_tpA8.js} +8 -8
  67. package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-CHb-02Fa.js → EditReimbursementDetailPage-CT8mqYr5-RAkBtvUB.js} +24 -24
  68. package/dist/assets/{EntityDetailPage-DZ9vXZci-BKxX4N_B.js → EntityDetailPage-DMh6o0bo-D9tSJvlK.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-kCA6OJs0-BxZntEIq.js → EntitySummarySection-tK_X4uAf-DnZqgJgW.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-CLbWYQAI.js → ExpenseAutomationOverviewPage-CLUiYjKg-Cnf2er5n.js} +18 -18
  71. package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-f6rmnsys.js → ExpenseAutomationPage-C9biTgak-CwmQJIGr.js} +82 -82
  72. package/dist/assets/{ExpressPayPage-B12NaLXN-CCtq8Yhl.js → ExpressPayPage-DpAixmcQ-DHNO4VFc.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-D9_aRmPj-kLENX2WT.js → FeaturePreviewPage-BohUqOFz-CnIenXNU.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BL8sM4vS-NJEQh7fF.js → FollowStepsSection-BAUXUzTr-DcO_IUEM.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-DONc_BXP-BqymyO9D.js → GlobalReviewListPage-BxYHNkut-De1zroLC.js} +8 -8
  76. package/dist/assets/{HelpButton-khTPylkl-CC4TQ-Mh.js → HelpButton-8AQIbLQM-Dxn71Y7_.js} +2 -2
  77. package/dist/assets/{InformationCardStack-BtIMGsaQ-DAEXYJ5W.js → InformationCardStack-76GlZ-Bq-CtLoCld8.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-lzduh7aO-aPmBS56j.js → InsightsCardStack-CvOFi2Uu-JAhaDMUB.js} +9 -9
  79. package/dist/assets/{InsightsSection-q1QuO6Z4-BTPE3Xuw.js → InsightsSection-DyF8JZIR-yy37hbXV.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-BHzrWFpH.js → IntegrationsSettingsPage-mys0-i40-D_Td3Eck.js} +4 -4
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js → InternationalWireSwiftDetailsPage-km4qEcXH-BDq6b8VU.js} +7 -7
  82. package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CYsL9FjR.js → InternationalWireVerificationPage-DauhGM3c-CQuc_5ZL.js} +5 -5
  83. package/dist/assets/{InviteFormPage-DQTEQazA-D_TlAyX6.js → InviteFormPage-FSL8fEXT-Dygrs-_-.js} +16 -16
  84. package/dist/assets/{InvitePageListView-C7CaDCYN-DgDyQbel.js → InvitePageListView-zaQ1xEHJ-BmXz06Jr.js} +27 -27
  85. package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-DhNhdRht.js → InvitePeoplePage-BNB36i8Y-COHEYzwz.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-CgyB8ePg.js → InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js} +6 -6
  87. package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CKvMuV4K.js → IssueChargeCardPage-D3cUp2DE-DFSG2B0F.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-B5Yv4nig-CNsG-WU7.js → LabeledAddressValue-BF6r800B-CeESX1Hz.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BODlYe8J-CiIDFGvo.js → LabeledAddressValueField-DYelJL4d-Dl7kIpOx.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js → LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-upCPJRUw.js → LabeledCreatableSingleSelectField-B9zUAA6L-1j60EBJE.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-DORRl3DI-WSVu_B_9.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-Tiw-2EM1.js +59 -0
  94. package/dist/assets/{LabeledText-D0aPaE6r-CDASXomo.js → LabeledText-C34I_iEo-DpYgVuJS.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js → LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9zCwLzE.js} +10 -10
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-DW_5XewE.js → LabeledZeniRolesDropDownField-Caj0_1zM-DksZdels.js} +13 -13
  97. package/dist/assets/{LinkJETransactionPage-w2poqqTD-CVvitekI.js → LinkJETransactionPage-DLmZGscZ-DAJUM85q.js} +12 -12
  98. package/dist/assets/{LowBalancePopup-BpFvPcb8-CbbQEMsW.js → LowBalancePopup-ll1SesgY-BWe295aL.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-DMGL4iMC.js → MagicLinkACHDetailsPage-DXzjYrdU-DXTf7zdI.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-Bkm4wS65.js → MagicLinkDomesticWireDetailsPage-CUwp46Wf-CEU-wofA.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-BZXPgm29.js → MagicLinkInternationalWireDetailsPage-B_h0EHoZ-5KHyZ3zZ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-BM1EXsJU.js → MagicLinkSuccessPage-BX4E-l5M-DUEIbM10.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js → MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js} +2 -2
  104. package/dist/assets/{MailingDetailsSection-Di5KwEqu-B9mhlAae.js → MailingDetailsSection-D8CZart4-D1oBjzV1.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js → MeetingCalenderPopup-D4tz-H5i-CGIgOa91.js} +3 -3
  106. package/dist/assets/{Menu-BOh_KLZu-CFhi0SIh.js → Menu-C9u3eDJk-Dna4rH8W.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-DqTc9oHU.js → MyBankConnectionsSettingsPage-DVp3h4c0-Cn5_bOe_.js} +11 -11
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-C4pJ48Rp.js → MyPendingActivationChargeCardListPage-BTk8mY7B-BbdmJXam.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-hNTZ9JYo.js → MyProfileSettingsPage-BdcDAwKZ-DhDLZRJB.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-CNBOk06R-BZD_yWn9.js → NavBarWithPicker-DbSWvh0o-1EJ8HziX.js} +4 -4
  111. package/dist/assets/{NavigationArrow-B15b66TT-BxpDaopE.js → NavigationArrow-BP8cU19I-DuPgzuQR.js} +1 -1
  112. package/dist/assets/{NavigationDots-5fxvl-4e-xo_TDt3y.js → NavigationDots-nvOimTil-Do5DUslv.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-BBX9UZWo.js → NewGlobalMerchantPage-D-imjD0M-pXdB0gKF.js} +6 -6
  114. package/dist/assets/{NoDataChart-edFKx0zh-BcXK0tqt.js → NoDataChart-VE4W-RUu-BjJTQpdm.js} +1 -1
  115. package/dist/assets/{NoDataTable-41nH5trW-pzm1rHwP.js → NoDataTable-d0_62BR0-vyxhk2_b.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CRVGi6Xn-b9DBQuQL.js → NotFoundPage-BydQGX11-BGoiJNRP.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B2aR003-.js → NotificationSettingsPage-BIzaZFzy-BGkCXx1m.js} +6 -6
  118. package/dist/assets/NotificationsListConfig-DVBOQJZq-BcXyCFD3.js +1 -0
  119. package/dist/assets/{NotificationsPage-DuHUL5V8-l7cXXilr.js → NotificationsPage-BdI4E6uL-DkzIMoYu.js} +29 -29
  120. package/dist/assets/{OpExByVendorPage-D611nXIC-DhuOhbiX.js → OpExByVendorPage-Dm90CRYi-fVB-9LNX.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BL1aeWOM.js → OverlayContainerPage-nhe7xtoR-BxI5uHKy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cqab0euB-BjlrYFkz.js → PandLWithForecastPage-DhbFHH25-DsvGD_Sy.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-Y7cu298L.js → PaymentAccountSetupBillingAddressSection-Debi_lWf-LBl6kVXa.js} +6 -6
  124. package/dist/assets/{PeoplePage-MCCZAx4z-BY3UpTqg.js → PeoplePage-BACu55RO-BN0ZZ-UI.js} +24 -24
  125. package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-Biro25bf.js → PortfolioAllocationFormPage-Cjz_E3BK-BKc2XOmG.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-C9a0p99e-BupBBmbV.js → PortfolioDetails-CS2st-Mx-B7UFy1Ls.js} +8 -8
  127. package/dist/assets/{ProductsCarousel-B0fHKTa_-DRwb_zg1.js → ProductsCarousel-TB4uKZbg-BDTdHFcB.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-BuCQJuXH-jJQ9UKvZ.js → PromoBaseCards-BMPp9RNQ-B5wN89Pm.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-D-vB9dbo-BMExMhX5.js → QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js} +9 -9
  130. package/dist/assets/{QBOSetupSection-CfficE5p-B9jrvkTN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-DD6eBHFP.js → ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BX1qPBal.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-BNSHjAMn.js → ReimbursementApprovalRulesPage-DJlNT4Ov-DKT5YJKy.js} +20 -20
  133. package/dist/assets/ReimbursementDetailPage-BQiu7Gts-DqYEtmnq.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-B2b8Se26.js → ReimbursementPromoPage-ppaPJby5-CiDmuDvG.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-hYFlsZc3.js → ReimbursementSetUpPage-B6mZrzQB-38calwmF.js} +8 -8
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-C2MKAuWk.js → ReimbursementsBulkReviewDrawerPage-DS55QesG-DWNEdEIB.js} +1 -1
  137. package/dist/assets/{ReloadCard-D5woGDxx-bUwk980b.js → ReloadCard-DDDYlCsI-BiE6_qfW.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js +133 -0
  139. package/dist/assets/ReportsPage-C-g9588h-XLIvq5EO.js +120 -0
  140. package/dist/assets/{RevenueChart-CS0JmijO-Cw-uHSTf.js → RevenueChart-DPkxzWaE-ClY8SeJE.js} +25 -25
  141. package/dist/assets/{ReviewDetailsPage-C7RbpKwU-D2J8IvQH.js → ReviewDetailsPage-CyF2YP3t-B_CfpE0G.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-BwgzcM9d-BIZud1RE.js → ReviewOverlay-AoSgYufX-BCA64ah8.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-DkeT6zjW-DB4n5m2x.js → RoleWithToolTip-aoWU03so-Bag-xDLs.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-rhB-3onC.js → ScheduleDetailsFixedAssetsPage-Bfj3vclV-biUqkJSS.js} +4 -4
  145. package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-DlOKlput.js → ScheduleDetailsPage-B30aUjKr-VuYOr4oZ.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-B0UeYTos.js → ScheduleSequenceTable-CStdRSyQ-YS2LkHDs.js} +22 -22
  147. package/dist/assets/{ScreenRoutes-4bmbtkw-.js → ScreenRoutes-DUx3gCGl.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CdUpAzlt-C1MgYcT-.js → SetUpAccountSection-nul4pyeP-CLCXvV9l.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-D4FafmO5-JKsfeRPT.js → SetUpDefaultSection-ByW3h9zl-9i3uOw78.js} +8 -8
  150. package/dist/assets/{SignIn-CAmRcuqx-Dg-rTZ6q.js → SignIn-R1Rsh38G-8L0Hp_zM.js} +18 -18
  151. package/dist/assets/{SignInScreen-DAZJjFZ6.js → SignInScreen-BE18aJB0.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DdpJprAd-B10ZaJRb.js → SpendManagementListViewPage-BqOQ7NY_-DhnClYVW.js} +4 -4
  153. package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BMv0UU_O.js → SpendManagementPerTabPage--2EC1Oz4-DclxNVvC.js} +36 -36
  154. package/dist/assets/{SpendManagementSection-CisJALAC-cZKA8cZE.js → SpendManagementSection-COMVry1E-CYzctw4v.js} +11 -11
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-AlupPqQd.js → SpendMgmtSetupAccountSection-fV4qxxEy-ExRAZ_sL.js} +8 -8
  156. package/dist/assets/{StatementItem-BOq_DDMZ-CY3Qpt1a.js → StatementItem-BksIBztP-GeqTXxSG.js} +5 -5
  157. package/dist/assets/{StatementsPage-C9WOCLSj-B-U-sZOJ.js → StatementsPage-DnAoeqze-BOeXA5KM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CofdCR_K-BkGUOxFV.js → StatusSwitcher-b1A9RnRP-B052EzJ9.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-BPVG5BHS-DY3CAvRO.js → SubTabSwitcher-CgJW4ZXd-DlWjeTn_.js} +1 -1
  160. package/dist/assets/{SummaryCard-D-me4TrL-3xZv8xrR.js → SummaryCard-sEKhcIH5-DRp31G9t.js} +1 -1
  161. package/dist/assets/TaskManagementPage-z5uvcy81-CPykjrgv.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-d24Db5VO.js → TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DrzKb54r.js → TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-CLuOSbn2.js +31 -0
  165. package/dist/assets/{TopExCard-CDgcQKGp-Bqp10Sn-.js → TopExCard-CTjfWfCk-CAtjOAda.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-CXiEe14r-DVBrKuWG.js → TopExDetailPage-CdpvcVME-J1pxGIiS.js} +6 -6
  167. package/dist/assets/{TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js → TransactionDetailPage-DdF9FS4b-aUNjP2MS.js} +46 -46
  168. package/dist/assets/{TransactionList-C34ivmk5-C5mBiYt3.js → TransactionList-CHq3WONc-CDMTLkl_.js} +13 -13
  169. package/dist/assets/{TransactionListBig-qruiU0xy-tMMTuqzY.js → TransactionListBig-D-Gxd5n0-BYXDLjRx.js} +18 -18
  170. package/dist/assets/{TransactionListPage-C31U97xd-CRQaNpPy.js → TransactionListPage-DK9-YK_1-jSebPnQW.js} +5 -5
  171. package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-8MuJaqmu.js → TransactionVendorDetailPage-Cc9pTpTw-dOPSJTMD.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-DC5q2Zpv-CmGtL5lc.js → TransferDrawerPage-DoDTECI8-BFP-sFPo.js} +33 -33
  173. package/dist/assets/{TreasuryOverviewPage-DSBqawrH-DycEi82C.js → TreasuryOverviewPage-wlfReqPJ-Dd6DjTk6.js} +14 -14
  174. package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BlvVAiRS.js → TreasuryPromoPage-C9WNRb2_-Bv2i8EfH.js} +8 -8
  175. package/dist/assets/{TreasurySetupPage-BgSq4D0a-ad83A_r3.js → TreasurySetupPage-CjV0cOq9-BmP_R4PT.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-DWwk9wCn.js → TreasuryStatementsPage-DqOWNGB_-hAvO09t_.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-CkIAlhee.js → TreasuryTaxLetterPage-BWGHcQ-i-DCm4xllr.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-BXVAiiS6.js → TreasuryTransferOrReviewPage-CgL8K7N9-BrTZBU_c.js} +19 -19
  179. package/dist/assets/TrendChart-76tuu9Dr-DKqkCwBC.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js → TrendWithTransactions-B_fJTS4m-B4jhKCz-.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-BdOVs5yc.js → UncategorizedAccountsMappingPage-DpY1kK_K-CX5FrYpM.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-DSMTzyKA-CoAUeDRa.js → UnitIntegrationPage-BTJI7fx3-B4TaSpvh.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-Cn-PxzO4.js → UploadAdditionalDocumentOverlay-BH3bRKoG-Cxr-sGAj.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Dw3MgVFY.js → Vendor2FAPopup-4-XtZDNS-BuVX3Yle.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-CaN7hXyJ.js → VendorACHDetailsPage-B2knDl4H-czLYWWIH.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-C-qpa1GC-OT8_rieb.js → VendorDetailPage-w-tghGpI-CfkAuWGF.js} +17 -17
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-sly11L4e.js → VendorDomesticWireDetailsPage-BXCCdTjh-Di1QWV1S.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-Dvglnl8g.js → VendorFiling1099EditablePage-DGQO9Qqj-CEOM5YEV.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-DNhp59d9-6Npfw6ZQ.js → VendorFirstReviewPage-Lblb6X1V-39fudz_L.js} +40 -40
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-CFYN39yL.js → VendorInternationalWireDetailsPage-Bi5RBKxI-CtyyMelR.js} +9 -9
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-CTfDKjHB.js → VendorInternationalWireSwiftDetailsPage-CBZmsXnL-B-d0u1XS.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-C4q6FPlB-Cdm8bQji.js → VendorsAccountsSection-JI0e3gKo-BI5thaS_.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-C162biV8-CyRcKAFE.js → WarningsDrawerPage-BQzUQ5-l-D1cPDLUy.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-hGf5hhXT.js → ZeniAccountDetailPage-DPJ4mWoO-D2fzjkqw.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-BZ6tC-rC.js → ZeniAccountListViewPage-iHMJ7FU7-UZUihbgS.js} +23 -23
  196. package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-8aRktQCO.js → ZeniAccountPromoPage-OxQ03DtJ-X6atYnaZ.js} +8 -8
  198. package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-BpYj-zTN.js → ZeniAccountSetupPage-BahzDcmm-B-umC_Qa.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B83zWEf0-CbbA3mi5.js → ZeniCopyright-Dpqdxu7f-CHOK6b2K.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-Cpl4hegF.js → ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js} +1 -1
  201. package/dist/assets/analytics-BSSiLa6f.js +7 -0
  202. package/dist/assets/{analyticsHelper-Bwye1Yzk.js → analyticsHelper-CPNSDy4Z.js} +1 -1
  203. package/dist/assets/{analyticsHelper-DlYWxxhD-6PX8-p-s.js → analyticsHelper-CZ8c8du5-Ber0nUBK.js} +1 -1
  204. package/dist/assets/{chartTypes-DueLK3Wl-BWSykg1r.js → chartTypes-CWLOazD0-BCrBxX2L.js} +1 -1
  205. package/dist/assets/{commonDimensions-D4uH020E-CzLHHjVa.js → commonDimensions-Cg7EWgSP-ztBpKI_h.js} +1 -1
  206. package/dist/assets/{detailCommon-D5qKBZdS-BpsfjSiy.js → detailCommon-Cp4eknjq-ClKRuZos.js} +7 -7
  207. package/dist/assets/{downloadPdf-s4pLtuS_-DfJmhSyn.js → downloadPdf-f3F0OqWf-DUwLrQQm.js} +1 -1
  208. package/dist/assets/{index-Dc18sb8X.js → index-Dq4DW5h0.js} +3324 -3326
  209. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-DSfxQmfa.js → mapLoadingInProgressToTreeNode-DCLD3rcY-_6B85me3.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-qBoPPypE.js → mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-BXxWoQQn.js → mapSpacerToTreeNode-DlDwFA_F-CYv3KN_2.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-CuLGcUKr.js → mapTimeframeBalancesToTreeNode-EEyJwCnX-HEZ0R9-O.js} +1 -1
  214. package/dist/assets/mui-BgvZYSo0.js +22 -0
  215. package/dist/assets/{play-icon-Bih37F_s-C6sD6kbP.js → play-icon-CFa9Uibr-CaxUs2iQ.js} +3 -3
  216. package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
  217. package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js → toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js} +1 -1
  219. package/dist/assets/{toChartData-BicnbT0F-CzNzHCD-.js → toChartData-63e3B91H-DoSBXci0.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-A_YlwvaQ-CVHETTwa.js → treasuryColorHelper-BGGfolJy-B6Wl_Wly.js} +1 -1
  221. package/dist/assets/{uploadAttachment-DVoWdoWD-D5s5ylN5.js → uploadAttachment-YcPIDoZ--DIC1ZEM7.js} +19 -19
  222. package/dist/assets/{uploadReceipts-Buvz7DfG-DS0aCuAZ.js → uploadReceipts-BH9fi3Vt-CnyK0TMw.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountRow-D9vDRsjv-XcUg9HnZ.js +0 -298
  226. package/dist/assets/BusinessVerificationPage-YKJ-CZfb-CA1EyVwE.js +0 -140
  227. package/dist/assets/CheckDepositDrawerPage-B1Qp-xbY-CG1lluPq.js +0 -206
  228. package/dist/assets/CompleteProfile-CJOsHnBa-CTqixosH.js +0 -36
  229. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-DPk_xOir.js +0 -1
  230. package/dist/assets/CustomerOnboardingPage-CIbBaMcO-D6XARpKC.js +0 -107
  231. package/dist/assets/DashboardReportPage-BM6TqjrJ-CXS5ZOn0.js +0 -349
  232. package/dist/assets/DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js +0 -21
  233. package/dist/assets/LabeledDocumentField-CIlbLPtO-CyOwq3qY.js +0 -41
  234. package/dist/assets/LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js +0 -59
  235. package/dist/assets/NotificationsListConfig-BjItJJe9-DzH6eIvg.js +0 -1
  236. package/dist/assets/ReimbursementDetailPage-CE_jx7cM-NMeD4tV1.js +0 -314
  237. package/dist/assets/ReportTableViewSelector-Bc5xUtnG-B_lLxJq7.js +0 -150
  238. package/dist/assets/ReportsPage-J8DrZz78-BDQBNTzo.js +0 -120
  239. package/dist/assets/TaskManagementPage-BSmG6YR2-DNj3Vzrv.js +0 -508
  240. package/dist/assets/TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js +0 -31
  241. package/dist/assets/TrendChart-dARoUu-T-DLWmmph8.js +0 -16
  242. package/dist/assets/ZeniAccountNavBarPieces-DHYLxQKr-i6WaheRu.js +0 -14
  243. package/dist/assets/analytics-DThoELaW.js +0 -7
  244. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -1,4 +1,4 @@
1
- import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G,Q,o as i,u as Y,M as q,eN as A,eO as K,dh as X,bT as J,b2 as I,cq as U,dH as Z,v as D,a$ as ee,a6 as le}from"./index-Dc18sb8X.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=Y(),y=Ie(e,b),C=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.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(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(I.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=K(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("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:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},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(I.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("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(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q,Q as G,o as i,u as Q,M as Y,eO as A,eP as K,dh as X,bS as J,b3 as I,cq as U,dH as Z,q as V,b0 as ee,a6 as le}from"./index-Dq4DW5h0.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=Q(),y=Ie(e,b),C=Y.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.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(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:N}=l,{value:W}=N;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),H=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(I.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=K(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("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:H,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},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(I.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("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(me,{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"};
@@ -34,7 +34,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G
34
34
  border-radius: ${i.sp0};
35
35
  margin: ${i.sp0};
36
36
  color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
37
- ${D.standardRegular.css};
37
+ ${V.standardRegular.css};
38
38
  box-sizing: border-box;
39
39
  overflow: hidden;
40
40
  text-overflow: ellipsis;
@@ -45,7 +45,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G
45
45
  display: flex;
46
46
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?i.sp0:"100%"};
47
47
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
48
- ${D.standardRegular.css};
48
+ ${V.standardRegular.css};
49
49
  color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
50
50
  margin: ${i.sp0};
51
51
  cursor: inherit;
@@ -67,7 +67,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G
67
67
  `,ne=a.div`
68
68
  border-radius: inherit;
69
69
  .select-option {
70
- ${D.smallRegular.css};
70
+ ${V.smallRegular.css};
71
71
  height: ${i.sp6};
72
72
  padding: 9px ${i.sp3};
73
73
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
@@ -153,7 +153,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G
153
153
  justify-content: inherit;
154
154
  align-items: center;
155
155
  width: 100%;
156
- `,ve=()=>null,je=()=>null,Se=()=>null,Ie=(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:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=F(),y=z(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:C,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(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:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=B(),{formState:{errors:w}}=F(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(_,{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(ke,{labelWidth:r.width,children:[t.jsx(Ce,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(V,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(V,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
156
+ `,ve=()=>null,je=()=>null,Se=()=>null,Ie=(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:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=F(),y=z(w,e??"");return t.jsx(q,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:C,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Oe={infoLabel:new G("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=B(),{formState:{errors:w}}=F(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(_,{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(ke,{labelWidth:r.width,children:[t.jsx(Ce,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(D,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(D,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
157
157
  display: flex;
158
158
  flex-direction: row;
159
159
  align-items: flex-start;
@@ -195,7 +195,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G
195
195
  justify-content: flex-end;
196
196
  flex-direction: column;
197
197
  position: relative;
198
- `,V=a.label`
198
+ `,D=a.label`
199
199
  color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
200
200
  width: auto;
201
201
  ${e=>`${Oe.infoLabel.style(e.size)}`};
@@ -0,0 +1,41 @@
1
+ import{X as I,cg as U,co as g,j as s,Y as W,cm as N,C as l,eQ as O,M as k,p as i,o,g as A,Q}from"./index-Dq4DW5h0.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},K={infoLabel:new Q("extraSmallRegular","smallRegular")};function X({label:e,isDisabled:r,isOptional:u,style:c,file:m,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return s.jsxs(Y,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[s.jsx(N,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),s.jsxs(q,{labelWidth:e.width,size:a,children:[s.jsx(O,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&s.jsx(G,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const Y=d.div`
2
+ display: flex;
3
+ flex-direction: ${e=>e.size==="small"?"column":"row"};
4
+ align-items: flex-start;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ width: ${e=>t.width.valuePx(e.size)};
7
+ min-height: ${e=>t.height.valuePx(e.size)};
8
+ padding-right: ${e=>t.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
11
+
12
+ :first-of-type {
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ }
16
+
17
+ :last-of-type {
18
+ border-bottom-left-radius: inherit;
19
+ border-bottom-right-radius: inherit;
20
+ }
21
+
22
+ &:hover {
23
+ z-index: 1;
24
+ outline: 1px solid
25
+ ${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
26
+ }
27
+ `,q=d.div`
28
+ display: flex;
29
+ flex-direction: column;
30
+ width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
31
+ padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
32
+ box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
33
+ align-items: flex-end;
34
+ flex-grow: 1;
35
+ `,G=d.label`
36
+ display: flex;
37
+ color: ${e=>e.isError?A.important:e.theme.colors.grey1};
38
+ ${e=>`${K.infoLabel.style(e.size)}`};
39
+ padding-right: ${o.sp3};
40
+ text-align: right;
41
+ `;export{X as Y};
@@ -0,0 +1,59 @@
1
+ import{X as R,u as T,cg as h,co as V,j as r,o,cp as O,bn as P,q,fK as A,g as l,Q as F,b0 as K}from"./index-Dq4DW5h0.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const M={infoLabel:new F("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(Q,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(J,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...b},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(U,{children:[r.jsx(A,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const Q=i.div`
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ min-height: ${o.sp6};
7
+ padding-top: ${o.sp2};
8
+ padding-bottom: ${o.sp2};
9
+ padding-right: ${o.sp2};
10
+
11
+ :first-of-type {
12
+ border-top-left-radius: inherit;
13
+ border-top-right-radius: inherit;
14
+ }
15
+
16
+ :last-of-type {
17
+ border-bottom-left-radius: inherit;
18
+ border-bottom-right-radius: inherit;
19
+ }
20
+
21
+ &:focus-within {
22
+ z-index: 1;
23
+
24
+ input {
25
+ background-color: ${e=>e.isError?l.importantLight:e.theme.colors.background};
26
+ }
27
+ }
28
+ input {
29
+ background-color: ${e=>e.isError?l.importantLight:e.theme.colors.grey5};
30
+ }
31
+ &:hover {
32
+ input {
33
+ background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
34
+ }
35
+ }
36
+ `,U=i.div`
37
+ display: flex;
38
+ flex-direction: column;
39
+ align-items: flex-end;
40
+ flex-grow: 1;
41
+ `,g=i.label`
42
+ display: flex;
43
+ color: ${e=>e.isError?l.important:e.theme.colors.grey1};
44
+ ${e=>`${M.infoLabel.style(e.size)}`};
45
+ padding-right: ${o.sp3};
46
+ text-align: right;
47
+ `,B=i.div`
48
+ display: flex;
49
+ margin-right: ${o.sp1};
50
+ align-items: center;
51
+ `,G=i(K)`
52
+ width: ${o.sp3};
53
+ height: ${o.sp3};
54
+ color: ${l.successDark};
55
+ `,J=i.div`
56
+ display: flex;
57
+ width: 100%;
58
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
+ `,X=i.div``;export{N as Y};
@@ -1,4 +1,4 @@
1
- import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-Dc18sb8X.js";import{n}from"./vendor-CnQcJ2Lu.js";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])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-Dq4DW5h0.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -36,7 +36,7 @@ import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./in
36
36
  display: flex;
37
37
  justify-content: flex-end;
38
38
  color: ${e=>e.theme.colors.hero};
39
- ${e=>`${f.infoLabel.style(e.size)}`};
39
+ ${e=>`${c.infoLabel.style(e.size)}`};
40
40
  padding-right: ${a.sp3};
41
41
  text-align: right;
42
42
  `;export{z as S};
@@ -1,4 +1,4 @@
1
- import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,ft as be,M as E,Q as we,b2 as H,fu as Y,bP as _,fv as X,a$ as G,g as R,v as Q,s as Z,fw as $e,m as ye,w as ve}from"./index-Dc18sb8X.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,fu as be,M as E,Q as we,b3 as H,fv as Y,bO as _,fw as X,b0 as q,g as R,q as G,s as Z,fx as $e,f as ye,v as ve}from"./index-Dq4DW5h0.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-aoWU03so-Bag-xDLs.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -39,7 +39,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
39
39
  width: ${s.sp5};
40
40
  border-radius: 50%;
41
41
  justify-content: center;
42
- `,Pe=r.img`
42
+ `,Te=r.img`
43
43
  height: ${s.sp4};
44
44
  width: ${s.sp4};
45
45
  border-radius: 50%;
@@ -52,10 +52,10 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
52
52
  align-items: center;
53
53
  gap: ${s.sp2};
54
54
  height: 100%;
55
- `,Te=r(U)`
55
+ `,ke=r(U)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
- `,ke=r.div`
58
+ `,Pe=r.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  height: ${s.sp6};
@@ -96,7 +96,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,q=r.div``,Me=r.div`
99
+ `,Q=r.div``,Me=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{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${Q.standardRegular.css};
136
+ ${G.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${Q.standardRegular.css};
148
+ ${G.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -180,16 +180,16 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
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:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),L=xe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(q,{children:l.jsx(F,{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:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Y,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(Te,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Pe,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:P,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(q,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ne,{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(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:T,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:P,additionalLabelInfo:I,isOptionDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=K(),V=N();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:n,render:({field:{value:L,onChange:c}})=>l.jsxs(Xe,{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:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:P,isOptionDisabled:T,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(Ge,{size:V,children:I})]})})},Xe=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:V}}=K(),L=xe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Y,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(ke,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ne,{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(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:k,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),V=N();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:n,render:({field:{value:L,onChange:c}})=>l.jsxs(Xe,{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:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:k,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=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
+ `,qe=r.label`
188
188
  color: ${e=>e.theme.colors.hero};
189
189
  ${e=>`${He.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,M={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=N();return l.jsxs(Qe,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(x),marginRight:M.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Qe=r.div`
192
+ `,M={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=N();return l.jsxs(Ge,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(x),marginRight:M.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,8 +1,8 @@
1
- import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as X,v as V,b1 as ie,l as I,M as te,fq as se,fx as ae,R as ne,am as de,g as k,b2 as M,av as ce,a$ as pe,b$ as ue,fy as F,ah as Q,K as he,w as Y,s as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as we,fz as ve}from"./index-Dc18sb8X.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-DkeT6zjW-DB4n5m2x.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
1
+ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as q,q as V,b2 as ie,l as I,M as te,fr as se,fy as ae,U as ne,am as de,g as k,b3 as M,av as ce,b0 as pe,b$ as ue,fz as F,ah as Q,K as he,v as Y,s as me,f as ge,fj as be,f5 as fe,aQ as xe,fk as ye,cZ as ve,fA as we}from"./index-Dq4DW5h0.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-aoWU03so-Bag-xDLs.js";const A={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
- margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
- margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
5
- margin-left: ${e=>H.grpBtnMarginLeftRight.valuePx(e.windowSize)};
3
+ margin-top: ${e=>A.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
+ margin-bottom: ${e=>A.grpBtnMarginTopBottom.valuePx(e.windowSize)};
5
+ margin-left: ${e=>A.grpBtnMarginLeftRight.valuePx(e.windowSize)};
6
6
  cursor: pointer;
7
7
  height: 29px;
8
8
  &:hover {
@@ -22,7 +22,7 @@ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as
22
22
  }
23
23
  `,Ce=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,Z=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=B(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"data-testid":A("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":A("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))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ze=d.div`
25
+ `,Z=({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(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"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))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ze=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
@@ -101,15 +101,15 @@ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as
101
101
  `,Ie=d.div`
102
102
  display: flex;
103
103
  flex-direction: row;
104
- `,Ee=d.div``,_e=d.div`
104
+ `,Ee=d.div``,Ue=d.div`
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Ue=d(ve)`
108
+ `,_e=d(we)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ne=d(we)`
112
+ `,Ne=d(ve)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
@@ -117,11 +117,11 @@ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as
117
117
  width: ${o.sp4};
118
118
  height: ${o.sp4};
119
119
  color: ${e=>e.theme.colors.hero};
120
- `,He=d(xe)`
120
+ `,Ae=d(xe)`
121
121
  width: ${o.sp4};
122
122
  height: ${o.sp4};
123
123
  color: ${e=>e.theme.colors.hero};
124
- `,Ae=d(fe)`
124
+ `,He=d(fe)`
125
125
  width: ${o.sp4};
126
126
  height: ${o.sp4};
127
127
  color: ${e=>e.theme.colors.hero};
@@ -135,7 +135,7 @@ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as
135
135
  margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
136
  margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
137
  color: ${e=>e.theme.mode==="light"?k.brandColorOnyx:k.brandColorPearl};
138
- `,Ke=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ge=e=>l.jsxs(Me,{children:[l.jsx(Be,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Je=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=q(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=z.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=z.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);z.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(We,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ke,{children:x.map(h=>l.jsxs(ze,{windowSize:f,children:[l.jsx(Te,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(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(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Ke(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(W,{children:t.subTitleUser}),l.jsx(W,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(Z,{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}=_();return l.jsx(J,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Je,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({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`
138
+ `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(_e,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(He,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Be,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=U(),a=X(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=z.useCallback(h=>{const t=se([h]),C=ae(h),w=ne(i.productsByUserRole[t]),R=w.findIndex(P=>P.productType===C),L=w[R].selectedOption?.value===h;R>-1&&(w[R]={...w[R],selectedOption:L?void 0:w[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...w]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=z.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);z.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(We,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ke,{children:x.map(h=>l.jsxs(ze,{windowSize:f,children:[l.jsx(Te,{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(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(W,{children:t.subTitleUser}),l.jsx(W,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=U();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=B();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const qe=d.div`
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{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Qe({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]=z.useState(),{formState:{errors:D}}=_(),h=q(D,b??"");z.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),z.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=B(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(m=>m.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(m=>m.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,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,m)=>({...r,color:m.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,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.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:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:T,data:O})=>{const w=I.isNonZeniRole(O.value)&&s===!0,N=K(m,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:m&&!w?t.colors.background:"transparent",">div":{backgroundColor:m?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:m&&!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:m}=r;return z.createElement(M.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&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 m=[];a&&r.forEach(T=>{m.push(T.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:T,isDisabled:O,selectProps:w}=r,{value:N}=w;return l.jsx(co,{menuIsOpen:m,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,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:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=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})},eo=()=>null,K=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?k.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(M.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(M.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
172
+ `;function Qe({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]=z.useState(),{formState:{errors:D}}=U(),h=X(D,b??"");z.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),z.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),C=B(),w=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=w.findIndex(m=>m.value==="admin");w.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=w.findIndex(m=>m.value==="bookkeeping_admin");w.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,_=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="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,m)=>({...r,color:m.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,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.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:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:T,data:O})=>{const v=I.isNonZeniRole(O.value)&&s===!0,N=J(m,v,O.value,t);return{...r,height:v?44:40,padding:v?o.sp0:`${o.sp2} 12px`,marginTop:v?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:m&&!v?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:v||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,v,O.value,t),backgroundColor:m&&!v?t.colors.background:v?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:v||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:v?"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:m}=r;return z.createElement(M.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&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 m=[];a&&r.forEach(T=>{m.push(T.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:T,isDisabled:O,selectProps:v}=r,{value:N}=v;return l.jsx(co,{menuIsOpen:m,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,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:w,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=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})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?k.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(M.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(M.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -258,7 +258,7 @@ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as
258
258
  visibility: hidden;
259
259
  }
260
260
  }
261
- `,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(J,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Qe,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=B();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("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(po,{...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 uo=d.div`
261
+ `,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=U();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Qe,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=B();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(K,{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(po,{...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 uo=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j as n,F as ge,fA as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as B,i7 as ye,g as Ce,v as A,hE as we,p as r}from"./index-Dc18sb8X.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js";import"./TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js";import"./TrendChart-dARoUu-T-DLWmmph8.js";import"./chartTypes-DueLK3Wl-BWSykg1r.js";import"./toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js";import"./toChartData-BicnbT0F-CzNzHCD-.js";import"./NoDataChart-edFKx0zh-BcXK0tqt.js";import"./InsightsSection-q1QuO6Z4-BTPE3Xuw.js";import"./NavigationDots-5fxvl-4e-xo_TDt3y.js";import"./TransactionList-C34ivmk5-C5mBiYt3.js";import"./BoxItem-CHPfWPEF-D1R-06zc.js";import"./commonDimensions-D4uH020E-CzLHHjVa.js";import"./uploadAttachment-DVoWdoWD-D5s5ylN5.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j as a,F as ge,fB as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as R,i8 as Ce,g as ye,q as I,hF as we,p as r}from"./index-Dq4DW5h0.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-DdF9FS4b-aUNjP2MS.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js";import"./TrendWithTransactions-B_fJTS4m-B4jhKCz-.js";import"./TrendChart-76tuu9Dr-DKqkCwBC.js";import"./chartTypes-CWLOazD0-BCrBxX2L.js";import"./toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js";import"./toChartData-63e3B91H-DoSBXci0.js";import"./NoDataChart-VE4W-RUu-BjJTQpdm.js";import"./InsightsSection-DyF8JZIR-yy37hbXV.js";import"./NavigationDots-nvOimTil-Do5DUslv.js";import"./TransactionList-CHq3WONc-CDMTLkl_.js";import"./BoxItem-Cqmd_7h4-S5g5H_Jr.js";import"./commonDimensions-Cg7EWgSP-ztBpKI_h.js";import"./uploadAttachment-YcPIDoZ--DIC1ZEM7.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
12
12
  `,De=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${A.largeMedium.css};
15
+ ${I.largeMedium.css};
16
16
  `,ke=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return n.jsxs($e,{children:[n.jsx(De,{windowSize:g,children:S.header}),n.jsxs(ve,{children:[n.jsx(B,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(ke,{}),n.jsx(B,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",K="linkJETransaction",X=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:I,isVendorBulkUpdateOnTransactionEnabled:G,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=H(),T=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(I.controllers),v=C.getFirstControllerId(I.controllerUserIds),N=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&F&&k,E=R&&k;return n.jsxs(Le,{children:[n.jsxs(Ie,{windowSize:p,children:[n.jsx(Fe,{windowSize:p,children:f.linkJE}),n.jsx(Ne,{children:n.jsx(ze,{onClick:N})})]}),n.jsxs(Ae,{children:[n.jsx(Ue,{windowSize:p,children:n.jsx(ge,{...x,children:n.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:n.jsx(Ee,{jePostingDate:s.postingDate,sectionId:K,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),F?n.jsxs(Be,{windowSize:p,children:[n.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?n.jsx(Te,{children:n.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:G,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Re,{children:[re?n.jsx(W,{windowSize:p,children:f.transactionFetchError}):null,de?n.jsx(W,{windowSize:p,children:f.jeDetails}):null]}),se?n.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?n.jsx(fe,{formId:y?q(M):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[K]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:Ce}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",G="linkJETransaction",X=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),T=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",B=he(x.formState.dirtyFields),k=x.formState.isValid,C=D&&B&&k||D&&z&&k,E=B&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Ue,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Te,{children:a.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Be,{children:[re?a.jsx(W,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(W,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),C||E?a.jsx(fe,{formId:C?q(M):void 0,primaryBtn:{onClick:E&&!C?le:void 0,label:E&&!C?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -28,10 +28,10 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
28
28
  justify-content: flex-start;
29
29
  background-color: ${e=>e.theme.colors.grey4};
30
30
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
31
- `,Ae=i.div`
31
+ `,Ie=i.div`
32
32
  padding: ${t.sp0} ${t.sp8};
33
33
  flex-grow: 1;
34
- `,Ie=i.div`
34
+ `,Ae=i.div`
35
35
  display: flex;
36
36
  align-items: center;
37
37
  top: ${t.sp0};
@@ -48,12 +48,12 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Ne=i.div`
51
+ `,Fe=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
55
55
  padding: ${t.sp3} ${t.sp0};
56
- `,ze=i(je)`
56
+ `,Ne=i(je)`
57
57
  cursor: pointer;
58
58
  color: ${e=>e.theme.colors.hero};
59
59
  width: ${t.sp4};
@@ -61,7 +61,7 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Fe=i(be)`
64
+ `,ze=i(be)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
@@ -78,11 +78,11 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${A.standardRegular.css};
82
- `,Re=i.div`
81
+ ${I.standardRegular.css};
82
+ `,Be=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
- `,Be=i.div`
85
+ `,Re=i.div`
86
86
  display: flex;
87
87
  align-items: center;
88
88
  gap: ${t.sp1};
@@ -91,7 +91,7 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${A.standardRegular.css};
94
+ ${I.standardRegular.css};
95
95
  `,Oe=i(we)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{M,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as e,bR as E,p as u,av as U,aa as Y,eY as N}from"./index-Dc18sb8X.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{M,X as T,a as z,l as s,j as a,F as A,bN as S,c9 as R,C as m,cc as W,o as e,bQ as E,p as u,av as N,aa as U,eZ as Y}from"./index-Dq4DW5h0.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -6,13 +6,13 @@ import{M,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as
6
6
  box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
7
7
  border-radius: ${e.sp2};
8
8
  margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
9
- `,q=r.div`
9
+ `,Z=r.div`
10
10
  display: flex;
11
11
  flex: 1;
12
12
  background-color: ${t=>t.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function X({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=M.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:v,markAsPaid:C,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:P}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(z,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(S,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:C,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(V,{windowSize:l,children:[a.jsx(A,{label:{label:v,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:B,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=M.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(J,{children:a.jsxs(Z,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(S,{titleComponent:a.jsx(G,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},J=r.div`
15
+ `;function Q({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=M.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:v,markAsPaid:C,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:P}=g,l=T(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=z({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(A,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(S,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:C,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(V,{windowSize:l,children:[a.jsx(R,{label:{label:v,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(Z,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:B,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const X=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=M.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(q,{children:a.jsxs(J,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(S,{titleComponent:a.jsx(G,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},q=r.div`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: center;
@@ -21,14 +21,14 @@ import{M,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as
21
21
  padding-right: ${e.sp7};
22
22
  margin-top: ${e.sp3};
23
23
  white-space: pre-line;
24
- `,Z=r(U)`
24
+ `,J=r(N)`
25
25
  color: ${t=>t.theme.colors.hero};
26
- `,F=r(Y)`
26
+ `,F=r(U)`
27
27
  color: ${t=>t.theme.colors.primary};
28
- `,G=r(N)`
28
+ `,G=r(Y)`
29
29
  margin-top: ${e.sp6};
30
30
  padding-left: ${e.sp8};
31
31
  padding-right: ${e.sp8};
32
32
  color: ${t=>t.theme.colors.primary};
33
33
  word-break: break-word;
34
- `;export{Q as o,X as t};
34
+ `;export{X as o,Q as t};