@zeniai/web-cockpit-ui 1.14.0-qa → 1.14.1-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 (228) hide show
  1. package/dist/assets/{ACHDetailsPage-CSnsNr1V-AnFfeOPF.js → ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bp6NkJmc-CxDVB6rM.js → AIPerformancePage-BTkeAbzQ-BrardM2A.js} +11 -11
  3. package/dist/assets/{AccountInfoPage-DUhICds8-CmsXdn7D.js → AccountInfoPage-Cw14e1jO-BsUim3eq.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DrQmMqaW-ClEz9icF.js → AccountInfoPageContent-cvYWnpel-CJmb2W-r.js} +5 -5
  5. package/dist/assets/{AccountReconDetailsDrawerPage-D3xJm7fZ-BOoKLLlf.js → AccountReconDetailsDrawerPage-DOKqIknC-DSx-KpKz.js} +1 -1
  6. package/dist/assets/{AccountRow-BZ3Sp_Zw-D-QDfd_i.js → AccountRow-Ca-OS9TF-boQKAn9P.js} +7 -7
  7. package/dist/assets/{AccountsPromoCardStack-RNWvlSoJ-KCxxOTK8.js → AccountsPromoCardStack-CwEVkbGD-GfsHQDZG.js} +10 -10
  8. package/dist/assets/{AddAddressForCardDrawer-BnlGRnfE-ZewvbMje.js → AddAddressForCardDrawer-B1zyrJMb-gDNlBeVv.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BsDJbWcg-C5usaKRC.js → AddToWalletPage-s7c161JX-Bbl7vvY4.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-BzfKuv3U-BtlCXjA4.js → AgingReportsPage-Be-2Z_KS-Cp8WnRhH.js} +1 -1
  11. package/dist/assets/{AllUserItems-Dons5n56-DG04EpGo.js → AllUserItems-B4Iah9-Z-B79SOI6_.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-hyvhEbaW-CW6LJBvG.js → ApAgingDetailPage-D_KV9urv-CMDNQ6iG.js} +1 -1
  13. package/dist/assets/{AppBasePage-CoHyqNQo-y6derDO0.js → AppBasePage-GbE58C1g-BcYXZw8U.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-ChAQrDWU-AUk46fgG.js → AppDrawerContent-YTvkEPk_-6eMbUyIc.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-DZ-tEUhJ-E5MLHYHo.js → ApprovalRulesSettingsPage-Cct7Nzfb-BnkTkJjh.js} +1 -1
  16. package/dist/assets/{ArAgingChart-B6sVwdsh-BN_eHpTl.js → ArAgingChart-BeVadylU-XR25EAL6.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-DlI47K7L-B5kRFhhu.js → ArAgingDetailPage-CWUA4S2q-Ww5hXmPO.js} +1 -1
  18. package/dist/assets/{AttachmentView-Cn3hQEkQ-C-MK6zFe.js → AttachmentView-DGsub__A-BBxOr8Ij.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Dt3lb88O-C0ekT5FH.js → BankAccountSection-CtTkNBok-D2ekA6eB.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-HVZlzCAu-C9OaFu3k.js → BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-sI4-KHqF-C5u_hjma.js → BankConnectionsSettingsPage-_e4jMGI2-DH8UTyN3.js} +1 -1
  22. package/dist/assets/{BillDetailPage-DJ4f8xle-MFFx8J04.js → BillDetailPage-Dz4_gdDb-ycU3JEwF.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BHYWECuG-BsUxD2s6.js → BillPayApprovalRuleDetailPage-DcNLlDh2-B0LeGU7-.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-C060AuRe-D4IuXN9b.js → BillPayApprovalRulesPage-C_NDjp6G-D74xT3Vs.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-D6RRu4W_-CwWx8sLF.js → BillPayPromoPage-TkLMkxeC-CRgciQY3.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-3J8PIprb-DbSj48hf.js → BillPaySetUpPage-DTGSGVO0-BjFYWMnM.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-DdH-O80Y-CNx21AcU.js → BillingSettingsPage-0RLFEj6x-1Rx-lW-z.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-BzRPYgmH-CP6RVlDS.js → BillsBulkReviewDrawerPage-rkkXgsz4-DCe7oECG.js} +1 -1
  29. package/dist/assets/{BoxItem-eTxUGnXc-CUU2vRQc.js → BoxItem-CIBzy4ZV-BGT6YXil.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DXnmg7Ux-37p0I11q.js → BusinessVerificationPage-T63_ft8O-BLj5IAMR.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-D5z3PEdv-H47FlSvQ.js → CardNumberSubText-FOFiHz-M-BomqpZHj.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-Bjdd2yr4-CNe1R1Nq.js → CashbackDetailPage-C1rbQ71n-BwGr1RFv.js} +13 -13
  33. package/dist/assets/{ChargeCardDetailPage-C5dnGCGs-9TZ-0RA8.js → ChargeCardDetailPage-OgsnesGD-BZdk7_5L.js} +23 -23
  34. package/dist/assets/{ChargeCardListPage-CKjT6WqS-BusO0rPu.js → ChargeCardListPage-CLHFYydY-CXTzCBUe.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-B3e8phUk-DjC7fkct.js → ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js} +8 -8
  36. package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DVt_tQuX-4ANc8OrQ.js → ChargeCardSetupPage-DvlKbA_C-AlRyM6Q7.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-9q007HWr-CXcIqocN.js → ChargeCardStatementsPage-CXhcA95f-C45_cho2.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-CHHXg_Qi-Cx1TeQt_.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-Bc0GfIc6-_Os2ahEO.js → ChaseOverlay-CxEiwxZq-CYOJ8ZhP.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DBXKuV2a-D3U3JCee.js → CheckDepositDrawerPage-CmZbDsc3-C6Gzx2Ad.js} +4 -4
  42. package/dist/assets/{CollapsableReportTable-DlPsnWiz-CNQqG22W.js → CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BQW5rZjd-0v3eAxaa.js → CompanyOfficerDetailsSection-DPufRe0m-C6FmxOML.js} +5 -5
  44. package/dist/assets/{CompanyPassportCard-CDnPUIJs-DOq-zxur.js → CompanyPassportCard-JgslGZ14-CZLKyeTG.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CIjDFl5o-CTilL_0y.js → CompanyPassportPage-B89YFcPT-CNi42FVb.js} +1 -1
  46. package/dist/assets/{CompleteProfile-B4nZ7vC_-BJOA0UIa.js → CompleteProfile-D0RvVu97-BvDLvwiX.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-Ba2OiqXD-i40JWbMy.js → ConfettiBurst-D3BYCsW2-CicOQOeb.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-sF6U1fFH-CEAIsXEn.js → CreateOrEditVendorPage-C6Ddagzy-CrkxkCuT.js} +6 -6
  49. package/dist/assets/{CreditCardPaymentDrawerPage-mMyTBk4j-D_TLeEA6.js → CreditCardPaymentDrawerPage-C3mZhiZb-D2CoSxGr.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentPlgSection-D1iBVxR6-DYlUTV1R.js → CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-PFKAqHQu-X-DDEjkd.js → CurrencySelectField-BBgpim44-D9iz41su.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-B1_0-eof-Bttf6Ovz.js → CustomerOnboardingActivationPage-iG0RHsLk-C1JrpXcK.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-CJFQyXj_.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cc2MEctL-C01HLRww.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DVLGbpG0.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CfsBxwGr-DaUewhhB.js → CustomerOnboardingNoStepsPage-CIranNRI-DmxCUvPO.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-BH4c57yX-kcvypEhz.js → CustomerOnboardingPage-aq8E7XsP-D1AWzLDa.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-QQlL3hKv-DnQsjZx8.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BW6Dqkww.js} +2 -2
  58. package/dist/assets/{Dashboard-BaJ9E50_-Cvov4YQ4.js → Dashboard-DyvhSbme-CqiNyEeS.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-q9hnDFuv-DVBTy9y2.js → DashboardReportPage-Cy_f84RN-BBIf3h8d.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BZcado4W-CSrC65dx.js → DepositAccTransactionItem-DK15lI5V-XJtPziNz.js} +4 -4
  61. package/dist/assets/{DepositAccTransactionListPage-CFzpTiWv-glGH-rvr.js → DepositAccTransactionListPage-CRBhV8W1-B1ipg9Mm.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-Dk3o5_6F-B7JodPa6.js → DocumentSecurityBanner-C0bght0k-vffkcqMR.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-mbgormGs-zMqxbnXL.js → DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPS0X-o1-BgUUax4z.js → DownloadOverlay-C5kTy4dA-91imq83n.js} +1 -1
  65. package/dist/assets/{DrawerPage-JCR8KCkv-CZzz5UfO.js → DrawerPage-Bwgpjwed-Dbn0o-MI.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Bv-eRTlp-JOqzrmEu.js → EditPeoplePage-W-SFOxhC-DmK3cjsW.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-QeCQ59Wr-g0QdqfEy.js → EditReimbursementDetailPage-D1Iduokd-BJNaLsWB.js} +48 -48
  68. package/dist/assets/{EntityDetailPage-CRu4kJBb-Dbzhhv29.js → EntityDetailPage-BkRcX4SZ-D3jHuVtH.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-B8ad0rxa-DqJg8XMh.js → EntitySummarySection-BlJR-qOB-BGQRVSO6.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Ckmim262-DcfZLbmi.js → ExpenseAutomationOverviewPage-qT0g5t_P-9L0vQmNh.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Crlshy4t-D9OssFW2.js → ExpenseAutomationPage-CMKwWy2d-BxRd7q46.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DD1ht-J--Caxa1xoe.js → ExpressPayPage-DXfqMxkG-esMjhJU_.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-DGljBaN4-DrwcY9JO.js → FeaturePreviewPage-CjZuOo_K-BURLQGI3.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-Bx8_JsRm-B-UHAfgu.js → FollowStepsSection-CO5MsYe6-DJwkRNbY.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BPV4E3tM-D28oyWWi.js → GlobalReviewListPage-BIMdWu5P-DVJexznn.js} +1 -1
  76. package/dist/assets/{HelpButton-pj034msF-BXXf52YY.js → HelpButton-BGHsn-1b-Cb4db_8O.js} +1 -1
  77. package/dist/assets/{InformationCardStack-D5r7fGUK-CY1DE42g.js → InformationCardStack-B8rD8LSH-yY61wi0E.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-DSRF-w9c-zg4ZwiGO.js → InsightsCardStack-AwXZ6ysD-CAyDZRBh.js} +1 -1
  79. package/dist/assets/{InsightsSection-jbXmsMC6-Dtfu_P6f.js → InsightsSection-BZS-MEy4-D-RgHCTj.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-Dcr2s_B6-CRMt1Y7E.js → IntegrationsSettingsPage-D2tfKsbR-3hbSPzUb.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C4zVgFLt-C9m9o35d.js → InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js} +4 -4
  82. package/dist/assets/{InternationalWireVerificationPage-Djedh5bX-DBqs5V15.js → InternationalWireVerificationPage-C8WA6jI_-CkLLJOPd.js} +4 -4
  83. package/dist/assets/{InviteFormPage-CY2f6v6c-D3HGgXYd.js → InviteFormPage-DC2ewDUN-BAnhpAwr.js} +6 -6
  84. package/dist/assets/{InvitePageListView-DI3F52Zy-D4WJtEj1.js → InvitePageListView-DaShj4IM-BOaRvdOZ.js} +18 -18
  85. package/dist/assets/{InvitePeoplePage-BQSIcOiF-Dkdiy0rK.js → InvitePeoplePage-BbY4ZpGl-DYibhSDJ.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-B80zba2p-D8dqQO7z.js → InvoiceUploadSection-DZJTULDZ-CCiLRTJv.js} +4 -4
  87. package/dist/assets/{IssueChargeCardPage-6-s-UWq_-ZZ7MTNLM.js → IssueChargeCardPage-C1zB2vrB-BGIJGo3C.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-DvHuoKA3-BLWatlNE.js → LabeledAddressValue-BDA7y5Fq-D9zYp9L5.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D_MiUMo1-B8J8XCv2.js → LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CCyeo-ZW-CDgcsnmr.js → LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CZzezvdx-BxiovdlH.js → LabeledCreatableSingleSelectField-zhHbiOVO-Du1erYiL.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CmVMZUTj-zg2u64KT.js → LabeledDocumentField-BTgmGAGq-ye6jxVF6.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DwioWQ3H-ZKMTxPAa.js → LabeledDropDownFormattedTextField-BdAKZt7q-DJYe0D29.js} +1 -1
  94. package/dist/assets/{LabeledText-DCAW4nE7-D8VDmzIq.js → LabeledText-CMrFKM7D-U8mavECd.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-7h-ttahY-bbDcqYtH.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js} +7 -7
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D4BIq5HF-S63M19Fh.js → LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js} +5 -5
  97. package/dist/assets/{LinkJETransactionPage-DAQVDAXt-DBT-iDGX.js → LinkJETransactionPage-CWc1e0RL-uXbP7Kvy.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-D9Q_ALaf-BiWASUK2.js → LowBalancePopup-COu8cuzS-D_SGW7IW.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-ynvW5qdK-DNy5Q1Lv.js → MagicLinkACHDetailsPage-h0Srx7SO-dPgjPO_-.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-4UCrDRCC-Bq-tQJp8.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-tQ-JKEYq.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C4lIsKUB-C3OvDimI.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BVkJt1cv.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-9c9Tn_qo-CwdkX5kB.js → MagicLinkSuccessPage-BjWw4cqt-AmPRrK11.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-BrjFuMwS-D1qmzrWE.js → MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DgDMtsxQ-Cnqwqnmp.js → MailingDetailsSection-DWSj0MOB-BPZUzJp9.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-CRSDBuLJ-D1XUzPrf.js → MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js} +3 -3
  106. package/dist/assets/{Menu-BzQoNjkh-cD4Fdts5.js → Menu-DlBP5CCV-y1Vf24E1.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C45EhJK5-DZzttb9S.js → MyBankConnectionsSettingsPage-BYqoUq4q-Da0QKGU9.js} +9 -9
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CR_cld21-Ux8Abhj8.js → MyPendingActivationChargeCardListPage-BABBa4je-B1cN2Q5f.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Bd4BMq8O-DPOnVs42.js → MyProfileSettingsPage-Dk_jK8-R-BnmR2m7z.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Dn4oWjCF-N2jxIvIh.js → NavBarWithPicker-BC2xbV2b-BcYENhJM.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DDiJFL1e-DjMMfLsg.js → NavigationArrow-BovrdeuJ-BGk3-i0K.js} +1 -1
  112. package/dist/assets/{NavigationDots-Cv-F19I9-tBMc8ISf.js → NavigationDots-yYTGREt4-DTRiZdAJ.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B7muJVCL-mgLBgn6F.js → NewGlobalMerchantPage-BKlPnipd-BUgMD2pk.js} +4 -4
  114. package/dist/assets/NoDataChart-Dhg-k7iX-B526qZJD.js +26 -0
  115. package/dist/assets/{NoDataTable-rfVgRk3Q-BEaILjFs.js → NoDataTable-jpCLeiDv-DPfhsNYe.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DfZN-1Pf-B4NaWN5R.js → NotFoundPage-DrKqVOry-CJmDZfXH.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CZ7uvC_h-LtcJvSnH.js → NotificationSettingsPage-lojoBPQ8-BBTvd9G7.js} +28 -28
  118. package/dist/assets/NotificationsListConfig-jbIMYvrE-DMMvGaQE.js +1 -0
  119. package/dist/assets/{NotificationsPage-CkhbN-kU-CscacZfe.js → NotificationsPage-DJNUS9wc-8qosqB88.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage--OssjAU3-Cxrn-N9W.js → OpExByVendorPage-xMyUkO51-DLNCDIdB.js} +4 -4
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-03aTtMTb.js → OverlayContainerPage-GWXnlbZH-DExKUjLx.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-ClndDOYh-B9wT1Nlc.js → PandLWithForecastPage-BHtPelIT-DOZ7XwiG.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C078sYd8-2YgIo820.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BcCn0Sg1.js} +4 -4
  124. package/dist/assets/{PeoplePage-CW_L4QmC-CQ6F3obN.js → PeoplePage-CzQXmGVU-3wd2TE5z.js} +1 -1
  125. package/dist/assets/PortfolioAllocationFormPage-B1Xa0wKV-C9f5vgAD.js +207 -0
  126. package/dist/assets/{PortfolioDetails-BO6oRP5r-D0WEIBgj.js → PortfolioDetails-BY-IK4yO-BaoJWjzR.js} +23 -23
  127. package/dist/assets/{ProductsCarousel-D-AotGP3-D_E8Rtsf.js → ProductsCarousel-B7h_gH-R-XoeszqUs.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-BaRq2gW7-Dnv2udfr.js → PromoBaseCards-CuJXuijt-Cwtg1Msq.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-TWp9ojWE-CJN340b5.js → QBOConnectionDialog-DsNkkj_j-C8IchF8A.js} +2 -2
  130. package/dist/assets/{QBOSetupSection-CAEVos7R-D3-6Pj8J.js → QBOSetupSection-DkoopYHr-B4YL_CMi.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DNvNDsYb-B8zX_LUg.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-DsiatGsD.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-PP2Av_Fg-D-fHbLQ8.js → ReimbursementApprovalRulesPage-BkiZVc7S-CGfJ2oyo.js} +4 -4
  133. package/dist/assets/{ReimbursementDetailPage-BxODrJT2-BPsIYS6v.js → ReimbursementDetailPage-S9j_KDZJ-B4Ft6bVK.js} +4 -4
  134. package/dist/assets/{ReimbursementPromoPage-CY07bEdH-Wp4eoqRA.js → ReimbursementPromoPage-BJJruudV-4Q4ZYCZV.js} +3 -3
  135. package/dist/assets/{ReimbursementSetUpPage-KP5C3TD9-BYMDK6Yi.js → ReimbursementSetUpPage-CQdxq5lk-MGbpCaqc.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-kmEhvHQX-B6GlOKgB.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-ClMjr5Ld.js} +1 -1
  137. package/dist/assets/{ReloadCard-BCOFjZZr-BIlFv4JF.js → ReloadCard-DBRY9FdH-DLbqkxuz.js} +6 -6
  138. package/dist/assets/{ReportTableViewSelector-DRJq_coC-B4kGEXx8.js → ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js} +26 -26
  139. package/dist/assets/{ReportsPage-SG40vbC5-hiVn6A2p.js → ReportsPage-r_MRjkkb-B5PSr911.js} +1 -1
  140. package/dist/assets/{RevenueChart-Ca64TJCo-BShRCeNi.js → RevenueChart-DhCkb0c6-CpmVmIv5.js} +13 -13
  141. package/dist/assets/{ReviewDetailsPage-BU-0bDd9-Bwsio8yq.js → ReviewDetailsPage-DWtgiOYE-C2elGQRI.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-CL3CPnN_-D2XLVK3Z.js → ReviewOverlay-CjWEPPvw-B5TX8ZjT.js} +5 -5
  143. package/dist/assets/RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-X38BPRbi-2wcS2UIm.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-DCXxKyPi.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-DXNHT3jy-khKKf9ln.js → ScheduleDetailsPage-BqaZqCZJ-pwjFyU_u.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-DOoxwZ33-J73b5lGg.js → ScheduleSequenceTable-H_kZuoon-C9WFZ9rS.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-C2k2cDfe.js → ScreenRoutes-Ck2JOiJO.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-Dq7XPkje-1H6JZJ2A.js → SetUpAccountSection-B9L-2aHz-CS276oDL.js} +5 -5
  149. package/dist/assets/{SetUpDefaultSection-Bwllgb3V-McXckxaJ.js → SetUpDefaultSection-DO9aLike-BNjhrnJW.js} +1 -1
  150. package/dist/assets/{SignIn-DNWtgNjX-CNgEJTox.js → SignIn-DOSDfnki-ZWJtrmyd.js} +5 -5
  151. package/dist/assets/{SignInScreen-B1W_j-xE.js → SignInScreen-B66laInZ.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BhkIACPN-CD9yrOEa.js → SpendManagementListViewPage-D6ysU0TE-fs0LZdDD.js} +11 -11
  153. package/dist/assets/{SpendManagementPerTabPage-BjOxRVbT-CGkKojmz.js → SpendManagementPerTabPage-CHvroeCa-SUCxwVKR.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-CiavvRPP-DrT0DnBR.js → SpendManagementSection-BaEgJPY4-DbFNSMHd.js} +6 -6
  155. package/dist/assets/{SpendMgmtSetupAccountSection-CpLvxn91-BtyBtEXb.js → SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js} +1 -1
  156. package/dist/assets/{StatementItem-DdCDaiNw-CHt9eLHF.js → StatementItem-CYPCJ0XS-Bebbfivn.js} +5 -5
  157. package/dist/assets/{StatementsPage-DeAIoSNr-DeNxT4UI.js → StatementsPage-Cyqg2jd1-CS8CbIkz.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-DRcsgcqk-h7IDiY9O.js → StatusSwitcher-C5UGqQw8-L5IIUMyD.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-DEu0w6xG-DlkNkJ2W.js → SubTabSwitcher-B3rFIZQy-fhfcG8ZL.js} +1 -1
  160. package/dist/assets/{SummaryCard-uv4lzlcb-DcfnOQaa.js → SummaryCard-CNADDyPG-AHW1-mz3.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-Cvajt_yE-DjyK4H8q.js → TaskManagementPage-CtUQXjo2-CpaAFAcY.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-I6PTIuko-DBb9vjYZ.js → TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-OwZhofpM-BF4jSXHi.js → TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js +31 -0
  165. package/dist/assets/{TopExCard-C0HId814-TlmwiUgD.js → TopExCard-xJbS_mNo-B0v7lag7.js} +4 -4
  166. package/dist/assets/{TopExDetailPage-B_oju_VW-B8dAi2D0.js → TopExDetailPage-BDUuqAEK-Bo-vZtIP.js} +7 -7
  167. package/dist/assets/{TransactionDetailPage-9WsXXggv-C1Z5-L66.js → TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js} +1 -1
  168. package/dist/assets/{TransactionList-BxsEMjYy-BzD8L7--.js → TransactionList-DS-_gBrf-B6pRX61G.js} +1 -1
  169. package/dist/assets/{TransactionListBig-DHqll412-CFPhUKQZ.js → TransactionListBig-D9ebH5C0-D4IFnh5K.js} +1 -1
  170. package/dist/assets/{TransactionListPage-kGc1IJsq-B2x30pcJ.js → TransactionListPage-CPjayOv5-C1z1kCC6.js} +2 -2
  171. package/dist/assets/{TransactionVendorDetailPage-DwrZXzxo-Bv4Lt9OX.js → TransactionVendorDetailPage-DMYoBJ23-BkgKiHHa.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CV8rT6Ls-C2flOMOm.js → TransferDrawerPage-BAghLjPn-DV8a9ZRS.js} +9 -9
  173. package/dist/assets/{TreasuryOverviewPage-5qcly3m5-BZoVOHvX.js → TreasuryOverviewPage-B7EFea4a-zZd4C5QF.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-DSRfEWNK-Dxfg9iVg.js → TreasuryPromoPage-D7Y8yGpx-5DMBtH8J.js} +4 -4
  175. package/dist/assets/{TreasurySetupPage-CDhPN2Bb-Dj9tsW_C.js → TreasurySetupPage-B1SZd_a5-DTKitX5z.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-D8DDd_5Y-CwZFvrCl.js → TreasuryStatementsPage-uakhQGBW-DM3cx3mz.js} +3 -3
  177. package/dist/assets/{TreasuryTaxLetterPage-B9fT9sak-BMoosEW2.js → TreasuryTaxLetterPage-BHvr72P1-ZqD52w0m.js} +3 -3
  178. package/dist/assets/{TreasuryTransferOrReviewPage-dNdO4rAi-3lnMi7UO.js → TreasuryTransferOrReviewPage-BBPDHav1-FgeqnaCs.js} +1 -1
  179. package/dist/assets/{TrendChart-BQuGBR1d-DRH_FrMZ.js → TrendChart-ChiKhGtw-BlRFpdWI.js} +2 -2
  180. package/dist/assets/{TrendWithTransactions-DqDVJ54f-CgsoAjix.js → TrendWithTransactions-DEMNHbbz-DBOPdxuf.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BxfVIUoI-BAc9qbTi.js → UncategorizedAccountsMappingPage-BDNznj4Y-DBTlThuY.js} +10 -10
  182. package/dist/assets/{UnitIntegrationPage-CdZI78vH-CFA0apZ5.js → UnitIntegrationPage-Bgu5xfcn-CtKgXROf.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-DO8Wchkc-ByN4Qaxt.js → UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup--aencw-V-Df4pL-Qg.js → Vendor2FAPopup-D34glhep-Bcy6uzR5.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BCPlUNfz-DeDBqivU.js → VendorACHDetailsPage-CSqpbr2r-BGpdO99p.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CVJBUbZ2-CYpsHQJC.js → VendorDetailPage-CJw1v9tJ-BWewlDVL.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-DWW8h7s8-B14qSrfb.js → VendorDomesticWireDetailsPage-BY8F5AWO-DX4fuW2L.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-C8InkcfJ-CugnY8_H.js → VendorFiling1099EditablePage-COYZCnYS-BBPw3drw.js} +3 -3
  189. package/dist/assets/{VendorFirstReviewPage-BDyNH-vU-DGYQLhyK.js → VendorFirstReviewPage-BqnXdq6Q-CL1x86cX.js} +11 -11
  190. package/dist/assets/{VendorInternationalWireDetailsPage-C3nJ3Pt0-DsbFoaA9.js → VendorInternationalWireDetailsPage-K9botaZv-yQ73nWrj.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C9H4QLT1-BuKQF4oT.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-s-XTKsWI.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGWJqmKQ-BXMF5Z3_.js → VendorsAccountsSection-D5d42xeO-CJcEHkCK.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-BxOxXMaW-DkMBlN5z.js → WarningsDrawerPage-DiA5MRFe-Bc00wID9.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-DCAIPx-c-BD55p6Nj.js → ZeniAccountDetailPage-DSCbx6BB-DGWgYb7a.js} +10 -10
  195. package/dist/assets/{ZeniAccountListViewPage-CDYYbdFb-_MT-Ohao.js → ZeniAccountListViewPage-7zssUaoL-DvaV5FVV.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-CcOiYS-H-CwsBc3DA.js → ZeniAccountNavBarPieces-By4S70vz-DdkCg5aL.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-Cfw0_0bd-C5RE4POb.js → ZeniAccountPromoPage-Bvr4t7zq-DL50qAxB.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-B7EJAqdM-DWanO_QS.js → ZeniAccountSetupPage-DtDN9JWk-D8j-79L6.js} +2 -2
  199. package/dist/assets/{ZeniCopyright-DEdrnsiw-Eg-xo07J.js → ZeniCopyright-CxC3wvp1-gbMTqRLu.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DBXBirJi-DpWD5K8I.js → ZeniTransferAmountSlider-CcbG1sHp-Dm5uqXid.js} +1 -1
  201. package/dist/assets/{analyticsHelper-w8iM5r14-BY4FkEnG.js → analyticsHelper-3y6VD3VH-4b12iNu9.js} +1 -1
  202. package/dist/assets/{analyticsHelper-ciHG4Q-D.js → analyticsHelper-D4WZaKOr.js} +1 -1
  203. package/dist/assets/{chartTypes-B0MskeA2-BTAh8Hyp.js → chartTypes-mKuCmPTG-BM7hqR_d.js} +1 -1
  204. package/dist/assets/{commonDimensions-BKJwd7tr-DDhhtVWn.js → commonDimensions-BHBDbLXD-D2tFRShv.js} +1 -1
  205. package/dist/assets/{detailCommon-B0KC7weQ-BYWcy2mw.js → detailCommon-1QwSQL9C-CMTdKXNR.js} +4 -4
  206. package/dist/assets/{downloadPdf-D-MBiFpt-D1ZI2KxD.js → downloadPdf-DjM3Z_88-B-Yuc7DP.js} +1 -1
  207. package/dist/assets/{index-B6_cg6uw.js → index-CWmqNC4C.js} +806 -807
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-wdFfuF9A-Z50BhTnf.js → mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-tV6QhZnt-DXfr4cSR.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-WahUVvQq-Ch5M-kA9.js → mapSpacerToTreeNode-CzcEW1Rc-DpU4PyGc.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B6T9ekBs-bqck2H0q.js → mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BibBSUgv-BIs_vXe5.js → mapTimeframeBalancesToTreeNode-y3lzh3vX-QR9PSTFA.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ndk0FkTh-CCkJ4znu.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js} +1 -1
  214. package/dist/assets/{play-icon-DSOHLBMM-DmVvPxjN.js → play-icon-DfMYCOJa-CBLpaBHA.js} +3 -3
  215. package/dist/assets/{toCOABalancesWithID-DxjnLUiu-Dt78WFEt.js → toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js} +1 -1
  216. package/dist/assets/{toChartData-DGP41gut-CFOU4ScM.js → toChartData-D2kGY49E-CsLrqkFw.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-BExq29Np-Bdd5DDhE.js → treasuryColorHelper-k2phUKLw-Bv7jwBAj.js} +1 -1
  218. package/dist/assets/{uploadAttachment-DrRDYvZb-COcM6f-u.js → uploadAttachment-kyOdZMbL-CJNFoqRM.js} +11 -11
  219. package/dist/assets/{uploadReceipts-D80JLNY4-C8LFdV3T.js → uploadReceipts-D80JLNY4-Cic2YR7g.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ChargeCardPromoPage-BLnOo8KV-g9OGsau9.js +0 -219
  223. package/dist/assets/CustomerOnboardingContainerPage-DLvSrfgp-DEm_Qyfk.js +0 -1
  224. package/dist/assets/NoDataChart-D-NrGJT9-D0Ryfefk.js +0 -26
  225. package/dist/assets/NotificationsListConfig-D1qLw3pV-z9oKAegH.js +0 -1
  226. package/dist/assets/PortfolioAllocationFormPage-DSjAD_xB-DNiLcIBn.js +0 -207
  227. package/dist/assets/RoleWithToolTip-B2SfhDfC-B2LT4PHT.js +0 -22
  228. package/dist/assets/TimeframeSwitcherWithToggle-CrMpS9eg-BeZVTjXb.js +0 -31
@@ -1,4 +1,4 @@
1
- import{X as d,j as i,Y as o,eB as r,cm as n,o as s,C as c}from"./index-B6_cg6uw.js";import{j as b,n as h}from"./vendor-CnQcJ2Lu.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(y,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const y=h.div`
1
+ import{X as d,j as i,Y as o,eB as r,cm as n,o as s,C as c}from"./index-CWmqNC4C.js";import{j as b,n as h}from"./vendor-CnQcJ2Lu.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(y,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const y=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -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,n as s,cp as G,Q,o as i,u as Y,M as q,eL as A,eM as K,dg as X,bT as J,b2 as C,cq as U,dG as Z,v as k,a$ as ee,a2 as le}from"./index-B6_cg6uw.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=Ce(e,b),I=q.getLocalizedStrings().dropDowns,L=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:`${I.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:O,isDisabled:D,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:O,isDisabled:D,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(C.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:O,value:D}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:D==null?O: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):`${I.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:L,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(C.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(C.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,m as s,cp as G,Q,o as i,u as Y,M as q,eL as A,eM as K,dg as X,bT as J,b2 as C,cq as U,dG as Z,p as k,a$ as ee,a2 as le}from"./index-CWmqNC4C.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=Ce(e,b),I=q.getLocalizedStrings().dropDowns,L=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:`${I.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:O,isDisabled:D,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:O,isDisabled:D,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(C.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:O,value:D}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:D==null?O: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):`${I.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:L,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(C.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(C.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"};
@@ -1,4 +1,4 @@
1
- import{X as I,cg as N,co as g,j as o,Y as U,cm as W,C as l,eN as O,M as k,n as i,o as s,g as A,Q as K}from"./index-B6_cg6uw.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])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({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}}=N(),h=g(p,n),D=g(p,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(W,{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}}),o.jsxs(Y,{labelWidth:e.width,size:a,children:[o.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&&o.jsx(q,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{X as I,cg as N,co as g,j as o,Y as U,cm as W,C as l,eN as O,M as k,m as i,o as s,g as A,Q as K}from"./index-CWmqNC4C.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])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({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}}=N(),h=g(p,n),D=g(p,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(W,{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}}),o.jsxs(Y,{labelWidth:e.width,size:a,children:[o.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&&o.jsx(q,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,v as P,fH as F,g as l,Q as M,a$ as Q}from"./index-B6_cg6uw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const U={infoLabel:new M("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:v,menuPlacement:k,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:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(A,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:P.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(B,{children:[r.jsx(F,{...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(H,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
1
+ import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,p as P,fH as F,g as l,Q as M,a$ as Q}from"./index-CWmqNC4C.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const U={infoLabel:new M("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:v,menuPlacement:k,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:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(A,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:P.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(B,{children:[r.jsx(F,{...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(H,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as b,j as r,Y as s,cm as m,C as l,n as t,o as a,q as u,Q as x}from"./index-B6_cg6uw.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:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:g,"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:h}),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,m as t,o as a,s as u,Q as x}from"./index-CWmqNC4C.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:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:g,"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:h}),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,n as t,o as a,q 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,n as m,cg as K,cp as ge,co as fe,u as xe,fr as be,M as E,Q as we,b2 as H,fs as Y,bP as _,ft as X,a$ as q,g as R,v as G,q as Z,fu as $e,f as ye,w as ve}from"./index-B6_cg6uw.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B2SfhDfC-B2LT4PHT.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,m,cg as K,cp as ge,co as xe,u as fe,fr as be,M as E,Q as we,b2 as H,fs as Y,bP as _,ft as X,a$ as G,g as R,p as Q,s as Z,fu as $e,e as ye,v as ve}from"./index-CWmqNC4C.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-4WCTaiOg-BCe2sjxQ.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;
@@ -96,7 +96,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,n as m,cg as K,cp as ge,co as fe,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,n as m,cg as K,cp as ge,co as fe,u
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${G.standardRegular.css};
136
+ ${Q.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,n as m,cg as K,cp as ge,co as fe,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
- ${G.standardRegular.css};
148
+ ${Q.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,n as m,cg as K,cp as ge,co as fe,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:f,optionStyles:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),z=fe(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:z,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],x=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:x,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=!!L?.(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),x=e[p],y=b(i.value);return l.jsxs(Ie,{style:P,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:x?.user?.photo!=null?l.jsx(Ae,{src:x?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:x?.user?.firstName??"",lastName:x?.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:x}),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:z,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=xe();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:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:T,isOptionDisabled:t=>L?.(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:f,isDisabled:P,additionalLabelInfo:I,isOptionDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=K(),V=N();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:n,render:({field:{value:z,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:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:P,isOptionDisabled:T,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{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:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),z=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:z,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=!!L?.(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(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{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:z,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=>L?.(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:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=K(),V=N();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:n,render:({field:{value:z,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:z.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:L,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(Ge,{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
- `,qe=r.label`
187
+ `,Ge=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 f=N();return l.jsxs(Ge,{size:f,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(f),marginRight:M.labelMarginRight.value(f),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`
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`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v as V,b1 as ie,l as I,M as te,fo as se,fv as ae,S as ne,ag as de,g as D,b2 as B,ao as ce,a$ as pe,b$ as ue,fw as F,bH as X,K as he,w as Y,q as ge,f as me,fg as be,f2 as fe,aQ as xe,fh as ye,aA as we,fx as ve}from"./index-B6_cg6uw.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B2SfhDfC-B2LT4PHT.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
1
+ import{X as M,j as l,Y as A,cm as K,C as m,o,m as n,cg as _,cp as G,co as q,u as Q,p as V,b1 as ie,l as I,M as te,fo as se,fv as ae,S as ne,ag as de,g as D,b2 as B,ao as ce,a$ as pe,b$ as ue,fw as F,bH as X,K as he,v as Y,s as ge,e as me,fg as be,f2 as fe,aQ as xe,fh as ye,aA as ve,fx as we}from"./index-CWmqNC4C.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -105,11 +105,11 @@ import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Ue=d(ve)`
108
+ `,Ue=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};
@@ -135,7 +135,7 @@ import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
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"?D.brandColorOnyx:D.brandColorPearl};
138
- `,Je=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(We,{});default:return null}},Ke=e=>l.jsxs(Be,{children:[l.jsx(Me,{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}}=_(),a=q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(z=>z.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=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{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(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();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 m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();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(qe,{...i,isDisabled:e})]})}const Qe=d.div`
138
+ `,Je=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(We,{});default:return null}},Ke=e=>l.jsxs(Be,{children:[l.jsx(Me,{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}}=_(),a=q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),w=ne(i.productsByUserRole[t]),R=w.findIndex(z=>z.productType===C),L=w[R].selectedOption?.value===h;R>-1&&(w[R]={...w[R],selectedOption:L?void 0:w[R].options.filter(z=>z.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...w]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{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(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();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 m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();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(qe,{...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 M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Xe({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]=k.useState(),{formState:{errors:P}}=_(),h=q(P,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=Q(),C=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width: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,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width: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:g,isDisabled:T,data:O})=>{const w=I.isNonZeniRole(O.value)&&s===!0,N=J(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:N}=w;return l.jsx(co,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator: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(B.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"?D.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(ge)`
172
+ `;function Xe({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]=k.useState(),{formState:{errors:P}}=_(),h=q(P,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=Q(),C=M(),w=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=w.findIndex(g=>g.value==="admin");w.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=w.findIndex(g=>g.value==="bookkeeping_admin");w.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width: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,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width: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:g,isDisabled:T,data:O})=>{const v=I.isNonZeniRole(O.value)&&s===!0,N=J(g,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:g&&!v?t.colors.background:"transparent",">div":{backgroundColor:g?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:g&&!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:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:v}=r,{value:N}=v;return l.jsx(co,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options: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(B.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"?D.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(ge)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -1,4 +1,4 @@
1
- import{X as H,a1 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j as n,F as ge,fy as xe,a3 as fe,o as t,C as m,k as be,a2 as je,c6 as B,i4 as ye,g as Ce,v as I,az as we,n as r}from"./index-B6_cg6uw.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-9WsXXggv-C1Z5-L66.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-CCyeo-ZW-CDgcsnmr.js";import"./TrendWithTransactions-DqDVJ54f-CgsoAjix.js";import"./TrendChart-BQuGBR1d-DRH_FrMZ.js";import"./chartTypes-B0MskeA2-BTAh8Hyp.js";import"./toCOABalancesWithID-DxjnLUiu-Dt78WFEt.js";import"./toChartData-DGP41gut-CFOU4ScM.js";import"./NoDataChart-D-NrGJT9-D0Ryfefk.js";import"./InsightsSection-jbXmsMC6-Dtfu_P6f.js";import"./NavigationDots-Cv-F19I9-tBMc8ISf.js";import"./TransactionList-BxsEMjYy-BzD8L7--.js";import"./BoxItem-eTxUGnXc-CUU2vRQc.js";import"./commonDimensions-BKJwd7tr-DDhhtVWn.js";import"./uploadAttachment-DrRDYvZb-COcM6f-u.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{X as H,a1 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j as n,F as ge,fy as xe,a3 as fe,o as t,C as m,k as be,a2 as je,c6 as B,i4 as ye,g as Ce,p as I,az as we,m as r}from"./index-CWmqNC4C.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js";import"./TrendWithTransactions-DEMNHbbz-DBOPdxuf.js";import"./TrendChart-ChiKhGtw-BlRFpdWI.js";import"./chartTypes-mKuCmPTG-BM7hqR_d.js";import"./toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js";import"./toChartData-D2kGY49E-CsLrqkFw.js";import"./NoDataChart-Dhg-k7iX-B526qZJD.js";import"./InsightsSection-BZS-MEy4-D-RgHCTj.js";import"./NavigationDots-yYTGREt4-DTRiZdAJ.js";import"./TransactionList-DS-_gBrf-B6pRX61G.js";import"./BoxItem-CIBzy4ZV-BGT6YXil.js";import"./commonDimensions-BHBDbLXD-D2tFRShv.js";import"./uploadAttachment-kyOdZMbL-CJNFoqRM.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%;
@@ -1,4 +1,4 @@
1
- import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as e,bR as E,n as u,ao as U,a6 as N,eW as Y}from"./index-B6_cg6uw.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 R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as e,bR as E,m as u,ao as U,a6 as N,eW as Y}from"./index-CWmqNC4C.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};
@@ -1 +1 @@
1
- import{j as l}from"./index-B6_cg6uw.js";import{f as y}from"./ACHDetailsPage-CSnsNr1V-AnFfeOPF.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-HVZlzCAu-C9OaFu3k.js";import"./MagicLinkTitleSection-BrjFuMwS-D1qmzrWE.js";import"./BankAccountSection-Dt3lb88O-C0ekT5FH.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-CWmqNC4C.js";import{f as y}from"./ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js";import"./MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js";import"./BankAccountSection-CtTkNBok-D2ekA6eB.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-B6_cg6uw.js";import{y as b}from"./DomesticWireDetailsPage-mbgormGs-zMqxbnXL.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Dt3lb88O-C0ekT5FH.js";import"./MagicLinkTitleSection-BrjFuMwS-D1qmzrWE.js";import"./BankAccountWarningSection-HVZlzCAu-C9OaFu3k.js";import"./MailingDetailsSection-DgDMtsxQ-Cnqwqnmp.js";import"./LabeledAddressValueField-D_MiUMo1-B8J8XCv2.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-CWmqNC4C.js";import{y as b}from"./DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-CtTkNBok-D2ekA6eB.js";import"./MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js";import"./BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js";import"./MailingDetailsSection-DWSj0MOB-BPZUzJp9.js";import"./LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-B6_cg6uw.js";import{f as S}from"./InternationalWireSwiftDetailsPage-C4zVgFLt-C9m9o35d.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-HVZlzCAu-C9OaFu3k.js";import"./MailingDetailsSection-DgDMtsxQ-Cnqwqnmp.js";import"./LabeledAddressValueField-D_MiUMo1-B8J8XCv2.js";import"./MagicLinkTitleSection-BrjFuMwS-D1qmzrWE.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-CWmqNC4C.js";import{f as S}from"./InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js";import"./MailingDetailsSection-DWSj0MOB-BPZUzJp9.js";import"./LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js";import"./MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{ab as r,M as n,j as t,aj as l,o,$ as c,c0 as a,k as p}from"./index-B6_cg6uw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{ab as r,M as n,j as t,aj as l,o,$ as c,c0 as a,k as p}from"./index-CWmqNC4C.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{M as C,aa as p,j as t,c0 as m,o as a,q as d,g,bH as x}from"./index-B6_cg6uw.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx($,{children:o}),t.jsxs(y,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
1
+ import{M as C,aa as p,j as t,c0 as m,o as a,s as d,g,bH as x}from"./index-CWmqNC4C.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx($,{children:o}),t.jsxs(y,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${g.successDark};
@@ -1,4 +1,4 @@
1
- import{X as $,M as u,C as o,j as s,o as a,c8 as x,an as b,n as i}from"./index-B6_cg6uw.js";import{n}from"./vendor-CnQcJ2Lu.js";import{W as f}from"./LabeledAddressValueField-D_MiUMo1-B8J8XCv2.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=$(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,h=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:h},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
1
+ import{X as $,M as u,C as o,j as s,o as a,c8 as x,an as b,m as i}from"./index-CWmqNC4C.js";import{n}from"./vendor-CnQcJ2Lu.js";import{W as f}from"./LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=$(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,h=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:h},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as o,j as i,Y as d,m as c,g as l,o as p,C as r}from"./index-B6_cg6uw.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{X as o,j as i,Y as d,f as c,g as l,o as p,C as r}from"./index-CWmqNC4C.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -9,7 +9,7 @@ import{X as o,j as i,Y as d,m as c,g as l,o as p,C as r}from"./index-B6_cg6uw.js
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  background: ${l.blackColor}CC;
12
- `,m=a.div`
12
+ `,u=a.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  justify-content: space-between;
@@ -23,4 +23,4 @@ import{X as o,j as i,Y as d,m as c,g as l,o as p,C as r}from"./index-B6_cg6uw.js
23
23
  width: ${e=>s.width.valuePx(e.windowSize)};
24
24
  height: ${e=>s.height.valuePx(e.windowSize)};
25
25
  background: transparent;
26
- `;function x(e){const n=o(),t=document.createElement("script");return t.setAttribute("async","true"),t.setAttribute("defer","true"),t.setAttribute("src","https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"),document.head.appendChild(t),i.jsx(h,{windowSize:n,role:"presentation","data-testid":d("calendar-meeting-popup"),children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(m,{windowSize:n,children:i.jsx("div",{className:"meetings-iframe-container","data-src":e.meetingUrl,style:{width:"100%",height:"100%"}})})})})}export{x};
26
+ `;function x(e){const n=o(),t=document.createElement("script");return t.setAttribute("async","true"),t.setAttribute("defer","true"),t.setAttribute("src","https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"),document.head.appendChild(t),i.jsx(h,{windowSize:n,role:"presentation","data-testid":d("calendar-meeting-popup"),children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(u,{windowSize:n,children:i.jsx("div",{className:"meetings-iframe-container","data-src":e.meetingUrl,style:{width:"100%",height:"100%"}})})})})}export{x};
@@ -1,4 +1,4 @@
1
- import{j as o,m as u,eG as h,o as s,u as d,eH as m}from"./index-B6_cg6uw.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
1
+ import{j as o,f as u,eG as h,o as s,u as d,eH as m}from"./index-CWmqNC4C.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(b,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(y,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
4
4
  height: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as z,X as M,eX as H,M as $,a7 as p,j as i,l as L,aV as I,T as v,o as t,aQ as P,C as d,f as B,q as _,v as R,Q as T,eY as j,eZ as C,n as u,e$ as E,g as W,w as N}from"./index-B6_cg6uw.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as O}from"./SetUpDefaultSection-Bwllgb3V-McXckxaJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},V={title:new T("standardMedium","largeMedium")},F=n.img`
1
+ import{u as z,X as M,eX as H,M as v,a7 as w,j as i,l as L,aV as I,T as $,o as t,aQ as P,C as d,e as B,s as _,p as R,Q as T,eY as j,eZ as C,m as u,e$ as E,g as W,v as N}from"./index-CWmqNC4C.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as O}from"./SetUpDefaultSection-DO9aLike-BNjhrnJW.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},V={title:new T("standardMedium","largeMedium")},F=n.img`
2
2
  width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${t.sp11};
@@ -23,10 +23,10 @@ import{u as z,X as M,eX as H,M as $,a7 as p,j as i,l as L,aV as I,T as v,o as t,
23
23
  `,Y=n.div`
24
24
  display: flex;
25
25
  flex-direction: column;
26
- `,Z=n.div``,q=n.div`
26
+ `,Z=n.div``,G=n.div`
27
27
  ${e=>`${V.title.style(e.windowSize)}`};
28
28
  color: ${e=>e.isError===!0?W.important:e.theme.colors.primary};
29
- `,G=n.div`
29
+ `,U=n.div`
30
30
  display: flex;
31
31
  flex-direction: row;
32
32
  align-items: center;
@@ -39,7 +39,7 @@ import{u as z,X as M,eX as H,M as $,a7 as p,j as i,l as L,aV as I,T as v,o as t,
39
39
  max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
40
40
  max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
41
41
  margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
42
- `,U=n(N)`
42
+ `,q=n(N)`
43
43
  display: flex;
44
44
  align-items: center;
45
45
  color: ${e=>e.theme.colors.hero};
@@ -65,7 +65,7 @@ import{u as z,X as M,eX as H,M as $,a7 as p,j as i,l as L,aV as I,T as v,o as t,
65
65
  color: ${e=>e.theme.colors.grey1};
66
66
  justify-content: space-between;
67
67
  box-sizing: border-box;
68
- `,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const a=M(),h=z(),m=e.bankName,l=h.mode==="light"?new p(h.colors.brandColorJadeLight):new p(h.colors.brandColorJadeDark),b={element:i.jsx(P,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:l},c=o?.providerVerificationStatus?.code,x=`${o?.accountSubType?.name!=null?o.accountSubType.name.substring(0,1).toUpperCase().concat(o.accountSubType.name.substring(1)):""} ${o?.maskedAccountNumber??e.maskedAccountNumber}`.trim(),g=o?.institutionDetails?.zeniInstitutionId.toLowerCase()==="chase";return i.jsx(ne,{windowSize:a,children:i.jsxs(Q,{windowSize:a,children:[i.jsxs(X,{children:[i.jsx(K,{children:oe(b,a,h.mode==="dark",o)}),i.jsxs(Y,{children:[i.jsxs(Z,{children:[i.jsx(q,{windowSize:a,children:m}),i.jsx(U,{children:x?i.jsxs(i.Fragment,{children:[i.jsx(ee,{children:x}),a!=="small"&&(c!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||g)?i.jsx(ie,{}):null]}):null})]}),s!=null&&a==="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null]})]}),i.jsx(J,{children:s!=null&&a!=="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null})]})})},oe=(e,o,s,a)=>a?.institutionDetails.logo?.base64!=null?i.jsx(F,{windowSize:o,src:`${E}${a.institutionDetails.logo.base64.toString()}`,alt:a.institutionDetails.institutionName,loading:"lazy"}):i.jsx(G,{iconColor:e.color,windowSize:o,isDarkMode:s,children:e.element}),f={iconWidthHeight:new d(20,u[4]),sectionWidth:new d(343,580,726),subtitleSectionWidth:new d(343,580,1200)},ae={title:new T("standardMedium","largeMedium")},le=n.div`
68
+ `,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const a=M(),m=z(),h=e.bankName,l=m.mode==="light"?new w(m.colors.brandColorJadeLight):new w(m.colors.brandColorJadeDark),f={element:i.jsx(P,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:l},c=o?.providerVerificationStatus?.code,p=`${o?.accountSubType?.name!=null?o.accountSubType.name.substring(0,1).toUpperCase().concat(o.accountSubType.name.substring(1)):""} ${o?.maskedAccountNumber??e.maskedAccountNumber}`.trim(),g=o?.institutionDetails?.zeniInstitutionId.toLowerCase()==="chase";return i.jsx(ne,{windowSize:a,children:i.jsxs(Q,{windowSize:a,children:[i.jsxs(X,{children:[i.jsx(K,{children:oe(f,a,m.mode==="dark",o)}),i.jsxs(Y,{children:[i.jsxs(Z,{children:[i.jsx(G,{windowSize:a,children:h}),i.jsx(q,{children:p?i.jsxs(i.Fragment,{children:[i.jsx(ee,{children:p}),a!=="small"&&(c!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||g)?i.jsx(ie,{}):null]}):null})]}),s!=null&&a==="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null]})]}),i.jsx(J,{children:s!=null&&a!=="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null})]})})},oe=(e,o,s,a)=>a?.institutionDetails.logo?.base64!=null?i.jsx(F,{windowSize:o,src:`${E}${a.institutionDetails.logo.base64.toString()}`,alt:a.institutionDetails.institutionName,loading:"lazy"}):i.jsx(U,{iconColor:e.color,windowSize:o,isDarkMode:s,children:e.element}),b={iconWidthHeight:new d(20,u[4]),sectionWidth:new d(343,580,726),subtitleSectionWidth:new d(343,580,1200)},ae={title:new T("standardMedium","largeMedium")},le=n.div`
69
69
  display: flex;
70
70
  row-gap: ${t.sp3};
71
71
  flex-direction: column;
@@ -88,7 +88,7 @@ import{u as z,X as M,eX as H,M as $,a7 as p,j as i,l as L,aV as I,T as v,o as t,
88
88
  `,de=n.div`
89
89
  display: flex;
90
90
  align-items: center;
91
- width: ${e=>f.sectionWidth.valuePx(e.windowSize)};
91
+ width: ${e=>b.sectionWidth.valuePx(e.windowSize)};
92
92
  margin-bottom: ${t.sp3};
93
93
  `,ce=n.div`
94
94
  display: flex;
@@ -101,10 +101,10 @@ import{u as z,X as M,eX as H,M as $,a7 as p,j as i,l as L,aV as I,T as v,o as t,
101
101
  display: flex;
102
102
  justify-content: center;
103
103
  align-items: center;
104
- width: ${e=>f.subtitleSectionWidth.valuePx(e.windowSize)};
104
+ width: ${e=>b.subtitleSectionWidth.valuePx(e.windowSize)};
105
105
  margin-bottom: ${t.sp5};
106
- `,he=n(_)`
106
+ `,me=n(_)`
107
107
  display: flex;
108
108
  align-items: center;
109
109
  color: ${e=>e.theme.colors.hero};
110
- `,$e=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:a,onClickMenuIcon:h})=>{const m=z(),l=M(),b=y.useCallback(w=>{s(w)},[s]),c=y.useMemo(()=>e.link_account_no_microdeposit,[e]),{open:x}=H({token:c.linkToken??null,onSuccess:b}),g=$.getLocalizedStrings().common.settings,A=m.mode==="light"?new p(m.colors.brandColorJadeLight):new p(m.colors.brandColorJadeDark),k=$.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;return y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(c.expiration)||c.linkToken==null)&&a("link_account_no_microdeposit")},[a,c.expiration,c.linkToken]),i.jsxs(re,{children:[i.jsx(I,{source:"MyBankConnectionsSettingsPage",title:g.title.myBankConnections,backgroundColor:m.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:h}),i.jsxs(se,{windowSize:l,children:[i.jsx(ue,{windowSize:l,children:i.jsx(he,{windowSize:l,children:g.infoText.myBankConnections})}),o.bankAccounts.length>0?i.jsx(de,{windowSize:l,children:i.jsx(ce,{windowSize:l,children:g.subtitle.myBankConnections})}):null,i.jsx(v,{controller:o.bankAccounts.length>0,children:i.jsx(le,{children:o.bankAccounts.map(w=>{const S=o.paymentAccounts.find(D=>D.bankAccountId==w.bankAccountId);return i.jsx(te,{bankAccount:w,accountStatus:S?.verificationStatus,paymentAccount:S},w.bankAccountId)})})}),i.jsx(v,{controller:o.bankAccounts.length===0,children:i.jsx(O,{onClick:()=>{x()},title:k.connectYourBank,subTitle:k.loginToBank,header:g.label.reimbursements,icon:{element:i.jsx(P,{width:f.iconWidthHeight.valuePx(l),height:f.iconWidthHeight.valuePx(l)}),color:A},style:{width:"unset",rowGap:l==="small"?t.sp2:void 0}})})]})]})};export{$e as default};
110
+ `,ve=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:a,onClickMenuIcon:m})=>{const h=z(),l=M(),f=y.useCallback(x=>{s(x)},[s]),c=y.useMemo(()=>e.link_account_no_microdeposit,[e]),{open:p}=H({token:c.linkToken??null,onSuccess:f}),g=v.getLocalizedStrings().common.settings,A=h.mode==="light"?new w(h.colors.brandColorJadeLight):new w(h.colors.brandColorJadeDark),k=v.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;return y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(c.expiration)||c.linkToken==null)&&a("link_account_no_microdeposit")},[a,c.expiration,c.linkToken]),i.jsxs(re,{children:[i.jsx(I,{source:"MyBankConnectionsSettingsPage",title:g.title.myBankConnections,backgroundColor:h.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:m}),i.jsxs(se,{windowSize:l,children:[i.jsx(ue,{windowSize:l,children:i.jsx(me,{windowSize:l,children:g.infoText.myBankConnections})}),o.bankAccounts.length>0?i.jsx(de,{windowSize:l,children:i.jsx(ce,{windowSize:l,children:g.subtitle.myBankConnections})}):null,i.jsx($,{controller:o.bankAccounts.length>0,children:i.jsx(le,{children:o.bankAccounts.map(x=>{const S=o.paymentAccounts.find(D=>D.bankAccountId==x.bankAccountId);return i.jsx(te,{bankAccount:x,accountStatus:S?.verificationStatus,paymentAccount:S},x.bankAccountId)})})}),i.jsx($,{controller:o.bankAccounts.length===0,children:i.jsx(O,{onClick:()=>{p()},title:k.connectYourBank,subTitle:k.loginToBank,header:g.label.reimbursements,icon:{element:i.jsx(P,{width:b.iconWidthHeight.valuePx(l),height:b.iconWidthHeight.valuePx(l)}),color:A},style:{width:"unset",rowGap:l==="small"?t.sp2:void 0}})})]})]})};export{ve as default};
@@ -1,4 +1,4 @@
1
- import{u as M,t as D,l as j,M as w,ff as t,j as r,aV as O,fy as B,o as F}from"./index-B6_cg6uw.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{M as U}from"./ChargeCardListTable-B3e8phUk-DjC7fkct.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./Menu-BzQoNjkh-cD4Fdts5.js";import"./RoleWithToolTip-B2SfhDfC-B2LT4PHT.js";import"./CardNumberSubText-D5z3PEdv-H47FlSvQ.js";import"./ChargeCardUtils-CHHXg_Qi-Cx1TeQt_.js";const{spendManagement:{chargeCard:u}}=w.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=M(),y=D(),m=j.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs(V,{children:[r.jsx(O,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},V=P.div`
1
+ import{u as M,w as D,l as w,M as j,ff as t,j as r,aV as O,fy as B,o as F}from"./index-CWmqNC4C.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{M as U}from"./ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./Menu-DlBP5CCV-y1Vf24E1.js";import"./RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js";import"./CardNumberSubText-FOFiHz-M-BomqpZHj.js";import"./ChargeCardUtils--ltNyvP2-TY5I7nE-.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=M(),y=D(),m=w.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs(V,{children:[r.jsx(O,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},V=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${F.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as te,fj as ie,u as fe,t as ge,fk as be,a as xe,H as ye,l as z,c4 as we,c3 as Pe,M as re,j as l,fl as ve,aV as $e,F as De,a3 as Se,o as s,fm as ne,fn as de,fo as ce,b_ as ue,C as L,f as me,v as je,Q as Oe,S as le,cf as Re,c6 as Ce,fp as q,cc as Le,ca as Te,fq as Ve,ae as Ie,n as E}from"./index-B6_cg6uw.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{W as ke}from"./LabeledAddressValueField-D_MiUMo1-B8J8XCv2.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-7h-ttahY-bbDcqYtH.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-D4BIq5HF-S63M19Fh.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-B2SfhDfC-B2LT4PHT.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,Q=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),V=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),O=c.reduce((I,k)=>I.concat(`${k.email},`),"");return{firstController:j,restControllerEmailsStr:O}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Re,{isDisabled:u,label:{label:X.name,width:V},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:V},style:{width:"auto"},isDisabled:Q,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:X.mailingAddress,width:V},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:V},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(O=>O.userId===c);if(j!==-1){const O=A[j],I=N.find(Y=>Y.classId===O.userRole.accountingClassIDs[0]),k=[];return I!=null&&k.push(I.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(_e,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ie,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
1
+ import{X as te,fj as ie,u as fe,w as ge,fk as be,a as xe,H as ye,l as z,c4 as we,c3 as Pe,M as re,j as l,fl as ve,aV as $e,F as De,a3 as Se,o as s,fm as ne,fn as de,fo as ce,b_ as ue,C as L,e as me,p as je,Q as Oe,S as le,cf as Re,c6 as Ce,fp as q,cc as Le,ca as Te,fq as Ve,ae as Ie,m as E}from"./index-CWmqNC4C.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{W as ke}from"./LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,Q=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),V=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),O=c.reduce((I,k)=>I.concat(`${k.email},`),"");return{firstController:j,restControllerEmailsStr:O}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Re,{isDisabled:u,label:{label:X.name,width:V},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:V},style:{width:"auto"},isDisabled:Q,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:X.mailingAddress,width:V},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:V},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(O=>O.userId===c);if(j!==-1){const O=A[j],I=N.find(Y=>Y.classId===O.userRole.accountingClassIDs[0]),k=[];return I!=null&&k.push(I.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(_e,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ie,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{u as p,X as m,j as o,Y as u,bs as g,M as x,o as t,aZ as b,eK as k,bo as y,bl as C,v}from"./index-B6_cg6uw.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=l.div`
1
+ import{u as p,X as m,j as o,Y as u,bs as g,M as x,o as t,aZ as b,eK as k,bo as y,bl as C,p as v}from"./index-CWmqNC4C.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{j as e,o as r,ae as i,bo as h}from"./index-B6_cg6uw.js";import{j as l,n as t}from"./vendor-CnQcJ2Lu.js";const c=l`
1
+ import{j as e,o as r,ae as i,bo as h}from"./index-CWmqNC4C.js";import{j as l,n as t}from"./vendor-CnQcJ2Lu.js";const c=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{j as e,Y as p,o as t}from"./index-B6_cg6uw.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
1
+ import{j as e,Y as p,o as t}from"./index-CWmqNC4C.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,C=l.div`