@zeniai/web-cockpit-ui 1.15.17-dev → 1.15.18-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 (296) hide show
  1. package/dist/assets/{ACHDetailsPage-cAgIhKJs-bGTsqigs.js → ACHDetailsPage-BrjUad4D-BobK3aVB.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BPwI4kZG-BTP4khzH.js → AIPerformancePage-Dx1ituql-CUuKvJ8n.js} +16 -16
  3. package/dist/assets/AccountInfoPage-BGcQ2kEJ-awOqo-nC.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js → AccountInfoPageContent-BQxwZcii-DAnRLliM.js} +14 -14
  5. package/dist/assets/{AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js → AccountLockedInfoModal-Q_WY8V5e-CDYJtJV8.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js → AccountReconDetailsDrawerPage-DuI7qAkr-CohDb_Vn.js} +25 -25
  7. package/dist/assets/{AccountRow-C9lnDVNf-86hTjbuw.js → AccountRow-D3aEGfjh-CGXQQRag.js} +11 -11
  8. package/dist/assets/{AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js → AccountsPromoCardStack-BrTIGRUz-SlTiOsFA.js} +23 -23
  9. package/dist/assets/AddAddressForCardDrawer-D12dN-9m-CqdZIDlk.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CgCHdO6c-CiVYqd0C.js → AddToWalletPage-DWMdtsY0-CgmcM53j.js} +24 -24
  11. package/dist/assets/{AgingReportsPage-B0NKfFq5-Bk4x7HpE.js → AgingReportsPage-CeFWs8X1-rGaFbgkD.js} +1 -1
  12. package/dist/assets/{AllUserItems-D6uMCcjF-CS_wO3mh.js → AllUserItems-PN_oWzOC-Cfg4W7I4.js} +8 -8
  13. package/dist/assets/{ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js → ApAgingDetailPage-CQtY9j4b-xFY56tWP.js} +5 -5
  14. package/dist/assets/{AppBasePage-BnfCjFJA-CQeMBbMI.js → AppBasePage-D0S7OYzO-CJcI9UYp.js} +13 -13
  15. package/dist/assets/{AppDrawerContent-CwBFjBnr-CKjzuecx.js → AppDrawerContent-TIRPcJoE-BOUb6qnD.js} +6 -6
  16. package/dist/assets/ApprovalRulesSettingsPage-CosIHJ5R-BB8nW0VM.js +47 -0
  17. package/dist/assets/{ArAgingChart-6qcRcKoz-MYhKnyKG.js → ArAgingChart-CiNirxU7-C_J23wNp.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DmUWtQsX-KXzejd7L.js → ArAgingDetailPage-CKBOlCcF-B9yZn5Tp.js} +5 -5
  19. package/dist/assets/{AttachmentView-B0oZITps-CNLEqH0L.js → AttachmentView-MqDuu6PB-C1zlk39q.js} +6 -6
  20. package/dist/assets/{BankAccountSection-C8G2PrLh-OgTv2VaB.js → BankAccountSection-DXFRyqzV-Bg8zqqhX.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js → BankAccountWarningSection-DJhHTBuh-D20FRc-x.js} +3 -3
  22. package/dist/assets/{BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js → BankConnectionsSettingsPage-CQe2upIp-Cv47vnoF.js} +26 -26
  23. package/dist/assets/{BillDetailPage-BuCOe4eB-DBZDvMBw.js → BillDetailPage-B0ajOYxz-CTy3XK0i.js} +10 -10
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js → BillPayApprovalRuleDetailPage-BcWQYqjU-CZdskYSr.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js → BillPayApprovalRulesPage-mS00kg1n-C05g3Cpf.js} +14 -14
  26. package/dist/assets/{BillPayPromoPage-Dcly8epm-DNaDxuq-.js → BillPayPromoPage-tUxWWqMY-t6w7JDnT.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js → BillPaySetUpPage-w47HuYkp-CbWSaNcn.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-Bsm7ZzIW-BChNCOOo.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js → BillsBulkReviewDrawerPage-DdI0OCuE-DjrQvH-7.js} +1 -1
  30. package/dist/assets/BoxItem-BGrgQ_sW-cYQcyKu_.js +53 -0
  31. package/dist/assets/BusinessVerificationPage-p1cUyL8l-DeaLZxZn.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CHr49_cJ-9Ya6XjXp.js → CardNumberSubText-yVfOUJpr-DRIDUYcf.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-BNHzTYwa-BdAtNCNi.js → CashbackDetailPage-DAX8aTFq-CX_nfeg0.js} +9 -9
  34. package/dist/assets/{ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js → ChargeCardDetailPage-CTdVu2LX-CXvKoTcM.js} +35 -35
  35. package/dist/assets/{ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js → ChargeCardListPage-BTf2sf_r-BIeWCtwJ.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DBYEXr_N-7b006WJ7.js → ChargeCardListTable-DEYusOGZ-BR9KGK-S.js} +40 -40
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js → ChargeCardPaymentHistoryPage-BhIiSigy-CmcVMykk.js} +40 -40
  38. package/dist/assets/ChargeCardPromoPage-SMg6Bkmx-BIBCjTA5.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js → ChargeCardSetupPage-8jA-EjWA-SUTAHgR8.js} +6 -6
  40. package/dist/assets/{ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js → ChargeCardStatementsPage-CrsqrTNw-cq-ohGFk.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js → CheckDepositDrawerPage-BnMEa1gU-D4KA1YbO.js} +21 -21
  42. package/dist/assets/{CollapsableReportTable-3luMEAJg-BroWF-FL.js → CollapsableReportTable-BQsDuqwg-D4PksJ7s.js} +60 -60
  43. package/dist/assets/CompanyOfficerDetailsSection-CxeWrQJH-XfC5iWX1.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-FgYHweiL-B5gr1lJ_.js → CompanyPassportCard-DUX32IvW-wDP-ayWY.js} +3 -3
  45. package/dist/assets/CompanyPassportPage-Cp0oulai-BQFU8qYi.js +574 -0
  46. package/dist/assets/{CompleteProfile-6pDQ6JjU-C7odNMQ5.js → CompleteProfile-BdeEu2dc-DABogw0l.js} +3 -3
  47. package/dist/assets/ConfettiBurst-C1IgWBaA-CL1o9dY6.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js → ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js → CreateOrEditVendorPage-iFE1nb0J-tpGth2AK.js} +12 -12
  50. package/dist/assets/{CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js → CreditCardPaymentDrawerPage-CaTanv1T-DKlglNsr.js} +15 -15
  51. package/dist/assets/{CurrencySelectField-DL4q5vKR-DqpW0Wz5.js → CurrencySelectField-BNcLy0zv-DUL30Rmr.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js → CustomerOnboardingActivationPage-D_0kSaYs-DmoaOtfG.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-YZ4WpsDD-CT9Ps13n.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js → CustomerOnboardingDetailPageSkeleton-B1jJ1XJX-Ec31gEaK.js} +13 -13
  55. package/dist/assets/CustomerOnboardingNoStepsPage-CyxHQxxQ-B3uyPHi-.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-Cj_k0rfN-dr4fZ7As.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js → CustomerOnboardingProductSuitePage-BPRN6xyM-BLvLQxxG.js} +10 -10
  58. package/dist/assets/{Dashboard-DAP7UzjW-DBsJoK5k.js → Dashboard-DYpE_H2b-WMqZzzuP.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-iAA_QiN2-BfmuWrMe.js → DashboardReportPage-BB6dW8kR-BVA8DQgX.js} +10 -10
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js → DashboardSidebarBackgroundAnimation-DDLCSC57-BJ_WASPh.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js → DepositAccTransactionItem-CxXM_Pse-aMnsSeAe.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-flz5jtjj-Tj1qKkuc.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js → DomesticWireDetailsPage-CswDexXc-CwmUyTco.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-C8byijvE-DCI_09Q4.js → DownloadOverlay-Ck84lTok-DoSlSguE.js} +1 -1
  65. package/dist/assets/{DrawerPage-DMQ5MoIw-BlXGV-xV.js → DrawerPage-Ctqr9Qke-DbWbSJy7.js} +9 -9
  66. package/dist/assets/EditPeoplePage-BiGeDyr0-BP5iQ9eS.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js → EditReimbursementDetailPage-DHIg51AQ-Du0u5yPi.js} +37 -37
  68. package/dist/assets/{EntityDetailPage-20BKV_TK-B5sqJOYK.js → EntityDetailPage-BsCWH1Al-WFaE0WQF.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-6JSSyIPA-K01fPehF.js → EntitySummarySection-ntuao-VM-fobvDD6S.js} +23 -23
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js → ExpenseAutomationOverviewPage-lptxncga-rbFk8U51.js} +14 -14
  71. package/dist/assets/{ExpenseAutomationPage--kONBcsX-DlY4RThk.js → ExpenseAutomationPage-S1iaOuA5-DRC_L2v_.js} +53 -53
  72. package/dist/assets/{ExpressPayPage-a31-5Bgz-B-4aw0li.js → ExpressPayPage-3UaLqRo7-BW2LLrbf.js} +14 -14
  73. package/dist/assets/{FeaturePreviewPage-z8BJQeL--ChibcOOA.js → FeaturePreviewPage-CLHp1LHp-eKI7eeEH.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-Bl933px0-DXKlKasr.js → FollowStepsSection-BY0dw_SN-iqWfg0Bg.js} +23 -23
  75. package/dist/assets/{GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js → GlobalReviewListPage-CltHFSzG-CQET8EIq.js} +11 -11
  76. package/dist/assets/{InformationCardStack-BTWe4X6t-DdN7cWvp.js → InformationCardStack-CVoS_Bni-DRMXWlfL.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-CoSz_FKI-xRb_a3yi.js → InsightsCardStack-YcKupOZZ-BYS9QdSX.js} +10 -10
  78. package/dist/assets/{InsightsSection-DEnkGYD8-BV7sZQsr.js → InsightsSection-BuCEgcAh-DX4KP6Gi.js} +8 -8
  79. package/dist/assets/{IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js → IntegrationsSettingsPage-r_VwvwxS-D2fIzpgb.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js → InternationalWireSwiftDetailsPage-B2x6g-rb-BG86r2Q_.js} +14 -14
  81. package/dist/assets/InternationalWireVerificationPage-B-sxkGbq-BzbYdtzf.js +292 -0
  82. package/dist/assets/{InviteFormPage-B2Rl23Qb-D49rnAc4.js → InviteFormPage-CrFWGpJE-DomTNTMP.js} +23 -23
  83. package/dist/assets/{InvitePageListView-E_2j_tF7-BsS6FATD.js → InvitePageListView-BsGwCg5B-DlrJVwFE.js} +39 -39
  84. package/dist/assets/InvitePeoplePage-D0-MjKb2-B1ShEIts.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-drGgAU5w-CP2A3IhR.js → InvoiceUploadSection-BUF7Ko_U-1xPxHQJp.js} +8 -8
  86. package/dist/assets/{IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js → IssueChargeCardPage-D5sn5jt4-BWcpzIYT.js} +19 -19
  87. package/dist/assets/{LabeledAddressValue-BjCojNni-CsHQb5xA.js → LabeledAddressValue-Ds1BeyG_-FoXd8L7U.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DyHTdGlm-CErilABA.js → LabeledAddressValueField-D_Ztmm7--tsnB0bq1.js} +4 -4
  89. package/dist/assets/{LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js → LabeledControlledCheckBoxField-DGV1Bz6o-CCbHpDl4.js} +2 -2
  90. package/dist/assets/{LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js → LabeledCreatableSingleSelectField-CTmUlcyk-Dx11AHn5.js} +4 -8
  91. package/dist/assets/LabeledDocumentField-BwHjf12U-ti56UUdB.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js → LabeledDropDownFormattedTextField-BaAHosJI-CDWZK3Xu.js} +1 -1
  93. package/dist/assets/{LabeledText-CRJr2zA8-DRZ423PA.js → LabeledText-CVYTNBOt-LIAQJcbl.js} +5 -5
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js → LabeledUserSingleSelectWithSubtitlesField-CnK0wLL0-CdsEapB3.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js → LabeledZeniRolesDropDownField-B2eu9WQ_-CXTTkytl.js} +20 -20
  96. package/dist/assets/{LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js → LinkJETransactionPage-DTU4Piv4-CzTizu8e.js} +14 -14
  97. package/dist/assets/{LockCardPage-CgCv-EKl-CipF6lcu.js → LockCardPage-9rnmj-hG-Dgtzvq-m.js} +49 -49
  98. package/dist/assets/{LowBalancePopup-OUWtUPdo-DRkjFCjE.js → LowBalancePopup-CCl7fzh9-CRJeCFG3.js} +3 -3
  99. package/dist/assets/MagicLinkACHDetailsPage-B5oowluv-pi_Q89s3.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-BohAWQ_F-BBgkEcbM.js +1 -0
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js → MagicLinkInternationalWireDetailsPage-CRx-EIj--rUZQXW3V.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js → MagicLinkSuccessPage-q5XLFFKd-IcgduK3D.js} +3 -3
  103. package/dist/assets/{MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js → MagicLinkTitleSection-ClWFjqQr-B7_1AUkD.js} +4 -4
  104. package/dist/assets/{MailingDetailsSection-Dmq45H_s-CjyySHTi.js → MailingDetailsSection-Dle_aLif-C9MEuFNg.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js → MyBankConnectionsSettingsPage-BC47a22v-9PSEA4Wu.js} +12 -12
  106. package/dist/assets/MyPendingActivationChargeCardListPage-BJ_kQQGd-lBfLcXgn.js +6 -0
  107. package/dist/assets/{MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js → MyProfileSettingsPage-C70z69ea-CMxdjCdW.js} +9 -9
  108. package/dist/assets/{NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js → NavBarWithPicker-CRQ9DzK7-Cs0J7mYU.js} +4 -4
  109. package/dist/assets/{NavigationArrow-CNO4O4XS-DUm9WGAp.js → NavigationArrow-CWRgkV1y-5nUqXc-t.js} +1 -1
  110. package/dist/assets/{NavigationDots-BX9DbCj7-RHGokei7.js → NavigationDots-BDKBgUe6-CeOovYs1.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js → NewGlobalMerchantPage-B_mViG5F-TkGICDRh.js} +13 -13
  112. package/dist/assets/{NoDataChart-JfED3unL-jJumSwoX.js → NoDataChart-CJyaj_wD-Ceo15OJ6.js} +1 -1
  113. package/dist/assets/{NoDataTable-BFpO3ZtS-ubjUd8M_.js → NoDataTable-BroHHbsa-C2KBPOR3.js} +1 -1
  114. package/dist/assets/{NotFoundPage-D_HhIdYv-DyNtigHQ.js → NotFoundPage-B-CdwYLM-04zajBZ5.js} +10 -10
  115. package/dist/assets/{NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js → NotificationSettingsPage-DrMp-0h0-CNJC7C_o.js} +33 -33
  116. package/dist/assets/{NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js → NotificationsListConfig-Cl713fZg-qRofkxh7.js} +1 -1
  117. package/dist/assets/{NotificationsPage-7HqRmokr-0AvCCTrK.js → NotificationsPage-Dh4xulau-_5iAw31w.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CwD1U9q_-idpf-eH0.js → OpExByVendorPage-BslfnDh3-53j8zSVl.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-D2c2jURk.js → OverlayContainerPage-D4QU0p4o-CW30kf30.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-CRkDr0QK-D1powlVT.js → PandLWithForecastPage-BYnaGvO3-Bs93z5El.js} +1 -1
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CR6xX1bB-BwbAQyjl.js +107 -0
  122. package/dist/assets/{PeoplePage-D5eQETB2-DZx25X-Y.js → PeoplePage-BRC7-Yol-C9rira3P.js} +18 -18
  123. package/dist/assets/{Preview-Bfns_dDG.js → Preview-BY6UeCTa.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BXPXaIWg-Av-oVPlG.js → ProductsCarousel-BgltUKwq-Dj-tP9zJ.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-C-S0ckZq-DcP7gArA.js → PromoBaseCards-DMleWayu-BFTkh-l1.js} +2 -2
  126. package/dist/assets/{QBOConnectionDialog-qqbamtpL-BeJJQ440.js → QBOConnectionDialog-BSKkJDPD-CJILPjk5.js} +6 -6
  127. package/dist/assets/{QBOSetupSection-CZu_mtMP-CZBINdYC.js → QBOSetupSection-YQ4TKOTA-B5TQNN0G.js} +13 -13
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js → ReimbursementApprovalRuleDetailPage-BFxCrrVt-CFZDA3-E.js} +3 -3
  129. package/dist/assets/{ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js → ReimbursementApprovalRulesPage-DQDbyY1K-B5lF3vkz.js} +6 -6
  130. package/dist/assets/{ReimbursementDetailPage-DXMDyCop-DlZGIADX.js → ReimbursementDetailPage-gAg8C98b-DuQNQ-y5.js} +8 -8
  131. package/dist/assets/{ReimbursementPromoPage-DGXHkiBN-DLifue2f.js → ReimbursementPromoPage-DtKtr2rP-C8cL3Mv7.js} +11 -11
  132. package/dist/assets/{ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js → ReimbursementSetUpPage-BdUoR2HM-CIGHv-6r.js} +15 -15
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js → ReimbursementsBulkReviewDrawerPage-BL6oI4fi-DUFvxQjQ.js} +1 -1
  134. package/dist/assets/{ReloadCard-BJke_yPt-D_L8D7X-.js → ReloadCard-B3OtOvVI-DVK4TeBa.js} +6 -6
  135. package/dist/assets/{ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js → ReportTableViewSelector-Cmv2xs7h-CJ6mu-Rp.js} +28 -28
  136. package/dist/assets/{ReportsPage-bmKftmYF-NgXuxPpu.js → ReportsPage-SWC6uIs--DupC08g-.js} +1 -1
  137. package/dist/assets/{RevenueChart-DjTdsbym-CUUEbo6t.js → RevenueChart-CZlAswBG-DPlV94YS.js} +14 -14
  138. package/dist/assets/{ReviewDetailsPage-NFOdusAU-CVH2L4to.js → ReviewDetailsPage-BW3pZ3ws-BH9zDrcw.js} +20 -20
  139. package/dist/assets/{ReviewOverlay-Q8tlLMbm-BLu76gBy.js → ReviewOverlay-BhFwGG6t-C0m5jD2s.js} +14 -14
  140. package/dist/assets/RoleWithToolTip-D74SWfZd-B2mOCrt1.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js → ScheduleDetailsFixedAssetsPage-CdmehDsJ-Dd48HqBm.js} +13 -13
  142. package/dist/assets/{ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js → ScheduleDetailsPage-DA1eGkzI-a0yDswoo.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js → ScheduleSequenceTable-BvGIwZmi-Br-m9rdL.js} +25 -25
  144. package/dist/assets/{ScreenRoutes-0NyWgCAY.js → ScreenRoutes-D3PxnqOE.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-BCoHzvyG-CzNKWW7X.js → SetUpAccountSection-DM4CvIFN-CPQ8K94t.js} +7 -7
  146. package/dist/assets/{SignIn-k3DDmpFU-BAnREigf.js → SignIn-DU3HuwJr-CXMwOpi4.js} +26 -26
  147. package/dist/assets/SignInScreen-PoBHP4-4.js +1 -0
  148. package/dist/assets/{SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js → SpendManagementListViewPage-VR4dPKBw-DHyDM03E.js} +11 -11
  149. package/dist/assets/{SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js → SpendManagementPerTabPage-CdYRrtcC-DFgavPhh.js} +27 -27
  150. package/dist/assets/{SpendManagementSection-BRp2eDfv-DVKGvM7g.js → SpendManagementSection-C2Uw6UXF-BRw2L3H1.js} +7 -7
  151. package/dist/assets/StatementItem-CS0N92J0-BsnAviIB.js +31 -0
  152. package/dist/assets/StatementsPage-DL8W4WLu-BH9E8ATR.js +58 -0
  153. package/dist/assets/{StatusSwitcher-B5nSXHv6-DTMRsMtw.js → StatusSwitcher-RY35Qzlp-DPptYPVp.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-BPSCR7GS-CQQ30d6t.js → SubTabSwitcher-CIhSt1_V-BGyVDCoP.js} +3 -3
  155. package/dist/assets/{SummaryCard-DdYMAiws-C4w7QxN_.js → SummaryCard-iIQISRZL-Cx0NyzVM.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-9OEooDk9-BnhlYqUu.js → TaskManagementPage-CCC1QlZS-BHBkMyad.js} +30 -30
  157. package/dist/assets/{TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js → TimeRangeSwitcher-BIA3BW1g-Bty5Ch9x.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js → TimeframeSwitcher-BhV0yrj0-CbCl4A9y.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js → TimeframeSwitcherWithToggle-CIAZXHb2-orP1uTMH.js} +2 -2
  160. package/dist/assets/{TopExCard-CDAkgH2B-DQW-zWxw.js → TopExCard-CPsxq74q-662cwF8z.js} +4 -4
  161. package/dist/assets/{TopExDetailPage-BN9IdTkO-DE8PmHT3.js → TopExDetailPage-BGoq66Fs-0PJ8BVQb.js} +9 -9
  162. package/dist/assets/{TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js → TransactionActivityLogPage-BW-qVpWu-D-8WEz2X.js} +12 -12
  163. package/dist/assets/{TransactionDetailPage-DSR3itvE-B47s770o.js → TransactionDetailPage-D0tW8GIH-C00b9e62.js} +35 -35
  164. package/dist/assets/{TransactionList-wLBz-A1j-R5pqCBUj.js → TransactionList-T8gAOJc0-Dw9G55NV.js} +5 -5
  165. package/dist/assets/{TransactionListBig-BA00B8Vn-B52eXfHk.js → TransactionListBig-CMjxUKt2-BhSVq9fm.js} +7 -7
  166. package/dist/assets/{TransactionListPage-Dyi4SMpD-Bm97EAJv.js → TransactionListPage-Bx6qszUl-B-5CDbC_.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js → TransactionVendorDetailPage-Ca7bgryb-CmVBYko3.js} +16 -16
  168. package/dist/assets/{TransferDrawerPage-GnqDJJ7x-u45NHhBy.js → TransferDrawerPage-DG6q94Ch-Cqord4XL.js} +28 -28
  169. package/dist/assets/{TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js → TreasuryOverviewPage-YNlUL3px-B_35sSeA.js} +32 -32
  170. package/dist/assets/{TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js → TreasuryPromoPage-CBSYXvme-DpMWnl6i.js} +8 -8
  171. package/dist/assets/{TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js → TreasuryStatementsPage-D0YaCwv3-PNzj_mHV.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js → TreasuryTaxLetterPage-Bln01PPe-DpJfleJK.js} +1 -1
  173. package/dist/assets/{TrendChart-mamZxFEf-DPlJCKYL.js → TrendChart-DjKmnpsm-CS6VXx1C.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-fGuXIDf7-HyuIbA66.js → TrendWithTransactions-D2CSrQJG-DdbpQrSL.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js → UncategorizedAccountsMappingPage-BhgJFJvY-Cs1YOJIy.js} +15 -15
  176. package/dist/assets/{UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js → UnitIntegrationPage-CtNIGtOS-DZq9w7mC.js} +7 -7
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js → UploadAdditionalDocumentOverlay-D44jXTDW-DwZWfezE.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BreN6fS3-FjXbhU9D.js → Vendor2FAPopup-BogFaSYy-BlnTHqfY.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-Di9QJ0hA-BNrZk8u_.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DXKn3qSR-Di8ThCGh.js → VendorDetailPage-DRr5ci0V-Du2p3ojh.js} +86 -86
  181. package/dist/assets/{VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js → VendorDomesticWireDetailsPage-DCdG-eGI-IQvY9pai.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js → VendorFiling1099EditablePage-C6mptSEx-B_hdSwqB.js} +14 -14
  183. package/dist/assets/{VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js → VendorFirstReviewPage-CLBTSreq-DCVG1u2-.js} +33 -33
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js → VendorInternationalWireDetailsPage-oMdWj41X-CmZF5xAN.js} +10 -10
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CM2bFEbE-B7IN2oYH.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js → VendorsAccountsSection-Cr_m8Jyi-CiH59Azu.js} +2 -2
  187. package/dist/assets/{VerifyDevice-DxoL8hYf-Cowpahhc.js → VerifyDevice-DrXK_7gG-CEX4QcR9.js} +7 -7
  188. package/dist/assets/{VideoPlayer-ByXKIag5-BZsoWnFe.js → VideoPlayer-BZe4PqnR-CX1XPKSp.js} +2 -2
  189. package/dist/assets/{VideoPopup-DybLGmZL-CNsVI5bc.js → VideoPopup-BaEQAfak-DFKT4R55.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js → WarningsDrawerPage-COJ1hjAD-BEWCjyIu.js} +7 -7
  191. package/dist/assets/{ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js → ZeniAccountDetailPage-Chx3JWsc-DUW0nJwl.js} +24 -24
  192. package/dist/assets/{ZeniAccountListViewPage-CWvKejM--BPGukJA_.js → ZeniAccountListViewPage-6RhsoQzy-B1q4otvI.js} +11 -11
  193. package/dist/assets/{ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js → ZeniAccountNavBarPieces-10K_Qgxx-DnALebZP.js} +3 -3
  194. package/dist/assets/{ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js → ZeniAccountPromoPage-ClXA4h8f-BJADOlI6.js} +16 -16
  195. package/dist/assets/{ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js → ZeniAccountSetupPage-7YlBF0nq-BMd9Jfil.js} +4 -4
  196. package/dist/assets/{ZeniCopyright-CyBZnbZa-D5SmAZYL.js → ZeniCopyright-k2F7p5Nn-CWJt4f_H.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js → ZeniTransferAmountSlider-CJY_ei3T-BQBKQlY-.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-l6e6C-pa.js → add-to-wallet-DgdBD8_G-CNvnwL2z.js} +1 -1
  199. package/dist/assets/{analytics-DGcxWyl6.js → analytics-rms9goNI.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BcBQi1qY.js → analyticsHelper-DTNFmelW.js} +1 -1
  201. package/dist/assets/{analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js → analyticsHelper-e2zBYls0-DsW-gRIg.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-C0A9x354.js → arrow-south-east-round-PEovUgvH-DpZb0ICZ.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CC0rbz99.js → auto-transfer-rule-mbafm5D3-CBISKKCi.js} +1 -1
  204. package/dist/assets/{chartTypes-CnipzTeX-DGSU_TZ0.js → chartTypes-D0t0a86R-VgxTrMCK.js} +1 -1
  205. package/dist/assets/{commonDimensions-DmFc7WqO-CxyyXmLy.js → commonDimensions-BwCds81U-kEodPKRG.js} +1 -1
  206. package/dist/assets/{constants-jbgzJYdx.js → constants-C3kp1fkP.js} +1 -1
  207. package/dist/assets/{core-BMaLzXUJ.js → core-B_30foAD.js} +1 -1
  208. package/dist/assets/{dash.all.min-DmpFQIVa.js → dash.all.min-3-z_MPR8.js} +1 -1
  209. package/dist/assets/{detailCommon-x-UFksNz-DKaz3zHe.js → detailCommon-CFEglqRw-DcI3Dm8c.js} +6 -6
  210. package/dist/assets/{downloadPdf-D1grj9oX-Bei5Wpqc.js → downloadPdf-BfjQscZh-CeCugFTI.js} +1 -1
  211. package/dist/assets/{empty-CxyNypVD.js → empty-BB-5X2tp.js} +1 -1
  212. package/dist/assets/{empty-DJguQx7A.js → empty-DyZfcN1I.js} +1 -1
  213. package/dist/assets/epic-CXeU0a14.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-ZuOwWA2g.js → gift-box-Cmt9OgIZ-tVleHIYS.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js → graphic-no-data-l-DU4J8fDt-CYR0rF_u.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js → graphic-no-data-net-burn-l-CzmycA0m-DI-E_991.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-DiPOUMao.js → handshake-BPg58FML-DRFlkqA2.js} +1 -1
  218. package/dist/assets/{index-CQmr12-Z.js → index-4xstgUx1.js} +1 -1
  219. package/dist/assets/{index-C3zM8gb6.js → index-BCh0qUkM.js} +1 -1
  220. package/dist/assets/{index-rJQoaAfw.js → index-BR9aIv1A.js} +2758 -2774
  221. package/dist/assets/{index-tuFs6sMC.js → index-BhfvNbOl.js} +1 -1
  222. package/dist/assets/{index-DKka6liW.js → index-BoyomC_-.js} +1 -1
  223. package/dist/assets/{index-Dw_2FdYw.js → index-DVfmIUIY.js} +1 -1
  224. package/dist/assets/{index-DPwk4vO3.js → index-DgHTMbc3.js} +1 -1
  225. package/dist/assets/{lexical-CyZM9SwL.js → lexical-CcL2Fd1i.js} +1 -1
  226. package/dist/assets/{liveblocks-CohL7dW6.js → liveblocks-B8f0lmpe.js} +1 -1
  227. package/dist/assets/{lottie-XKgYVRq1.js → lottie-CbICbNKh.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-D-j3xrlE-C3TmZv3p.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js → mapSectionWithAcOnlyToTreeNode-D84rlDgo-CA3ifSFr.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode--_h7d27O-sxGNKTOK.js +1 -0
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js → mapTimeframeBalancesToTreeNode-BqoG_HF--CRhmAO8j.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-DPb6o33r-DFBVfNq3.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DAB0kK09-CTBKyUYq.js} +1 -1
  234. package/dist/assets/{mui-KNfEk2A1.js → mui-C7Q1opAD.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-BLbwsJjf.js → page-detail-CWX5S47F-DfEuZBUZ.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js → panelSelectedMixin-CzfD5-Zs-Udxivyx_.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-_DAtDxCX.js → radio-default-CiSgisfh-VWYNvRzB.js} +1 -1
  238. package/dist/assets/{react-DOhUJ6O2.js → react-B1skuV78.js} +1 -1
  239. package/dist/assets/{react-KKmCM6TX.js → react-C5VDu1Xe.js} +2 -2
  240. package/dist/assets/{react-CPz-xjGo.js → react-CEhgfqKO.js} +2 -2
  241. package/dist/assets/{react-H0CMmi2N.js → react-D-QPbFx5.js} +1 -1
  242. package/dist/assets/{react-Cbh1mkS2.js → react-DODYMrDc.js} +1 -1
  243. package/dist/assets/{react-wx6Np1L0.js → react-OE6vDDlS.js} +1 -1
  244. package/dist/assets/{react-CX71OnYA.js → react-gaSEjZmU.js} +1 -1
  245. package/dist/assets/{react-CfuDRhRn.js → react-zf2AM5gr.js} +1 -1
  246. package/dist/assets/{recharts-D8Mh9GJw.js → recharts-v_b66Qfi.js} +1 -1
  247. package/dist/assets/{sentry-CGE1ab0x.js → sentry-BwoJfpTa.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BeHXxYmi.js → shield-DOlUxcFf-DlZ9ml05.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-mNZ5ym9S-BQfS02g5.js +1 -0
  250. package/dist/assets/{toChartData-VTidOIL7-CTZNeqK0.js → toChartData-BVSCRQYT-CU2W4nbR.js} +1 -1
  251. package/dist/assets/{uploadAttachment-CwSRD9la-Dwn2_OC8.js → uploadAttachment-D3ybtHtR-D84dG_-j.js} +30 -30
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-COPT6pnG.js → uploadReceipts-Dge0cNF1-C6WyXewN.js} +1 -1
  253. package/dist/assets/{url-D3fzoRiq.js → url-BcaeVwpg.js} +1 -1
  254. package/dist/assets/{url-CxS4k21H.js → url-o9j2r9Zq.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-YmFx62lI.js → useLongPress-GCK2COYQ-CM12epgA.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-lvUUHuIi.js → usp-line-BBd1wKwW-Cyu4xp0r.js} +1 -1
  257. package/dist/assets/{utils-Co3Y654K.js → utils-C75CTJHa.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-CiJSQQSe.js → zeni-epic-state-Deo9yJpd.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +3 -3
  261. package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +0 -18
  262. package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +0 -6
  263. package/dist/assets/ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js +0 -47
  264. package/dist/assets/BillingSettingsPage-Djx3EUQO-2EyCLMZp.js +0 -44
  265. package/dist/assets/BoxItem-ClRdlCWM-B_aqSV-L.js +0 -53
  266. package/dist/assets/BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js +0 -138
  267. package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +0 -222
  268. package/dist/assets/CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js +0 -331
  269. package/dist/assets/CompanyPassportPage-B8LoE1o9-B6zE-V-E.js +0 -417
  270. package/dist/assets/ConfettiBurst-BAIozwVU-BMA4g7cW.js +0 -1
  271. package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +0 -1
  272. package/dist/assets/CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js +0 -66
  273. package/dist/assets/CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js +0 -107
  274. package/dist/assets/DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js +0 -66
  275. package/dist/assets/EditPeoplePage-D7TQFFBG-Djz1uJLh.js +0 -55
  276. package/dist/assets/InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js +0 -65
  277. package/dist/assets/InvitePeoplePage-CljSsdaM-DHNLTMCH.js +0 -12
  278. package/dist/assets/LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js +0 -237
  279. package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +0 -41
  280. package/dist/assets/LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js +0 -223
  281. package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +0 -1
  282. package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +0 -1
  283. package/dist/assets/MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js +0 -6
  284. package/dist/assets/PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js +0 -107
  285. package/dist/assets/RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js +0 -22
  286. package/dist/assets/SignInScreen-BOrZAIYm.js +0 -1
  287. package/dist/assets/StatementItem-9DHoMBjx-DlzvIjc2.js +0 -31
  288. package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +0 -58
  289. package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +0 -1
  290. package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +0 -1
  291. package/dist/assets/commonTypes-CU0qY6Px-ZdnVolMx.js +0 -1
  292. package/dist/assets/epic-DJmh-RNR.js +0 -2
  293. package/dist/assets/mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js +0 -1
  294. package/dist/assets/mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js +0 -1
  295. package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +0 -1
  296. package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev as fe,e as be,g1 as xe,F as k,a as we,bI as W,g2 as K,ap as H,g3 as J,bG as G,p as R,b as B,al as X,g4 as $e,am as ye,ai as ve}from"./index-rJQoaAfw.js";import{n as r}from"./mui-KNfEk2A1.js";import{T as je}from"./RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="49271261-ed26-492f-b305-b605f20e04f4",e._sentryDebugIdIdentifier="sentry-dbid-49271261-ed26-492f-b305-b605f20e04f4")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{J as U,V as l,cY as me,o as s,y as I,aP as Q,u as m,cS as Z,c$ as ge,c_ as be,e as fe,f$ as xe,F as k,R as we,bI as W,g0 as K,ap as H,g1 as Y,bG as G,p as E,b as J,al as X,g2 as $e,am as ye,ai as ve}from"./index-BR9aIv1A.js";import{n as r}from"./mui-C7Q1opAD.js";import{T as je}from"./RoleWithToolTip-D74SWfZd-B2mOCrt1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bb16ceb2-cede-4fde-86ae-2964ed83fce4",e._sentryDebugIdIdentifier="sentry-dbid-bb16ceb2-cede-4fde-86ae-2964ed83fce4")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -25,12 +25,12 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
