@zeniai/web-cockpit-ui 1.14.89-qa → 1.14.90-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 (292) hide show
  1. package/dist/assets/{ACHDetailsPage-BBq7KpbY-D459fVD1.js → ACHDetailsPage-BUP-_2-W-BxsdzxJg.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-Djq6mgKa-CoW3VwJ4.js → AIPerformancePage-DHF_70JI-BB0m0Wmb.js} +22 -22
  3. package/dist/assets/AccountInfoPage-pmUIckJ9-ClFTcWKH.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DO6aVqBW-NM1136mH.js → AccountInfoPageContent-DLSL1NNm-ysW8pq2z.js} +9 -9
  5. package/dist/assets/AccountLockedInfoModal-Bq3y0K0F-DT_bUQ3U.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-BuiGpDgm.js → AccountReconDetailsDrawerPage-CGcZO_qz-Cy1Ijv5f.js} +16 -16
  7. package/dist/assets/{AccountRow-Ck53DDbT-DWMrYTR2.js → AccountRow-D2Ypckgj-DU9kFXuE.js} +26 -26
  8. package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-t6F8QAnS.js → AccountsPromoCardStack-BVVDCW1H-DJjdfLGW.js} +23 -23
  9. package/dist/assets/AddAddressForCardDrawer-C8aENofu-DA1NQK9C.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DA6AmuaY-CmFVVEiw.js → AddToWalletPage-CmT5jSb5-D2YVbVt5.js} +11 -11
  11. package/dist/assets/{AgingReportsPage-B_Hhl_Is-B3LI-4Jv.js → AgingReportsPage-BeUGvj3b-CHP-b-K4.js} +6 -6
  12. package/dist/assets/{AllUserItems-BV22Ibpn-Cn4Po_RI.js → AllUserItems-CmlMyz-f-C0puagwR.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-DqV1vOVH-C9HZaqeP.js → ApAgingDetailPage-Dz1_N0Yw-iyEKxxlG.js} +3 -3
  14. package/dist/assets/{AppBasePage-LrgCcvIv-D0C3kYnC.js → AppBasePage-DX4EGGcT-DxyBlsaI.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-aZG5Qc_X-BTCDRaet.js → AppDrawerContent-Brg3Rw4K-DWiehP3E.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-Bn7KrUl2-CvKRvgo_.js +47 -0
  17. package/dist/assets/{ArAgingChart-Am7LTkqG-ChRjJ3UX.js → ArAgingChart-DQZtCsHS-CSTDLkfC.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-BtF6K5dA-VZeY_ZUJ.js +46 -0
  19. package/dist/assets/{AttachmentView-Bujbmx1d-DTmJzSNU.js → AttachmentView-DgPySmB8-B0CUUwUu.js} +8 -8
  20. package/dist/assets/{BankAccountSection-C5rYUW3V-DGt3bEf8.js → BankAccountSection-BVZK5jmO-oboSifeA.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-DakysSbk-6wJeRIrk.js → BankAccountWarningSection-DHdeDi15-DsdgRhNS.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-BiPdq8-x.js → BankConnectionsSettingsPage-BN3lAARB-UlnRR8CQ.js} +31 -31
  23. package/dist/assets/{BillDetailPage-DYc_nZRU-Cv-3eSux.js → BillDetailPage-BuUm6vdf-DEUKUhee.js} +13 -13
  24. package/dist/assets/BillPayApprovalRuleDetailPage-BXSdsF2E-CYUFVErE.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-B8HbVvc9-DpzHPmZp.js +241 -0
  26. package/dist/assets/{BillPayPromoPage-BK2J56U5-CnqDBUB8.js → BillPayPromoPage-DkoqXDNt-FNHctwfQ.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-Jic5E25q-BFBJyheg.js → BillPaySetUpPage-BommXkLS-DOKgmPVm.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CKZVChEm-Cuz40Itk.js → BillingSettingsPage-gHbc5Kq3-CFDIJf8G.js} +10 -10
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-BPVTB2M3.js → BillsBulkReviewDrawerPage-C541rBnx-DPMvwxh2.js} +1 -1
  30. package/dist/assets/{BoxItem-8PfNfaHq-CoDiwyqr.js → BoxItem-usHxaONy-BSYmkNdH.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-JGge-Iiw-CFAqeRW8.js → BusinessVerificationPage-CLsxXy9d-ClcyVS-f.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-W81SQ4GF-Bqu_rml1.js → CardNumberSubText-D_fWhc_K-BxJ3GoBc.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-DnOcmx2i-BEl7J3hp.js → CashbackDetailPage-D3WylWVP-CydwwFdH.js} +19 -19
  34. package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-DkV5Ob3a.js → ChargeCardDetailPage-BUsGBwBf-DhD5ouX9.js} +27 -27
  35. package/dist/assets/{ChargeCardListPage-Dgj-WWWI-CbwqZtRf.js → ChargeCardListPage-Jhx05dVV-DjDdThgH.js} +24 -24
  36. package/dist/assets/{ChargeCardListTable-uJZKWoh7-DhZ8QmJ_.js → ChargeCardListTable-D-eYWaxh-CZeSVtIX.js} +26 -26
  37. package/dist/assets/ChargeCardPromoPage-CzR82VtA-DoVVgv51.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-DUDTmQvB.js → ChargeCardSetupPage-Ctz8PCuu-Dmh0C1fi.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-BOQhT3Eo.js → ChargeCardStatementsPage-EUtRTAX2-CIQRTxBN.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-Di3gSIJN.js → CheckDepositDrawerPage-B7DC0HAi-DPwOJJS7.js} +17 -17
  41. package/dist/assets/{CollapsableReportTable-Crihcv_z-Dz-RLuna.js → CollapsableReportTable-I40BZv7o-RBVPkQ58.js} +233 -233
  42. package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-CgBxbEOZ.js → CompanyOfficerDetailsSection-ChsNKXbx-Dk7vpi01.js} +24 -24
  43. package/dist/assets/{CompanyPassportCard-DMRQkRPb-C4cE2wuT.js → CompanyPassportCard-82bbFwk--C3mnYk4t.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-D3XvbSF_-CAA4hMAo.js → CompanyPassportPage-DG1Fa_Uw-B4wsnqA2.js} +18 -18
  45. package/dist/assets/{CompleteProfile-BqjXO5ze-D8LP_nnA.js → CompleteProfile-B7bQqLQH-DwtJrHr4.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DtwLo4WZ-CAgZ-6DA.js → ConfettiBurst-DUyIBnw4-BZY51mbD.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-FFsZZvsv.js → CreateOrEditVendorPage-DVzMO96w-CjeOn0Zu.js} +6 -6
  48. package/dist/assets/CreditCardPaymentDrawerPage-C03hfKGc-BI7dTqV7.js +224 -0
  49. package/dist/assets/{CurrencySelectField-ClOg6nnS-BqF8GQ_v.js → CurrencySelectField-2hU3oIp_-CnccIVlk.js} +3 -3
  50. package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DRuZjTjM.js → CustomerOnboardingActivationPage-Dt-Nml2t-CQyv3wO4.js} +8 -8
  51. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-B7ffmmrc.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-CaAElGhv.js → CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js} +11 -11
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-CmLhznz-.js → CustomerOnboardingNoStepsPage-CwI8nL61-Xg6qQ6Ku.js} +4 -4
  54. package/dist/assets/CustomerOnboardingPage-C3FgZjAN-C75cnlLW.js +107 -0
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-2I-6Jp_o.js → CustomerOnboardingProductSuitePage-BOYu-82S-uR17VQjV.js} +4 -4
  56. package/dist/assets/{Dashboard-CdYlvep--DUCbDeKg.js → Dashboard-D_oTtu1--CP9XS1zf.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-c6q027Qp-VmbWeRH9.js → DashboardReportPage-Dprj3eUQ-BK5e1r9g.js} +20 -20
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-C2glc1OE.js → DashboardSidebarBackgroundAnimation-C6SQaB7q-C2qHBViE.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-D8kL8enp-Dmv2QmwN.js → DepositAccTransactionItem-C2oP415b-B5ygx6vl.js} +6 -6
  60. package/dist/assets/DepositAccTransactionListPage-DCvdqAz1-Df_FOAOf.js +66 -0
  61. package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-4nt88Wq7.js → DomesticWireDetailsPage-Da_3EveP-Bjb9K-P-.js} +2 -2
  62. package/dist/assets/{DownloadOverlay-Dr4uLNpZ-CSP7n0ty.js → DownloadOverlay-BwddFmV2-BqOR54wm.js} +26 -26
  63. package/dist/assets/{DrawerPage-CbKBsc7w-Czd32d3w.js → DrawerPage-CGrnrvf2-BvrxfWnf.js} +12 -12
  64. package/dist/assets/EditPeoplePage-DMgxG2Gd-C3BsPnxU.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-B_mgHJUC.js → EditReimbursementDetailPage-DwCiVkeu-B4w5FVLx.js} +25 -25
  66. package/dist/assets/EntityDetailPage-BcRVEfi5-Cnj_gM9q.js +18 -0
  67. package/dist/assets/{EntitySummarySection-BIV9aAq2-CISETdsS.js → EntitySummarySection-BaHHLLkE-D3Ip19-Y.js} +28 -28
  68. package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-BoXO6RyV.js → ExpenseAutomationOverviewPage-hl_3Pc0g-gY12ACUr.js} +27 -27
  69. package/dist/assets/ExpenseAutomationPage-D70ghitX-EafeQT3m.js +1650 -0
  70. package/dist/assets/{ExpressPayPage-DnpQuDmt-Nmc0dbGr.js → ExpressPayPage-BpfkmJ_I-B4izq8YR.js} +13 -13
  71. package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-BhRm4xx9.js → FeaturePreviewPage-Bzi8Bpk3-DtSpKYbK.js} +3 -3
  72. package/dist/assets/{FollowStepsSection-B2I9SddL-CxOpeC7P.js → FollowStepsSection-Bu3RG_GH-DmaIgxgE.js} +10 -10
  73. package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-CB1HWDWu.js → GlobalReviewListPage-D4BD7q-I-BHZQG-gN.js} +11 -11
  74. package/dist/assets/{InformationCardStack-mEhasBqu-CreS8hEy.js → InformationCardStack-B9wnkR3p-CjpaX6cg.js} +3 -3
  75. package/dist/assets/{InsightsCardStack-Mj7QcQnH-ZWcbply5.js → InsightsCardStack-C1_rd2Sb-uYkz47Dy.js} +11 -11
  76. package/dist/assets/InsightsSection-7-T67WeF-BlMRO9Ba.js +27 -0
  77. package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-DugcuKws.js → IntegrationsSettingsPage-C9YpvDgg-DjW-A2Ra.js} +11 -11
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-CJS_ucM1.js → InternationalWireSwiftDetailsPage-C5mI8dEh-MFTemI3R.js} +12 -12
  79. package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-CrYQdSU8.js → InternationalWireVerificationPage-B8AOwcSX-HJr1qwVZ.js} +23 -23
  80. package/dist/assets/{InviteFormPage-DK6X9Zwi-BmvvCw3D.js → InviteFormPage-DuBhhnre-DKK8UkI0.js} +22 -22
  81. package/dist/assets/{InvitePageListView-CwKbcKlM-C3aARAlE.js → InvitePageListView-Dw8kwEFd-zXFzVUiq.js} +41 -41
  82. package/dist/assets/InvitePeoplePage-BI_vd7xw-BSlMVd1C.js +12 -0
  83. package/dist/assets/{InvoiceUploadSection-CokNNkKu-C3YItMb9.js → InvoiceUploadSection-9DaovMq8-DOf6F-xG.js} +3 -3
  84. package/dist/assets/IssueChargeCardPage-fumweN4Y-Ie_niRER.js +532 -0
  85. package/dist/assets/{LabeledAddressValue-BhwrrtZX-CXia5eoe.js → LabeledAddressValue-cNf6hI1l-C1IgZGiS.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DzmwP7hP-rTSkkk1A.js → LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js} +8 -8
  87. package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-BO9IVhKI.js → LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-CKXiWbBE.js → LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js} +7 -7
  89. package/dist/assets/LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js +41 -0
  90. package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-t40SKG-g.js → LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js} +7 -7
  91. package/dist/assets/{LabeledText-Db46hFZY-DW3nTMl_.js → LabeledText-BJ3Zvb5p-yc50ilCa.js} +2 -2
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-CwPLh_do.js → LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-B7kyEAM_.js} +17 -17
  93. package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-CTQGzlhW.js → LabeledZeniRolesDropDownField-CS_oKjBG-CatyVbOL.js} +11 -11
  94. package/dist/assets/{LinkJETransactionPage-BZSRaZqY-uJGURN6e.js → LinkJETransactionPage-BsszwFNq-BtKpHm2U.js} +10 -10
  95. package/dist/assets/{LockCardPage-KTyESoXL-YHe6YgOp.js → LockCardPage-DqQGGac2-Bntrtxvn.js} +42 -42
  96. package/dist/assets/{LowBalancePopup-B0BDCEui-Boc2ml-j.js → LowBalancePopup-BFo5zRk3-BLFy36gu.js} +6 -6
  97. package/dist/assets/MagicLinkACHDetailsPage-wYa3cyyZ-Cn9Ml7SS.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-CW4RNKOV-Bj3CP8hj.js +1 -0
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-D3lbgGYX.js → MagicLinkInternationalWireDetailsPage-CX9SeCLl-Bato55Wl.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-CojCEkBp.js → MagicLinkSuccessPage-Dipq1-St-C4ZMZxw5.js} +2 -2
  101. package/dist/assets/{MagicLinkTitleSection-CWw516D8-D0jQqmvx.js → MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js} +7 -7
  102. package/dist/assets/{MailingDetailsSection-CugAM90r-DEwALK-q.js → MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js} +1 -1
  103. package/dist/assets/{Menu-CGN2qO6T-BTKtVwIK.js → Menu-D0jF6uaE-AMW53cTN.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-C9Wn2ND9.js → MyBankConnectionsSettingsPage-DpM6MKBq-CmnrHUZV.js} +7 -7
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-Sg0KcH3B.js → MyPendingActivationChargeCardListPage-BaT55Pwg-BdKjhqSf.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-BOr5u8wJ.js → MyProfileSettingsPage-kD1dY6P6-BAgE1Tqp.js} +6 -6
  107. package/dist/assets/{NavBarWithPicker-DLLvivn4-C2EMLk4R.js → NavBarWithPicker-D-WQJ-tG-C6mGlKIr.js} +4 -4
  108. package/dist/assets/{NavigationArrow-B4j2t8Qu-ApLGyN2d.js → NavigationArrow-Z9PgxZ-c-DrPA9Vgt.js} +1 -1
  109. package/dist/assets/{NavigationDots-DyMqwpgy-BlQ4OF1d.js → NavigationDots-BT-m0FmS-CJdtX5bS.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-BXKBuyek.js → NewGlobalMerchantPage-YsnX4uQU-7PwHdB8y.js} +36 -36
  111. package/dist/assets/{NoDataChart-Ce1_TZ5w-rlYBF6PD.js → NoDataChart-DMivligx-DVgr9SAl.js} +1 -1
  112. package/dist/assets/{NoDataTable-l2T5Hw3t-BDh4JUXv.js → NoDataTable-DwOJY23X-BMIpXvJR.js} +1 -1
  113. package/dist/assets/{NotFoundPage-msdN-Eu6-CnnlrsU4.js → NotFoundPage-DuKXpHos-BIXgl60z.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DY9p6U88.js → NotificationSettingsPage-DlU2NxiC-DDx7Rraa.js} +22 -22
  115. package/dist/assets/NotificationsListConfig-BQCb9x9X-C3jJIn48.js +1 -0
  116. package/dist/assets/{NotificationsPage-Ddxb5kE0-CDVU5W_a.js → NotificationsPage-q0bK_5gs-C_zZBYkJ.js} +37 -37
  117. package/dist/assets/{OpExByVendorPage-BLAHey0l-f-WjImJe.js → OpExByVendorPage-Boc7U8eu-BxBRsCtx.js} +24 -24
  118. package/dist/assets/OverlayContainerPage-CrZuT2Jj-DDO8EgYZ.js +11 -0
  119. package/dist/assets/{PandLWithForecastPage-B7Z73Sq--8S6z0rAz.js → PandLWithForecastPage-B2eGvFPp-CEl0eyCC.js} +10 -10
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DD7f9yVw.js → PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js} +9 -9
  121. package/dist/assets/{PeoplePage-BHRFiM0D-BagkceCs.js → PeoplePage-YMfZIga6-BPMCy-eb.js} +23 -23
  122. package/dist/assets/{Preview-Bnbo8Nq1.js → Preview-BszQHI_F.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-D2bf_6Gb-B-FAzu9h.js → ProductsCarousel-CUaU5-V7-CFq7I05R.js} +6 -6
  124. package/dist/assets/{PromoBaseCards-CI7UOpeY-BbdxV6ii.js → PromoBaseCards-CmOYEhSO-D3yPErwW.js} +2 -2
  125. package/dist/assets/{QBOConnectionDialog-D7MeKn1t-TYawHVny.js → QBOConnectionDialog-BNiXUEAk-B55AIWRo.js} +3 -3
  126. package/dist/assets/{QBOSetupSection-DWhfA4Xv--q8kidUR.js → QBOSetupSection-CjjNFfgF-CIhiV9Dd.js} +9 -9
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-tP7WcKvd-CCMfftol.js +26 -0
  128. package/dist/assets/ReimbursementApprovalRulesPage-BkuYJ6qb-BIx385RC.js +243 -0
  129. package/dist/assets/{ReimbursementDetailPage-COIRwy7i-DZGfkzvc.js → ReimbursementDetailPage-D5IzqJS5-BklJr7jT.js} +13 -13
  130. package/dist/assets/ReimbursementPromoPage-D7n6lZNo-BpT8Ss67.js +84 -0
  131. package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-cG1PPIji.js → ReimbursementSetUpPage-E1elWU5Z-VC2DwUtC.js} +15 -15
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CxW2G_F4.js → ReimbursementsBulkReviewDrawerPage-HzYNji-G-DGG79plx.js} +1 -1
  133. package/dist/assets/{ReloadCard-B2sJR97f-BG30B7lD.js → ReloadCard-DMWwNZ1z-CIbg2f6Q.js} +3 -3
  134. package/dist/assets/{ReportTableViewSelector-_IO343vS-DarLVXtz.js → ReportTableViewSelector-EU36E1lv-XPDH-qLc.js} +11 -11
  135. package/dist/assets/{ReportsPage-C-aQ1bdd-DCIgVjO8.js → ReportsPage-iJDifG6q-BnnQKn2l.js} +4 -4
  136. package/dist/assets/{RevenueChart-Bgq6My4J-D1wqXuV1.js → RevenueChart-BbOK-HCB-UtcLA02J.js} +22 -22
  137. package/dist/assets/ReviewDetailsPage-Bk2vvBn3-C2KvPaPZ.js +290 -0
  138. package/dist/assets/{ReviewOverlay-CPU7RPiJ-BhFB4uqb.js → ReviewOverlay-CJlk2MNH-s-FncxF6.js} +14 -14
  139. package/dist/assets/{RoleWithToolTip-DSSGBzvw-Ca10uH2X.js → RoleWithToolTip-B7woUKhj-CCCbdbHN.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-UyHqt-88.js → ScheduleDetailsFixedAssetsPage-B-WjqQN_-BZxRVl4y.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-BzTbS9K2.js → ScheduleDetailsPage-ocFBINM3-BwGXsqpK.js} +4 -4
  142. package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-BL4_zz48.js → ScheduleSequenceTable-Bb7MJ-zJ-GmSlZz8a.js} +24 -24
  143. package/dist/assets/{ScreenRoutes-DKJDWrq-.js → ScreenRoutes-Bs2X1R3V.js} +42 -42
  144. package/dist/assets/{SetUpAccountSection-DrMCC1IY-DEHd1Ql0.js → SetUpAccountSection-9zELif-q-xWCkQEz2.js} +4 -4
  145. package/dist/assets/{SignIn-Ij6tlYI5-CcVqI-K7.js → SignIn-BHHUcLal-BDutKsDY.js} +17 -17
  146. package/dist/assets/{SignInScreen-BZlFDA0S.js → SignInScreen-DqJeiieA.js} +1 -1
  147. package/dist/assets/SpendManagementListViewPage-BAdSW-49-C0b0e4ib.js +123 -0
  148. package/dist/assets/SpendManagementPerTabPage-HzCmGr0--BrKmnwTS.js +785 -0
  149. package/dist/assets/{SpendManagementSection-BqWbsmBW-C71zMSb0.js → SpendManagementSection-LzT-Bnhy-DcyEJGSm.js} +15 -15
  150. package/dist/assets/StatementItem-BnxTFgdM-ncI51LoG.js +31 -0
  151. package/dist/assets/{StatementsPage-BG_pNQzc-FNk9HF4E.js → StatementsPage-B8X2un5p-CiIvEzAF.js} +4 -4
  152. package/dist/assets/{StatusSwitcher-DYRXaLvx-erQqAcc2.js → StatusSwitcher-BPKr5BUW-lb0m6Cbr.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-C75XU1EG-khmziXpM.js → SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js} +1 -1
  154. package/dist/assets/{SummaryCard-DEnzgi31-BCFloXQE.js → SummaryCard-CiNkV7uy-BHimAYKo.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-BacWm0wS-C9oPqJX0.js → TaskManagementPage-BiyyDIWi-DCcTniX2.js} +15 -15
  156. package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-DleTftrv.js → TimeRangeSwitcher-DEEhq2Us-D64DWBCZ.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcher-BVgI_VZw-DeIWrcpL.js → TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-CMvHnrOH.js → TimeframeSwitcherWithToggle-D2sBGHXQ-Dp4KGiW_.js} +1 -1
  159. package/dist/assets/{TopExCard-ImUx-vXr-CKpHxxKg.js → TopExCard-DbPlohSJ-YKd6FEuQ.js} +4 -4
  160. package/dist/assets/{TopExDetailPage-Dg_8DQk8-zNlOv5On.js → TopExDetailPage-Cla8Hd-1-1fpYe-lT.js} +9 -9
  161. package/dist/assets/{TransactionDetailPage-BzaDB50S-6K-8nkD6.js → TransactionDetailPage-BbjtQvBr-DNyUqobk.js} +45 -45
  162. package/dist/assets/{TransactionList-DMd3dgoK-CLgrj5t0.js → TransactionList-BRiHadkm-BVpjF8up.js} +14 -14
  163. package/dist/assets/{TransactionListBig-BxHqh8u6-_P9SDt8S.js → TransactionListBig-BOeu4-R4-Cua70V6_.js} +20 -20
  164. package/dist/assets/TransactionListPage-ByVvx6ON-C32shKZQ.js +35 -0
  165. package/dist/assets/TransactionVendorDetailPage-DMweGn3b-CelejD-M.js +80 -0
  166. package/dist/assets/{TransferDrawerPage-oV7ickRP-5Eww1c_s.js → TransferDrawerPage-BTqCR3Hb-CYdeK3jF.js} +12 -12
  167. package/dist/assets/{TreasuryOverviewPage-CECDKjNn-DsPaT5wp.js → TreasuryOverviewPage-CDJtsQsC-ns0b2xlD.js} +42 -42
  168. package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-DbUuqsJn.js → TreasuryPromoPage-Bqt6DcqL-DbWZMgaj.js} +131 -131
  169. package/dist/assets/TreasuryStatementsPage-2PsC-PWa-MMDwIX2Z.js +58 -0
  170. package/dist/assets/TreasuryTaxLetterPage-D6MoHMAo-MFFnXqVo.js +58 -0
  171. package/dist/assets/{TrendChart-C_6ob-SX-CNkMjJ7x.js → TrendChart-DiutckSt-CgHLzJj6.js} +4 -4
  172. package/dist/assets/{TrendWithTransactions-lMD2sZ-C-DdlZeAtv.js → TrendWithTransactions-rPwZKHfV-DNKy45Dj.js} +9 -9
  173. package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-Cgic9eeC.js → UncategorizedAccountsMappingPage-CFx4P194-CH9WyFGN.js} +11 -11
  174. package/dist/assets/{UnitIntegrationPage-D9Pzxqju-Cl7tn05L.js → UnitIntegrationPage-DO8dMzVg-DvbEuGmN.js} +6 -6
  175. package/dist/assets/UploadAdditionalDocumentOverlay-Ug3kL02_-B3G6i9sn.js +38 -0
  176. package/dist/assets/{Vendor2FAPopup-D-r0NVE--BqeJAf6W.js → Vendor2FAPopup-BdG-Ywma-QkJvZ609.js} +1 -1
  177. package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-Dh7VC92k.js → VendorACHDetailsPage-BUNmE_s6-5dZ0tO5y.js} +1 -1
  178. package/dist/assets/{VendorDetailPage-BhfawsBd-8Uqpk4ze.js → VendorDetailPage-Dy9McuGu-BueeE3oi.js} +19 -19
  179. package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-7VOlTeLI.js → VendorDomesticWireDetailsPage-DvACrh7C-fv6qIbh-.js} +1 -1
  180. package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-BXYIOtNt.js → VendorFiling1099EditablePage-Y0hGO4RH-Bkykk5NB.js} +21 -21
  181. package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-DqUSgRG9.js → VendorFirstReviewPage-C-pT1M36-D21-SWZN.js} +50 -50
  182. package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-Bp9LJlPA.js → VendorInternationalWireDetailsPage-CCMramET-CvrUOrMX.js} +15 -15
  183. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-DLcr_p5Y.js → VendorInternationalWireSwiftDetailsPage-lxD_Z5W--BAaZ1iJw.js} +1 -1
  184. package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-DPKbgQ3f.js → VendorsAccountsSection-D-3fhQvy-ODF-nF1J.js} +2 -2
  185. package/dist/assets/{VerifyDevice-DE3UbLEe-8CXh-0a9.js → VerifyDevice-DDZdWfa8-C2_zooti.js} +7 -7
  186. package/dist/assets/{VideoPlayer-Gw_PLr8F-DVeDzAlW.js → VideoPlayer-D0GZ_Yml-CzUqkm8K.js} +2 -2
  187. package/dist/assets/{VideoPopup-DPZYhLgy-BzGmVjpY.js → VideoPopup-CEdhfU31-CRc_PqEa.js} +1 -1
  188. package/dist/assets/{WarningsDrawerPage-CZvToguS-GWzWrxrB.js → WarningsDrawerPage-CIK9lkT2-4Dbh3gee.js} +7 -7
  189. package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-Dy1WX8Sh.js → ZeniAccountDetailPage-BF8cg2oa-D23upslb.js} +36 -36
  190. package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-DyYliYsL.js → ZeniAccountListViewPage-BkdkYY8j-BsJgCgRQ.js} +9 -9
  191. package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-DX40_WfT.js → ZeniAccountNavBarPieces-FAxN1QDY-BljetA4S.js} +3 -3
  192. package/dist/assets/{ZeniAccountPromoPage-DA611IgH-CAN8a9xp.js → ZeniAccountPromoPage-COAOIU03-Bkst1764.js} +31 -31
  193. package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-BLYsiWRn.js → ZeniAccountSetupPage-QMBiVius-DdJzbNoZ.js} +6 -6
  194. package/dist/assets/{ZeniCopyright-FFqiWypL-ClNN14Sj.js → ZeniCopyright-CgfP-kcy-BQ8g3w-z.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-CY6pLC2m.js → ZeniTransferAmountSlider-B1fmc3f9-BXoBksgM.js} +3 -3
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-CmJT13gp.js → add-to-wallet-DgdBD8_G-BctcirlU.js} +1 -1
  197. package/dist/assets/{analytics-XaDXTZcq.js → analytics-DGBWhVbe.js} +1 -1
  198. package/dist/assets/{analyticsHelper-CczQLvkM-CCZefn7k.js → analyticsHelper-BKtlFOJm-DFeq4K6y.js} +1 -1
  199. package/dist/assets/analyticsHelper-BY515BEN.js +1 -0
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-7DsZUZDF.js → arrow-south-east-round-PEovUgvH-DFZl4BUT.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-iFkTgScT.js → auto-transfer-rule-mbafm5D3-BCnmjSj0.js} +1 -1
  202. package/dist/assets/{chartTypes-CwQl8aoN-vis3Ppko.js → chartTypes-BZYC5y5J-fsutalT0.js} +1 -1
  203. package/dist/assets/{commonDimensions-B1u_MhON-B6mWoroN.js → commonDimensions-B-aZt-hB-CyMsSMR_.js} +1 -1
  204. package/dist/assets/{core-3dlyNYRL.js → core-B-FNbYlu.js} +12 -12
  205. package/dist/assets/{dash.all.min-DBAY9LgI.js → dash.all.min-BBsvkPzr.js} +1 -1
  206. package/dist/assets/{detailCommon-nYxvvV_i-w2-qTde1.js → detailCommon-DCtkwfR8-BBwf5Sk5.js} +2 -2
  207. package/dist/assets/{downloadPdf-yGlKpV2--Y8lOVYTP.js → downloadPdf-BhQlJMh0-BaxCiwAc.js} +1 -1
  208. package/dist/assets/{empty-DeBX16Fq.js → empty-TjEo4rDg.js} +1 -1
  209. package/dist/assets/epic-DMZtehrN.js +2 -0
  210. package/dist/assets/{gift-box-Cmt9OgIZ-CvUdutGd.js → gift-box-Cmt9OgIZ-aujv_noX.js} +1 -1
  211. package/dist/assets/{graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js → graphic-no-data-l-DU4J8fDt-DTSR9TM8.js} +1 -1
  212. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DcAe6xm4.js → graphic-no-data-net-burn-l-CzmycA0m-Bw4ambPw.js} +1 -1
  213. package/dist/assets/{handshake-BPg58FML-D7G7L1P7.js → handshake-BPg58FML-BjSDfVm7.js} +1 -1
  214. package/dist/assets/{index-BzfDeuOT.js → index-BhteR_e0.js} +3325 -3235
  215. package/dist/assets/{index-DYDdrdFx.js → index-CFi0iD-l.js} +1 -1
  216. package/dist/assets/{index-CEtuJXY3.js → index-CL_7G35J.js} +1 -1
  217. package/dist/assets/{index-DrmeEdvK.js → index-DdJI4MMd.js} +1 -1
  218. package/dist/assets/{index-CdTBIE6I.js → index-dPPP2cWo.js} +1 -1
  219. package/dist/assets/{index-DQmBF4-D.js → index-piC0sJHK.js} +1 -1
  220. package/dist/assets/{liveblocks-CNYVvsag.js → liveblocks-BBTLClA6.js} +1 -1
  221. package/dist/assets/{lottie-22bRan8M.js → lottie-gmZDfwf4.js} +2 -2
  222. package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-CE171aMF.js → mapLoadingInProgressToTreeNode-B8iO-fIh-RTAx_JGt.js} +1 -1
  223. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-DrWPogDr.js → mapSectionWithAcOnlyToTreeNode-PLUfKBDd-B2JV3NdC.js} +1 -1
  224. package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-C7NOdCBj.js → mapSpacerToTreeNode-BPbkmHFY-Ce33KPvG.js} +1 -1
  225. package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-r-xCXIcX.js → mapTimeframeBalancesToTreeNode-B-kK0AfR-BuUApKLg.js} +1 -1
  226. package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-Rww75weA.js → mapTimeframeBalancesToTreeNode-BvN4m9TA-kT_avyio.js} +1 -1
  227. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-BHUC6JHc.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-CoGG1EsI.js} +1 -1
  228. package/dist/assets/{mui-bYXq4XMS.js → mui-DLNyBjYF.js} +1 -1
  229. package/dist/assets/{page-detail-CWX5S47F-Bc8Xpsuq.js → page-detail-CWX5S47F-Dn7FEY9U.js} +1 -1
  230. package/dist/assets/{radio-default-CiSgisfh-Clpw2LWj.js → radio-default-CiSgisfh-B6CtarQ8.js} +1 -1
  231. package/dist/assets/{react-BpmEXSTM.js → react-2VG2yH4x.js} +1 -1
  232. package/dist/assets/{react-B84192hO.js → react-BiH01iGK.js} +2 -2
  233. package/dist/assets/{react-BvHTyLQY.js → react-Bqj7JUF5.js} +1 -1
  234. package/dist/assets/{react-Egsc5mMa.js → react-CeCWo9lx.js} +3 -3
  235. package/dist/assets/{react-BUQtf2po.js → react-CwPTei9W.js} +2 -2
  236. package/dist/assets/{react-CA3XI5Yc.js → react-CxPSrq5B.js} +1 -1
  237. package/dist/assets/{react-BuvI16A0.js → react-VfkIuzgx.js} +1 -1
  238. package/dist/assets/{react-Cz0zQhlY.js → react-sPv488Z5.js} +1 -1
  239. package/dist/assets/{recharts-h5iNQbFd.js → recharts-Cnl2EvUV.js} +1 -1
  240. package/dist/assets/{sentry-cYFeB6Pw.js → sentry-EYLV4XmG.js} +1 -1
  241. package/dist/assets/{shield-DOlUxcFf-BXuToJ7O.js → shield-DOlUxcFf-DYYbm8md.js} +1 -1
  242. package/dist/assets/{toCOABalancesWithID-rZFEkHuM-E72ORuv4.js → toCOABalancesWithID-ChMShONK-DKVddnaL.js} +1 -1
  243. package/dist/assets/{toChartData-C-dHC-Oz-OuMMtKUa.js → toChartData-BUweupH8-9P9fGujj.js} +1 -1
  244. package/dist/assets/{transaction-placeholder-CpOwZAMG-0pwHfQC6.js → transaction-placeholder-CpOwZAMG-R9RAntKW.js} +1 -1
  245. package/dist/assets/{uploadAttachment-D3clfqPu-BmVWSSt_.js → uploadAttachment-CeUHLpzO-CvskAe_e.js} +23 -23
  246. package/dist/assets/{uploadReceipts-Bkf_PaOH-C3QTKEAv.js → uploadReceipts-Bkf_PaOH-B-Qf32vH.js} +1 -1
  247. package/dist/assets/{url-DPKHmOp_.js → url-DzcuVjHh.js} +1 -1
  248. package/dist/assets/{url-B-8T_WZb.js → url-dmxYLsoS.js} +1 -1
  249. package/dist/assets/{useLongPress-GCK2COYQ-8uipnze8.js → useLongPress-GCK2COYQ-BC43nxgO.js} +1 -1
  250. package/dist/assets/{usp-line-BBd1wKwW-ClwDS-nj.js → usp-line-BBd1wKwW-_aHpaGit.js} +1 -1
  251. package/dist/assets/utils-D1zwltK3.js +70 -0
  252. package/dist/assets/{zeni-epic-state-BwKvATgd.js → zeni-epic-state-HWtMOH-U.js} +3 -3
  253. package/dist/index.html +1 -1
  254. package/package.json +4 -4
  255. package/dist/assets/AccountInfoPage-CxWBk_t_-qPYiFJSq.js +0 -18
  256. package/dist/assets/AccountLockedInfoModal-DVvzKHJQ-kmmeDebU.js +0 -59
  257. package/dist/assets/AddAddressForCardDrawer-e8qbO2Y5-DsaJZQWB.js +0 -6
  258. package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-CnLGJ0xc.js +0 -47
  259. package/dist/assets/ArAgingDetailPage-BEKsyA9Q-7a6TaIXp.js +0 -46
  260. package/dist/assets/BillPayApprovalRuleDetailPage-ppU1Epmy-BVL7a4hF.js +0 -27
  261. package/dist/assets/BillPayApprovalRulesPage-UblNi2mR-C84KMJKz.js +0 -235
  262. package/dist/assets/ChargeCardPromoPage-uqT96W3_-CeqDR53z.js +0 -222
  263. package/dist/assets/CreditCardPaymentDrawerPage-BvifQpD3-CKtkQXFi.js +0 -224
  264. package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-Dtf3INy1.js +0 -1
  265. package/dist/assets/CustomerOnboardingPage-DUMQKVfM-BM9txdIv.js +0 -107
  266. package/dist/assets/DepositAccTransactionListPage-BS-OReem-DDmHQNjM.js +0 -66
  267. package/dist/assets/EditPeoplePage-BgsR09q8-CEehYeHu.js +0 -55
  268. package/dist/assets/EntityDetailPage-Cvd4MG0F-HlxSZMDv.js +0 -18
  269. package/dist/assets/ExpenseAutomationPage-DW6Pxoah-Ctf3nYeu.js +0 -1650
  270. package/dist/assets/InsightsSection-B3xD0SZ9-Bq9pMcss.js +0 -27
  271. package/dist/assets/InvitePeoplePage-BqzJOjVI-BuNYyatr.js +0 -12
  272. package/dist/assets/IssueChargeCardPage-CRtJDmrZ-YScD5lVM.js +0 -532
  273. package/dist/assets/LabeledDocumentField-p3pI5qLu-DEgMORLm.js +0 -41
  274. package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-B9i-tfwt.js +0 -1
  275. package/dist/assets/MagicLinkDomesticWireDetailsPage-CDB2igue-D0JS60DY.js +0 -1
  276. package/dist/assets/NotificationsListConfig-BJm7A9Mz-DNN8xXMd.js +0 -1
  277. package/dist/assets/OverlayContainerPage-CrZuT2Jj-C4_lIvBh.js +0 -11
  278. package/dist/assets/ReimbursementApprovalRuleDetailPage-C_dTOk5P-Bf4aX0F8.js +0 -26
  279. package/dist/assets/ReimbursementApprovalRulesPage-B5lca4qx-B6B_PqnR.js +0 -237
  280. package/dist/assets/ReimbursementPromoPage-Bjm0UHcm-Ds7mgpFk.js +0 -84
  281. package/dist/assets/ReviewDetailsPage-COx9R71r-DWjftc73.js +0 -290
  282. package/dist/assets/SpendManagementListViewPage-AI676Urw-Dg56Cd43.js +0 -123
  283. package/dist/assets/SpendManagementPerTabPage-D79c3Xqh-BBXH9q0t.js +0 -754
  284. package/dist/assets/StatementItem-Aal79YaO-rV9Mr1N9.js +0 -31
  285. package/dist/assets/TransactionListPage-CN9fZznd-D7O-RTyH.js +0 -35
  286. package/dist/assets/TransactionVendorDetailPage-CykcquSh-C9KUicY5.js +0 -80
  287. package/dist/assets/TreasuryStatementsPage-QyWxshsI-ix86c1ud.js +0 -58
  288. package/dist/assets/TreasuryTaxLetterPage-BLmfU0VD-DlyZ-4ZM.js +0 -58
  289. package/dist/assets/UploadAdditionalDocumentOverlay-CJYvOjh0-B8P8CMZI.js +0 -38
  290. package/dist/assets/analyticsHelper-9zRS_Y19.js +0 -1
  291. package/dist/assets/epic-BLwHhkRJ.js +0 -2
  292. package/dist/assets/utils-fBOyu0sO.js +0 -70
