@zeniai/web-cockpit-ui 1.14.22-dev → 1.14.23-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/assets/{ACHDetailsPage-Csc8UPGK-C5DTl14D.js → ACHDetailsPage-DZv7I3Jm-zPHhT4Vj.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BNK1zghX-CXpkKBhu.js → AIPerformancePage-DCq95N_N-DO8MzOBI.js} +26 -26
  3. package/dist/assets/{AccountInfoPage-WoQj1Knu-Cxdf_g3B.js → AccountInfoPage-wfDS5ToF-BkRJ-lxL.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BsiMZrTm-DfeZwew1.js → AccountInfoPageContent-dgeBtGlm-BSaBGsXw.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js → AccountLockedInfoModal-CqjvVPUE-Cma-cVvt.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js → AccountReconDetailsDrawerPage-BJ1TTvni-CnFKI7ya.js} +11 -11
  7. package/dist/assets/{AccountRow-mHhwnvVT-61DHuT3I.js → AccountRow-99zfxKet-iP3hUTyF.js} +19 -19
  8. package/dist/assets/{AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js → AccountsPromoCardStack-CZwrQBcr-BLPwkeVU.js} +8 -8
  9. package/dist/assets/{AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js → AddAddressForCardDrawer-BcOX27nY-CA-KCO8n.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-BmaqhQ_z-fr9KNRwo.js → AddToWalletPage-CoW0Ppg4-WAfWgl1v.js} +14 -14
  11. package/dist/assets/{AgingReportsPage-B2tfefId-BY1ufaPI.js → AgingReportsPage-Dgi5oFl4-Cao6O7NF.js} +10 -10
  12. package/dist/assets/{AllUserItems-C5jB4yc_-bcEnXv8A.js → AllUserItems-6iESftSq-BBGiJxHd.js} +9 -9
  13. package/dist/assets/{ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js → ApAgingDetailPage-jEL75hOV-BLy4yEPM.js} +3 -3
  14. package/dist/assets/{AppBasePage-DOXcrTCE-BU2ssx1Y.js → AppBasePage-CMHbFdBh-DTT6hgO7.js} +3 -3
  15. package/dist/assets/{AppDrawerContent-Cav4Sy09-XmmoSBRe.js → AppDrawerContent-NAyrnDCL-B7ak2Xor.js} +40 -19
  16. package/dist/assets/{ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js → ApprovalRulesSettingsPage-BWraRVsT-BRbAilw6.js} +5 -5
  17. package/dist/assets/{ArAgingChart-B3NtEWh--G5H5BTO1.js → ArAgingChart-DPrIHwSE-ym_zT_Xu.js} +9 -9
  18. package/dist/assets/{ArAgingDetailPage-uX2oVxj4-B2CH08AV.js → ArAgingDetailPage-CdNiD7uR-DccUXEIa.js} +4 -4
  19. package/dist/assets/{AttachmentView-BQMzs_UT-DjbZBXs7.js → AttachmentView-Cmh726Zl-C82E74gy.js} +3 -3
  20. package/dist/assets/{BankAccountSection-MWGcLsKa-DYMEitGJ.js → BankAccountSection-jRnEB-Ut-BpoXdxMl.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js → BankAccountWarningSection-KznYA-cf-CV3aOKhB.js} +3 -3
  22. package/dist/assets/{BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js → BankConnectionsSettingsPage-BXrsOxcg-CZU1wEnM.js} +15 -15
  23. package/dist/assets/{BillDetailPage-DU3KKWCI-Dgx7cNS3.js → BillDetailPage-glKjF2MJ-CxnS8ehW.js} +5 -5
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js → BillPayApprovalRuleDetailPage-DyH2jp6G-BgnVnU6E.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js → BillPayApprovalRulesPage-jctlpXwj-sMvcDhpz.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-DvBp9dFZ-DT65a4C3.js → BillPayPromoPage-DGyWwW1t-B2E2k4g7.js} +32 -32
  27. package/dist/assets/{BillPaySetUpPage-D7335PCo-lcC21Rm6.js → BillPaySetUpPage-UfM6FOqW-wZRanfNP.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-PsWVXatK-Df6MXAqh.js → BillingSettingsPage-BfMIxeqM-C_WtlbYK.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js → BillsBulkReviewDrawerPage-DhoLC2aT-Cih70QQk.js} +1 -1
  30. package/dist/assets/{BoxItem-Bf9DDBGl-B4tzyane.js → BoxItem-CIOib-WX-Cvut8WLk.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js → BusinessVerificationPage-Czf-y16x-BBZA7C_w.js} +14 -14
  32. package/dist/assets/{CardNumberSubText-8FNDlBHV-xefYK_FQ.js → CardNumberSubText-B8CivrXd-CzHZkmhR.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-CUc07auE-CayGCDQt.js → CashbackDetailPage-BOTxd8DW-CNmZsYqR.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js → ChargeCardDetailPage-DbtvRfDc-CRGJceoy.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BFssQAQg-Dr6YIgl1.js → ChargeCardListPage-Q1zat_TQ-BbazZeau.js} +18 -18
  36. package/dist/assets/{ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js → ChargeCardListTable-CKH-EZW4-CiPC1KQt.js} +28 -28
  37. package/dist/assets/{ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js → ChargeCardPromoPage-BRkny-dl-BA8MhBiS.js} +30 -30
  38. package/dist/assets/ChargeCardSetupPage-DM15gWD1-rI_IQnGw.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js → ChargeCardStatementsPage-xedf3XEE-CzGfRvhd.js} +7 -7
  40. package/dist/assets/{ChargeCardUtils-DQztOSYJ-DZxY6wV1.js → ChargeCardUtils-D4KmVUMt-Bgc7_40s.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-BaGgoJZk-L4zZNkyz.js → ChaseOverlay-IbWtzNzT-CiTCJc7A.js} +10 -10
  42. package/dist/assets/{CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js → CheckDepositDrawerPage-BCIvt4pQ-BUO3GGvc.js} +6 -6
  43. package/dist/assets/{CollapsableReportTable-dCUjgg1X-DLs7OVqc.js → CollapsableReportTable-jOFcWQi9-BD7j44zD.js} +109 -109
  44. package/dist/assets/{CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js → CompanyOfficerDetailsSection-DMCZTk1e-CevbfEQw.js} +20 -20
  45. package/dist/assets/{CompanyPassportCard-BOuhptIV-CVEQtf9Q.js → CompanyPassportCard-BbJLMFqe-CAuk2TxY.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-CPxR1IKu-B6sc0yZA.js → CompanyPassportPage-BwCMcjB9-C5l65FSQ.js} +25 -25
  47. package/dist/assets/{CompleteProfile-BIN-sI3M-1L7bxHe9.js → CompleteProfile-Dz4laW45-D0LCAfKu.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-nTrV9Xfw-D3DkhcOF.js → ConfettiBurst-B2j3QxzW-BoOT7g5H.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js → CreateOrEditVendorPage-z2chPZUl-moxdaTde.js} +12 -12
  50. package/dist/assets/{CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js → CreditCardPaymentDrawerPage-Z9RiL1h7-BimNMSu_.js} +17 -17
  51. package/dist/assets/{CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js → CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-ltt1zExP-D2omcj4n.js → CurrencySelectField-CxNprN2u-CPSD5Bje.js} +2 -2
  53. package/dist/assets/{CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js → CustomerOnboardingActivationPage-diAJ07bX-sBysngto.js} +4 -4
  54. package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-CSzku5k4.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js → CustomerOnboardingDetailPageSkeleton--8DBjaCm-B9kNPkv6.js} +11 -11
  56. package/dist/assets/CustomerOnboardingNoStepsPage-Ccq8kI-v-D3QEvGB2.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js → CustomerOnboardingPage-s3GNwP8c-p7WLMkGR.js} +6 -6
  58. package/dist/assets/CustomerOnboardingProductSuitePage-C-tToXNK-4Ab_CkNQ.js +202 -0
  59. package/dist/assets/{Dashboard-CptSiho6-CYuyH4KA.js → Dashboard-BtcnzaY6-gJck50nw.js} +230 -230
  60. package/dist/assets/{DashboardReportPage-G32NOQFe-BOVMH67u.js → DashboardReportPage-C6jLfLtF-BPfMWD5H.js} +9 -8
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-s8Nl8CmH-Dm61fSUI.js +12 -0
  62. package/dist/assets/{DepositAccTransactionItem-CQX9MBK--x7S3np6v.js → DepositAccTransactionItem-Bm63W_1e-5FIgWMcL.js} +1 -1
  63. package/dist/assets/DepositAccTransactionListPage-D4QcTw4n-1uhB2yjw.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js → DomesticWireDetailsPage-DX0BA5i3-Ea2aCTYV.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DN4zwFl5-BWBizCPI.js → DownloadOverlay-BcH72YTL-B8MaexAj.js} +1 -1
  66. package/dist/assets/{DrawerPage-B-jrvyA1-D5alUPyS.js → DrawerPage-CzHhh0IP-BIFSEwpr.js} +10 -10
  67. package/dist/assets/{EditPeoplePage-BTXEd5bm-DPBckywd.js → EditPeoplePage-Z5btEDax-BKTta_xp.js} +7 -7
  68. package/dist/assets/{EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js → EditReimbursementDetailPage-D_FsqRgU-DhM4BWkK.js} +74 -74
  69. package/dist/assets/{EntityDetailPage-CCTwe1iu-DAg47Prp.js → EntityDetailPage-Bc4YVpPC-DWs1zPrx.js} +3 -3
  70. package/dist/assets/{EntitySummarySection-B7uoP2ou-DZ_drzmW.js → EntitySummarySection-Ba6AWxNi-BdQCQZ3F.js} +4 -4
  71. package/dist/assets/ExpenseAutomationOverviewPage-Cg0sM_PI-vkhdPOgy.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js → ExpenseAutomationPage-EjI20a6v-rIac0d4o.js} +90 -90
  73. package/dist/assets/{ExpressPayPage-BdUERste-C5P04O3w.js → ExpressPayPage-562vstqT-BTrZQzDN.js} +10 -10
  74. package/dist/assets/{FeaturePreviewPage-B6_exSoS-Do4_f9l1.js → FeaturePreviewPage-eUvRNjsx-D93wu9_Y.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BoA-EzkO-CtKbn8f6.js → FollowStepsSection-D60JM8h_-WgnL9DSD.js} +11 -11
  76. package/dist/assets/{GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js → GlobalReviewListPage-BpXEtrb4-CJJjyGfo.js} +6 -6
  77. package/dist/assets/HelpButton-hflpTkYP-BxxKYxfC.js +28 -0
  78. package/dist/assets/{InformationCardStack-Dvu4sQsc-BlKJwxKC.js → InformationCardStack-BsxmscQq-CSrArWRb.js} +3 -3
  79. package/dist/assets/{InsightsCardStack-DffcRWuM-BTqxOdqS.js → InsightsCardStack-5JDl2mCA-CZ5TshWK.js} +7 -7
  80. package/dist/assets/{InsightsSection-C8Oi6wcZ-D3wuyBHx.js → InsightsSection-DsO5tfQL-CBUNqXt7.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js → IntegrationsSettingsPage-MQDeidS6-BKVTNE0x.js} +6 -6
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js → InternationalWireSwiftDetailsPage-CpT4WPn3-b0nQCCWc.js} +14 -14
  83. package/dist/assets/{InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js → InternationalWireVerificationPage-DlBFLwxy-BIViCBlF.js} +5 -5
  84. package/dist/assets/InviteFormPage-D0QCEMkX-DZr12vmY.js +312 -0
  85. package/dist/assets/{InvitePageListView-DG91-L1w-HUdilJLK.js → InvitePageListView-CVf8HrhY-cBhycZNO.js} +24 -24
  86. package/dist/assets/{InvitePeoplePage-6ANmf4z2-D3l-3sjy.js → InvitePeoplePage-Dg7iuq2i-Cx5QFhMU.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js → InvoiceUploadSection-BuwWumE2-CTijWOqK.js} +5 -5
  88. package/dist/assets/{IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js → IssueChargeCardPage-DL23WAiQ-CCNHr1-9.js} +26 -26
  89. package/dist/assets/{LabeledAddressValue-C6EUPzNB-f8CKs718.js → LabeledAddressValue-CnL_9Mgq-C1-zs_ut.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-DLou-2Lm-30_LmoCw.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js → LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js → LabeledCreatableSingleSelectField-CxnC4AFe-BOkJ5-5r.js} +8 -8
  93. package/dist/assets/{LabeledDocumentField-CzTqgS97-CVWMa21M.js → LabeledDocumentField-By7zV2VD-Deh87JH9.js} +4 -4
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js → LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.js} +6 -6
  95. package/dist/assets/{LabeledText-BICN3vpf-Lk4PuYrJ.js → LabeledText-D4fC1Hz2-Cxv5m94v.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js → LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-B9c0Mx1N.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js → LabeledZeniRolesDropDownField-CTA3JLz4-D4MXXizm.js} +17 -17
  98. package/dist/assets/{LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js → LinkJETransactionPage-CLAyFAJh-Dm40KZjj.js} +5 -5
  99. package/dist/assets/{LowBalancePopup-Dhrtsv_E-B0rnJzet.js → LowBalancePopup-TCSP5zrD-BmN6CG0D.js} +7 -7
  100. package/dist/assets/{MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js → MagicLinkACHDetailsPage-C9sNEDPT-D6e_XUAG.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js → MagicLinkDomesticWireDetailsPage-D4C-a5QY-DOB7ds5g.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js → MagicLinkInternationalWireDetailsPage-oKAXWkRz-ICvIdgn3.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js → MagicLinkSuccessPage-DTKe1Hxk-D3l_qzGn.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js → MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js → MailingDetailsSection-DOuPh_kK-CJdFvtR9.js} +6 -6
  106. package/dist/assets/{MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js → MeetingCalenderPopup-Bn5picNg-BZadZTcq.js} +1 -1
  107. package/dist/assets/{Menu-DOJJ_REW-BwD6B3Nk.js → Menu-D_vf2LDo-39KwK8wM.js} +3 -3
  108. package/dist/assets/{MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js → MyBankConnectionsSettingsPage-DJZVD_j4-CYkcPYeU.js} +14 -14
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js → MyPendingActivationChargeCardListPage-DyhXBMCi-DtFEW_4I.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js → MyProfileSettingsPage-gPNoKP10-gCIICwqR.js} +10 -10
  111. package/dist/assets/{NavBarWithPicker-CvhnGryh-CauN1w5W.js → NavBarWithPicker-BlYfbDi0-BiD5rNBH.js} +5 -5
  112. package/dist/assets/{NavigationArrow-CXkUidH6-fqvGvSGZ.js → NavigationArrow-CQ_K0Bon-C-8VFiTg.js} +1 -1
  113. package/dist/assets/{NavigationDots-hBq7kHVj-Vj1p5Rqn.js → NavigationDots-CI0cjpQA-B6oVaxeu.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js → NewGlobalMerchantPage-BHQiRWO8-or4Uc_HY.js} +6 -6
  115. package/dist/assets/{NoDataChart-C4KqN3ua-6H0vHNsB.js → NoDataChart-Dg1_sU_O-flEThGvM.js} +1 -1
  116. package/dist/assets/{NoDataTable-DaX07HI0-B6ZwwCAM.js → NoDataTable-qTYBbL2H-BGrSHe_q.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BIh20jzm-BXLRcjFX.js → NotFoundPage-DYjrSF7l-D7C6Z_Gh.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js → NotificationSettingsPage-DZHlnrbH-D8paihJx.js} +13 -13
  119. package/dist/assets/NotificationsListConfig-BSBZHM3y-CGdVXHfi.js +1 -0
  120. package/dist/assets/{NotificationsPage-oy3LHVU2-C0LKRRGq.js → NotificationsPage-QgnztPHs-CnFUIBHp.js} +35 -35
  121. package/dist/assets/{OpExByVendorPage-D8jXzTd6-CpwZHxBM.js → OpExByVendorPage-_AMvFFwS-DGSt9CNm.js} +7 -7
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-Drnebvl5.js → OverlayContainerPage-Bmu909Fo-CI9x-FUu.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js → PandLWithForecastPage-D_3EfFjd-JoBuR2Ry.js} +10 -10
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js → PaymentAccountSetupBillingAddressSection-Ch5yJBuG-Czoqfz5V.js} +5 -5
  125. package/dist/assets/{PeoplePage-B7s3mjRX-BNB49xB2.js → PeoplePage-DZr3Lusf-M76DhnJE.js} +23 -23
  126. package/dist/assets/PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.js +207 -0
  127. package/dist/assets/{PortfolioDetails-BFqRNjFs-DdtIdWXw.js → PortfolioDetails-BH-sfG9j-CdKUfZw3.js} +19 -19
  128. package/dist/assets/{ProductsCarousel-BaTq9uMB-DT3_7m1I.js → ProductsCarousel-C4J19mb--DcgR5jdw.js} +5 -5
  129. package/dist/assets/{PromoBaseCards-Bf3Dizji-DFvWixK1.js → PromoBaseCards-Bj4SLu8_-CC7a127A.js} +7 -7
  130. package/dist/assets/{QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js → QBOConnectionDialog-Bx6ZDEvY-BRYqXjwh.js} +7 -7
  131. package/dist/assets/{QBOSetupSection-BWJoUKzu-DC5g6xXu.js → QBOSetupSection-BCdoUjwK-BF2gwacX.js} +9 -9
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js → ReimbursementApprovalRuleDetailPage-DsTMXav9-B1Ngpniy.js} +2 -2
  133. package/dist/assets/{ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js → ReimbursementApprovalRulesPage-CJLcH9Ov--aMB2wIm.js} +9 -9
  134. package/dist/assets/{ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js → ReimbursementDetailPage-Ctgt3Dcz-Bah5s5HT.js} +11 -11
  135. package/dist/assets/{ReimbursementPromoPage-BFwztEak-CceCs1UK.js → ReimbursementPromoPage-DCmevd5G-RVnIiUe8.js} +14 -14
  136. package/dist/assets/{ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js → ReimbursementSetUpPage-Dc9xJUbM-BRgUtgcr.js} +4 -4
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js → ReimbursementsBulkReviewDrawerPage-CKjHGxjw-DAh9TKrH.js} +1 -1
  138. package/dist/assets/{ReloadCard-BmYf1NZf-DhNr8urp.js → ReloadCard-DxJMY9If-DFVN_BWj.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-yTxheyC3-CSqeEY6U.js → ReportTableViewSelector-lMBROmrI-C57N0Ev_.js} +11 -11
  140. package/dist/assets/{ReportsPage-DZtCp9CP-GUEOyiOt.js → ReportsPage-DMYLnwc7-C986BuH8.js} +10 -10
  141. package/dist/assets/{RevenueChart-CXSh5l_p-dQ5RnZTk.js → RevenueChart-DD8vb3zi-DI64DZjn.js} +1 -1
  142. package/dist/assets/ReviewDetailsPage-C-6hNb3q-Bs8iB-Q6.js +290 -0
  143. package/dist/assets/{ReviewOverlay-B2jf6tfG-D_9vNPuM.js → ReviewOverlay-sqbjCjkE-BYmWnWTV.js} +10 -10
  144. package/dist/assets/{RoleWithToolTip-DHdLJcWR-GnlXHGj6.js → RoleWithToolTip-BpMhPbAJ-D4xuhbtR.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js → ScheduleDetailsFixedAssetsPage-D1uRcS4p-n5wC_akR.js} +8 -8
  146. package/dist/assets/{ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js → ScheduleDetailsPage-D8Cvxd7m-bSm3GRae.js} +4 -4
  147. package/dist/assets/{ScheduleSequenceTable-8qqeMhAk-COgow_cL.js → ScheduleSequenceTable-CvqXlh31-iJzQjEX9.js} +50 -50
  148. package/dist/assets/{ScreenRoutes-HggFEvBU.js → ScreenRoutes-CG3ALmQe.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-CDXmRiGQ-DykmFmYq.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-BM57n5BV-BGP1G39B.js → SetUpDefaultSection-VPie4JZS-CUUkgLvy.js} +6 -6
  151. package/dist/assets/SignIn-9DfCxy9Q-D5TOW1KJ.js +407 -0
  152. package/dist/assets/{SignInScreen-BP8BTBPi.js → SignInScreen-C5ZC9m_8.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-BphSarNr-olaU5e62.js → SpendManagementListViewPage-Q5bQb3hk-BwLto-DN.js} +4 -4
  154. package/dist/assets/{SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js → SpendManagementPerTabPage-CD-kDdxa-BPnAzojr.js} +26 -26
  155. package/dist/assets/{SpendManagementSection-DKqHikhq-CsTWl7zh.js → SpendManagementSection-DGGOMGEz-BERrqLUW.js} +6 -6
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js → SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js} +21 -21
  157. package/dist/assets/{StatementItem-Ki_Mzpf9-D38JqRpj.js → StatementItem-1vBLASxl-Bg-WCzCW.js} +4 -4
  158. package/dist/assets/{StatementsPage-B6XMWWpt-Dr9BGLnN.js → StatementsPage-cCluGN33-CUSb15rA.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-BkAnAbyd-DQZA1a3w.js → StatusSwitcher-efLzDuyw-yZjEoNnl.js} +2 -2
  160. package/dist/assets/{SubTabSwitcher-Au3snima-DElPxhu-.js → SubTabSwitcher-BfYlJKJ6-0yeg6J8n.js} +1 -1
  161. package/dist/assets/{SummaryCard-B-IXQpJ7-Dg8CCNrn.js → SummaryCard-BsPejHZG-DSp7yYcI.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BPNEy-p0-BIbh7B8y.js → TaskManagementPage-CkdITpbn-BnN3mtBv.js} +31 -31
  163. package/dist/assets/{TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js → TimeRangeSwitcher-DVB0vP5W-Bka-ygDj.js} +5 -5
  164. package/dist/assets/{TimeframeSwitcher-D1cuigpc-D9PCDoa0.js → TimeframeSwitcher-BmhH741X-Bq2UrAGM.js} +2 -2
  165. package/dist/assets/{TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js → TimeframeSwitcherWithToggle-B1bMIGal-PXrqXkjU.js} +1 -1
  166. package/dist/assets/{TopExCard-BWOozDK3-GMojpRJp.js → TopExCard-DBuo1QUF-Bqy_yS0O.js} +6 -6
  167. package/dist/assets/{TopExDetailPage-DpYLakrO-vsCGpsy3.js → TopExDetailPage-CGPgaWRb-BefBmW9C.js} +20 -20
  168. package/dist/assets/TransactionDetailPage-BUP-dxVE-Bluz2ZEA.js +912 -0
  169. package/dist/assets/TransactionList-DP9cEVya-Dnf5dIML.js +147 -0
  170. package/dist/assets/{TransactionListBig-CefZbd83-D9G3vxbN.js → TransactionListBig-B_s15U1P-DxO9dvuT.js} +15 -15
  171. package/dist/assets/{TransactionListPage-CM319tsV-DkNHohDS.js → TransactionListPage-DpYLFl8A-CtiLL9up.js} +6 -6
  172. package/dist/assets/{TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js → TransactionVendorDetailPage-DqqSV533-DMSzEnyq.js} +4 -4
  173. package/dist/assets/{TransferDrawerPage-0vQtF6ID-fpHDlHlf.js → TransferDrawerPage-CxdQzo0m-DrhEn9ys.js} +79 -79
  174. package/dist/assets/{TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js → TreasuryOverviewPage-D7vqj60i-DA26_cse.js} +22 -22
  175. package/dist/assets/{TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js → TreasuryPromoPage-BuxEHMpT-BDwacXK1.js} +12 -12
  176. package/dist/assets/{TreasurySetupPage-BJRBNCvY-DTKYqc-u.js → TreasurySetupPage-BIfbbeL3-V_YXLN-n.js} +4 -4
  177. package/dist/assets/{TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js → TreasuryStatementsPage-BeUdQZBc-XNPULVYt.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js → TreasuryTaxLetterPage-uFRMjqLn-CGfm28c4.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js → TreasuryTransferOrReviewPage-BWybwqhc-Cp5gifXq.js} +27 -27
  180. package/dist/assets/{TrendChart-BAMRDfp7-BazRtItt.js → TrendChart-7kPgcETh-CZhHOMVt.js} +4 -4
  181. package/dist/assets/{TrendWithTransactions-CgbouMHP-BeJkYy2u.js → TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js} +8 -8
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js → UncategorizedAccountsMappingPage-DEkSWWRY-BWS3cZYH.js} +11 -11
  183. package/dist/assets/{UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js → UnitIntegrationPage-B5yzIJDg-DXMgkfWr.js} +3 -3
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js → UploadAdditionalDocumentOverlay-Deu0hM2I-3QkNgcQ9.js} +8 -8
  185. package/dist/assets/{Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js → Vendor2FAPopup-DUyiI_-r-CLW3sS1X.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js → VendorACHDetailsPage-DycUU3MN-Bh437Vzf.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CceVHonS-DTF5QB-w.js → VendorDetailPage-B9pWIvXP-p9O1B1Vq.js} +21 -21
  188. package/dist/assets/{VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js → VendorDomesticWireDetailsPage-Cs35uQOp-DDOAIhlv.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js → VendorFiling1099EditablePage-BeuSWFCY-Ca6Gux7v.js} +11 -11
  190. package/dist/assets/{VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js → VendorFirstReviewPage-ANhBsl69-D02KU5IA.js} +63 -63
  191. package/dist/assets/{VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js → VendorInternationalWireDetailsPage-BShiEKaz-BZSIpE6n.js} +31 -31
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js → VendorInternationalWireSwiftDetailsPage-B_NlK1ak-UtHTf4LD.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js → VendorsAccountsSection-BclWgEaB-DOMr50bF.js} +4 -4
  194. package/dist/assets/VerifyDevice-CRrOo66b-ZlA7gEbg.js +97 -0
  195. package/dist/assets/{VideoPopup-0LSxcyRX-CeJLs_Z5.js → VideoPopup-qS-ig_U0-VKyag34q.js} +3 -3
  196. package/dist/assets/{WarningsDrawerPage-DR9oeIuj-B1HHe12t.js → WarningsDrawerPage-DgRtxLoa-C9d8WcDP.js} +2 -2
  197. package/dist/assets/{ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js → ZeniAccountDetailPage-B66nIr0V-6bf8tksW.js} +21 -21
  198. package/dist/assets/{ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js → ZeniAccountListViewPage-CWhZKmoP-42K6r0wR.js} +10 -10
  199. package/dist/assets/{ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js → ZeniAccountNavBarPieces-C6MQhfnU-CnbDnx7e.js} +2 -2
  200. package/dist/assets/{ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js → ZeniAccountPromoPage-C-oF3-HO-DisOzRKq.js} +16 -16
  201. package/dist/assets/{ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js → ZeniAccountSetupPage-DY-nCuiT-B3gBHMad.js} +4 -4
  202. package/dist/assets/{ZeniCopyright-D6e3OekQ-3nIDquq3.js → ZeniCopyright-rY1T9xhh-Dfov-yky.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js → ZeniTransferAmountSlider-Bh5zkWst-Bed32C-4.js} +1 -1
  204. package/dist/assets/analytics-B3n5JGPc.js +7 -0
  205. package/dist/assets/{analyticsHelper-q5gZKv1q.js → analyticsHelper-B0L0ncmN.js} +1 -1
  206. package/dist/assets/{analyticsHelper-CYiy63P3-BIFQ1l_N.js → analyticsHelper-BcJgRhqY-D6z677ff.js} +1 -1
  207. package/dist/assets/chartTypes-BoblEsVF-BVffEXCf.js +1 -0
  208. package/dist/assets/{commonDimensions-DbTYS1hy-sQ0jQuuT.js → commonDimensions-CFd7y7qU-C7Jvc2Ks.js} +1 -1
  209. package/dist/assets/{detailCommon-BeqWtSZF-C3x-L6T7.js → detailCommon-MYixZ3RD-BFmVTLGA.js} +6 -6
  210. package/dist/assets/{downloadPdf-CLTp2aZt-DDw4mfQ_.js → downloadPdf-CgupyHRa-D9AEGU0d.js} +1 -1
  211. package/dist/assets/{index-P_4M6V8j.js → index-B8OsEhOZ.js} +753 -749
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js → mapLoadingInProgressToTreeNode-B8Y_euQR-DOx1e8cj.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js → mapSectionWithAcOnlyToTreeNode-jBSc45Na-BDZbXmNV.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js → mapSpacerToTreeNode-COy8gZAM-BaCmq5hE.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js → mapTimeframeBalancesToTreeNode-BodkMcFj-QmE2hfm4.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js → mapTimeframeBalancesToTreeNode-DXla81BF-zj0mJKeb.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js → mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-BHeVK-te.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-D49XFhoj-DjL9meL6.js → toCOABalancesWithID-CndsNNsv-CWYFJv_O.js} +1 -1
  219. package/dist/assets/{toChartData-C9pHl0xA-CKVc0-Yj.js → toChartData-B9eYLI57-CKqynvrs.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-CkjbPhqI-PraXB90r.js → treasuryColorHelper-D4iDeX95-DVOhzALi.js} +1 -1
  221. package/dist/assets/{uploadAttachment-BniS82zn-BreMBxbN.js → uploadAttachment-C2I6mBBB-CPoUzWwI.js} +14 -14
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-wO4Dla2j.js → uploadReceipts-dxsKhm9I-YtN4h-4H.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +4 -4
  225. package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +0 -36
  226. package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +0 -1
  227. package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +0 -66
  228. package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +0 -202
  229. package/dist/assets/DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js +0 -12
  230. package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +0 -66
  231. package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +0 -222
  232. package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +0 -28
  233. package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +0 -312
  234. package/dist/assets/LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js +0 -45
  235. package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +0 -1
  236. package/dist/assets/PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js +0 -207
  237. package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +0 -290
  238. package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +0 -378
  239. package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +0 -407
  240. package/dist/assets/TransactionDetailPage-Bxzam_ho-gn2TcHkj.js +0 -878
  241. package/dist/assets/TransactionList-CEfjoVPA-DR1uAuMl.js +0 -147
  242. package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +0 -96
  243. package/dist/assets/analytics-CBL_L82S.js +0 -7
  244. package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +0 -1