25
25
  gap: ${s.sp3};
26
26
  `,Ce=r(X)`
27
27
  display: flex;
28
- `,ze=r.div`
28
+ `,Le=r.div`
29
29
  width: 100%;
30
30
  display: flex;
31
31
  align-items: center;
32
32
  opacity: ${e=>e.isCurrOptionDisabled?.5:1};
33
- `,Le=r.div`
33
+ `,ze=r.div`
34
34
  display: flex;
35
35
  align-items: center;
36
36
  margin-right: ${s.sp2};
@@ -69,9 +69,9 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
69
69
  `,ke=r.div`
70
70
  display: flex;
71
71
  align-items: center;
72
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?R.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{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
89
89
  box-sizing: border-box;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- `,Re=r(M)`
92
+ `,Ee=r(M)`
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
- `,Y=r.div``,Ne=r.div`
99
+ `,B=r.div``,Ne=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
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?R.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 {
@@ -133,7 +133,7 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${B.standardRegular.css};
136
+ ${J.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${B.standardRegular.css};
148
+ ${J.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -159,7 +159,7 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
159
159
  visibility: visible;
160
160
  }
161
161
  ::placeholder {
162
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?R.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
  }
@@ -172,7 +172,7 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
172
172
  width: ${s.sp5};
173
173
  height: ${s.sp5};
174
174
  color: ${e=>e.theme.colors.hero};
175
- `,Z=r($e)`
175
+ `,q=r($e)`
176
176
  color: ${e=>e.theme.colors.alert};
177
177
  text-transform: none;
178
178
  border: 1px solid ${e=>e.theme.colors.alert};
@@ -180,7 +180,7 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:F}}=Q(),L=fe(F,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(ke,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Me,{}),l.jsx(Y,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Fe,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Ae,{src:p?.user?.photo.href,alt:k.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(_,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(T=>T.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Te,{src:b?.user?.photo.href,alt:k.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:T})=>{T.onerror=null,T.src=H},loading:"lazy"}):l.jsx(J,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Y,{children:[l.jsx(E,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(Z,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(Z,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:V,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.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??k.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=>z?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Q(),F=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":q("user-single-select",e),children:[l.jsx(_e,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:A,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ge,{size:F,children:D})]})})},Je=r.div`
183
+ `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:b,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:F}}=Z(),z=be(F,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(ke,{menuIsOpen:i,isError:z,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Re,{hasSelectedUser:a===t.value,children:[l.jsxs(Ee,{children:[l.jsx(Me,{}),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:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Fe,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],f=x(n.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Ae,{src:p?.user?.photo.href,alt:k.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(Y,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(R,{children:i})]}),S?l.jsx(_,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!L?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(T=>T.userId===i.value),f=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:f?.user?.photo!=null?l.jsx(Te,{src:f?.user?.photo.href,alt:k.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:T})=>{T.onerror=null,T.src=H},loading:"lazy"}):l.jsx(Y,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(R,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:V,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(xe,{placeholder:g??k.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:b,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:b,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Z(),F=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:o,render:({field:{value:z,onChange:c}})=>l.jsxs(Ye,{width:w?.width,"data-testid":Q("user-single-select",e),children:[l.jsx(_e,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:b,isDisabled:A,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ge,{size:F,children:D})]})})},Ye=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
@@ -189,7 +189,7 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
189
189
  ${e=>`${We.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Qe({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Be,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Be=r.div`
192
+ `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const b=U();return l.jsxs(Je,{size:b,style:g,isDisabled:e!=null,opacity:j,"data-testid":Q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(b),marginRight:N.labelMarginRight.value(b),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Je=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -226,4 +226,4 @@ import{J as U,V as l,cO as me,o as s,y as I,aP as q,u as m,cJ as Q,eE as ge,ev a
226
226
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
227
227
  }
228
228
  }
229
- `;export{Qe as Y};
229
+ `;export{Ze as Y};
@@ -1,8 +1,8 @@
1
- import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e as K,b as I,bH as ie,F as te,f_ as se,g5 as ae,aJ as ne,b1 as de,bI as B,ba as ce,bG as pe,cC as ue,p as k,g6 as U,ci as X,r as he,ai as Y,al as ge,am as me,fM as be,fL as fe,bw as xe,fN as ye,bi as we,g7 as ve}from"./index-rJQoaAfw.js";import{n as d,c as $e}from"./mui-KNfEk2A1.js";import{a as D}from"./sentry-CGE1ab0x.js";import{FE as A,FF as Re}from"./zeni-epic-state-CiJSQQSe.js";import{T as je}from"./RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="47e16924-4b08-4d86-b5b9-6021f3222bfd",e._sentryDebugIdIdentifier="sentry-dbid-47e16924-4b08-4d86-b5b9-6021f3222bfd")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{J as I,V as l,cY as G,y as m,o,aP as N,u as n,cS as E,c$ as Q,c_ as Y,e as q,b as V,bH as ie,F as te,fY as se,g3 as ae,aJ as ne,b1 as de,bI as B,ba as ce,bG as pe,cC as ue,p as k,g4 as U,ci as K,r as he,ai as X,al as ge,am as me,fK as be,fJ as fe,bw as xe,fL as ye,bi as we,g5 as ve}from"./index-BR9aIv1A.js";import{n as d,c as $e}from"./mui-C7Q1opAD.js";import{a as D}from"./sentry-BwoJfpTa.js";import{FE as A,FF as Re}from"./zeni-epic-state-Deo9yJpd.js";import{T as je}from"./RoleWithToolTip-D74SWfZd-B2mOCrt1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="53fe3b28-2fcb-4174-9ebb-1542271f7d98",e._sentryDebugIdIdentifier="sentry-dbid-53fe3b28-2fcb-4174-9ebb-1542271f7d98")}catch{}})();const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
2
2
  display: flex;