@@ -1,4 +1,4 @@
1
- import{Q as d,V as i,aK as o,eE as r,cU as n,o as s,y as c}from"./index-BzfDeuOT.js";import{b,n as h}from"./mui-bYXq4XMS.js";const y={width:new c(343,580,726)};function p({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(m,{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 m=h.div`
1
+ import{q as d,V as i,aK as o,eE as r,cU as n,o as s,y as c}from"./index-BhteR_e0.js";import{b,n as h}from"./mui-DLNyBjYF.js";const y={width:new c(343,580,726)};function p({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(m,{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 m=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as G,B as Q,o as i,d as X,F as q,eO as K,P as U,dh as Y,cq as A,bG as S,cY as J,dI as Z,b as k,bE as ee,_ as le}from"./index-BzfDeuOT.js";import{n as a}from"./mui-bYXq4XMS.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:I,style:c})=>{const w=X(),y=Se(e,b),O=q.getLocalizedStrings().dropDowns,C=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,b):void 0,R={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(J,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${O.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:D,selectProps:W}=l,{value:B}=W;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:D,selectedValue:B,hasError:I,"data-testid":j("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(S.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(S.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(K,{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):`${O.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:Ie,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:R,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},Y())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=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(S.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{q as B,cO as F,cW as R,V as t,aK as I,cU as _,y as f,p as u,d as s,cX as G,a as q,o as i,e as X,F as K,eO as Q,M as U,dh as Y,cq as A,bG as S,cY as J,dI as Z,b as D,bE as ee,L as le}from"./index-BhteR_e0.js";import{n as a}from"./mui-DLNyBjYF.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:j,style:c})=>{const w=X(),y=Se(e,b),O=K.getLocalizedStrings().dropDowns,C=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(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"}})},M=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(J,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${O.createOption} "${l}"`})]}),E=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:N}=l,{value:H}=N;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:H,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(S.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]})}),W=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(Q,{isMulti:!1,onCreateOption:l=>{const p=U(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?M(l):`${O.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:E,Option:ae,Input:W,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},Y())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=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(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(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{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as
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{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as
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{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as
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};
@@ -153,7 +153,7 @@ import{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as
153
153
  justify-content: inherit;
154
154
  align-items: center;
155
155
  width: 100%;
156
- `,ve=()=>null,je=()=>null,Ie=()=>null,Se=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Oe=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:I})=>{const{control:c,formState:{errors:w}}=P(),y=F(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:O,onChange:C}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),C({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:O.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:I,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])},Ce={infoLabel:new Q("extraSmallRegular","smallRegular")};function Pe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:I}){const c=H(),{formState:{errors:w}}=P(),y=F(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(_,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(De,{labelWidth:r.width,children:[t.jsx(Oe,{...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:I}),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,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Oe=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:j})=>{const{control:c,formState:{errors:w}}=F(),y=R(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":I("creatable-single-select-field",e),rules:r,render:({field:{value:O,onChange:C}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),C({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:O.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:j,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])},Ce={infoLabel:new q("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:j}){const c=B(),{formState:{errors:w}}=F(),y=R(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":I("labeled-creatable-single-select-field",o.name),children:[t.jsx(_,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(ke,{labelWidth:r.width,children:[t.jsx(Oe,{...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:j}),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{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as
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{Q as H,cO as P,cW as F,V as t,aK as j,cU as _,y as f,p as u,u as s,cX as
201
201
  ${e=>`${Ce.infoLabel.style(e.size)}`};
202
202
  padding-right: ${i.sp3};
203
203
  text-align: right;
204
- `;export{Pe as I};
204
+ `;export{Fe as I};
@@ -0,0 +1,41 @@
1
+ import{q as C,cO as U,cW as g,V as o,aK as j,cU as O,y as a,eP as N,F as k,d as i,o as s,p as A,a as V}from"./index-BhteR_e0.js";import{n as d}from"./mui-DLNyBjYF.js";const l={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},q={infoLabel:new V("extraSmallRegular","smallRegular")};function Q({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:E,showPhotoPicker:v,useMobileCam:M,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:L,updateFilesEntity:D,onDeleteFile:I,onEditFileName:R,onFileSizeError:B}){const t=C(),{formState:{errors:m}}=U(),h=g(m,n),W=g(m,`${n}.fileName`);return o.jsxs(K,{size:t,style:c,isDisabled:r!=null,"data-testid":j("document-field",n),children:[o.jsx(O,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:l.labelMarginLeft.value(t),marginRight:l.labelMarginRight.value(t),marginTop:l.labelMarginTop.value(t),width:e.width??"auto",...e.style}}),o.jsxs(G,{labelWidth:e.width,size:t,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:F,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:D,onFileSizeError:B,onDeleteFile:I,onEditFileName:R,placeholderText:E,showPhotoPicker:v,useMobileCam:M,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:T}),h&&o.jsx(J,{size:t,isError:h,children:W&&p!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const K=d.div`
2
+ display: flex;
3
+ flex-direction: ${e=>e.size==="small"?"column":"row"};
4
+ align-items: flex-start;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ width: ${e=>l.width.valuePx(e.size)};
7
+ min-height: ${e=>l.height.valuePx(e.size)};
8
+ padding-right: ${e=>l.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>l.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>l.paddingTopBottom.valuePx(e.size)};
11
+
12
+ :first-of-type {
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ }
16
+
17
+ :last-of-type {
18
+ border-bottom-left-radius: inherit;
19
+ border-bottom-right-radius: inherit;
20
+ }
21
+
22
+ &:hover {
23
+ z-index: 1;
24
+ outline: 1px solid
25
+ ${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
26
+ }
27
+ `,G=d.div`
28
+ display: flex;
29
+ flex-direction: column;
30
+ width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
31
+ padding: ${e=>e.size==="small"?`${s.sp1} ${s.sp2} ${s.sp0} ${s.sp3}`:s.sp0};
32
+ box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
33
+ align-items: flex-end;
34
+ flex-grow: 1;
35
+ `,J=d.label`
36
+ display: flex;
37
+ color: ${e=>e.isError?A.important:e.theme.colors.grey1};
38
+ ${e=>`${q.infoLabel.style(e.size)}`};
39
+ padding-right: ${s.sp3};
40
+ text-align: right;
41
+ `;export{Q as Y};
@@ -1,4 +1,4 @@
1
- import{Q as I,d as O,cO as u,cW as R,V as r,o,cX as T,bO as B,b as P,gb as A,p as l,B as M,bE as U}from"./index-BzfDeuOT.js";import{n as i}from"./mui-bYXq4XMS.js";const W={infoLabel:new M("extraSmallRegular","smallRegular")};function Y({isDisabled:e,label:b,formattedText:s,dropdownStyle:m,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:k,defaultValue:p,isSelectDisabled:D,menuPlacement:j,name:v,placeholderLabel:E}){const a=I(),h=O(),{formState:{errors:S}}=u(),d=R(S,s.name),{control:z}=u(),V=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(X,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(H,{windowSize:a,style:{width:b?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...m},children:r.jsx(T,{name:v,control:z,defaultValue:p.dropDownValue,rules:k,render:({field:{value:t,onChange:C}})=>r.jsx(B,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:V,selectedValue:t??void 0,isDisabled:e!=null||D,onPickerSelectionChanged:c=>{C(c)},menuPlacement:j,titleTextStyle:P.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:E})})})}),r.jsxs(q,{children:[r.jsx(A,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(F,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const X=i.div`
1
+ import{q as I,e as R,cO as u,cW as O,V as r,o,cX as T,bO as q,b as M,gb as P,p as l,a as A,bE as F}from"./index-BhteR_e0.js";import{n as i}from"./mui-DLNyBjYF.js";const H={infoLabel:new A("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:b,formattedText:s,dropdownStyle:m,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:k,defaultValue:p,isSelectDisabled:j,menuPlacement:v,name:D,placeholderLabel:E}){const a=I(),h=R(),{formState:{errors:S}}=u(),d=O(S,s.name),{control:z}=u(),V=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(U,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(G,{windowSize:a,style:{width:b?.width??"auto",marginRight:o.sp2},children:r.jsx(J,{style:{width:"auto",...m},children:r.jsx(T,{name:D,control:z,defaultValue:p.dropDownValue,rules:k,render:({field:{value:t,onChange:C}})=>r.jsx(q,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:V,selectedValue:t??void 0,isDisabled:e!=null||j,onPickerSelectionChanged:c=>{C(c)},menuPlacement:v,titleTextStyle:M.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:E})})})}),r.jsxs(W,{children:[r.jsx(P,{...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(X,{children:r.jsx(B,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const U=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -33,7 +33,7 @@ import{Q as I,d as O,cO as u,cW as R,V as r,o,cX as T,bO as B,b as P,gb as A,p 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
- `,q=i.div`
36
+ `,W=i.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-end;
@@ -41,19 +41,19 @@ import{Q as I,d as O,cO as u,cW as R,V as r,o,cX as T,bO as B,b as P,gb as A,p a
41
41
  `,g=i.label`
42
42
  display: flex;
43
43
  color: ${e=>e.isError?l.important:e.theme.colors.grey1};
44
- ${e=>`${W.infoLabel.style(e.size)}`};
44
+ ${e=>`${H.infoLabel.style(e.size)}`};
45
45
  padding-right: ${o.sp3};
46
46
  text-align: right;
47
- `,F=i.div`
47
+ `,X=i.div`
48
48
  display: flex;
49
49
  margin-right: ${o.sp1};
50
50
  align-items: center;
51
- `,G=i(U)`
51
+ `,B=i(F)`
52
52
  width: ${o.sp3};
53
53
  height: ${o.sp3};
54
54
  color: ${l.successDark};
55
- `,H=i.div`
55
+ `,G=i.div`
56
56
  display: flex;
57
57
  width: 100%;
58
58
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
- `,J=i.div``;export{Y};
59
+ `,J=i.div``;export{N as Y};
@@ -1,4 +1,4 @@
1
- import{Q as b,V as r,aK as s,cU as u,y as l,u as t,o as a,ak as m,B as f}from"./index-BzfDeuOT.js";import{n}from"./mui-bYXq4XMS.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])},x={infoLabel:new f("extraSmallRegular","smallRegular")};function j({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(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:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{q as b,V as o,aK as s,cU as u,y as l,d as t,o as a,ak as m,a as f}from"./index-BhteR_e0.js";import{n}from"./mui-DLNyBjYF.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])},x={infoLabel:new f("extraSmallRegular","smallRegular")};function M({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const r=b();return o.jsxs(c,{size:r,style:h,"data-testid":s("labeled-text",e.label),children:[o.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(r),marginRight:i.labelMarginRight.value(r),marginTop:i.labelMarginTop.value(r),width:e.width??"auto"}}),o.jsxs($,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?o.jsx(y,{size:r,style:p,children:d}):null]})]})}const c=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -39,4 +39,4 @@ import{Q as b,V as r,aK as s,cU as u,y as l,u as t,o as a,ak as m,B as f}from"./
39
39
  ${e=>`${x.infoLabel.style(e.size)}`};
40
40
  padding-right: ${a.sp3};
41
41
  text-align: right;
42
- `;export{j as S};
42
+ `;export{M as S};
@@ -1,4 +1,4 @@
1
- import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW as fe,d as be,fW as xe,F,B as we,bG as H,fX as q,ao as _,fY as B,bE as G,p as N,b as Y,ak as K,fZ as $e,al as ye,ag as ve}from"./index-BzfDeuOT.js";import{n as r}from"./mui-bYXq4XMS.js";import{T as je}from"./RoleWithToolTip-DSSGBzvw-Ca10uH2X.js";const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{q as U,V as l,aK as X,cU as me,o as s,y as I,d as m,cO as Z,cX as ge,cW as fe,e as be,fW as xe,F,a as we,bG as H,fX as J,ao as _,fY as q,bE as G,p as E,b as Y,ak as Q,fZ as $e,al as ye,ag as ve}from"./index-BhteR_e0.js";import{n as r}from"./mui-DLNyBjYF.js";import{T as je}from"./RoleWithToolTip-B7woUKhj-CCCbdbHN.js";const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -23,7 +23,7 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
23
23
  width: 100%;
24
24
  height: ${s.sp6};
25
25
  gap: ${s.sp3};
26
- `,De=r(K)`
26
+ `,De=r(Q)`
27
27
  display: flex;
28
28
  `,Le=r.div`
29
29
  width: 100%;
@@ -45,14 +45,14 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
45
45
  border-radius: 50%;
46
46
  justify-content: center;
47
47
  color: ${e=>e.theme.colors.hero};
48
- `,M=r.div`
48
+ `,N=r.div`
49
49
  display: flex;
50
50
  flex-direction: row;
51
51
  cursor: pointer;
52
52
  align-items: center;
53
53
  gap: ${s.sp2};
54
54
  height: 100%;
55
- `,Pe=r(M)`
55
+ `,Pe=r(N)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
58
  `,Ve=r.div`
@@ -62,16 +62,16 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
62
62
  gap: ${s.sp2};
63
63
  justify-content: ${e=>e.menuIsOpen?"flex-start":"flex-end"};
64
64
  width: 100%;
65
- `,Te=r(K)`
65
+ `,Te=r(Q)`
66
66
  white-space: nowrap;
67
67
  overflow: hidden;
68
68
  text-overflow: ellipsis;
69
69
  `,Fe=r.div`
70
70
  display: flex;
71
71
  align-items: center;
72
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?N.important:e.theme.colors.grey1};
72
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?E.important:e.theme.colors.grey1};
73
73
  fill: ${e=>e.theme.colors.grey1};
74
- `,Ee=r(ve)`
74
+ `,Re=r(ve)`
75
75
  color: ${e=>e.hasSelectedUser?e.theme.colors.primary:e.theme.colors.hero};
76
76
  margin-left: -10px;
77
77
  margin-right: -10px;
@@ -89,21 +89,21 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
89
89
  box-sizing: border-box;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- `,Ne=r(M)`
92
+ `,Ee=r(N)`
93
93
  align-items: center;
94
94
  gap: ${s.sp2};
95
- `,E=r.div`
95
+ `,R=r.div`
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,J=r.div``,Re=r.div`
99
+ `,B=r.div``,Me=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
103
103
  .select-control {
104
104
  border: none;
105
105
  height: 100%;
106
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?N.importantLight:e.theme.colors.grey5};
106
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?E.importantLight:e.theme.colors.grey5};
107
107
  box-shadow: none;
108
108
  border-radius: ${s.sp1};
109
109
  &:hover {
@@ -159,7 +159,7 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
159
159
  visibility: visible;
160
160
  }
161
161
  ::placeholder {
162
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?N.important:e.theme.colors.grey1};
162
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?E.important:e.theme.colors.grey1};
163
163
  }
164
164
  }
165
165
  }
@@ -168,11 +168,11 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
168
168
  width: ${e=>e.windowSize==="small"?"max-content":"100%"};
169
169
  display: flex;
170
170
  flex-direction: column;
171
- `,Me=r(q)`
171
+ `,Ne=r(J)`
172
172
  width: ${s.sp5};
173
173
  height: ${s.sp5};
174
174
  color: ${e=>e.theme.colors.hero};
175
- `,Q=r($e)`
175
+ `,K=r($e)`
176
176
  color: ${e=>e.theme.colors.alert};
177
177
  text-transform: none;
178
178
  border: 1px solid ${e=>e.theme.colors.alert};
@@ -180,7 +180,7 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:k,isValuePlacedAtEnd:C=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:T}}=Z(),z=fe(T,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(Fe,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Ne,{children:[l.jsx(Me,{}),l.jsx(J,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data: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(Te,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],b=x(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(ke,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(B,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen: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(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!L?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(Ce,{style:k,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(B,{firstName:b?.user?.firstName??"",lastName:b?.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:b}),c==="small"&&d&&$!=null?l.jsx(Q,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(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(Re,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:C,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=be();return l.jsx(xe,{placeholder:g??F.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:k,additionalLabelInfo:C,isOptionDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Z(),T=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:n,render:({field:{value:z,onChange:c}})=>l.jsxs(Be,{width:w?.width,"data-testid":X("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:k,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),C!==null&&l.jsx(Ge,{size:T,children:C})]})})},Be=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:k,isValuePlacedAtEnd:C=!0,isDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:T}}=Z(),z=fe(T,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(Fe,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Re,{hasSelectedUser:a===t.value,children:[l.jsxs(Ee,{children:[l.jsx(Ne,{}),l.jsx(B,{children:l.jsx(R,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(N,{children:[S||D?l.jsx(J,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Te,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],b=x(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(ke,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(q,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(R,{children:i})]}),S?l.jsx(W,{subtitleList:b,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(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!L?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(Ce,{style:k,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(q,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(R,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(K,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(K,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:C,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=be();return l.jsx(xe,{placeholder:g??F.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:k,additionalLabelInfo:C,isOptionDisabled:P,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Z(),T=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:n,render:({field:{value:z,onChange:c}})=>l.jsxs(qe,{width:w?.width,"data-testid":X("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:k,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),C!==null&&l.jsx(Ge,{size:T,children:C})]})})},qe=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
@@ -189,12 +189,12 @@ import{Q as U,V as l,aK as X,cU as me,o as s,y as I,u as m,cO as Z,cX as ge,cW a
189
189
  ${e=>`${He.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,R={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Ye,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":X("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:R.labelMarginLeft.value(f),marginRight:R.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,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 Ye=r.div`
192
+ `,M={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Ye,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":X("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(f),marginRight:M.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,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 Ye=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
196
196
  background-color: ${e=>e.theme.colors.grey5};
197
- width: ${e=>R.width.valuePx(e.size)};
197
+ width: ${e=>M.width.valuePx(e.size)};
198
198
  min-height: ${s.sp6};
199
199
  padding-right: ${s.sp2};
200
200
  padding-top: ${s.sp2};
@@ -1,4 +1,4 @@
1
- import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d as X,b as L,bF as ie,F as te,fT as se,f_ as ae,aH as ne,a$ as de,p as P,bG as B,b8 as ce,bE as pe,cy as ue,f$ as _,cf as q,n as he,ag as Y,ak as ge,al as me,fF as be,fE as fe,bu as xe,fG as ye,bg as we,g0 as ve}from"./index-BzfDeuOT.js";import{n as d,b as $e}from"./mui-bYXq4XMS.js";import{a as k}from"./core-3dlyNYRL.js";import{Fg as W,Fh as Re}from"./zeni-epic-state-BwKvATgd.js";import{T as je}from"./RoleWithToolTip-DSSGBzvw-Ca10uH2X.js";const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{q as M,V as l,aK as H,cU as J,y as m,o,d as n,cO as E,cX as q,cW as K,e as Q,b as L,bF as ie,F as te,fT as se,f_ as ae,aH as ne,a$ as de,p as P,bG as B,b8 as ce,bE as pe,cy as ue,f$ as U,cf as X,n as he,ag as Y,ak as ge,al as me,fF as be,fE as fe,bu as xe,fG as ye,bg as ve,g0 as we}from"./index-BhteR_e0.js";import{n as d,b as $e}from"./mui-DLNyBjYF.js";import{a as k}from"./core-B-FNbYlu.js";import{Fg as W,Fh as Re}from"./zeni-epic-state-HWtMOH-U.js";import{T as je}from"./RoleWithToolTip-B7woUKhj-CCCbdbHN.js";const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -22,7 +22,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
22
22
  }
23
23
  `,ke=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,A=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(ke,{className:"verticalLine"}):null]},u.value))})},I={allRolesMarginLeftRight:new m(n[3],n[4])},Pe=d.div`
25
+ `,A=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=Q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Ce,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(ke,{className:"verticalLine"}):null]},u.value))})},I={allRolesMarginLeftRight:new m(n[3],n[4])},Pe=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
@@ -51,7 +51,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
51
51
  flex-direction: row;