@@ -0,0 +1,45 @@
1
+ import{e as f,cn as w,cv as v,M as y,j as r,$,ct as z,C as l,eX as M,g,s as i,X as T}from"./index-B8OsEhOZ.js";import{n}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),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])},B={infoLabel:new T("extraSmallRegular","smallRegular")},L=y.getLocalizedStrings();function E({isDisabled:e,label:d,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:L.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(R,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(z,{isDisabled:e,isOptional:b,label:d.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:d.width??"auto"}}),r.jsxs(j,{labelWidth:d.width,children:[r.jsx(M,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(m||s)&&r.jsx(P,{size:a,isError:s,children:c})]})]})}const R=n.div`
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: flex-start;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ width: ${e=>t.width.valuePx(e.size)};
7
+ min-height: ${e=>t.height.valuePx(e.size)};
8
+ padding-right: ${e=>t.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
11
+
12
+ &:focus-within {
13
+ z-index: 1;
14
+ outline: 1px solid ${e=>e.theme.colors.primary};
15
+ }
16
+
17
+ :first-of-type {
18
+ border-top-left-radius: inherit;
19
+ border-top-right-radius: inherit;
20
+ }
21
+
22
+ :last-of-type {
23
+ border-bottom-left-radius: inherit;
24
+ border-bottom-right-radius: inherit;
25
+ }
26
+ &:hover {
27
+ z-index: 1;
28
+ outline: ${e=>e.hasHoverBorder?`1px solid ${e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary}`:"none"};
29
+ .address-value {
30
+ background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?g.importantLight:e.theme.colors.background};
31
+ }
32
+ }
33
+ `,j=n.div`
34
+ display: flex;
35
+ flex-direction: column;
36
+ width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
37
+ align-items: flex-end;
38
+ flex-grow: 1;
39
+ `,P=n.label`
40
+ display: flex;
41
+ color: ${e=>e.isError?g.important:e.theme.colors.grey1};
42
+ ${e=>`${B.infoLabel.style(e.size)}`};
43
+ padding-right: 12px;
44
+ text-align: right;
45
+ `;export{E as C};
@@ -1,4 +1,4 @@
1
- import{e as d,j as i,_ as o,eG as r,cs as n,o as s,C as c}from"./index-P_4M6V8j.js";import{j as b,n as h}from"./vendor-rkTZJa59.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{e as d,j as i,$ as o,eG as r,ct as n,o as s,C as c}from"./index-B8OsEhOZ.js";import{j as b,n as h}from"./vendor-rkTZJa59.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(x,{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 x=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G,X as K,o as i,u as X,M as q,eQ as J,eR as Q,dj as U,bZ as Z,b3 as C,cw as A,dK as Y,v as k,b0 as ee,a2 as le}from"./index-P_4M6V8j.js";import{n as a}from"./vendor-rkTZJa59.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=X(),y=Ce(e,b),I=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?F(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(A,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${I.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:D,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,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:L,value:D}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:D==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(J,{isMulti:!1,onCreateOption:l=>{const p=Q(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:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},U())},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(Z,{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{e as _,cn as R,cv as z,j as t,$ as j,ct as B,C as f,g as u,s,cw as G,X as K,o as i,u as X,M as J,eQ as Q,eR as U,dj as q,b_ as A,b4 as C,cx as Y,dK as Z,v as D,b1 as ee,a3 as le}from"./index-B8OsEhOZ.js";import{n as a}from"./vendor-rkTZJa59.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=X(),y=Ce(e,b),I=J.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?F(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(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${I.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},M=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:L,value:k}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(Q,{isMulti:!1,onCreateOption:l=>{const p=U(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:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},q())},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(A,{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"};
@@ -34,7 +34,7 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
34
34
  border-radius: ${i.sp0};
35
35
  margin: ${i.sp0};
36
36
  color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
37
- ${k.standardRegular.css};
37
+ ${D.standardRegular.css};
38
38
  box-sizing: border-box;
39
39
  overflow: hidden;
40
40
  text-overflow: ellipsis;
@@ -45,7 +45,7 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
45
45
  display: flex;
46
46
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?i.sp0:"100%"};
47
47
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
48
- ${k.standardRegular.css};
48
+ ${D.standardRegular.css};
49
49
  color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
50
50
  margin: ${i.sp0};
51
51
  cursor: inherit;
@@ -67,7 +67,7 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
67
67
  `,ne=a.div`
68
68
  border-radius: inherit;
69
69
  .select-option {
70
- ${k.smallRegular.css};
70
+ ${D.smallRegular.css};
71
71
  height: ${i.sp6};
72
72
  padding: 9px ${i.sp3};
73
73
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
@@ -141,7 +141,7 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
141
141
  align-items: center;
142
142
  padding: 3px 6px;
143
143
  margin-right: ${i.sp2};
144
- `,we=a(Y)`
144
+ `,we=a(Z)`
145
145
  color: ${u.neutralGrey5Light};
146
146
  border-radius: ${i.sp2};
147
147
  padding: 3px 6px;
@@ -153,7 +153,7 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
153
153
  justify-content: inherit;
154
154
  align-items: center;
155
155
  width: 100%;
156
- `,ve=()=>null,je=()=>null,Se=()=>null,Ce=(e,r)=>e.map(o=>F(o,r)),F=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ie=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=R(),y=z(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:I,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:I.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Oe={infoLabel:new K("extraSmallRegular","smallRegular")};function Re({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=_(),{formState:{errors:w}}=R(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(De,{labelWidth:r.width,children:[t.jsx(Ie,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(V,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(V,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
156
+ `,ve=()=>null,je=()=>null,Se=()=>null,Ce=(e,r)=>e.map(o=>F(o,r)),F=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ie=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=R(),y=z(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:I,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:I.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Oe={infoLabel:new K("extraSmallRegular","smallRegular")};function Re({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=_(),{formState:{errors:w}}=R(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(ke,{labelWidth:r.width,children:[t.jsx(Ie,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(V,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(V,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
157
157
  display: flex;
158
158
  flex-direction: row;
159
159
  align-items: flex-start;
@@ -189,7 +189,7 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
189
189
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError===!0?u.importantLight:e.theme.colors.background};
190
190
  }
191
191
  }
192
- `,De=a.div`
192
+ `,ke=a.div`
193
193
  display: flex;
194
194
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
195
195
  justify-content: flex-end;
@@ -201,4 +201,4 @@ import{e as _,cm as R,cu as z,j as t,_ as j,cs as B,C as f,g as u,q as s,cv as G
201
201
  ${e=>`${Oe.infoLabel.style(e.size)}`};
202
202
  padding-right: ${i.sp3};
203
203
  text-align: right;
204
- `;export{Re as D};
204
+ `;export{Re as T};
@@ -1,4 +1,4 @@
1
- import{e as I,cm as U,cu as g,j as o,_ as W,cs as N,C as l,eS as O,M as k,q as i,o as s,g as A,X as q}from"./index-P_4M6V8j.js";import{n as d}from"./vendor-rkTZJa59.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])},J={infoLabel:new q("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:S,hasError:E=!1,placeholderText:F,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:L,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[o.jsx(N,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(X,{labelWidth:e.width,size:a,children:[o.jsx(O,{name:n,filesEndPoint:P,authParams:S,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:E,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:F,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:L}),h&&o.jsx(K,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{e as I,cn as U,cv as g,j as o,$ as W,ct as N,C as l,eS as O,M as k,s as i,o as s,g as A,X as J}from"./index-B8OsEhOZ.js";import{n as d}from"./vendor-rkTZJa59.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])},V={infoLabel:new J("extraSmallRegular","smallRegular")};function H({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:S,hasError:E=!1,placeholderText:F,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:L,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return o.jsxs(X,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[o.jsx(N,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(q,{labelWidth:e.width,size:a,children:[o.jsx(O,{name:n,filesEndPoint:P,authParams:S,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:E,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:F,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:L}),h&&o.jsx(K,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const X=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -24,7 +24,7 @@ import{e as I,cm as U,cu as g,j as o,_ as W,cs as N,C as l,eS as O,M as k,q as i
24
24
  outline: 1px solid
25
25
  ${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
26
26
  }
27
- `,X=d.div`
27
+ `,q=d.div`
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
@@ -35,7 +35,7 @@ import{e as I,cm as U,cu as g,j as o,_ as W,cs as N,C as l,eS as O,M as k,q as i
35
35
  `,K=d.label`
36
36
  display: flex;
37
37
  color: ${e=>e.isError?A.important:e.theme.colors.grey1};
38
- ${e=>`${J.infoLabel.style(e.size)}`};
38
+ ${e=>`${V.infoLabel.style(e.size)}`};
39
39
  padding-right: ${s.sp3};
40
40
  text-align: right;
41
- `;export{G as Y};
41
+ `;export{H as Y};
@@ -1,4 +1,4 @@
1
- import{e as R,u as T,cm as p,cu as V,j as r,o,cv as P,bm as O,v as A,fN as F,g as l,X as M,b0 as U}from"./index-P_4M6V8j.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function H({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(q,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(N,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(Y,{style:{width:"auto",...b},children:r.jsx(P,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.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(J,{children:r.jsx(K,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
1
+ import{e as R,u as T,cn as p,cv as V,j as r,o,cw as P,bn as O,v as A,fN as F,g as l,X as M,b1 as U}from"./index-B8OsEhOZ.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(Y,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(N,{style:{width:"auto",...b},children:r.jsx(P,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(q,{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(B,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const Y=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -33,7 +33,7 @@ import{e as R,u as T,cm as p,cu as V,j as r,o,cv as P,bm as O,v as A,fN as F,g a
33
33
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
34
34
  }
35
35
  }
36
- `,B=i.div`
36
+ `,q=i.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-end;
@@ -44,16 +44,16 @@ import{e as R,u as T,cm as p,cu as V,j as r,o,cv as P,bm as O,v as A,fN as F,g a
44
44
  ${e=>`${X.infoLabel.style(e.size)}`};
45
45
  padding-right: ${o.sp3};
46
46
  text-align: right;
47
- `,J=i.div`
47
+ `,B=i.div`
48
48
  display: flex;
49
49
  margin-right: ${o.sp1};
50
50
  align-items: center;
51
- `,K=i(U)`
51
+ `,J=i(U)`
52
52
  width: ${o.sp3};
53
53
  height: ${o.sp3};
54
54
  color: ${l.successDark};
55
- `,N=i.div`
55
+ `,K=i.div`
56
56
  display: flex;
57
57
  width: 100%;
58
58
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
- `,Y=i.div``;export{H as Y};
59
+ `,N=i.div``;export{Q as Y};
@@ -1,4 +1,4 @@
1
- import{e as b,j as r,_ as s,cs as u,C as l,q as t,o as a,n as m,X as x}from"./index-P_4M6V8j.js";import{n}from"./vendor-rkTZJa59.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(u,{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`
1
+ import{e as b,j as r,$ as s,ct as u,C as l,s as t,o as a,p as m,X as x}from"./index-B8OsEhOZ.js";import{n}from"./vendor-rkTZJa59.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(u,{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;
@@ -1,4 +1,4 @@
1
- import{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u as fe,fx as be,M as R,X as $e,b3 as H,fy as Q,bV as _,fz as X,b0 as B,g as F,v as q,n as Y,fA as we,B as ye,i as ve}from"./index-P_4M6V8j.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-DHdLJcWR-GnlXHGj6.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{e as U,j as l,$ as Z,ct as me,o as s,C,s as m,cn as K,cw as ge,cv as xe,u as fe,fx as be,M as R,X as we,b4 as H,fy as Q,bW as _,fz as X,b1 as B,g as F,v as G,p as Y,fA as $e,B as ye,i as ve}from"./index-B8OsEhOZ.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-BpMhPbAJ-D4xuhbtR.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{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,G=r.div``,Ne=r.div`
99
+ `,J=r.div``,Ne=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -133,7 +133,7 @@ import{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${q.standardRegular.css};
136
+ ${G.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${q.standardRegular.css};
148
+ ${G.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -172,7 +172,7 @@ import{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u
172
172
  width: ${s.sp5};
173
173
  height: ${s.sp5};
174
174
  color: ${e=>e.theme.colors.hero};
175
- `,J=r(we)`
175
+ `,q=r($e)`
176
176
  color: ${e=>e.theme.colors.alert};
177
177
  text-transform: none;
178
178
  border: 1px solid ${e=>e.theme.colors.alert};
@@ -180,7 +180,7 @@ import{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:$,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:w,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=K(),A=xe(k,j??""),c=U(),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(Re,{menuIsOpen:i,isError:A,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(G,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(M,{children:[S||D?l.jsx(Q,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(L=>L.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Ae,{children:f?.user?.photo!=null?l.jsx(Le,{src:f?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=_},loading:"lazy"}):l.jsx(X,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(G,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&w!=null?l.jsx(J,{windowSize:c,children:w}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&w!=null?l.jsx(J,{windowSize:c,children:w}):null]})},ne=t=>{$(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:A,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:V,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(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new $e("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:$,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:w=!1})=>{const{control:V}=K(),k=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:n,render:({field:{value:A,onChange:c}})=>l.jsxs(Xe,{width:$?.width,"data-testid":Z("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:A.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:$,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:w,optionStyles:j}),I!==null&&l.jsx(Be,{size:k,children:I})]})})},Xe=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=K(),A=xe(k,j??""),c=U(),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(Re,{menuIsOpen:i,isError:A,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(J,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(M,{children:[S||D?l.jsx(Q,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(L=>L.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Ae,{children:f?.user?.photo!=null?l.jsx(Le,{src:f?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=_},loading:"lazy"}):l.jsx(X,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(J,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:A,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:V,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(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=K(),k=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:n,render:({field:{value:A,onChange:c}})=>l.jsxs(Xe,{width:w?.width,"data-testid":Z("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:A.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(Be,{size:k,children:I})]})})},Xe=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
@@ -189,7 +189,7 @@ import{e as U,j as l,_ as Z,cs as me,o as s,C,q as m,cm as K,cv as ge,cu as xe,u
189
189
  ${e=>`${He.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,N={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:$,opacity:j=1}){const x=U();return l.jsxs(qe,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":Z("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:N.labelMarginLeft.value(x),marginRight:N.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:$}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const qe=r.div`
192
+ `,N={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=U();return l.jsxs(Ge,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":Z("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:N.labelMarginLeft.value(x),marginRight:N.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as K,v as L,b2 as ie,l as I,M as te,fu as se,fB as ae,V as ne,ag as de,g as D,b3 as B,ao as ce,b0 as pe,c5 as ue,fC as F,bN as X,J as he,i as Y,n as me,B as ge,fm as be,f8 as fe,aR as xe,fn as ye,aB as ve,fD as we}from"./index-P_4M6V8j.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-DHdLJcWR-GnlXHGj6.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
1
+ import{e as M,j as l,$ as A,ct as G,C as g,o,s as n,cn as _,cw as Q,cv as q,u as K,v as V,b3 as ie,m as I,M as te,fu as se,fB as ae,W as ne,ah as de,g as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fC as F,bO as X,J as he,i as Y,p as me,B as ge,fm as be,f8 as fe,aS as xe,fn as ye,aC as we,fD as ve}from"./index-B8OsEhOZ.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-BpMhPbAJ-D4xuhbtR.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(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)};
@@ -11,7 +11,7 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
11
11
  ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
12
12
  }
13
13
  }
14
- `,Se=d.div`
14
+ `,Ce=d.div`
15
15
  display: flex;
16
16
  flex-direction: row;
17
17
  &:hover {
@@ -20,9 +20,9 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
20
20
  ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
21
21
  }
22
22
  }
23
- `,Ce=d.div`
23
+ `,Se=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=K(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ke=d.div`
25
+ `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=K(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Se,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ke=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
@@ -89,10 +89,10 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
89
89
  flex-direction: column;
90
90
  `,Me=d(X)`
91
91
  display: flex;
92
- `,Ve=d(Y)`
92
+ `,Le=d(Y)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
- `,Le=d(ge)`
95
+ `,Ve=d(ge)`
96
96
  display: flex;
97
97
  padding: 1px 6px 1px 6px;
98
98
  border: 1px solid;
@@ -105,11 +105,11 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Ne=d(we)`
108
+ `,Ue=d(ve)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ue=d(ve)`
112
+ `,Ne=d(we)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
@@ -135,15 +135,15 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
135
135
  margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
136
  margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
137
  color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
138
- `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ne,{});case"zeni_bill_pay":return l.jsx(Ue,{});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}},Ge=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Ve,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),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),V=w[R].selectedOption?.value===h;R>-1&&(w[R]={...w[R],selectedOption:V?void 0:w[R].options.filter(z=>z.value===h)[0]});const N={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...w]}};c(N)},[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(Oe,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(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(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(q,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Ke,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Qe,{...i,isDisabled:e})]})}const Ke=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}},Ge=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})]}),Qe=({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]),S=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===S),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(Oe,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(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(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(Q,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},C={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Ke,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:C.labelPaddingLeft.value(p),paddingRight:C.labelPaddingRight.value(p),paddingTop:C.labelPaddingTop.value(p),paddingBottom:C.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Ke=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"};
142
142
  background-color: ${e=>e.theme.colors.grey5};
143
- width: ${e=>S.width.valuePx(e.size)};
144
- min-height: ${e=>S.height.valuePx(e.size)};
145
- padding-top: ${e=>S.paddingTopBottom.valuePx(e.size)};
146
- padding-bottom: ${e=>S.paddingTopBottom.valuePx(e.size)};
143
+ width: ${e=>C.width.valuePx(e.size)};
144
+ min-height: ${e=>C.height.valuePx(e.size)};
145
+ padding-top: ${e=>C.paddingTopBottom.valuePx(e.size)};
146
+ padding-bottom: ${e=>C.paddingTopBottom.valuePx(e.size)};
147
147
  ${e=>e.isDisabled?$e`
148
148
  justify-content: space-between;
149
149
  `:null}
@@ -169,7 +169,7 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
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(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=K(),C=M(),w=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=w.findIndex(m=>m.value==="admin");w.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=w.findIndex(m=>m.value==="bookkeeping_admin");w.splice(r,1)}}const R=t.colors.grey5,V=L.smallRegular.cssObject,N=V,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",...N,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...L.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:O,data:T})=>{const v=I.isNonZeniRole(T.value)&&s===!0,U=J(m,v,T.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,...V,color:U,cursor:O?"not-allowed":"pointer",backgroundColor:m&&!v?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:v||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,v,T.value,t),backgroundColor:m&&!v?t.colors.background:v?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:v||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:v?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return 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}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(O=>{m.push(O.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:O,isDisabled:T,selectProps:v}=r,{value:U}=v;return l.jsx(co,{menuIsOpen:m,isFocused:O,isDisabled:T,selectedValue:U,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(me)`
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(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=K(),S=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(m=>m.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(m=>m.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,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:S==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:S==="small"?"230px":"100%",right:S==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:S==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:O,data:T})=>{const w=I.isNonZeniRole(T.value)&&s===!0,N=J(m,w,T.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:O?"not-allowed":"pointer",backgroundColor:m&&!w?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:w||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,T.value,t),backgroundColor:m&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return 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}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(O=>{m.push(O.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:O,isDisabled:T,selectProps:w}=r,{value:N}=w;return l.jsx(co,{menuIsOpen:m,isFocused:O,isDisabled:T,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:S,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(me)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -218,7 +218,7 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
218
218
  border-radius: ${o.sp0};
219
219
  margin: ${o.sp0};
220
220
  color: ${e=>e.theme.colors.primary};
221
- ${L.standardRegular.css};
221
+ ${V.standardRegular.css};
222
222
  box-sizing: border-box;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
@@ -229,7 +229,7 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
229
229
  display: flex;
230
230
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue==null?o.sp0:"100%"};
231
231
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
232
- ${L.standardRegular.css};
232
+ ${V.standardRegular.css};
233
233
  color: ${e=>e.theme.colors.primary};
234
234
  margin: ${o.sp0};
235
235
  cursor: inherit;
@@ -258,7 +258,7 @@ import{e as M,j as l,_ as A,cs as G,C as g,o,q as n,cm as _,cv as q,cu as Q,u as
258
258
  visibility: hidden;
259
259
  }
260
260
  }
261
- `,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Xe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
261
+ `,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(Q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Xe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as Q,a1 as ue,l as y,a as pe,c9 as me,i2 as P,hP as L,M as W,ca as he,j as a,F as ge,fE as xe,a3 as fe,o as t,C as m,L as be,a2 as je,cc as B,i3 as we,g as ye,v as I,aA as Ce,q as r}from"./index-P_4M6V8j.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-Bxzam_ho-gn2TcHkj.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js";import"./TrendWithTransactions-CgbouMHP-BeJkYy2u.js";import"./TrendChart-BAMRDfp7-BazRtItt.js";import"./chartTypes-sx4859ds-GbS6VOEl.js";import"./toCOABalancesWithID-D49XFhoj-DjL9meL6.js";import"./toChartData-C9pHl0xA-CKVc0-Yj.js";import"./NoDataChart-C4KqN3ua-6H0vHNsB.js";import"./InsightsSection-C8Oi6wcZ-D3wuyBHx.js";import"./NavigationDots-hBq7kHVj-Vj1p5Rqn.js";import"./TransactionList-CEfjoVPA-DR1uAuMl.js";import"./BoxItem-Bf9DDBGl-B4tzyane.js";import"./commonDimensions-DbTYS1hy-sQ0jQuuT.js";import"./uploadAttachment-BniS82zn-BreMBxbN.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{e as Q,a2 as ue,m as y,a as me,ca as pe,i2 as P,hP as L,M as W,cb as he,j as a,F as ge,fE as xe,a4 as fe,o as t,C as p,L as be,a3 as je,cd as R,i3 as we,g as ye,v as I,aB as Ce,s as r}from"./index-B8OsEhOZ.js";import{b as J,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-BUP-dxVE-Bluz2ZEA.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js";import"./TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js";import"./TrendChart-7kPgcETh-CZhHOMVt.js";import"./chartTypes-BoblEsVF-BVffEXCf.js";import"./toCOABalancesWithID-CndsNNsv-CWYFJv_O.js";import"./toChartData-B9eYLI57-CKqynvrs.js";import"./NoDataChart-Dg1_sU_O-flEThGvM.js";import"./InsightsSection-DsO5tfQL-CBUNqXt7.js";import"./NavigationDots-CI0cjpQA-B6oVaxeu.js";import"./TransactionList-DP9cEVya-Dnf5dIML.js";import"./BoxItem-CIOib-WX-Cvut8WLk.js";import"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import"./uploadAttachment-C2I6mBBB-CPoUzWwI.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const O={labelWidth:new p(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -19,7 +19,7 @@ import{e as Q,a1 as ue,l as y,a as pe,c9 as me,i2 as P,hP as L,M as W,ca as he,j
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=Q();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(B,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",G="linkJETransaction",Z=W.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=Z,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=Q(),T=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),N=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,w=D&&R&&k||D&&F&&k,E=R&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(Fe,{windowSize:p,children:f.linkJE}),a.jsx(Ne,{children:a.jsx(ze,{onClick:N})})]}),a.jsxs(Ie,{children:[a.jsx(Ue,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),F?a.jsxs(Be,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Te,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(H,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(H,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),w||E?a.jsx(fe,{formId:w?q(M):void 0,primaryBtn:{onClick:E&&!w?le:void 0,label:E&&!w?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=Q();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new p(r[3],r[3],r[6]),containerPaddingRight:new p(r[3],r[3],r[8]),navbarContainerPaddingTop:new p(r[2],r[3]),navbarContainerPaddingBottom:new p(r[4],r[5]),emptyScheduleHeight:new p(88,88)},M="linkJETransactionPage",G="linkJETransaction",Z=W.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=Z,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const m=Q(),T=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),N=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=me({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};J.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&pe(()=>ie(c))});return()=>{d.unsubscribe()}}),J.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",B=he(x.formState.dirtyFields),k=x.formState.isValid,w=D&&B&&k||D&&F&&k,E=B&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:m,children:[a.jsx(Fe,{windowSize:m,children:f.linkJE}),a.jsx(Ne,{children:a.jsx(ze,{onClick:N})})]}),a.jsxs(Ie,{children:[a.jsx(Ue,{windowSize:m,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),F?a.jsxs(Re,{windowSize:m,children:[a.jsx(Je,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Te,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Be,{children:[re?a.jsx(H,{windowSize:m,children:f.transactionFetchError}):null,de?a.jsx(H,{windowSize:m,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),w||E?a.jsx(fe,{formId:w?q(M):void 0,primaryBtn:{onClick:E&&!w?le:void 0,label:E&&!w?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -79,10 +79,10 @@ import{e as Q,a1 as ue,l as y,a as pe,c9 as me,i2 as P,hP as L,M as W,ca as he,j
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
81
  ${I.standardRegular.css};
82
- `,Re=i.div`
82
+ `,Be=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
- `,Be=i.div`
85
+ `,Re=i.div`
86
86
  display: flex;
87
87
  align-items: center;
88
88
  gap: ${t.sp1};
@@ -92,7 +92,7 @@ import{e as Q,a1 as ue,l as y,a as pe,c9 as me,i2 as P,hP as L,M as W,ca as he,j
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
94
  ${I.standardRegular.css};
95
- `,Oe=i(Ce)`
95
+ `,Je=i(Ce)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
98
  `;export{ut as default,q as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{M as S,e as R,a as T,l as s,j as a,F as z,bU as C,cf as A,C as m,ci as W,o as e,bX as E,q as u,ao as U,a6 as N,bp as Y}from"./index-P_4M6V8j.js";import{n as r}from"./vendor-rkTZJa59.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])},q=r.div`
1
+ import{M as S,e as R,a as T,m as s,j as a,F as z,bV as C,cg as A,C as m,cj as W,o as e,bY as E,s as u,ap as U,a7 as Y,bq as N}from"./index-B8OsEhOZ.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -6,13 +6,13 @@ import{M as S,e as R,a as T,l as s,j as a,F as z,bU as C,cf as A,C as m,ci as W,
6
6
  box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
7
7
  border-radius: ${e.sp2};
8
8
  margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
9
- `,V=r.div`
9
+ `,q=r.div`
10
10
  display: flex;
11
11
  flex: 1;
12
12
  background-color: ${t=>t.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=S.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:M,markAsPaid:v,defaultDateInfo:B,paymentModeOptions:$,selectDate:j,selectMethod:P}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(z,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(C,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(q,{windowSize:l,children:[a.jsx(A,{label:{label:M,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(V,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:B,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:j,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const K=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=S.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(Z,{children:a.jsxs(G,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(C,{titleComponent:a.jsx(H,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},Z=r.div`
15
+ `;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=S.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:M,markAsPaid:v,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:P}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(z,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(C,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(V,{windowSize:l,children:[a.jsx(A,{label:{label:M,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:B,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=S.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(J,{children:a.jsxs(Z,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(C,{titleComponent:a.jsx(G,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},J=r.div`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: center;
@@ -21,14 +21,14 @@ import{M as S,e as R,a as T,l as s,j as a,F as z,bU as C,cf as A,C as m,ci as W,
21
21
  padding-right: ${e.sp7};
22
22
  margin-top: ${e.sp3};
23
23
  white-space: pre-line;
24
- `,G=r(U)`
24
+ `,Z=r(U)`
25
25
  color: ${t=>t.theme.colors.hero};
26
- `,F=r(N)`
26
+ `,F=r(Y)`
27
27
  color: ${t=>t.theme.colors.primary};
28
- `,H=r(Y)`
28
+ `,G=r(N)`
29
29
  margin-top: ${e.sp6};
30
30
  padding-left: ${e.sp8};
31
31
  padding-right: ${e.sp8};
32
32
  color: ${t=>t.theme.colors.primary};
33
33
  word-break: break-word;
34
- `;export{K as o,_ as t};
34
+ `;export{Q as o,_ as t};