3
- margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
- margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
5
- margin-left: ${e=>N.grpBtnMarginLeftRight.valuePx(e.windowSize)};
3
+ margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
+ margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
5
+ margin-left: ${e=>H.grpBtnMarginLeftRight.valuePx(e.windowSize)};
6
6
  cursor: pointer;
7
7
  height: 29px;
8
8
  &:hover {
@@ -22,7 +22,7 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
22
22
  }
23
23
  `,De=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=K(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(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(De,{className:"verticalLine"}):null]},u.value))})},L={allRolesMarginLeftRight:new m(n[3],n[4])},ke=d.div`
25
+ `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=I(),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":N("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":N("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(De,{className:"verticalLine"}):null]},u.value))})},L={allRolesMarginLeftRight:new m(n[3],n[4])},ke=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
@@ -31,11 +31,11 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
- `,Oe=d.div`
34
+ `,Pe=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  width: 100%;
38
- `,Pe=d.div`
38
+ `,ze=d.div`
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  padding-left: ${o.sp4};
@@ -46,15 +46,15 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
46
46
  transition:
47
47
  visibility 250ms ease-in-out,
48
48
  max-height 250ms ease-in-out;
49
- `,ze=d.div`
49
+ `,Te=d.div`
50
50
  display: flex;