52
52
  margin-bottom: ${o.sp3};
53
53
  justify-content: space-between;
54
- `,Te=d(q)`
54
+ `,Te=d(X)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
57
  `,G=d(Y)`
@@ -87,7 +87,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
87
87
  `,Me=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Ve=d(q)`
90
+ `,Ve=d(X)`
91
91
  display: flex;
92
92
  `,Le=d(Y)`
93
93
  display: flex;
@@ -101,15 +101,15 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
101
101
  `,Ee=d.div`
102
102
  display: flex;
103
103
  flex-direction: row;
104
- `,Ue=d.div``,Fe=d.div`
104
+ `,Fe=d.div``,_e=d.div`
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,_e=d(ve)`
108
+ `,Ue=d(we)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ne=d(we)`
112
+ `,Ne=d(ve)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
@@ -135,7 +135,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
135
135
  margin-right: ${e=>I.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
136
  margin-left: ${e=>I.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
137
  color: ${e=>e.theme.mode==="light"?P.brandColorOnyx:P.brandColorPearl};
138
- `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(_e,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ge,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Ve,{className:"roleTitle",children:_[e].label}),l.jsx(Le,{className:"roleSubTitle",children:_[e].subTitle}),l.jsx(Ie,{className:"roleSuitableFor",children:_[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===C),V=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:V?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=>Re(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,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(Pe,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(ze,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(Ue,{children:t.productType&&Je(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(G,{children:t.subTitleUser}),l.jsx(G,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const qe=d.div`
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(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Ge,{});default:return null}},qe=e=>l.jsxs(Me,{children:[l.jsx(Ve,{className:"roleTitle",children:U[e].label}),l.jsx(Le,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Ie,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),Ke=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=K(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 F={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...w]}};c(F)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(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,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(Pe,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:qe(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(ze,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(Fe,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(G,{children:t.subTitleUser}),l.jsx(G,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(q,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ke,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Qe,{...i,isDisabled:e})]})}const Xe=d.div`
139
139
  display: flex;
140
140
  flex-direction: ${e=>e.isDisabled?"row":"column"};
141
141
  align-items: ${e=>e.isDisabled?"center":"flex-start"};
@@ -169,7 +169,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Ye({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:D}}=E(),h=Q(D,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,V=L.smallRegular.cssObject,U=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",...U,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...L.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=W(O.value)&&s===!0,F=Z(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...V,color:F,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Z(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&W(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,Z=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?P.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
172
+ `;function Ye({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:D}}=E(),h=K(D,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=Q(),C=M(),w=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=w.findIndex(g=>g.value==="admin");w.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=w.findIndex(g=>g.value==="bookkeeping_admin");w.splice(r,1)}}const R=t.colors.grey5,V=L.smallRegular.cssObject,F=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",...F,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...L.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const v=W(O.value)&&s===!0,_=Z(g,v,O.value,t);return{...r,height:v?44:40,padding:v?o.sp0:`${o.sp2} 12px`,marginTop:v?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...V,color:_,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!v?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:v||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Z(!0,v,O.value,t),backgroundColor:g&&!v?t.colors.background:v?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:v||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:v?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:v}=r,{value:_}=v;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:_,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:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&W(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,Z=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?P.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -258,7 +258,7 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
258
258
  visibility: hidden;
259
259
  }
260
260
  }
261
- `,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
261
+ `,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function vo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(J,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -294,4 +294,4 @@ import{Q as M,V as l,aK as H,cU as J,y as m,o,u as n,cO as E,cX as K,cW as Q,d a
294
294
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
295
295
  }
296
296
  }
297
- `;export{wo as C,yo as j};
297
+ `;export{vo as C,yo as j};
@@ -1,4 +1,4 @@
1
- import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,ab as ge,g1 as xe,aO as fe,o as t,y as p,c as be,_ as ye,cE as B,iC as Ce,p as je,b as L,bf as we,u as r}from"./index-BzfDeuOT.js";import{a as R}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{FI as W,FF as Se,FG as De}from"./zeni-epic-state-BwKvATgd.js";import $e from"./TransactionDetailPage-BzaDB50S-6K-8nkD6.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./LabeledControlledCheckBoxField-B6ndrF2e-BO9IVhKI.js";import"./TrendWithTransactions-lMD2sZ-C-DdlZeAtv.js";import"./TrendChart-C_6ob-SX-CNkMjJ7x.js";import"./chartTypes-CwQl8aoN-vis3Ppko.js";import"./toCOABalancesWithID-rZFEkHuM-E72ORuv4.js";import"./toChartData-C-dHC-Oz-OuMMtKUa.js";import"./NoDataChart-Ce1_TZ5w-rlYBF6PD.js";import"./InsightsSection-B3xD0SZ9-Bq9pMcss.js";import"./NavigationDots-DyMqwpgy-BlQ4OF1d.js";import"./TransactionList-DMd3dgoK-CLgrj5t0.js";import"./BoxItem-8PfNfaHq-CoDiwyqr.js";import"./commonDimensions-B1u_MhON-B6mWoroN.js";import"./uploadAttachment-D3clfqPu-BmVWSSt_.js";import"./radio-default-CiSgisfh-Clpw2LWj.js";const V={labelWidth:new p(120,145,160)},ve=i.div`
1
+ import{q as H,aN as ue,a8 as me,cB as pe,iB as E,il as L,F as W,cC as he,V as a,ab as ge,g1 as xe,aO as fe,o as t,y as p,l as be,L as ye,cE as B,iC as Ce,p as je,b as P,bf as we,d as r}from"./index-BhteR_e0.js";import{a as V}from"./core-B-FNbYlu.js";import{n as i}from"./mui-DLNyBjYF.js";import{FI as Z,FF as Se,FG as $e}from"./zeni-epic-state-HWtMOH-U.js";import De from"./TransactionDetailPage-BbjtQvBr-DNyUqobk.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js";import"./TrendWithTransactions-rPwZKHfV-DNKy45Dj.js";import"./TrendChart-DiutckSt-CgHLzJj6.js";import"./chartTypes-BZYC5y5J-fsutalT0.js";import"./toCOABalancesWithID-ChMShONK-DKVddnaL.js";import"./toChartData-BUweupH8-9P9fGujj.js";import"./NoDataChart-DMivligx-DVgr9SAl.js";import"./InsightsSection-7-T67WeF-BlMRO9Ba.js";import"./NavigationDots-BT-m0FmS-CJdtX5bS.js";import"./TransactionList-BRiHadkm-BVpjF8up.js";import"./BoxItem-usHxaONy-BSYmkNdH.js";import"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import"./uploadAttachment-CeUHLpzO-CvskAe_e.js";import"./radio-default-CiSgisfh-B6CtarQ8.js";const R={labelWidth:new p(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,
12
12
  `,Ee=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${L.largeMedium.css};
16
- `,Pe=i.div`
15
+ ${P.largeMedium.css};
16
+ `,Le=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:w}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=H();return a.jsxs(ve,{children:[a.jsx(Ee,{windowSize:g,children:w.header}),a.jsxs(ke,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:O(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(Pe,{}),a.jsx(B,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:O(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:Ce}},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)},J="linkJETransactionPage",G="linkJETransaction",Z=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Ie}=Z,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:w,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:I,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const m=H(),T=ue(u),y=W(h.toString(),s.jeLink),S=Se(I.controllers),D=De(I.controllerUserIds),U=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),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)};R.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&pe(()=>ie(c))});return()=>{d.unsubscribe()}}),R.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),A()}},[u,T,A]);const{common:{strings:{empty:F}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",N=s.jeLink.type==="recommended",z=he(x.formState.dirtyFields),v=x.formState.isValid,C=$&&z&&v||$&&N&&v,k=z&&v;return a.jsxs(Ae,{children:[a.jsxs(Ue,{windowSize:m,children:[a.jsx(Re,{windowSize:m,children:f.linkJE}),a.jsx(ze,{children:a.jsx(Be,{onClick:U})})]}),a.jsxs(Te,{children:[a.jsx(Fe,{windowSize:m,children:a.jsx(ge,{...x,children:a.jsx("form",{id:M(J),onSubmit:x.handleSubmit(oe),children:a.jsx(Le,{jePostingDate:s.postingDate,sectionId:G,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),N?a.jsxs(Oe,{windowSize:m,children:[a.jsx(Je,{})," ",f.zeniRecommendation]}):null,$?a.jsx(Ne,{children:a.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:w,transactionAttachmentEndpointToDownload:F,transactionAttachmentsEndpointToFetch:F,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(Ve,{children:[re?a.jsx(q,{windowSize:m,children:f.transactionFetchError}):null,de?a.jsx(q,{windowSize:m,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),C||k?a.jsx(fe,{formId:C?M(J):void 0,primaryBtn:{onClick:k&&!C?le:void 0,label:k&&!C?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},M=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:W(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Ie.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
22
+ `,O=(e,l)=>`${e}.${l}`;function Pe({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:w}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=H();return a.jsxs(ve,{children:[a.jsx(Ee,{windowSize:g,children:w.header}),a.jsxs(ke,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:O(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(Le,{}),a.jsx(B,{label:{label:o.jeLink,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:O(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:Ce}},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)},J="linkJETransactionPage",G="linkJETransaction",Q=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Ie}=Q,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:w,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:I,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const m=H(),T=ue(u),y=Z(h.toString(),s.jeLink),S=Se(I.controllers),$=$e(I.controllerUserIds),U=()=>{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:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:$}),te()},x=me({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:q(s,h),values:q(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};V.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&pe(()=>ie(c))});return()=>{d.unsubscribe()}}),V.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:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:$}),A()}},[u,T,A]);const{common:{strings:{empty:F}},jeSchedules:{scheduleDetails:{linkJE:f}}}=Q,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:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:$}),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",N=s.jeLink.type==="recommended",z=he(x.formState.dirtyFields),v=x.formState.isValid,C=D&&z&&v||D&&N&&v,k=z&&v;return a.jsxs(Ae,{children:[a.jsxs(Ue,{windowSize:m,children:[a.jsx(Ve,{windowSize:m,children:f.linkJE}),a.jsx(ze,{children:a.jsx(Be,{onClick:U})})]}),a.jsxs(Te,{children:[a.jsx(Fe,{windowSize:m,children:a.jsx(ge,{...x,children:a.jsx("form",{id:Y(J),onSubmit:x.handleSubmit(oe),children:a.jsx(Pe,{jePostingDate:s.postingDate,sectionId:G,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),N?a.jsxs(Oe,{windowSize:m,children:[a.jsx(Je,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ne,{children:a.jsx(De,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:w,transactionAttachmentEndpointToDownload:F,transactionAttachmentsEndpointToFetch:F,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(_,{windowSize:m,children:f.transactionFetchError}):null,de?a.jsx(_,{windowSize:m,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),C||k?a.jsx(fe,{formId:C?Y(J):void 0,primaryBtn:{onClick:k&&!C?le:void 0,label:k&&!C?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,q=(e,l)=>({[G]:{qboURL:Z(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Ie.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -61,14 +61,14 @@ import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Re=i(be)`
64
+ `,Ve=i(be)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
68
68
  color: ${e=>e.theme.colors.primary};
69
69
  margin: auto;
70
70
  justify-content: center;
71
- `,q=i.div`
71
+ `,_=i.div`
72
72
  height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
@@ -78,8 +78,8 @@ import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${L.standardRegular.css};
82
- `,Ve=i.div`
81
+ ${P.standardRegular.css};
82
+ `,Re=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
85
  `,Oe=i.div`
@@ -91,8 +91,8 @@ import{Q as H,aN as ue,a8 as me,cB as pe,iB as E,il as P,F as Q,cC as he,V as a,
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${L.standardRegular.css};
94
+ ${P.standardRegular.css};
95
95
  `,Je=i(we)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
- `;export{gt as default,M as uniqueFormName};
98
+ `;export{gt as default,Y as uniqueFormName};