@zeniai/web-cockpit-ui 1.14.12-qa → 1.14.13-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 (250) hide show
  1. package/dist/assets/ACHDetailsPage-DVi_fb5U-BWoXmLUY.js +21 -0
  2. package/dist/assets/{AIPerformancePage-C459GJxs-CUFOWwFR.js → AIPerformancePage-C-orwzaK-DOCKSZSl.js} +44 -44
  3. package/dist/assets/{AccountInfoPage-DWqJj9l6-Capr_Z-3.js → AccountInfoPage-DvhQOLM6-C0wQ6YRZ.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-Ca328DM4-Cb8-F3Q9.js → AccountInfoPageContent-B1BJnQNd-Dywp_u_s.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-BqIo4mya-BHbTJiEq.js → AccountReconDetailsDrawerPage-C8EtTwZE-BoEh8Ely.js} +13 -13
  6. package/dist/assets/{AccountRow-Bk3xWobY-C4Zvilnd.js → AccountRow-m3N4T8ro-CB7I5u10.js} +27 -27
  7. package/dist/assets/{AccountsPromoCardStack-Co90dxxm-BlSZ2eIa.js → AccountsPromoCardStack-DGHAcZ7D-BqYytjsB.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-XNGsKMvs-rj1kuL_e.js → AddAddressForCardDrawer-B_1jj1h7-Cu6_XTQ0.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-BiQWQXvz-Bblrbomq.js → AddToWalletPage-DL1Bk4bd-ClBCUS3g.js} +21 -21
  10. package/dist/assets/{AgingReportsPage-ClR6ctjm-BvsA-X32.js → AgingReportsPage-DQ4P7iSR-BaDY7W1-.js} +8 -8
  11. package/dist/assets/{AllUserItems-RFWkNfw--C4DCHl34.js → AllUserItems-BSWk_1pR-BC2mjTTt.js} +13 -13
  12. package/dist/assets/{ApAgingDetailPage-F-pd4-We-BM-jeada.js → ApAgingDetailPage-0i8K1czh-BtF7tRtB.js} +2 -2
  13. package/dist/assets/{AppBasePage-B9-FGKn--CpOP-7R8.js → AppBasePage-CV3kU-Ax-HUIuRSgH.js} +7 -7
  14. package/dist/assets/{AppDrawerContent-C6P8rk3y-BWhPaRYb.js → AppDrawerContent-DA8q-1_m-Ip7rRN25.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-CPNEEGTF-BhZ8kwTo.js → ApprovalRulesSettingsPage-CRlqbhea-CnWEhcBd.js} +7 -7
  16. package/dist/assets/{ArAgingChart-D9qmMVoC-DsreAD17.js → ArAgingChart-CiJNNObG-DOT8YGoK.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-DMuZM6P_-Vz-qJNmg.js → ArAgingDetailPage-2I9R_J97-CEWBavmC.js} +1 -1
  18. package/dist/assets/{AttachmentView-B2ZOED0q-dJMT88ra.js → AttachmentView-D0naVbDk-BMIJVqWj.js} +7 -7
  19. package/dist/assets/{BankAccountSection-C8G4yj75-B_w1M8Cy.js → BankAccountSection-CYYTnOEW-ta40gqBk.js} +6 -6
  20. package/dist/assets/BankAccountWarningSection--b6oxmO3-bf21H1-K.js +51 -0
  21. package/dist/assets/{BankConnectionsSettingsPage-B5IQ5w6f-1z2_M0sV.js → BankConnectionsSettingsPage-BzwCu93j-CCEpUgq7.js} +49 -49
  22. package/dist/assets/{BillDetailPage-B-PMkZ44-Dz4DR1t2.js → BillDetailPage-OzI0RkQ_-Bav1HJG-.js} +16 -16
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CdLKENJ--kCXb23Bw.js → BillPayApprovalRuleDetailPage-DIQW7KY9-C0xmBCct.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BueljBn0-CPA-G34p.js → BillPayApprovalRulesPage-BMmJ4cuT-CLahxDlm.js} +9 -9
  25. package/dist/assets/{BillPayPromoPage-WXntEliq-SuckTMGr.js → BillPayPromoPage-CN5LKQzn-T_t_dz_s.js} +8 -8
  26. package/dist/assets/{BillPaySetUpPage-By7rYetf-BlaS7RoJ.js → BillPaySetUpPage-DMKmupPw-CmltaH2A.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-D-XtlyVU-D47jr1yc.js → BillingSettingsPage-Bt_0mrqR-CgkXOlNp.js} +8 -8
  28. package/dist/assets/{BillsBulkReviewDrawerPage-P8siJ8lO-69e-PfV-.js → BillsBulkReviewDrawerPage-GFME_IXw-CmxfCt6F.js} +1 -1
  29. package/dist/assets/{BoxItem-Bcy7IYuZ-CuoCQ3AF.js → BoxItem-nvtPdCwS-CiJFmSMj.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-_E3jrLwS-D28zK5AA.js +140 -0
  31. package/dist/assets/{CardNumberSubText-VsMOF0Xv-DCsVHK-6.js → CardNumberSubText-DBpF1pjJ-BDHubHrk.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DNbRs50r-Buun1iiv.js → CashbackDetailPage-DrdbDPXK-BHacfWCb.js} +30 -30
  33. package/dist/assets/{ChargeCardDetailPage-BSDS8Kqb-DpPROxWg.js → ChargeCardDetailPage-DvY3CSB4-DTju6vUj.js} +54 -54
  34. package/dist/assets/{ChargeCardListPage-Bzr8qMC0-CP4LVMfI.js → ChargeCardListPage-BE5yGbg8-B5XQaFqy.js} +14 -14
  35. package/dist/assets/{ChargeCardListTable-CTp6TFBR-BvzqcSSI.js → ChargeCardListTable-B-scLCAt-DWKxrdfC.js} +37 -37
  36. package/dist/assets/ChargeCardPromoPage-2OheDHbA-BAFEqKdK.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-B1wzJjgH-CTGNj7vw.js → ChargeCardSetupPage-FNCK1n4W-DRpaATuu.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-CePfbLPp-CyQ0YrOT.js → ChargeCardStatementsPage-1fuIth_h-DUYP62lN.js} +9 -9
  39. package/dist/assets/{ChargeCardUtils-DC2v2EHU-B8YRIRH7.js → ChargeCardUtils-CErWBcYS-DYGG4Kg0.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-B-Sx71yo-CVGS055Q.js → ChaseOverlay-9_ms5LgM-DLbFcFUT.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-FYtd8ETj.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-mEqm05fp-CpGwQyDI.js → CollapsableReportTable-DX-FpwE7-MJq_0H8T.js} +59 -59
  43. package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-BZkAjfXP.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-Ct6tCZqT-gCSCuEJk.js → CompanyPassportCard-BZXE3iJL-D0vVN1yd.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-D9NQ4bXl-DTZK2KZn.js → CompanyPassportPage-BYZC3G4H-Dyir7GPA.js} +22 -22
  46. package/dist/assets/CompleteProfile-mCKLQjGe-D37b51yU.js +52 -0
  47. package/dist/assets/{ConfettiBurst-DqSwVGBC-BHlAAcPF.js → ConfettiBurst-BEoFHjQ0-BZkigu9v.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-D27A1926-BsU3_dv5.js → CreateOrEditVendorPage-6sohsdle-DulmpRQu.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BI37dSwx-39VjlJr3.js → CreditCardPaymentDrawerPage-6oVDS3D8-BG57VbJ5.js} +21 -21
  50. package/dist/assets/{CreditCardPaymentPlgSection-CAsn4Ae6-CZm-m7f1.js → CreditCardPaymentPlgSection-DX1BieKp-CaB1ZnNz.js} +11 -12
  51. package/dist/assets/{CurrencySelectField-5uG4FfJ9-qAwPonrx.js → CurrencySelectField-F2P1iCLk-DqZUsNYq.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-Be-GrAiK-besA9uPP.js → CustomerOnboardingActivationPage-CNJkyjta-BXFLHGd8.js} +8 -8
  53. package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-CnXYVWPD.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhGp71bj-DWlhhsi_.js → CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bgdn7kSU.js} +12 -12
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CdOGTNXC-CHTF3KrU.js → CustomerOnboardingNoStepsPage-B49-4wZk-KyTxoYIy.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-ClPsywa3-DzHYHzx_.js → CustomerOnboardingPage-4FPXG220-Bhtz8R34.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-pnHglqXq-CCAeHa0M.js → CustomerOnboardingProductSuitePage-cJPPvh-5-CdfdHVAA.js} +9 -9
  58. package/dist/assets/{Dashboard-avtbjFLf-CWLaijij.js → Dashboard-BBy_mQ8p-zBP8Z7QF.js} +260 -242
  59. package/dist/assets/{DashboardReportPage-CqJAu5WP-C5R220Aq.js → DashboardReportPage-DYttySr4-ICoa42Db.js} +6 -6
  60. package/dist/assets/{DepositAccTransactionItem-Da0GWYei-C6IiAcvx.js → DepositAccTransactionItem-PNTL0e8v-Bf5t1weD.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-91dKQsy5.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DGcVKriv-CQ6tNZZ5.js → DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-BdGiqnp7-Do8jKDZO.js → DownloadOverlay-CUbv29mo-Cm7YvHGd.js} +21 -21
  64. package/dist/assets/{DrawerPage-DCfm1BVs-CkoWC70i.js → DrawerPage-2_QOgQ1m-jFj08QrD.js} +11 -11
  65. package/dist/assets/EditPeoplePage-CtTYiqg3-C_rRpXUg.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-C-nYgUua-C1FZgAx7.js → EditReimbursementDetailPage-C_jRh7w0-BjxLHuhj.js} +61 -61
  67. package/dist/assets/{EntityDetailPage-4HX_rHUf-CkoCECUD.js → EntityDetailPage-BhQsnCgQ-BJqshBB_.js} +3 -3
  68. package/dist/assets/{EntitySummarySection-C9VeOBpT-C1O3lIMZ.js → EntitySummarySection-CKkXzM76-JNV3nj4B.js} +12 -12
  69. package/dist/assets/{ExpenseAutomationOverviewPage-8jTkscWa-CfASrU1u.js → ExpenseAutomationOverviewPage-ZuB3Aiv2-g-beRD6J.js} +26 -26
  70. package/dist/assets/{ExpenseAutomationPage-D1wcc9GW-C8FX-4rm.js → ExpenseAutomationPage-BUic8zfk-CY9AnIj2.js} +41 -41
  71. package/dist/assets/{ExpressPayPage-Cj6cvMwQ-D9CJAZ17.js → ExpressPayPage-DEkJ_H0W-D2MJYEqV.js} +12 -12
  72. package/dist/assets/FeaturePreviewPage-CtK7L5vk-zb1RibOL.js +11 -0
  73. package/dist/assets/{FollowStepsSection-DjfnVH8N-B6vBO9jA.js → FollowStepsSection-CWw764ZM-BMjBkJvU.js} +9 -9
  74. package/dist/assets/{GlobalReviewListPage-CEOzc0We-DJGBphLn.js → GlobalReviewListPage-CZctHM7r-C-SmU9tc.js} +12 -12
  75. package/dist/assets/{HelpButton-BdhMFvtG-BdXfZX0U.js → HelpButton-Dpx0Yoel-1C4sAmaf.js} +4 -4
  76. package/dist/assets/{InformationCardStack-DFOumIBr-C0vq2uPl.js → InformationCardStack-BGpHl4yb-D2VMsFIF.js} +5 -5
  77. package/dist/assets/InsightsCardStack-BbMJEahw-XjHe58kA.js +79 -0
  78. package/dist/assets/InsightsSection-CYkuQHcj-B18a-FIC.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DF-jcHzr-CvvJemcw.js → IntegrationsSettingsPage-CMjSCRm_-C9xmqHS7.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BFMqW1oQ-cIs7ycQ9.js → InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js} +15 -15
  81. package/dist/assets/{InternationalWireVerificationPage-Cq7swzrt-BXVkaYvX.js → InternationalWireVerificationPage-DAW2eMTg-BGhWwB2B.js} +22 -22
  82. package/dist/assets/{InviteFormPage-DXl2sEn9-Qq6BD2nX.js → InviteFormPage-CCbyacPR-DUt2JWiG.js} +20 -20
  83. package/dist/assets/{InvitePageListView-B5fRPcOg-BIAYUEYw.js → InvitePageListView-mHkALr5o-BpwevZSI.js} +62 -62
  84. package/dist/assets/InvitePeoplePage-r6PLBiEv-CRU1obhZ.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-opkVsXZH-CiDZyXEw.js → InvoiceUploadSection-BsjeicP1-CxRipy2m.js} +41 -41
  86. package/dist/assets/{IssueChargeCardPage-CZU1qbHO-D3xb_BWj.js → IssueChargeCardPage-C3esnkQg-Bt2ncw32.js} +33 -33
  87. package/dist/assets/{LabeledAddressValue-CCd3y8zQ-BLzq0Yq7.js → LabeledAddressValue-CeeoKoY4-C81fNRY2.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-XuFlx-oK-YJyhDZDY.js → LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js} +3 -3
  89. package/dist/assets/{LabeledControlledCheckBoxField-CCQn4-_S-CzvDrRjj.js → LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-uQKngCdt-CU01d4Cj.js → LabeledCreatableSingleSelectField-BSKL8pA3-y22U9yzT.js} +6 -6
  91. package/dist/assets/LabeledDocumentField-BEyArLK3-Bbt820GM.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BrUNxsKy-CdrCxnZe.js → LabeledDropDownFormattedTextField-DikXPnxD-3H5194hi.js} +7 -7
  93. package/dist/assets/{LabeledText-ByqI7uq0-DxtGCoMb.js → LabeledText-qSjyNZO1-BMO1teu9.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0-CcatEpZT.js → LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-BPP3i4wb.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField-DZL4GZtE-BBfYQkEz.js → LabeledZeniRolesDropDownField-nm5bG2up-B-C-v8v9.js} +17 -17
  96. package/dist/assets/{LinkJETransactionPage-CJlBllrr-6j6wzRRV.js → LinkJETransactionPage-p7wdZbtp-BamvjpR7.js} +13 -13
  97. package/dist/assets/{LowBalancePopup-BEvuAR0Z-Bk_xFnCD.js → LowBalancePopup-DHk6xd2B-V5eEOh0a.js} +7 -7
  98. package/dist/assets/{MagicLinkACHDetailsPage-DloX1GWg-BFMutoMu.js → MagicLinkACHDetailsPage-DRQ8oej8-B79oZw1R.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DewjvM4v-DuBt-sx-.js → MagicLinkDomesticWireDetailsPage-BxXU9Opg-BdNHmjDj.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CVhazlxQ-BlY4hBeE.js → MagicLinkInternationalWireDetailsPage-DYN1baIc-DT4ZdIcR.js} +1 -1
  101. package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-Bgn3-P2S.js +31 -0
  102. package/dist/assets/{MagicLinkTitleSection-d1edBt3w-BVfkhuQ-.js → MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js} +4 -4
  103. package/dist/assets/MailingDetailsSection--zHyCquq-Cn3SWfKt.js +21 -0
  104. package/dist/assets/{MeetingCalenderPopup-MtSyJ1AS-C61rImN5.js → MeetingCalenderPopup-DbFlQ8Km-9ZxBnjo6.js} +1 -1
  105. package/dist/assets/{Menu-BV79l8xf-B7WjdNMQ.js → Menu-LLL9taEz-CtH4c9eF.js} +2 -2
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D-xDtURG-C2HMY51d.js → MyBankConnectionsSettingsPage-BfDsHVZw-aWZVlaCb.js} +15 -15
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-VEhml0PW-BCXZzbbW.js → MyPendingActivationChargeCardListPage-vag56A65-DvFj3aDV.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DPJ0fJdQ-TQrYLgYZ.js → MyProfileSettingsPage-DCKqWh-p-Ca4URKq-.js} +8 -8
  109. package/dist/assets/NavBarWithPicker-Cvi89wZV-3CVqu6ha.js +30 -0
  110. package/dist/assets/{NavigationArrow-BwXNdvOg-BPZh6hXD.js → NavigationArrow-CHmddDC--CUC3t4BZ.js} +2 -2
  111. package/dist/assets/NavigationDots-1wpj484Z-By9SVfKB.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-IeE86L-X-Bae2AXUm.js → NewGlobalMerchantPage-B0FywA12-BRuJ6OhE.js} +13 -13
  113. package/dist/assets/{NoDataChart-C9yfE8vY-4P6j_Myy.js → NoDataChart-D43mhDJW-B9CXfEvp.js} +1 -1
  114. package/dist/assets/{NoDataTable-DF9QNT4a-BHK-o5qC.js → NoDataTable-BOfUxs9D-8iqVCaVk.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DSaizJve-BxedHkcK.js → NotFoundPage-DFioH5Rt-BQR0ORs3.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DeAeFHmj-DUWQVg3q.js → NotificationSettingsPage-y4g1rAal-BJEuhBam.js} +13 -13
  117. package/dist/assets/{NotificationsListConfig-DuzDckh--C6BvfucE.js → NotificationsListConfig-sybPesiv-FmaZBisq.js} +1 -1
  118. package/dist/assets/{NotificationsPage-B7ZC7ezP-Cdj0nN7a.js → NotificationsPage-C88YOjuY-Ds4zz6jH.js} +31 -32
  119. package/dist/assets/{OpExByVendorPage-DzODetHf-Dm-W-8O1.js → OpExByVendorPage-qBWbJhv9-Cs148Yzz.js} +7 -7
  120. package/dist/assets/{OverlayContainerPage-GWXnlbZH-Db5ZTmqB.js → OverlayContainerPage-Dres4Grh-BoM1wcb9.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-FEi5USqF-DEFE8FSJ.js → PandLWithForecastPage-uiaHrci6-ClUgwvyo.js} +8 -8
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BbL4x5pQ-CArcGp7V.js → PaymentAccountSetupBillingAddressSection-BepDUdA0-DvE7tkJU.js} +11 -11
  123. package/dist/assets/{PeoplePage-B35T31YZ-C-lJt47m.js → PeoplePage-oF6C1uyM-DLFAgG_p.js} +20 -20
  124. package/dist/assets/{PortfolioAllocationFormPage-D3FP_MRr-BcOrWJml.js → PortfolioAllocationFormPage-C5O3GLqz-BYzrfMTu.js} +4 -4
  125. package/dist/assets/{PortfolioDetails-Dtz3YEPu-CbnH_B-R.js → PortfolioDetails-BkGNpmoO-B3KzDtEL.js} +31 -31
  126. package/dist/assets/{ProductsCarousel-DIlEuuqg-BjDLvopn.js → ProductsCarousel-C_tmo4EA-BDn6T3LG.js} +6 -6
  127. package/dist/assets/{PromoBaseCards-DTsaas8S-Bp3Sdx9s.js → PromoBaseCards-Bq5-q2ew-oeM6E2Gs.js} +5 -5
  128. package/dist/assets/{QBOConnectionDialog-Cvt38cmU-BbZWHEnH.js → QBOConnectionDialog-BXNWjeYB-CT3y8ZPP.js} +9 -9
  129. package/dist/assets/QBOSetupSection-D3sIWrh1-Dt8ceji3.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-DfTW4OAe.js +26 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BG8uMxNw-V-B_Oc7d.js → ReimbursementApprovalRulesPage-hjja5JFq-1dF9j3jn.js} +8 -8
  132. package/dist/assets/{ReimbursementDetailPage-Cs7XeZrC-CDH5tk6j.js → ReimbursementDetailPage-sXYC_aoR-CngyEl5D.js} +19 -19
  133. package/dist/assets/{ReimbursementPromoPage-CKITZNUc-B3czdsVE.js → ReimbursementPromoPage-C9zs7VRV-DY_b0K3o.js} +24 -24
  134. package/dist/assets/{ReimbursementSetUpPage-DD5P181p-BNAJ0P6-.js → ReimbursementSetUpPage-Ban56LOC-Cen4aYhY.js} +11 -11
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0eORL7o-BZhXRsOE.js → ReimbursementsBulkReviewDrawerPage-CsRwI-rl-KeeGuW4E.js} +1 -1
  136. package/dist/assets/{ReloadCard-CZ4IXHy1-D0PwAZkP.js → ReloadCard-EBXtqdt5-e0DLVF2o.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-Do0yQJxY-C6yall7R.js → ReportTableViewSelector-Ae5lGopA-CZicNwDg.js} +10 -10
  138. package/dist/assets/{ReportsPage-BUi475EG-BorB4Vqw.js → ReportsPage-Dh3DhbEK-DCmUMwXx.js} +5 -5
  139. package/dist/assets/{RevenueChart-DPNqxQ4n-5RLNohUA.js → RevenueChart-C5qfXMEg-D1BQhist.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-DTCC2C0D-IffnuWda.js → ReviewDetailsPage-DjcJd2VM-CMmXdVTb.js} +17 -17
  141. package/dist/assets/{ReviewOverlay-CPN-RHG--C8J652Ar.js → ReviewOverlay-Dmrea9EK-DOxs4FI1.js} +14 -14
  142. package/dist/assets/RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSz5BdJ4-ajU7u-K2.js → ScheduleDetailsFixedAssetsPage-CQGRrdSx-BKHIJc5L.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-DKVlaW9e-Mc61Wcxe.js → ScheduleDetailsPage-D5OBZ80r-BSViQYwc.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-BhpHoReF-BCeDdvJx.js → ScheduleSequenceTable-fgV8zz4I-B96Fw2cP.js} +49 -49
  146. package/dist/assets/{ScreenRoutes-Cb2UBar1.js → ScreenRoutes-Bs8GRIgm.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-Blh-Vipv-DTzNADjZ.js → SetUpAccountSection-4-gtB3I4-CmDUZ7Ps.js} +24 -24
  148. package/dist/assets/{SetUpDefaultSection-DsyZbNsv-BU4fjsR8.js → SetUpDefaultSection-DSslQOgJ-y5lEHYNN.js} +12 -12
  149. package/dist/assets/{SignIn-DehOoUba-D1wgEnhj.js → SignIn-CgXxIawW-DSrGSPuV.js} +17 -17
  150. package/dist/assets/{SignInScreen-CdOVOg4V.js → SignInScreen-DSt7uixJ.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-C23fDDXZ-YGqIsuA5.js → SpendManagementListViewPage-SkhzkIYZ-CI28gjhv.js} +11 -11
  152. package/dist/assets/{SpendManagementPerTabPage-Cx0sB3qO-BUuUjlAR.js → SpendManagementPerTabPage-CofY1YYQ-C9YpxBTZ.js} +55 -55
  153. package/dist/assets/{SpendManagementSection-DbZYpbtO-d6L97RYF.js → SpendManagementSection-DbC93chQ-CmYHf5ne.js} +13 -13
  154. package/dist/assets/{SpendMgmtSetupAccountSection-BkUIdz9m-B2ewL4T_.js → SpendMgmtSetupAccountSection-_8G7bMAw-CYWZUz0n.js} +22 -22
  155. package/dist/assets/{StatementItem-BF8L0fc_-DzjaOfpz.js → StatementItem-7ezfuDl--CcU7F4Hj.js} +5 -5
  156. package/dist/assets/{StatementsPage-96e3ZbSU-f9GKAGwn.js → StatementsPage-C4ziRzkU-Cl2Heiw2.js} +6 -6
  157. package/dist/assets/{StatusSwitcher-jwpQ49F7-BnZJLj82.js → StatusSwitcher-0rVfFE-a-CheRZPfP.js} +7 -7
  158. package/dist/assets/{SubTabSwitcher-B8H6McwL-Cu2vNU7E.js → SubTabSwitcher-aoWbkCmT-CaMIdf8x.js} +1 -1
  159. package/dist/assets/{SummaryCard-Bv4ja9yJ-aDvuTxki.js → SummaryCard-6V1G-Yln-AkNgJPj0.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-D7tD4WRl-Css52_VB.js → TaskManagementPage-DjQma5Cr-DLhPVic-.js} +18 -18
  161. package/dist/assets/{TimeRangeSwitcher-Cr-ObvZ9-DYgsNzbf.js → TimeRangeSwitcher-DeIRg5zY-Bi--_Fx4.js} +5 -5
  162. package/dist/assets/{TimeframeSwitcher-YkFxZedG-BzHaiUBA.js → TimeframeSwitcher-Cop4G4gx-DupejW9U.js} +5 -5
  163. package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-DuZjqpvb.js +31 -0
  164. package/dist/assets/{TopExCard-DtrsuLFD-C29DggA1.js → TopExCard-BKirBv7q-BKzGhACE.js} +6 -6
  165. package/dist/assets/{TopExDetailPage-HMRdJt_a-Dv3hZE10.js → TopExDetailPage-DcVunE8d-BJAugcNm.js} +11 -11
  166. package/dist/assets/{TransactionDetailPage-CkWEdpTW-D5C8nT3c.js → TransactionDetailPage-TJf3D0K6-ChXVy1nH.js} +26 -26
  167. package/dist/assets/{TransactionList-8rOZr8BD-z7em6_Iq.js → TransactionList-fn6VXYIJ-XKKmCfLI.js} +4 -4
  168. package/dist/assets/{TransactionListBig-DGx1qy2c-Bq45CoFX.js → TransactionListBig-B_hNDFjS-Bc3M6sby.js} +25 -25
  169. package/dist/assets/{TransactionListPage-CnbufCaM-AKYbMbcz.js → TransactionListPage-BbXZWbie-DmTuImVR.js} +6 -6
  170. package/dist/assets/{TransactionVendorDetailPage-UpZX_EgR-DgquOs9I.js → TransactionVendorDetailPage-C6qJ5ncL-DRKEGbRL.js} +6 -6
  171. package/dist/assets/TransferDrawerPage-BtYoqKi--BK8jkNir.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-DoPe6v4O-DcxluBgr.js → TreasuryOverviewPage-DOV8Hanc-BzuaF_Oy.js} +53 -53
  173. package/dist/assets/{TreasuryPromoPage-Db20FO_G-C0PMRVyO.js → TreasuryPromoPage-C9O7G72q-D0fVcP3x.js} +30 -29
  174. package/dist/assets/TreasurySetupPage-CNzkkEjw-Dh78QFWy.js +146 -0
  175. package/dist/assets/{TreasuryStatementsPage-BONCF7O1-Woy-dxsL.js → TreasuryStatementsPage-Ts6D6F-l-CQAmEMl1.js} +5 -5
  176. package/dist/assets/{TreasuryTaxLetterPage-NCZ0Y4yr-xzYydVxV.js → TreasuryTaxLetterPage-CM93_rS4-CfzYhIka.js} +5 -5
  177. package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-DHGOUHuT.js +506 -0
  178. package/dist/assets/{TrendChart-DQXhBbqy-lVikR6m-.js → TrendChart-BXjPAYgk-DjYRl65V.js} +5 -5
  179. package/dist/assets/{TrendWithTransactions-Du-a-c_9-D0k8nTAC.js → TrendWithTransactions-BlGX9aVa-DUrKUprM.js} +8 -8
  180. package/dist/assets/{UncategorizedAccountsMappingPage-mSPC4LpU-Bq53-vV1.js → UncategorizedAccountsMappingPage--PnxDLIj-DgyLI8TV.js} +12 -12
  181. package/dist/assets/{UnitIntegrationPage-B5O9G4QH-yrWt_3qv.js → UnitIntegrationPage-D5mzaVVL-B87wl-C8.js} +4 -4
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-CnjzAGYo-D_ZhLUZy.js → UploadAdditionalDocumentOverlay-BXS2l5kF-4XXbIdgY.js} +1 -1
  183. package/dist/assets/{Vendor2FAPopup-CYcCB8tr-m6LRb8Yr.js → Vendor2FAPopup-jXN-6kcB-WQjywdob.js} +1 -1
  184. package/dist/assets/{VendorACHDetailsPage-C6EuQBcH-CBj3o4fH.js → VendorACHDetailsPage-CHfX_7tk-CseZDy3t.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-CnSXWVCg-5ItKK9hK.js → VendorDetailPage-CZuQaTCe-00z-DC1U.js} +13 -13
  186. package/dist/assets/{VendorDomesticWireDetailsPage-CVTkzHFB-BtQZkYtT.js → VendorDomesticWireDetailsPage-dBmyAkGL-BzziQHyn.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-TJb9mpk0-Cas0dzf5.js → VendorFiling1099EditablePage-C6KWbHaM-FdVjec5X.js} +7 -7
  188. package/dist/assets/{VendorFirstReviewPage-gBLVMddY-41zXx76R.js → VendorFirstReviewPage-DLaCXLH8-Bp3HVWXV.js} +30 -30
  189. package/dist/assets/{VendorInternationalWireDetailsPage-Bhm7j6HC-B5gepNJS.js → VendorInternationalWireDetailsPage-DgCH9Rad-DD-YZWBN.js} +10 -10
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MgN7VFET-OsBZ-jKy.js → VendorInternationalWireSwiftDetailsPage-CprymE3v-BXc-3kQm.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-Cn-8Yemv-2EiEgDAM.js → VendorsAccountsSection-CpkfwFDJ-DeHCyl4j.js} +15 -15
  192. package/dist/assets/VerifyDevice-CSIkEBig-DzQ9uYAN.js +67 -0
  193. package/dist/assets/{WarningsDrawerPage-Cc_Rty0A-Bxm78d1e.js → WarningsDrawerPage-DeqbJ2Le-CygSrVz8.js} +12 -12
  194. package/dist/assets/{ZeniAccountDetailPage-BU2TTiDP-DntPjYyg.js → ZeniAccountDetailPage-kwKoeRAb-yy2D4Oyh.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-DbcnkYvX-rxgnFm8v.js → ZeniAccountListViewPage-15LxhIiI-3EkZXZhB.js} +19 -19
  196. package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-D_BEJJwy.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-D-5ArrRO-DxJXUZdx.js → ZeniAccountPromoPage-DvlAb5YA-BxPQZ-TN.js} +33 -33
  198. package/dist/assets/{ZeniAccountSetupPage-DXYR0Ipo-B0J0wJvQ.js → ZeniAccountSetupPage-BjpvTfF5-DJqm4qSs.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-DPd1ifIT-DNR_P6Qj.js → ZeniCopyright-BYJFIZ_X-DJl-W8Ni.js} +1 -1
  200. package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-CHnHwXGw.js +63 -0
  201. package/dist/assets/{analyticsHelper-DrNmU0vn-RfFhCbWD.js → analyticsHelper-BRyA7WLX-Ch8yhvbw.js} +1 -1
  202. package/dist/assets/{analyticsHelper-LynOmXwT.js → analyticsHelper-DEjyvXKA.js} +1 -1
  203. package/dist/assets/{chartTypes-YTQv3tre-qplKaXfA.js → chartTypes-CWEoqL4g-Bo1GQ9Y0.js} +1 -1
  204. package/dist/assets/{commonDimensions-BtmBVXgZ-BqS_uHfS.js → commonDimensions-UvndzJjv-DkCvzihA.js} +1 -1
  205. package/dist/assets/{detailCommon-hHyz3hj3-B-18TbC2.js → detailCommon-C3ymS8dg-BusgYXoD.js} +2 -2
  206. package/dist/assets/{downloadPdf-CDvgLzWC-CFICoubl.js → downloadPdf-CHwWcCR1-BQYdnkG1.js} +1 -1
  207. package/dist/assets/{index-BP54u7bE.js → index-DYVNUtTS.js} +4129 -3984
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-BfoqmoAq-RPIy6iu_.js → mapLoadingInProgressToTreeNode-BV9ky97n-C6-bn_qJ.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-CPCcXgC9.js → mapSectionWithAcOnlyToTreeNode-WivyN4Y7-DeEMrm9i.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-D8o529OP-DP0HQuYK.js → mapSpacerToTreeNode-AXNRptLX-B0rl0_Lw.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BirMnIzY-J7LlhZYj.js → mapTimeframeBalancesToTreeNode-DUac2vK4-jK2oIVF4.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-NA69l84M-C2q_xZ5l.js → mapTimeframeBalancesToTreeNode-JTl35sFx-B-SNtaen.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-h4qQS3pU.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-Dl0F4JWH.js} +1 -1
  214. package/dist/assets/{play-icon-DyIc5aGx-DYJXRLAT.js → play-icon-HSIOzxQm-DtUz8FwI.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-2jQJLb8S-pfoeU7Ox.js → toCOABalancesWithID-CkjYSysY-DF7YtxZI.js} +1 -1
  216. package/dist/assets/{toChartData-Dsjd8dGe-DHACvX24.js → toChartData-BhKlnyso-CKLUlraQ.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-EG8VpBia-BgT0ZOn3.js → treasuryColorHelper-yIAXBrrM-D_iAl7kS.js} +1 -1
  218. package/dist/assets/{uploadAttachment-CVUM4FN--C6O7_W28.js → uploadAttachment-CWaYLqwb-DAXv_gFj.js} +32 -32
  219. package/dist/assets/{uploadReceipts-D80JLNY4-BMq6fzqz.js → uploadReceipts-C6Ld_WLK-CscO-OGr.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ACHDetailsPage-BQBpkHfF-BJV02vLX.js +0 -21
  223. package/dist/assets/BankAccountWarningSection-CWXa-X6f-CSqGyUZG.js +0 -51
  224. package/dist/assets/BusinessVerificationPage-BoSLJbyU-f7l6iMFH.js +0 -140
  225. package/dist/assets/ChargeCardPromoPage-dIg8OIlx-Ddw_9zEm.js +0 -219
  226. package/dist/assets/CheckDepositDrawerPage-uABg3PMN-DvmvYwzA.js +0 -206
  227. package/dist/assets/CompanyOfficerDetailsSection-BzYsDrr2-CLxqo3zC.js +0 -232
  228. package/dist/assets/CompleteProfile-CN_hAW-2-jVc6moRl.js +0 -36
  229. package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-BFEUbXJj.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-Db90ITIq-CYwbJ4ON.js +0 -66
  231. package/dist/assets/DocumentSecurityBanner-Bxg3ctYZ-CgQ3FYOu.js +0 -29
  232. package/dist/assets/EditPeoplePage-CBPmCcoG-tI7XznTq.js +0 -55
  233. package/dist/assets/FeaturePreviewPage-BBkfKvIu-C1W_sdo_.js +0 -11
  234. package/dist/assets/InsightsCardStack-rByhzgji-Dc1ZnT3c.js +0 -79
  235. package/dist/assets/InsightsSection-jnWJ877y-CHYibtt_.js +0 -27
  236. package/dist/assets/InvitePeoplePage-DvGON1va-CxkOilw7.js +0 -12
  237. package/dist/assets/LabeledDocumentField-TFmz23mS-Dg7dpofQ.js +0 -41
  238. package/dist/assets/MagicLinkSuccessPage-dxBSlbub-EYHDnj3E.js +0 -31
  239. package/dist/assets/MailingDetailsSection-CsK09X11-DWOFuFpA.js +0 -21
  240. package/dist/assets/NavBarWithPicker-CuJe05iJ-CtehKlX0.js +0 -30
  241. package/dist/assets/NavigationDots-BQfoX9p0-CtOBXvA3.js +0 -14
  242. package/dist/assets/QBOSetupSection-Dijb03ZX-Dtu5gcm7.js +0 -79
  243. package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-CHus277R.js +0 -26
  244. package/dist/assets/RoleWithToolTip-Bst2IdUy-HslXk23_.js +0 -22
  245. package/dist/assets/TimeframeSwitcherWithToggle-4h9WX4z9-D-Rtx-Rf.js +0 -31
  246. package/dist/assets/TransferDrawerPage-cUyg27nq-BPk1VE3B.js +0 -362
  247. package/dist/assets/TreasurySetupPage-BoVhd65r-CXuNgzdi.js +0 -152
  248. package/dist/assets/TreasuryTransferOrReviewPage-DAmZboLO-COiTPnD3.js +0 -506
  249. package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-B_tojQsK.js +0 -14
  250. package/dist/assets/ZeniTransferAmountSlider-di46G5TN-Crpvkv3z.js +0 -63
@@ -1,4 +1,4 @@
1
- import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,f as P,fH as F,g as l,Q as M,a$ as Q}from"./index-BP54u7bE.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const U={infoLabel:new M("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(q,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(A,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:P.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(B,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(H,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const q=i.div`
1
+ import{X as R,u as T,ck as p,cs as V,j as r,o,ct as P,bm as J,v as O,fK as A,d as l,J as B,b0 as F}from"./index-DYVNUtTS.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const K={infoLabel:new B("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(M,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(Y,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...b},children:r.jsx(P,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(J,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:O.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(U,{children:[r.jsx(A,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(q,{children:r.jsx(X,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const M=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -33,7 +33,7 @@ import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,f as P,fH as F,g a
33
33
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
34
34
  }
35
35
  }
36
- `,B=i.div`
36
+ `,U=i.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-end;
@@ -41,19 +41,19 @@ import{X as R,u as T,cg as h,co as V,j as r,o,cp as A,bl as O,f as P,fH as F,g a
41
41
  `,g=i.label`
42
42
  display: flex;
43
43
  color: ${e=>e.isError?l.important:e.theme.colors.grey1};
44
- ${e=>`${U.infoLabel.style(e.size)}`};
44
+ ${e=>`${K.infoLabel.style(e.size)}`};
45
45
  padding-right: ${o.sp3};
46
46
  text-align: right;
47
- `,H=i.div`
47
+ `,q=i.div`
48
48
  display: flex;
49
49
  margin-right: ${o.sp1};
50
50
  align-items: center;
51
- `,J=i(Q)`
51
+ `,X=i(F)`
52
52
  width: ${o.sp3};
53
53
  height: ${o.sp3};
54
54
  color: ${l.successDark};
55
- `,K=i.div`
55
+ `,Y=i.div`
56
56
  display: flex;
57
57
  width: 100%;
58
58
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
- `,X=i.div``;export{N as Y};
59
+ `,G=i.div``;export{Q as Y};
@@ -1,4 +1,4 @@
1
- import{X as b,j as r,_ as s,cm as m,C as l,q as t,o as a,e as u,Q as x}from"./index-BP54u7bE.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:g,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:h}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
1
+ import{X as b,j as r,$ as s,cq as m,C as l,s as t,o as a,m as u,J as x}from"./index-DYVNUtTS.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:g,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:h}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u as xe,fr as be,M as E,Q as we,b2 as H,fs as Z,bP as _,ft as X,a$ as q,g as R,f as G,e as Y,fu as $e,m as ye,v as ve}from"./index-BP54u7bE.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-Bst2IdUy-HslXk23_.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{X as M,j as l,$ as Z,cq as me,o as s,C,s as m,ck as K,ct as ge,cs as xe,u as fe,fu as be,B as E,J as we,b3 as H,fv as Q,bT as _,fw as J,b0 as X,d as R,v as q,m as Y,fx as $e,M as ye,w as ve}from"./index-DYVNUtTS.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -39,23 +39,23 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
39
39
  width: ${s.sp5};
40
40
  border-radius: 50%;
41
41
  justify-content: center;
42
- `,Pe=r.img`
42
+ `,Te=r.img`
43
43
  height: ${s.sp4};
44
44
  width: ${s.sp4};
45
45
  border-radius: 50%;
46
46
  justify-content: center;
47
47
  color: ${e=>e.theme.colors.hero};
48
- `,U=r.div`
48
+ `,N=r.div`
49
49
  display: flex;
50
50
  flex-direction: row;
51
51
  cursor: pointer;
52
52
  align-items: center;
53
53
  gap: ${s.sp2};
54
54
  height: 100%;
55
- `,Te=r(U)`
55
+ `,ke=r(N)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
- `,ke=r.div`
58
+ `,Pe=r.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  height: ${s.sp6};
@@ -89,14 +89,14 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
89
89
  box-sizing: border-box;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- `,Re=r(U)`
92
+ `,Re=r(N)`
93
93
  align-items: center;
94
94
  gap: ${s.sp2};
95
95
  `,F=r.div`
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,Q=r.div``,Me=r.div`
99
+ `,B=r.div``,Ue=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -133,7 +133,7 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${G.standardRegular.css};
136
+ ${q.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${G.standardRegular.css};
148
+ ${q.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -164,15 +164,15 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
164
164
  }
165
165
  }
166
166
  }
167
- `,Ne=r.div`
167
+ `,Me=r.div`
168
168
  width: ${e=>e.windowSize==="small"?"max-content":"100%"};
169
169
  display: flex;
170
170
  flex-direction: column;
171
- `,Ue=r(Z)`
171
+ `,Ne=r(Q)`
172
172
  width: ${s.sp5};
173
173
  height: ${s.sp5};
174
174
  color: ${e=>e.theme.colors.hero};
175
- `,B=r($e)`
175
+ `,G=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,21 +180,21 @@ import{X as N,j as l,_ as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as fe,u
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),z=fe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],x=b(o.value);return l.jsxs(Te,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Pe,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:x,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!L?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),x=e[p],y=b(i.value);return l.jsxs(Ie,{style:P,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:x?.user?.photo!=null?l.jsx(Ae,{src:x?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:x?.user?.firstName??"",lastName:x?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:x}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ne,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=xe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:T,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:P,additionalLabelInfo:I,isOptionDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=K(),V=N();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:n,render:({field:{value:z,onChange:c}})=>l.jsxs(Xe,{width:w?.width,"data-testid":J("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:P,isOptionDisabled:T,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:V}}=K(),z=xe(V,j??""),c=M(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ne,{}),l.jsx(B,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(X,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(N,{children:[S||D?l.jsx(Q,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(ke,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!L?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(J,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(G,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(X,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(G,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ue,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Me,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:k,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),V=M();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:n,render:({field:{value:z,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":Z("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:k,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(Xe,{size:V,children:I})]})})},Je=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
187
- `,qe=r.label`
187
+ `,Xe=r.label`
188
188
  color: ${e=>e.theme.colors.hero};
189
189
  ${e=>`${He.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,M={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const f=N();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(f),marginRight:M.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
192
+ `,U={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=M();return l.jsxs(qe,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":Z("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:U.labelMarginLeft.value(x),marginRight:U.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const qe=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
196
196
  background-color: ${e=>e.theme.colors.grey5};
197
- width: ${e=>M.width.valuePx(e.size)};
197
+ width: ${e=>U.width.valuePx(e.size)};
198
198
  min-height: ${s.sp6};
199
199
  padding-right: ${s.sp2};
200
200
  padding-top: ${s.sp2};
@@ -1,4 +1,4 @@
1
- import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as X,f as V,b1 as ie,l as I,M as te,fo as se,fv as ae,S as ne,ah as de,g as D,b2 as B,ap as ce,a$ as pe,b$ as ue,fw as F,bH as Q,K as he,v as Y,e as me,m as ge,fg as be,f2 as fe,aR as xe,fh as ye,aB as ve,fx as we}from"./index-BP54u7bE.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-Bst2IdUy-HslXk23_.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
1
+ import{X as M,j as l,$ as A,cq as q,C as g,o,s as n,ck as _,ct as G,cs as Q,u as X,v as V,b2 as ie,l as I,B as te,fr as se,fy as ae,V as ne,ah as de,d as z,b3 as B,ap as ce,b0 as pe,c3 as ue,fz as F,bL as K,i as he,w as Y,m as me,M as ge,fj as be,f5 as fe,aS as xe,fk as ye,aC as we,fA as ve}from"./index-DYVNUtTS.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -31,11 +31,11 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
- `,De=d.div`
34
+ `,ze=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  width: 100%;
38
- `,Pe=d.div`
38
+ `,De=d.div`
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  padding-left: ${o.sp4};
@@ -46,21 +46,21 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
46
46
  transition:
47
47
  visibility 250ms ease-in-out,
48
48
  max-height 250ms ease-in-out;
49
- `,ze=d.div`
49
+ `,Pe=d.div`
50
50
  display: flex;
51
51
  flex-direction: row;
52
52
  margin-bottom: ${o.sp3};
53
53
  justify-content: space-between;
54
- `,Oe=d(Q)`
54
+ `,Te=d(K)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
57
  `,Z=d(Y)`
58
58
  display: flex;
59
59
  color: ${e=>e.theme.colors.hero};
60
- `,Te=d.div`
60
+ `,Oe=d.div`
61
61
  display: flex;
62
62
  .roleTitle {
63
- color: ${e=>e.isError?D.important:e.theme.colors.hero};
63
+ color: ${e=>e.isError?z.important:e.theme.colors.hero};
64
64
  }
65
65
  .roleSubTitle {
66
66
  color: ${e=>e.theme.colors.hero};
@@ -87,7 +87,7 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
87
87
  `,Be=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Me=d(Q)`
90
+ `,Me=d(K)`
91
91
  display: flex;
92
92
  `,Le=d(Y)`
93
93
  display: flex;
@@ -105,11 +105,11 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Ue=d(we)`
108
+ `,Ne=d(ve)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ne=d(ve)`
112
+ `,Ue=d(we)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
@@ -134,8 +134,8 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
134
134
  flex-direction: column;
135
135
  margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
136
  margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
- color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
138
- `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Ke=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),w=ne(i.productsByUserRole[t]),R=w.findIndex(z=>z.productType===C),L=w[R].selectedOption?.value===h;R>-1&&(w[R]={...w[R],selectedOption:L?void 0:w[R].options.filter(z=>z.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...w]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Te,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Xe=d.div`
137
+ color: ${e=>e.theme.mode==="light"?z.brandColorOnyx:z.brandColorPearl};
138
+ `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ne,{});case"zeni_bill_pay":return l.jsx(Ue,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},qe=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const N={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(N)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Oe,{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(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=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(Qe,{...i,isDisabled:e})]})}const Xe=d.div`
139
139
  display: flex;
140
140
  flex-direction: ${e=>e.isDisabled?"row":"column"};
141
141
  align-items: ${e=>e.isDisabled?"center":"flex-start"};
@@ -169,7 +169,7 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Qe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=_(),h=q(P,b??"");k.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=M(),w=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=w.findIndex(m=>m.value==="admin");w.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=w.findIndex(m=>m.value==="bookkeeping_admin");w.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:T,data:O})=>{const v=I.isNonZeniRole(O.value)&&s===!0,N=J(m,v,O.value,t);return{...r,height:v?44:40,padding:v?o.sp0:`${o.sp2} 12px`,marginTop:v?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:m&&!v?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:v||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,v,O.value,t),backgroundColor:m&&!v?t.colors.background:v?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:v||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:v?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(T=>{m.push(T.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:T,isDisabled:O,selectProps:v}=r,{value:N}=v;return l.jsx(co,{menuIsOpen:m,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:w,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
172
+ `;function Ke({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:D}}=_(),h=Q(D,b??"");k.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(m=>m.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(m=>m.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,N=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...N,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:O,data:T})=>{const w=I.isNonZeniRole(T.value)&&s===!0,U=J(m,w,T.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:U,cursor:O?"not-allowed":"pointer",backgroundColor:m&&!w?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:w||T.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,T.value,t),backgroundColor:m&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(O=>{m.push(O.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:O,isDisabled:T,selectProps:w}=r,{value:U}=w;return l.jsx(co,{menuIsOpen:m,isFocused:O,isDisabled:T,selectedValue:U,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?z.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -189,7 +189,7 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
189
189
  .select-control {
190
190
  border: none;
191
191
  height: ${e=>e.windowSize==="small"?"auto":o.sp6};
192
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?D.importantLight:e.theme.colors.grey5};
192
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?z.importantLight:e.theme.colors.grey5};
193
193
  box-shadow: none;
194
194
  &:hover {
195
195
  fill: ${e=>e.theme.colors.primary};
@@ -247,18 +247,18 @@ import{X as M,j as l,_ as A,cm as K,C as g,o,q as n,cg as _,cp as G,co as q,u as
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
250
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.important:e.theme.colors.grey1};
251
251
  }
252
252
  }
253
253
  }
254
254
  .placeholder-container {
255
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
255
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.important:e.theme.colors.grey1};
256
256
  }
257
257
  > div:nth-last-of-type(2) .seperator {
258
258
  visibility: hidden;
259
259
  }
260
260
  }
261
- `,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Qe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
261
+ `,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ke,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(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(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j as n,F as ge,fy as xe,a4 as fe,o as t,C as m,k as be,a3 as je,c6 as B,i4 as ye,g as Ce,f as A,aA as we,q as r}from"./index-BP54u7bE.js";import{b as V,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CkWEdpTW-D5C8nT3c.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-CCQn4-_S-CzvDrRjj.js";import"./TrendWithTransactions-Du-a-c_9-D0k8nTAC.js";import"./TrendChart-DQXhBbqy-lVikR6m-.js";import"./chartTypes-YTQv3tre-qplKaXfA.js";import"./toCOABalancesWithID-2jQJLb8S-pfoeU7Ox.js";import"./toChartData-Dsjd8dGe-DHACvX24.js";import"./NoDataChart-C9yfE8vY-4P6j_Myy.js";import"./InsightsSection-jnWJ877y-CHYibtt_.js";import"./NavigationDots-BQfoX9p0-CtOBXvA3.js";import"./TransactionList-8rOZr8BD-z7em6_Iq.js";import"./BoxItem-Bcy7IYuZ-CuoCQ3AF.js";import"./commonDimensions-BtmBVXgZ-BqS_uHfS.js";import"./uploadAttachment-CVUM4FN--C6O7_W28.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const O={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{X as W,a2 as ue,l as C,a as pe,c7 as me,i7 as P,hU as L,B as Q,c8 as he,j as a,F as ge,fB as xe,a4 as fe,o as t,C as m,k as be,a3 as je,ca as R,i8 as ye,d as Ce,v as I,aB as we,s as r}from"./index-DYVNUtTS.js";import{b as V,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-TJf3D0K6-ChXVy1nH.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js";import"./TrendWithTransactions-BlGX9aVa-DUrKUprM.js";import"./TrendChart-BXjPAYgk-DjYRl65V.js";import"./chartTypes-CWEoqL4g-Bo1GQ9Y0.js";import"./toCOABalancesWithID-CkjYSysY-DF7YtxZI.js";import"./toChartData-BhKlnyso-CKLUlraQ.js";import"./NoDataChart-D43mhDJW-B9CXfEvp.js";import"./InsightsSection-CYkuQHcj-B18a-FIC.js";import"./NavigationDots-1wpj484Z-By9SVfKB.js";import"./TransactionList-fn6VXYIJ-XKKmCfLI.js";import"./BoxItem-nvtPdCwS-CiJFmSMj.js";import"./commonDimensions-UvndzJjv-DkCvzihA.js";import"./uploadAttachment-CWaYLqwb-DAXv_gFj.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const O={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
12
12
  `,De=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${A.largeMedium.css};
15
+ ${I.largeMedium.css};
16
16
  `,ke=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return n.jsxs($e,{children:[n.jsx(De,{windowSize:g,children:S.header}),n.jsxs(ve,{children:[n.jsx(B,{label:{label:o.jePostingDate,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(ke,{}),n.jsx(B,{label:{label:o.jeLink,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",G="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:I,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=H(),T=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(I.controllers),v=C.getFirstControllerId(I.controllerUserIds),N=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};V.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),V.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:z}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&F&&k,E=R&&k;return n.jsxs(Le,{children:[n.jsxs(Ie,{windowSize:p,children:[n.jsx(Fe,{windowSize:p,children:f.linkJE}),n.jsx(Ne,{children:n.jsx(ze,{onClick:N})})]}),n.jsxs(Ae,{children:[n.jsx(Ue,{windowSize:p,children:n.jsx(ge,{...x,children:n.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:n.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),F?n.jsxs(Be,{windowSize:p,children:[n.jsx(Ve,{})," ",f.zeniRecommendation]}):null,D?n.jsx(Te,{children:n.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:z,transactionAttachmentsEndpointToFetch:z,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Re,{children:[re?n.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?n.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?n.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?n.jsx(fe,{formId:y?q(M):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=W();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:O.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",G="linkJETransaction",X=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=W(),T=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(A.controllers),v=C.getFirstControllerId(A.controllerUserIds),B=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};V.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),V.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",F=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&F&&k||D&&z&&k,E=F&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Be,{children:a.jsx(Ne,{onClick:B})})]}),a.jsxs(Ie,{children:[a.jsx(Ue,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Ve,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Te,{children:a.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Fe,{children:[re?a.jsx(H,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(H,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(M):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:B}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -28,10 +28,10 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
28
28
  justify-content: flex-start;
29
29
  background-color: ${e=>e.theme.colors.grey4};
30
30
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
31
- `,Ae=i.div`
31
+ `,Ie=i.div`
32
32
  padding: ${t.sp0} ${t.sp8};
33
33
  flex-grow: 1;
34
- `,Ie=i.div`
34
+ `,Ae=i.div`
35
35
  display: flex;
36
36
  align-items: center;
37
37
  top: ${t.sp0};
@@ -48,12 +48,12 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Ne=i.div`
51
+ `,Be=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
55
55
  padding: ${t.sp3} ${t.sp0};
56
- `,ze=i(je)`
56
+ `,Ne=i(je)`
57
57
  cursor: pointer;
58
58
  color: ${e=>e.theme.colors.hero};
59
59
  width: ${t.sp4};
@@ -61,14 +61,14 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Fe=i(be)`
64
+ `,ze=i(be)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
68
68
  color: ${e=>e.theme.colors.primary};
69
69
  margin: auto;
70
70
  justify-content: center;
71
- `,Q=i.div`
71
+ `,H=i.div`
72
72
  height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
@@ -78,11 +78,11 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${A.standardRegular.css};
82
- `,Re=i.div`
81
+ ${I.standardRegular.css};
82
+ `,Fe=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
- `,Be=i.div`
85
+ `,Re=i.div`
86
86
  display: flex;
87
87
  align-items: center;
88
88
  gap: ${t.sp1};
@@ -91,7 +91,7 @@ import{X as H,a2 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${A.standardRegular.css};
94
+ ${I.standardRegular.css};
95
95
  `,Ve=i(we)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as e,bR as E,q as u,ap as U,a7 as N,eW as Y}from"./index-BP54u7bE.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{B,X as T,a as z,l as s,j as a,F as A,bS as F,cd as R,C as m,cg as W,o as e,bV as E,s as u,ap as U,a7 as N,bq as V}from"./index-DYVNUtTS.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},Y=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -6,13 +6,13 @@ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as
6
6
  box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
7
7
  border-radius: ${e.sp2};
8
8
  margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
9
- `,G=r.div`
9
+ `,q=r.div`
10
10
  display: flex;
11
11
  flex: 1;
12
12
  background-color: ${t=>t.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function X({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=M.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:C,markAsPaid:v,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:P}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(W,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(S,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(V,{windowSize:l,children:[a.jsx(z,{label:{label:C,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(G,{}),a.jsx(A,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:B,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const _=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=M.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(J,{children:a.jsxs(Z,{children:[a.jsx(F,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(F,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(S,{titleComponent:a.jsx(q,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},J=r.div`
15
+ `;function X({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=B.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:C,markAsPaid:v,defaultDateInfo:M,paymentModeOptions:$,selectDate:j,selectMethod:P}=g,l=T(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=z({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(A,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(F,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(Y,{windowSize:l,children:[a.jsx(R,{label:{label:C,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:M,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:j,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=B.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(G,{children:a.jsxs(J,{children:[a.jsx(S,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(S,{children:i?.format(f.visual.MMMDFormat)}),n.insufficientFunds.popUp.avoidFailure]})});return a.jsx(F,{titleComponent:a.jsx(Z,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},G=r.div`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: center;
@@ -21,14 +21,14 @@ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as
21
21
  padding-right: ${e.sp7};
22
22
  margin-top: ${e.sp3};
23
23
  white-space: pre-line;
24
- `,Z=r(U)`
24
+ `,J=r(U)`
25
25
  color: ${t=>t.theme.colors.hero};
26
- `,F=r(N)`
26
+ `,S=r(N)`
27
27
  color: ${t=>t.theme.colors.primary};
28
- `,q=r(Y)`
28
+ `,Z=r(V)`
29
29
  margin-top: ${e.sp6};
30
30
  padding-left: ${e.sp8};
31
31
  padding-right: ${e.sp8};
32
32
  color: ${t=>t.theme.colors.primary};
33
33
  word-break: break-word;
34
- `;export{_ as o,X as t};
34
+ `;export{Q as o,X as t};
@@ -1 +1 @@
1
- import{j as l}from"./index-BP54u7bE.js";import{f as y}from"./ACHDetailsPage-BQBpkHfF-BJV02vLX.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-CWXa-X6f-CSqGyUZG.js";import"./MagicLinkTitleSection-d1edBt3w-BVfkhuQ-.js";import"./BankAccountSection-C8G4yj75-B_w1M8Cy.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-DYVNUtTS.js";import{f as y}from"./ACHDetailsPage-DVi_fb5U-BWoXmLUY.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection--b6oxmO3-bf21H1-K.js";import"./MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js";import"./BankAccountSection-CYYTnOEW-ta40gqBk.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-BP54u7bE.js";import{y as b}from"./DomesticWireDetailsPage-DGcVKriv-CQ6tNZZ5.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-C8G4yj75-B_w1M8Cy.js";import"./MagicLinkTitleSection-d1edBt3w-BVfkhuQ-.js";import"./BankAccountWarningSection-CWXa-X6f-CSqGyUZG.js";import"./MailingDetailsSection-CsK09X11-DWOFuFpA.js";import"./LabeledAddressValueField-XuFlx-oK-YJyhDZDY.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-DYVNUtTS.js";import{y as b}from"./DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-CYYTnOEW-ta40gqBk.js";import"./MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js";import"./BankAccountWarningSection--b6oxmO3-bf21H1-K.js";import"./MailingDetailsSection--zHyCquq-Cn3SWfKt.js";import"./LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-BP54u7bE.js";import{f as S}from"./InternationalWireSwiftDetailsPage-BFMqW1oQ-cIs7ycQ9.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-CWXa-X6f-CSqGyUZG.js";import"./MailingDetailsSection-CsK09X11-DWOFuFpA.js";import"./LabeledAddressValueField-XuFlx-oK-YJyhDZDY.js";import"./MagicLinkTitleSection-d1edBt3w-BVfkhuQ-.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-DYVNUtTS.js";import{f as S}from"./InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection--b6oxmO3-bf21H1-K.js";import"./MailingDetailsSection--zHyCquq-Cn3SWfKt.js";import"./LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js";import"./MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -0,0 +1,31 @@
1
+ import{ac as r,B as n,j as t,ak as l,o,c,c4 as a,k as p}from"./index-DYVNUtTS.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const M=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
+ z-index: 999;
3
+ height: 100vh;
4
+ width: 100%;
5
+ background-color: ${e=>e.theme.colors.background};
6
+ position: relative;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ `,d=i.div`
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ justify-content: center;
15
+ opacity: 80%;
16
+ margin: 0 ${o.sp4};
17
+ `,g=i(a)`
18
+ color: ${e=>e.theme.colors.primary};
19
+ text-align: center;
20
+ `,h=i(p)`
21
+ color: ${e=>e.theme.colors.hero};
22
+ text-align: center;
23
+ `,u=i.div`
24
+ position: absolute;
25
+ top: ${o.sp5};
26
+ left: ${o.sp5};
27
+ background-color: ${e=>e.theme.colors.background};
28
+ `,x=i(c)`
29
+ color: ${e=>e.theme.colors.primary};
30
+ height: ${o.sp4};
31
+ `;export{M as default};