51
51
  flex-direction: row;
52
52
  margin-bottom: ${o.sp3};
53
53
  justify-content: space-between;
54
- `,Te=d(X)`
54
+ `,Oe=d(K)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
- `,J=d(Y)`
57
+ `,J=d(X)`
58
58
  display: flex;
59
59
  color: ${e=>e.theme.colors.hero};
60
60
  `,Be=d.div`
@@ -84,12 +84,12 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
84
84
  border-color: ${e=>e.theme.colors.primary};
85
85
  }
86
86
  }
87
- `,Me=d.div`
87
+ `,Ie=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Ve=d(X)`
90
+ `,Me=d(K)`
91
91
  display: flex;
92
- `,Ie=d(Y)`
92
+ `,Ve=d(X)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
95
  `,Le=d(me)`
@@ -109,11 +109,11 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ne=d(we)`
112
+ `,He=d(we)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
116
- `,He=d(ye)`
116
+ `,Ne=d(ye)`
117
117
  width: ${o.sp4};
118
118
  height: ${o.sp4};
119
119
  color: ${e=>e.theme.colors.hero};
@@ -135,7 +135,7 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
135
135
  margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
136
  margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
137
  color: ${e=>e.theme.mode==="light"?k.brandColorOnyx:k.brandColorPearl};
