@zeniai/web-cockpit-ui 1.13.97-prod → 1.13.98-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 (248) hide show
  1. package/dist/assets/{ACHDetailsPage-Cwc2nmvY-Yb3TlvKZ.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CK4ZdUEb-Cw0WnkfY.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +21 -21
  3. package/dist/assets/{AccountInfoPage-LiZYkJMA-yHSK7Rnh.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-CCVpHHOa.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +17 -17
  6. package/dist/assets/{AccountRow--5DnpNqk-BQr3z4DI.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +23 -23
  7. package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-BSmZm-Zn.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-CyM0vwpI.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-7sC3Q2Pb-Cpm0UfHl.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +19 -19
  10. package/dist/assets/{AgingReportsPage-PrvYryW8-I7-sb1Ih.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +6 -6
  11. package/dist/assets/{AllUserItems-DlTukPhY-C2edQD_z.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-BVciGQma-DJWsvipb.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
  13. package/dist/assets/{AppBasePage-uJGLWCbr-CYWyINGb.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-SD57OqHe-nBHsW7E9.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +7 -7
  15. package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +47 -0
  16. package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-CoFL0N3--DCm6OrE4.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
  18. package/dist/assets/{AttachmentView-C3xQE0te-n3iWUkqT.js → AttachmentView-wIV1i6gf-__2UovKF.js} +5 -5
  19. package/dist/assets/{BankAccountSection-Bi3uoDPa-Nc2grfOO.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-D-bpYaBu.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-CDocL8j_.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +33 -33
  22. package/dist/assets/{BillDetailPage-BoxJCC9n-BWeG9Hik.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +11 -11
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-BErwhK5C.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CRXar6D8.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage--BGTNJhm-DMPJae3j.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
  26. package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-DgbRhg-m-BQXo-PFB.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-CrVXvVTH.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
  29. package/dist/assets/{BoxItem-BHtgE0KL-CQh3YeAW.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CpfsllRZ-DZ4wSxlf.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +14 -14
  31. package/dist/assets/{CardNumberSubText-BHe1nqr7-Dw94kPrk.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-C9RhIR0R-d9koKX6M.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +24 -24
  33. package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-C2nnAxo5-FqHclXlq.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +18 -18
  36. package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +219 -0
  37. package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-DBBQtECo.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +3 -3
  39. package/dist/assets/{ChargeCardUtils-BxyMuU6--CGk-PpFv.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CRiYxWuZ-sWGKU7hV.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-Bs8VUuYh.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +2932 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-DdoiVC4M.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +35 -35
  44. package/dist/assets/{CompanyPassportCard-PXdmJC_B-C7N0q60V.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-MxIwsh3W-D5tCZGyF.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +37 -37
  46. package/dist/assets/{CompleteProfile-Bd9xEPVl-Bur2yC4e.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
  47. package/dist/assets/{ConfettiBurst-CMpZ2feY-B5XfbLvf.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bi7M3NeT.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-D9NRI7sf.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-buXhPCBw.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-B3AvTbkp-CHV4_MaB.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-xoDiasdm.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-CLmmsiWl.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-R3sD-qJw.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-BJjoIZ4H.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-D9abTy3K.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
  58. package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +1254 -0
  59. package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +370 -0
  60. package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-COTpxjXV.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-Dil7L-H3.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +7 -7
  62. package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-D3092p-g.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-CvdkcKGu.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-D1kGkMFo-CFSdk_Qd.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +12 -12
  65. package/dist/assets/{DrawerPage-CQkJW5hg-9b3zFuwk.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-m2qls8hv-Di3CS432.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +17 -17
  67. package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-CK3QXm0O.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +72 -72
  68. package/dist/assets/{EntityDetailPage-CcJJwGo7-uoqYszcb.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-JxKHehL1-BXmouJnf.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +13 -13
  70. package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-DqMsPFLZ.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationPage-B0f86olm-CQRdBFLI.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +74 -74
  72. package/dist/assets/{ExpressPayPage-B-at6uDS-Dtq_3eKZ.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-gSb_rct_-Cez0USO5.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-eedORgku-CZFixVjB.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-BfPwveCc-Be7k0L3l.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +10 -10
  76. package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +28 -0
  77. package/dist/assets/{InformationCardStack-DPaZz4XW-Ou8UbOck.js → InformationCardStack-BALkGk48-BWmXScs3.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-sKUFRR0H-C5AsA-_0.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +10 -10
  79. package/dist/assets/{InsightsSection-Corx5iDh-dTSwI2kJ.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-Chu6LuMb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-CscnxDNt.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +14 -14
  82. package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-BjBnngF4.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +18 -18
  83. package/dist/assets/{InviteFormPage-BRb4jyp_-CmdYR0dv.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +19 -19
  84. package/dist/assets/{InvitePageListView-Bb_Q_xqJ-NilyMKAO.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +49 -49
  85. package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CgEhMUSB.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-BIFpAcrl-Bu31m03I.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-D2vDF5sP-4KAQPk_1.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BMdJsw3x-yhvcn5pE.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-BUwVc2dn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-CLUSQpF_.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +8 -8
  92. package/dist/assets/{LabeledDocumentField-Cdd8oj5z-KMtJCE5K.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-D5DtNkbM.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
  94. package/dist/assets/{LabeledText-CqZ-udSP-Cp_rhVhc.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-VJ76Kxzi.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +5 -5
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-DvOwsX2r.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +22 -22
  97. package/dist/assets/{LinkJETransactionPage-C5V1HfGb-D06-uv9I.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-BLfeh0xm-DhP5gG4H.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-86DaWsop.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-CVm_wN9K.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-DPVwqhye.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-BtgwLSxA.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-CJhcwaGu-CmX5rK11.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cz9lxz_J.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +3 -3
  106. package/dist/assets/{Menu-D-Gk-Xfo-BdR2WSLk.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-hdH4Wtg6.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +18 -18
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-Dvtp1o1A.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BwWW-nAl.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-CXyMHDUO-Bs94YYmI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +4 -4
  111. package/dist/assets/{NavigationArrow-Bv-PvnhZ-vMsiaM3Z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +10 -7
  112. package/dist/assets/{NavigationDots-DJkiFidH-CvAq_Xy1.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-GJEZOLOL.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +8 -8
  114. package/dist/assets/{NoDataChart-Bsj1HEPq-CJfsMw19.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
  115. package/dist/assets/{NoDataTable-6vR2vOMI-B5-4Kmpd.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
  116. package/dist/assets/{NotFoundPage-SRxATfaW-qkQ6HjRZ.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Bko3CBmW-BHyL3Q9x.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +33 -33
  118. package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +1 -0
  119. package/dist/assets/{NotificationsPage-DMfBgh2w-DdakMy7H.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-DOkwCGkr-B0f2S69-.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BTIdWBzf.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-CPKRdyVw.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +11 -11
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-CL6ak5nD.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +8 -8
  124. package/dist/assets/{PeoplePage-PvOhX-gy-Ba-if4o6.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
  126. package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
  127. package/dist/assets/{ProductsCarousel-qzlVuyK5-Br7ptzfB.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-26GOEn3a-DXSGBLy_.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-OI8VK0Zg.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-u1sJhV67-D6SlbwYt.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +13 -13
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-D2eeHzsf.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-CiGGKTdH.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +35 -35
  133. package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-uLcb5a84.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +10 -10
  134. package/dist/assets/{ReimbursementPromoPage-BWsOD49o-DBNhMU2z.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-D49XUJqE.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
  137. package/dist/assets/{ReloadCard-CpauR6-c-DZ_kV9B0.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +150 -0
  139. package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +121 -0
  140. package/dist/assets/{RevenueChart-JdtvK4L6-p_ox0aCR.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-N2PuuAU3.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +15 -15
  142. package/dist/assets/{ReviewOverlay-BLxhto7d-wwPpp1Rv.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-BRSx6yqP-CARA1Fps.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-CmBm9qTm.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CMunoow5-CjQGMvSk.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-BsTcRunu.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +49 -49
  147. package/dist/assets/{ScreenRoutes-BUfnw6rn.js → ScreenRoutes-iE9-v0dJ.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CyyxtFvK-CV60qDRz.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-xlnUNQOd.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +16 -16
  150. package/dist/assets/{SignIn-Gw75P03k-DZzhd4eu.js → SignIn-BC8yop4g-CznicFTu.js} +17 -17
  151. package/dist/assets/{SignInScreen-Dq6qYwZm.js → SignInScreen-k0dvslKE.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BccaMtyd-Df6Rk5hP.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +10 -10
  153. package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-D9wGY7Sp.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +33 -33
  154. package/dist/assets/{SpendManagementSection-CdH1r1Vw-CNPLQDmq.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +8 -8
  155. package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
  156. package/dist/assets/{StatementItem-BW9HKaf9-DHH3_eMn.js → StatementItem-CKTGWEW_-d6SqxmfH.js} +3 -3
  157. package/dist/assets/{StatementsPage-CXawS1th-D3YQNnde.js → StatementsPage-CjR4AlPy-BQRlcz37.js} +6 -6
  158. package/dist/assets/{StatusSwitcher-oC-AP25Z-BIEyDhm7.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-DXWQMf7B-COcvC76z.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
  160. package/dist/assets/{SummaryCard-C3zjN-kT-Cfx6YIVD.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BGDJNpe_-Bv3LANWK.js → TaskManagementPage-Oct77yO--igT2quo0.js} +31 -31
  162. package/dist/assets/{TimeRangeSwitcher-BJfy3akS-DFCAXXsq.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-Cdz5qhRc.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +31 -0
  165. package/dist/assets/{TopExCard-BD9Ehuw_-Btk-YgZT.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-3HoXp_6D-DmBiYGdL.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-CbnGQ8bn-Cg1J4diW.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +26 -26
  168. package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
  169. package/dist/assets/{TransactionListBig-5aenxEn4-CWYWbXxG.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +18 -18
  170. package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-D7Pu6Fa2.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-2P1mhp1M-B7oxuimL.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +11 -11
  173. package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-D3Q7MJ4U.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +34 -34
  174. package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-CGC4zL_g.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +14 -14
  175. package/dist/assets/{TreasurySetupPage-B7va2-fJ-CNDcrt8c.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-2-eidQa0.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +10 -10
  177. package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-D--iiF7F.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-qCMNFj2v.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +77 -77
  179. package/dist/assets/{TrendChart-DRNocU0p-CnURe1Lr.js → TrendChart-D3_4i3qH-wYUerKRk.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-CldwGpXX-_Vy0tAR0.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-BdEwYcSE.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage--cDHqgXs-Dx-BvNNy.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-1p5rwy9h.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-vdFWf98b-D32U3pYN.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-D7ImMabh-BOoEsNma.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BOeEd9pX-B0fSv2j-.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +14 -14
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-BF9k2J97.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-C1xhL1S7.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +9 -9
  189. package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-CXJaoIKB.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +75 -75
  190. package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-Bp14Fqws.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-Dgo0AgQr.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-BTRiZlIa-9pqLXKCO.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-ZgfQEBme-Bz-_RQEG.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +10 -10
  194. package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-CnbEn37D.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +40 -40
  195. package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-Dk1rVmVe.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +5 -5
  196. package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-9p5pX7Wv.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-CAtlT9pF.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +18 -18
  198. package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-CjiQIVC-.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BAbOOFg9-Ba3Hfqst.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-DIRmcL5V.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CwpIhk9-.js → analyticsHelper-BbcCIpO1.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CkzpobMi-D_btd99n.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
  203. package/dist/assets/{chartTypes-JD2mR9iq-CV6xq_QP.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
  204. package/dist/assets/{commonDimensions-DRfDJ_wQ-CneCHG2f.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
  205. package/dist/assets/{detailCommon-BbKkY_46-Z5qIUAEr.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +5 -5
  206. package/dist/assets/{downloadPdf-D7ANJLK4-JxxYzwZh.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
  207. package/dist/assets/{index-sK9Ftyw4.js → index-DyBH5SZv.js} +3543 -3520
  208. package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +1 -0
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-DwAiwvFw.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
  210. package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +1 -0
  211. package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +1 -0
  212. package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +1 -0
  213. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +1 -0
  214. package/dist/assets/{play-icon-BbWpG2oG-B5eavh5o.js → play-icon-D3OSczih-8eMagn70.js} +3 -3
  215. package/dist/assets/{toCOABalancesWithID-DOgHiMwn-FzGFQyKt.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
  216. package/dist/assets/{toChartData-CNfdaXyM-DfRj5vR3.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-JBMxqa9X-CUh3yvXJ.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BGZjtYkJ-C2nAJwG2.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +25 -25
  219. package/dist/assets/{uploadReceipts-Buvz7DfG-DhG_60YS.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/AccountInfoPageContent-BTk2gRyM-BiMT6aOy.js +0 -149
  223. package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-QKrc0pyW.js +0 -47
  224. package/dist/assets/ArAgingChart-GL4vkypx-DFuyLVYD.js +0 -24
  225. package/dist/assets/BillPaySetUpPage-_s4R537_-DZWDn61D.js +0 -42
  226. package/dist/assets/ChargeCardDetailPage-Kygr13jR-27IRQfLT.js +0 -1447
  227. package/dist/assets/ChargeCardListPage-BnzdzSXW-BVsaSOA5.js +0 -355
  228. package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Fnig2Ypz.js +0 -175
  229. package/dist/assets/ChargeCardSetupPage-DE1pK_7F-FapyQkm6.js +0 -36
  230. package/dist/assets/CollapsableReportTable-BGT77T9W-CUBrV0Bt.js +0 -2860
  231. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-TgCXFZSY.js +0 -1
  232. package/dist/assets/Dashboard-CA9685lJ-tQYLqsRv.js +0 -778
  233. package/dist/assets/DashboardReportPage-DQoFWd5C-D2SWkLyX.js +0 -349
  234. package/dist/assets/HelpButton-DvD6UJq--DH6Lkii6.js +0 -28
  235. package/dist/assets/InvitePeoplePage-BKEDAnQ4-gH3ZdBUQ.js +0 -12
  236. package/dist/assets/NotificationsListConfig-ChVd_Bek-B5rqV-0u.js +0 -1
  237. package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-uMKipSgE.js +0 -207
  238. package/dist/assets/PortfolioDetails-BEa4kwk8-CZhLy7bU.js +0 -218
  239. package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CjFJx_39.js +0 -140
  240. package/dist/assets/ReportTableViewSelector-D6DHFt_R-BSunAQvT.js +0 -150
  241. package/dist/assets/ReportsPage-D4mI3T0w-WDX-OUzA.js +0 -120
  242. package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-B5W1wa7s.js +0 -206
  243. package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-Crad0c1r.js +0 -31
  244. package/dist/assets/TransactionList-BBjiP2Nf-u9SYmiJO.js +0 -147
  245. package/dist/assets/TransactionListPage-BeVkiwkg-CZaGi9mq.js +0 -35
  246. package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-ymVVgqde.js +0 -1
  247. package/dist/assets/mapSpacerToTreeNode-C692pbYW-C1yi1TTP.js +0 -1
  248. package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-C3cOfAea.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as N,j as l,Y as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as xe,u as fe,ft as be,M as E,Q as we,b2 as H,fu as Y,bP as _,fv as X,a$ as q,g as R,r as G,t as Z,fw as $e,m as ye,v as ve}from"./index-sK9Ftyw4.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-BRSx6yqP-CARA1Fps.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{X as N,j as l,Y as J,cm as me,o as s,C,n as m,cg as K,cp as ge,co as fe,u as xe,fr as be,M as E,Q as we,b2 as H,fs as Y,bP as _,ft as X,a$ as q,g as R,v as G,q as Z,fu as $e,f as ye,w as ve}from"./index-DyBH5SZv.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B3hm-1rz-OZzvKPZJ.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;
@@ -25,12 +25,12 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as xe,u
25
25
  gap: ${s.sp3};
26
26
  `,De=r(Z)`
27
27
  display: flex;
28
- `,ze=r.div`
28
+ `,Le=r.div`
29
29
  width: 100%;
30
30
  display: flex;
31
31
  align-items: center;
32
32
  opacity: ${e=>e.isCurrOptionDisabled?.5:1};
33
- `,Le=r.div`
33
+ `,ze=r.div`
34
34
  display: flex;
35
35
  align-items: center;
36
36
  margin-right: ${s.sp2};
@@ -180,7 +180,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as xe,u
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),L=xe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Y,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(Te,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Pe,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:P,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(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:L,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ne,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:T,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:P,additionalLabelInfo:I,isOptionDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=K(),V=N();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:n,render:({field:{value:L,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:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:P,isOptionDisabled:T,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,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:f,optionStyles:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),z=fe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Y,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],x=b(o.value);return l.jsxs(Te,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Pe,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:x,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!L?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),x=e[p],y=b(i.value);return l.jsxs(Ie,{style:P,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:x?.user?.photo!=null?l.jsx(Ae,{src:x?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:x?.user?.firstName??"",lastName:x?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:x}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ne,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=xe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:T,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:P,additionalLabelInfo:I,isOptionDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=K(),V=N();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:n,render:({field:{value:z,onChange:c}})=>l.jsxs(Xe,{width:w?.width,"data-testid":J("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:P,isOptionDisabled:T,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
@@ -189,7 +189,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,q as m,cg as K,cp as ge,co as xe,u
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 x=N();return l.jsxs(Ge,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(x),marginRight:M.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
192
+ `,M={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const 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`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as X,r as V,b1 as ie,l as I,M as te,fq as se,fx as ae,P as ne,am as de,g as k,b2 as M,av as ce,a$ as pe,b$ as ue,fy as F,ah as Q,K as he,v as Y,t as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as ve,fz as we}from"./index-sK9Ftyw4.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-BRSx6yqP-CARA1Fps.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,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v as V,b1 as ie,l as I,M as te,fo as se,fv as ae,S as ne,ag as de,g as D,b2 as B,ao as ce,a$ as pe,b$ as ue,fw as F,bH as X,K as he,w as Y,q as ge,f as me,fg as be,f2 as fe,aQ as xe,fh as ye,aA as we,fx as ve}from"./index-DyBH5SZv.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -22,7 +22,7 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
22
22
  }
23
23
  `,Ce=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,Z=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=B(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ze=d.div`
25
+ `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=Q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"data-testid":A("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new m(n[3],n[4])},ke=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
@@ -31,11 +31,11 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
- `,ke=d.div`
34
+ `,De=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  width: 100%;
38
- `,De=d.div`
38
+ `,Pe=d.div`
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  padding-left: ${o.sp4};
@@ -46,21 +46,21 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
46
46
  transition:
47
47
  visibility 250ms ease-in-out,
48
48
  max-height 250ms ease-in-out;
49
- `,Pe=d.div`
49
+ `,ze=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
+ `,Oe=d(X)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
- `,W=d(Y)`
57
+ `,Z=d(Y)`
58
58
  display: flex;
59
59
  color: ${e=>e.theme.colors.hero};
60
60
  `,Te=d.div`
61
61
  display: flex;
62
62
  .roleTitle {
63
- color: ${e=>e.isError?k.important:e.theme.colors.hero};
63
+ color: ${e=>e.isError?D.important:e.theme.colors.hero};
64
64
  }
65
65
  .roleSubTitle {
66
66
  color: ${e=>e.theme.colors.hero};
@@ -84,15 +84,15 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
84
84
  border-color: ${e=>e.theme.colors.primary};
85
85
  }
86
86
  }
87
- `,Me=d.div`
87
+ `,Be=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Be=d(Q)`
90
+ `,Me=d(X)`
91
91
  display: flex;
92
92
  `,Le=d(Y)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
- `,Ve=d(ge)`
95
+ `,Ve=d(me)`
96
96
  display: flex;
97
97
  padding: 1px 6px 1px 6px;
98
98
  border: 1px solid;
@@ -105,11 +105,11 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Ue=d(we)`
108
+ `,Ue=d(ve)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ne=d(ve)`
112
+ `,Ne=d(we)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
@@ -125,17 +125,17 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
125
125
  width: ${o.sp4};
126
126
  height: ${o.sp4};
127
127
  color: ${e=>e.theme.colors.hero};
128
- `,Ze=d(be)`
128
+ `,We=d(be)`
129
129
  width: ${o.sp4};
130
130
  height: ${o.sp4};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,We=d.div`
132
+ `,Ze=d.div`
133
133
  display: flex;
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"?k.brandColorOnyx:k.brandColorPearl};
138
- `,Ke=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(Ze,{});default:return null}},qe=e=>l.jsxs(Me,{children:[l.jsx(Be,{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=J(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=z.useCallback(h=>{const t=se([h]),C=ae(h),w=ne(i.productsByUserRole[t]),R=w.findIndex(P=>P.productType===C),L=w[R].selectedOption?.value===h;R>-1&&(w[R]={...w[R],selectedOption:L?void 0:w[R].options.filter(P=>P.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=z.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);z.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(We,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ke,{children:x.map(h=>l.jsxs(ze,{windowSize:f,children:[l.jsx(Te,{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&&Ke(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(W,{children:t.subTitleUser}),l.jsx(W,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Je=({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=B();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(Je,{...i,isDisabled:e})]})}const Xe=d.div`
137
+ color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
138
+ `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Ke=e=>l.jsxs(Be,{children:[l.jsx(Me,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(z=>z.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(De,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Te,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:P(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(ze,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Qe=d.div`
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 B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,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]=z.useState(),{formState:{errors:D}}=_(),h=J(D,b??"");z.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),z.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),C=B(),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,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",...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=K(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:K(!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: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 z.createElement(M.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(M.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(M.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,K=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?k.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(M.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(M.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
172
+ `;function Xe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=_(),h=q(P,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=Q(),C=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,U=L,z=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:z?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=I.isNonZeniRole(O.value)&&s===!0,N=J(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:z||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.createElement(B.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:N}=w;return l.jsx(co,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(ge)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -189,7 +189,7 @@ import{X as B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,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?k.importantLight:e.theme.colors.grey5};
192
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?D.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 B,j as l,Y as A,cm as q,C as g,o,q as n,cg as _,cp as G,co as J,u as
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?k.important:e.theme.colors.grey1};
250
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
251
251
  }
252
252
  }
253
253
  }
254
254
  .placeholder-container {
255
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?k.important:e.theme.colors.grey1};
255
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.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: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=B();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`
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(Xe,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function 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`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j as n,F as ge,fA as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as B,i7 as ye,g as Ce,r as A,hE as we,q as r}from"./index-sK9Ftyw4.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CbnGQ8bn-Cg1J4diW.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-CHRGFyHl-BUwVc2dn.js";import"./TrendWithTransactions-CldwGpXX-_Vy0tAR0.js";import"./TrendChart-DRNocU0p-CnURe1Lr.js";import"./chartTypes-JD2mR9iq-CV6xq_QP.js";import"./toCOABalancesWithID-DOgHiMwn-FzGFQyKt.js";import"./toChartData-CNfdaXyM-DfRj5vR3.js";import"./NoDataChart-Bsj1HEPq-CJfsMw19.js";import"./InsightsSection-Corx5iDh-dTSwI2kJ.js";import"./NavigationDots-DJkiFidH-CvAq_Xy1.js";import"./TransactionList-BBjiP2Nf-u9SYmiJO.js";import"./BoxItem-BHtgE0KL-CQh3YeAW.js";import"./commonDimensions-DRfDJ_wQ-CneCHG2f.js";import"./uploadAttachment-BGZjtYkJ-C2nAJwG2.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{X as H,a1 as ue,l as C,a as pe,c3 as me,i3 as P,hQ as L,M as W,c4 as he,j as n,F as ge,fy as xe,a3 as fe,o as t,C as m,k as be,a2 as je,c6 as B,i4 as ye,g as Ce,v as I,az as we,n as r}from"./index-DyBH5SZv.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-BoxnNYXX-2QwooFWS.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-Ds3mSsWy-DNoefl6y.js";import"./TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js";import"./TrendChart-D3_4i3qH-wYUerKRk.js";import"./chartTypes-qpvW4LwC-4Ag0mdD1.js";import"./toCOABalancesWithID-DeWKaovX-C_3xC96w.js";import"./toChartData-Dkp488IJ-Cg1gF7al.js";import"./NoDataChart-CvGbQO4j-B5z4vqWb.js";import"./InsightsSection-D_wtVtVg-5rPDOiJT.js";import"./NavigationDots-CFJt-T5J-B9PAzC5S.js";import"./TransactionList-IjM4ABdF-DZ9PEfgX.js";import"./BoxItem-DX1sag1G-C0OcCbod.js";import"./commonDimensions-DAvj4Il1-Chc9ZQai.js";import"./uploadAttachment-BjJ8_wDA-22p019X4.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,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=Q.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:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(ke,{}),n.jsx(B,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color: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",K="linkJETransaction",X=Q.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:G,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)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=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:K,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),F?n.jsxs(Be,{windowSize:p,children:[n.jsx(Oe,{})," ",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:G,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(W,{windowSize:p,children:f.transactionFetchError}):null,de?n.jsx(W,{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)=>({[K]:{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: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:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(ke,{}),n.jsx(B,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color: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:A,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(A.controllers),v=C.getFirstControllerId(A.controllerUserIds),z=()=>{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)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=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:N}},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(Ae,{windowSize:p,children:[n.jsx(Fe,{windowSize:p,children:f.linkJE}),n.jsx(ze,{children:n.jsx(Ne,{onClick:z})})]}),n.jsxs(Ie,{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(Oe,{})," ",f.zeniRecommendation]}):null,D?n.jsx(Te,{children:n.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,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:z}}):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,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,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,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Ne=i.div`
51
+ `,ze=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};
@@ -68,7 +68,7 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j
68
68
  color: ${e=>e.theme.colors.primary};
69
69
  margin: auto;
70
70
  justify-content: center;
71
- `,W=i.div`
71
+ `,Q=i.div`
72
72
  height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
73
73
  display: flex;
74
74
  align-items: center;
@@ -78,7 +78,7 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,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};
81
+ ${I.standardRegular.css};
82
82
  `,Re=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
@@ -91,7 +91,7 @@ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,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
  `,Oe=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 z,bO as S,c9 as A,C as m,cc as W,o as e,bR as E,q as u,av as U,aa as Y,eY as N}from"./index-sK9Ftyw4.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])},q=r.div`
1
+ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as e,bR as E,n as u,ao as U,a6 as N,eW as Y}from"./index-DyBH5SZv.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -6,13 +6,13 @@ import{M,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,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
- `,V=r.div`
9
+ `,Z=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:v,markAsPaid:C,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:P}=g,l=R(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=T({mode:"all",values:{[p]:{selectedOption:i?.paymentMode,allOptions:$.map(o=>o.value)},[c]:i?.paymentDate?.toDate()}}),O=k.handleSubmit(o=>{h({paymentDate:o[c]!=null?s.zeniDate(o[c].toString()):s.zeniDate(s.dateNow().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:o[p]?.selectedOption!=null?s.toOutsideZeniPaymentModeType(o[p]?.selectedOption):"other"})}),I=o=>$.find(L=>L.value===o)?.label??"";return a.jsx(z,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(S,{formId:D,titleComponent:a.jsx(E,{children:w}),primaryButtonText:C,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(q,{windowSize:l,children:[a.jsx(A,{label:{label:v,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(V,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel:j,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:e.sp2,borderBottomLeftRadius:e.sp2,paddingTop:e.sp1,paddingBottom:e.sp1,paddingLeft:e.sp3,paddingRight:d.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:B,defaultValue:i?.paymentDate,dateFormat:x.defaultInput,maxDate:s.dateNow(),minDate:s.zeniDate("01 Jan 1900"),autoComplete:"off"}})]})})})})}const Q=({withdrawFrom:t,paymentDate:i,onOkClick:h,onCancelClick:y,onClickAway:g})=>{const{dateFormat:f,spendManagement:{billPay:n},common:{strings:x}}=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(G,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},J=r.div`
15
+ `;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=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(Z,{}),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 K=({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(G,{children:a.jsxs(q,{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(H,{children:n.insufficientFunds.popUp.title}),primaryButtonText:n.billDetails.buttons.approveAnyways,secondaryButtonText:n.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:w,action:{onOkClick:h,onCancelClick:y,onClickAway:g},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:e.sp3},buttonContainerStyle:{paddingBottom:e.sp6}})}},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 z,bO as S,c9 as A,C as m,cc as W,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
+ `,q=r(U)`
25
25
  color: ${t=>t.theme.colors.hero};
26
- `,F=r(Y)`
26
+ `,F=r(N)`
27
27
  color: ${t=>t.theme.colors.primary};
28
- `,G=r(N)`
28
+ `,H=r(Y)`
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{Q as o,X as t};
34
+ `;export{K as o,_ as t};
@@ -1 +1 @@
1
- import{j as l}from"./index-sK9Ftyw4.js";import{f as y}from"./ACHDetailsPage-Cwc2nmvY-Yb3TlvKZ.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-DKdgmMHQ-D-bpYaBu.js";import"./MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js";import"./BankAccountSection-Bi3uoDPa-Nc2grfOO.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-DyBH5SZv.js";import{f as y}from"./ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.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-Ce5s962S-Dy-_2VlU.js";import"./MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js";import"./BankAccountSection-cVBEl5IN-DpEdLEP3.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-sK9Ftyw4.js";import{y as b}from"./DomesticWireDetailsPage-C6x8Gz4g-CvdkcKGu.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-Bi3uoDPa-Nc2grfOO.js";import"./MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js";import"./BankAccountWarningSection-DKdgmMHQ-D-bpYaBu.js";import"./MailingDetailsSection-CJhcwaGu-CmX5rK11.js";import"./LabeledAddressValueField-BMdJsw3x-yhvcn5pE.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-DyBH5SZv.js";import{y as b}from"./DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.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-cVBEl5IN-DpEdLEP3.js";import"./MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js";import"./BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js";import"./MailingDetailsSection-BycONjR9-Dhu_6L_d.js";import"./LabeledAddressValueField-C2LEKAwf-BQxD3J4c.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-sK9Ftyw4.js";import{f as S}from"./InternationalWireSwiftDetailsPage-B441GUkh-CscnxDNt.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-DKdgmMHQ-D-bpYaBu.js";import"./MailingDetailsSection-CJhcwaGu-CmX5rK11.js";import"./LabeledAddressValueField-BMdJsw3x-yhvcn5pE.js";import"./MagicLinkTitleSection-CCjLimcL-CG2gHrXG.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-DyBH5SZv.js";import{f as S}from"./InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.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-Ce5s962S-Dy-_2VlU.js";import"./MailingDetailsSection-BycONjR9-Dhu_6L_d.js";import"./LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js";import"./MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{at as r,M as n,j as t,au as l,o,$ as c,c0 as a,k as p}from"./index-sK9Ftyw4.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(h,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(u,{children:s.successTitle}),t.jsx(g,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{ab as r,M as n,j as t,aj as l,o,$ as c,c0 as a,k as p}from"./index-DyBH5SZv.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -14,13 +14,13 @@ import{at as r,M as n,j as t,au as l,o,$ as c,c0 as a,k as p}from"./index-sK9Fty
14
14
  justify-content: center;
15
15
  opacity: 80%;
16
16
  margin: 0 ${o.sp4};
17
- `,u=i(a)`
17
+ `,g=i(a)`
18
18
  color: ${e=>e.theme.colors.primary};
19
19
  text-align: center;
20
- `,g=i(p)`
20
+ `,h=i(p)`
21
21
  color: ${e=>e.theme.colors.hero};
22
22
  text-align: center;
23
- `,h=i.div`
23
+ `,u=i.div`
24
24
  position: absolute;
25
25
  top: ${o.sp5};
26
26
  left: ${o.sp5};
@@ -1,4 +1,4 @@
1
- import{M as C,aJ as p,j as t,c0 as m,o as a,t as d,g,ah as x}from"./index-sK9Ftyw4.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(j,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
1
+ import{M as C,aa as p,j as t,c0 as m,o as a,q as d,g,bH as x}from"./index-DyBH5SZv.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx($,{children:o}),t.jsxs(y,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${g.successDark};
@@ -6,7 +6,7 @@ import{M as C,aJ as p,j as t,c0 as m,o as a,t as d,g,ah as x}from"./index-sK9Fty
6
6
  width: ${a.sp4};
7
7
  height: ${a.sp4};
8
8
  color: inherit;
9
- `,j=n(d)`
9
+ `,y=n(d)`
10
10
  display: flex;
11
11
  align-items: center;
12
12
  justify-content: space-between;
@@ -14,4 +14,4 @@ import{M as C,aJ as p,j as t,c0 as m,o as a,t as d,g,ah as x}from"./index-sK9Fty
14
14
  gap: ${a.sp4};
15
15
  color: ${e=>e.theme.colors.champion};
16
16
  margin-top: ${a.sp3};
17
- `,y=n(m)``;export{M};
17
+ `,$=n(m)``;export{M};
@@ -1,4 +1,4 @@
1
- import{X as c,M as u,C as s,j as o,o as a,c8 as x,as as b,q as i}from"./index-sK9Ftyw4.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-BMdJsw3x-yhvcn5pE.js";const r={largeLabelWidth:new s(120,140,220),paddingTopBottom:new s(i[3],i[3]),marginRight:new s(i[3],i[8]),marginLeft:new s(i[3],i[6]),marginLeftTitle:new s(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,h=r.largeLabelWidth.value(l);return o.jsxs(o.Fragment,{children:[o.jsx(L,{size:l,children:t.addressDetailTitle}),o.jsx(v,{size:l,children:o.jsx(f,{isDisabled:p,label:{label:t.address,width:h},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:$=>$!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
1
+ import{X as $,M as u,C as o,j as s,o as a,c8 as x,an as b,n as i}from"./index-DyBH5SZv.js";import{n}from"./vendor-CnQcJ2Lu.js";import{W as f}from"./LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=$(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,h=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:h},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as o,j as i,Y as d,p as c,g as l,o as p,C as r}from"./index-sK9Ftyw4.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{X as o,j as i,Y as d,m as c,g as l,o as p,C as r}from"./index-DyBH5SZv.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -9,7 +9,7 @@ import{X as o,j as i,Y as d,p as c,g as l,o as p,C as r}from"./index-sK9Ftyw4.js
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  background: ${l.blackColor}CC;
12
- `,u=a.div`
12
+ `,m=a.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  justify-content: space-between;
@@ -23,4 +23,4 @@ import{X as o,j as i,Y as d,p as c,g as l,o as p,C as r}from"./index-sK9Ftyw4.js
23
23
  width: ${e=>s.width.valuePx(e.windowSize)};
24
24
  height: ${e=>s.height.valuePx(e.windowSize)};
25
25
  background: transparent;
26
- `;function x(e){const n=o(),t=document.createElement("script");return t.setAttribute("async","true"),t.setAttribute("defer","true"),t.setAttribute("src","https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"),document.head.appendChild(t),i.jsx(h,{windowSize:n,role:"presentation","data-testid":d("calendar-meeting-popup"),children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(u,{windowSize:n,children:i.jsx("div",{className:"meetings-iframe-container","data-src":e.meetingUrl,style:{width:"100%",height:"100%"}})})})})}export{x};
26
+ `;function x(e){const n=o(),t=document.createElement("script");return t.setAttribute("async","true"),t.setAttribute("defer","true"),t.setAttribute("src","https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"),document.head.appendChild(t),i.jsx(h,{windowSize:n,role:"presentation","data-testid":d("calendar-meeting-popup"),children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(m,{windowSize:n,children:i.jsx("div",{className:"meetings-iframe-container","data-src":e.meetingUrl,style:{width:"100%",height:"100%"}})})})})}export{x};
@@ -1,4 +1,4 @@
1
- import{j as o,p as u,eI as h,o as s,u as d,eJ as m}from"./index-sK9Ftyw4.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
1
+ import{j as o,m as u,eG as h,o as s,u as d,eH as m}from"./index-DyBH5SZv.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},b=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(b,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(y,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
4
4
  height: ${s.sp4};
@@ -14,4 +14,4 @@ import{j as o,p as u,eI as h,o as s,u as d,eJ as m}from"./index-sK9Ftyw4.js";imp
14
14
  ${({isMenuVisible:e})=>e===!1?f`
15
15
  display: none;
16
16
  `:null};
17
- `;export{C as A};
17
+ `;export{C as R};