138
- `,Qe=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(Ae,{});case"zeni_cards":return l.jsx(We,{});case"zeni_treasury":return l.jsx(Je,{});default:return null}},Ge=e=>l.jsxs(Me,{children:[l.jsx(Ve,{className:"roleTitle",children:U[e].label}),l.jsx(Ie,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=D.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),V=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:V?void 0:v[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=D.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);D.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,O=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(Oe,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:O(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Qe(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(J,{children:t.subTitleUser}),l.jsx(J,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Ke=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(G,{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(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(Q,{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(Ke,{...i,isDisabled:e})]})}const Xe=d.div`
138
+ `,Ge=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(He,{});case"zeni_reimbursements":return l.jsx(Ne,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(We,{});case"zeni_treasury":return l.jsx(Je,{});default:return null}},Qe=e=>l.jsxs(Ie,{children:[l.jsx(Me,{className:"roleTitle",children:U[e].label}),l.jsx(Ve,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),Ye=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Y(p,`${e}.userRole.selectedRole`),f=I(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=D.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===C),M=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:M?void 0:v[R].options.filter(z=>z.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=D.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);D.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(Pe,{children:x.map(h=>l.jsxs(ke,{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:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Te,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Ge(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(J,{children:t.subTitleUser}),l.jsx(J,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(Q,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ye,{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=I();return l.jsxs(Ke,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Ke=d.div`
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{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e 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]=D.useState(),{formState:{errors:O}}=E(),h=q(O,b??"");D.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),D.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=K(),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=I.smallRegular.cssObject,_=V,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,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,...I.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:z})=>{const w=A(z.value)&&s===!0,F=Z(g,w,z.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||z.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Z(!0,w,z.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return D.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:z,selectProps:w}=r,{value:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:z,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&&A(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"?k.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 Xe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=D.useState(),{formState:{errors:P}}=E(),h=Y(P,b??"");D.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),D.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),C=I(),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,M=V.smallRegular.cssObject,_=M,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",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:O,data:T})=>{const w=A(T.value)&&s===!0,F=Z(g,w,T.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...M,color:F,cursor:O?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Z(!0,w,T.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return D.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(O=>{g.push(O.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:O,isDisabled:T,selectProps:w}=r,{value:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:O,isDisabled:T,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&&A(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"?k.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;
@@ -218,7 +218,7 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
218
218
  border-radius: ${o.sp0};
219
219
  margin: ${o.sp0};
220
220
  color: ${e=>e.theme.colors.primary};
221
- ${I.standardRegular.css};
221
+ ${V.standardRegular.css};
222
222
  box-sizing: border-box;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
@@ -229,7 +229,7 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e a
229
229
  display: flex;
230
230
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue==null?o.sp0:"100%"};
231
231
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
232
- ${I.standardRegular.css};
232
+ ${V.standardRegular.css};
233
233
  color: ${e=>e.theme.colors.primary};
234
234
  margin: ${o.sp0};
235
235
  cursor: inherit;
@@ -258,7 +258,7 @@ import{J as M,V as l,cO as Q,y as m,o,aP as H,u as n,cJ as E,eE as G,ev as q,e 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(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:O=>{x({allOptions:c.allOptions,selectedOptions:O}),$?.(O)},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(Q,{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(Xe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new 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=I();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":N("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as ge,g8 as fe,aR as xe,F as H,o as t,y as m,d as be,x as ye,cK as F,iN as we,p as je,b as I,bh as Ce,u as r}from"./index-rJQoaAfw.js";import{a as B}from"./sentry-CGE1ab0x.js";import{n as i}from"./mui-KNfEk2A1.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-CiJSQQSe.js";import $e from"./TransactionDetailPage-DSR3itvE-B47s770o.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js";import"./TrendWithTransactions-fGuXIDf7-HyuIbA66.js";import"./TrendChart-mamZxFEf-DPlJCKYL.js";import"./chartTypes-CnipzTeX-DGSU_TZ0.js";import"./toCOABalancesWithID-BcVCEfwr-D-kim1rY.js";import"./toChartData-VTidOIL7-CTZNeqK0.js";import"./NoDataChart-JfED3unL-jJumSwoX.js";import"./InsightsSection-DEnkGYD8-BV7sZQsr.js";import"./NavigationDots-BX9DbCj7-RHGokei7.js";import"./TransactionList-wLBz-A1j-R5pqCBUj.js";import"./ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js";import"./BoxItem-ClRdlCWM-B_aqSV-L.js";import"./commonDimensions-DmFc7WqO-CxyyXmLy.js";import"./panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js";import"./uploadAttachment-CwSRD9la-Dwn2_OC8.js";import"./radio-default-CiSgisfh-_DAtDxCX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="b0426aec-ce7c-4c7d-9ef8-d97ca1ff023f",e._sentryDebugIdIdentifier="sentry-dbid-b0426aec-ce7c-4c7d-9ef8-d97ca1ff023f")}catch{}})();const V={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{J as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as P,cG as he,V as n,ac as ge,g6 as fe,aR as be,F as H,o as t,y as m,d as xe,C as ye,cI as F,iK as we,p as Ce,b as I,bh as je,u as r}from"./index-BR9aIv1A.js";import{a as B}from"./sentry-BwoJfpTa.js";import{n as i}from"./mui-C7Q1opAD.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-Deo9yJpd.js";import $e from"./TransactionDetailPage-D0tW8GIH-C00b9e62.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./LabeledControlledCheckBoxField-DGV1Bz6o-CCbHpDl4.js";import"./TrendWithTransactions-D2CSrQJG-DdbpQrSL.js";import"./TrendChart-DjKmnpsm-CS6VXx1C.js";import"./chartTypes-D0t0a86R-VgxTrMCK.js";import"./toCOABalancesWithID-mNZ5ym9S-BQfS02g5.js";import"./toChartData-BVSCRQYT-CU2W4nbR.js";import"./NoDataChart-CJyaj_wD-Ceo15OJ6.js";import"./InsightsSection-BuCEgcAh-DX4KP6Gi.js";import"./NavigationDots-BDKBgUe6-CeOovYs1.js";import"./TransactionList-T8gAOJc0-Dw9G55NV.js";import"./ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js";import"./BoxItem-BGrgQ_sW-cYQcyKu_.js";import"./commonDimensions-BwCds81U-kEodPKRG.js";import"./panelSelectedMixin-CzfD5-Zs-Udxivyx_.js";import"./uploadAttachment-D3ybtHtR-D84dG_-j.js";import"./radio-default-CiSgisfh-VWYNvRzB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="24581afb-4107-4fb9-a1ae-3533dccb6216",e._sentryDebugIdIdentifier="sentry-dbid-24581afb-4107-4fb9-a1ae-3533dccb6216")}catch{}})();const J={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -19,7 +19,7 @@ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as g
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,J=(e,l)=>`${e}.${l}`;function Ie({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=G();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:C.header}),n.jsxs(ke,{children:[n.jsx(F,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Pe,{}),n.jsx(F,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},O="linkJETransactionPage",W="linkJETransaction",Z=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Le}=Z,xt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=G(),T=ue(u),y=Q(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),A()}},[u,T,A]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:x}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(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",z=s.jeLink.type==="recommended",R=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&R&&v||$&&z&&v,k=R&&v;return n.jsxs(Ae,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Be,{windowSize:p,children:x.linkJE}),n.jsx(Re,{children:n.jsx(Fe,{onClick:U})})]}),n.jsxs(Te,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(O),onSubmit:f.handleSubmit(oe),children:n.jsx(Ie,{jePostingDate:s.postingDate,sectionId:W,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Je,{windowSize:p,children:[n.jsx(Oe,{})," ",x.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,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,n.jsxs(Ve,{children:[re?n.jsx(q,{windowSize:p,children:x.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:x.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(xe,{formId:w?Y(O):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?x.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`,_=(e,l)=>({[W]:{qboURL:Q(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
22
+ `,V=(e,l)=>`${e}.${l}`;function Ie({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:j}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=G();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:j.header}),n.jsxs(ke,{children:[n.jsx(F,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Pe,{}),n.jsx(F,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},O="linkJETransactionPage",W="linkJETransaction",Z=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Le}=Z,bt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=G(),T=ue(u),y=Q(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),A()}},[u,T,A]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:b}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(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",R=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&R&&v||$&&N&&v,k=R&&v;return n.jsxs(Ae,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Be,{windowSize:p,children:b.linkJE}),n.jsx(Re,{children:n.jsx(Fe,{onClick:U})})]}),n.jsxs(Te,{children:[n.jsx(ze,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(O),onSubmit:f.handleSubmit(oe),children:n.jsx(Ie,{jePostingDate:s.postingDate,sectionId:W,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),N?n.jsxs(Ve,{windowSize:p,children:[n.jsx(Oe,{})," ",b.zeniRecommendation]}):null,$?n.jsx(Ne,{children:n.jsx($e,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Je,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(O):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.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`,_=(e,l)=>({[W]:{qboURL:Q(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Ae=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -36,14 +36,14 @@ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as g
36
36
  align-items: center;
37
37
  top: ${t.sp0};
38
38
  z-index: 2;
39
- padding-left: ${e=>b.containerPaddingLeft.valuePx(e.windowSize)};
40
- padding-right: ${e=>b.containerPaddingRight.valuePx(e.windowSize)};
41
- padding-top: ${e=>b.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
- padding-bottom: ${e=>b.navbarContainerPaddingBottom.valuePx(e.windowSize)};
43
- `,Ne=i.div`
39
+ padding-left: ${e=>x.containerPaddingLeft.valuePx(e.windowSize)};
40
+ padding-right: ${e=>x.containerPaddingRight.valuePx(e.windowSize)};
41
+ padding-top: ${e=>x.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
+ padding-bottom: ${e=>x.navbarContainerPaddingBottom.valuePx(e.windowSize)};
43
+ `,ze=i.div`
44
44
  max-width: 100%;
45
45
  margin-bottom: ${t.sp5};
46
- `,ze=i.div`
46
+ `,Ne=i.div`
47
47
  width: 100%;
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
@@ -61,7 +61,7 @@ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as g
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Be=i(be)`
64
+ `,Be=i(xe)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
@@ -69,7 +69,7 @@ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as g
69
69
  margin: auto;
70
70
  justify-content: center;
71
71
  `,q=i.div`
72
- height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
72
+ height: ${e=>x.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
75
75
  justify-content: center;
@@ -79,10 +79,10 @@ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as g
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
81
  ${I.standardRegular.css};
82
- `,Ve=i.div`
82
+ `,Je=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
- `,Je=i.div`
85
+ `,Ve=i.div`
86
86
  display: flex;
87
87
  align-items: center;
88
88
  gap: ${t.sp1};
@@ -92,7 +92,7 @@ import{J as G,aQ as ue,a9 as pe,cF as me,iM as E,ix as P,cG as he,V as n,ac as g
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
94
  ${I.standardRegular.css};
95
- `,Oe=i(Ce)`
95
+ `,Oe=i(je)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
- `;export{xt as default,Y as uniqueFormName};
98
+ `;export{bt as default,Y as uniqueFormName};