@zeniai/web-cockpit-ui 1.13.96-dev → 1.13.96-qa

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-C_NL9J0X-DQ3wv9Rt.js → ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DyiOQxOC-Deykua_G.js → AIPerformancePage-CK4ZdUEb-fJZXFPPa.js} +21 -21
  3. package/dist/assets/{AccountInfoPage-xglon85A-yRVQMsLQ.js → AccountInfoPage-LiZYkJMA-D7v8XtXB.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js → AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js} +17 -17
  6. package/dist/assets/{AccountRow-CP7Tu1pO-VLQJgkE6.js → AccountRow--5DnpNqk-C6gOEeWO.js} +23 -23
  7. package/dist/assets/{AccountsPromoCardStack-1elvD1M0-GOX35w9m.js → AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js → AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DsqplF5y-BOnzBTtb.js → AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js} +19 -19
  10. package/dist/assets/{AgingReportsPage-DClcRhxg-CS8rEKD_.js → AgingReportsPage-PrvYryW8-ClQ8Euxf.js} +6 -6
  11. package/dist/assets/{AllUserItems-BOwAIYTQ-ikKyJOZ6.js → AllUserItems-DlTukPhY-377gtzJq.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js → ApAgingDetailPage-BVciGQma-NVEgOPKU.js} +4 -4
  13. package/dist/assets/{AppBasePage-C7kCz0qg-gwqzuxWV.js → AppBasePage-uJGLWCbr-B_okH7tb.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-B63CbHT7-CTgXtY-R.js → AppDrawerContent-SD57OqHe-DBC1ZQdx.js} +7 -7
  15. package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +47 -0
  16. package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-AiwyJUwp-CLdUA32y.js → ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js} +1 -1
  18. package/dist/assets/{AttachmentView-wIV1i6gf-__2UovKF.js → AttachmentView-C3xQE0te-BFkbocnS.js} +5 -5
  19. package/dist/assets/{BankAccountSection-cVBEl5IN-DpEdLEP3.js → BankAccountSection-Bi3uoDPa-DlE9WCjC.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js → BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js → BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js} +33 -33
  22. package/dist/assets/{BillDetailPage-C9NC9kTK-BYRIHiN2.js → BillDetailPage-BoxJCC9n-dUgWZp0T.js} +11 -11
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js → BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js → BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage-CWGX6uCi--607mHc3.js → BillPayPromoPage--BGTNJhm-DrmzLzpj.js} +4 -4
  26. package/dist/assets/BillPaySetUpPage-_s4R537_-DvISkevy.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-Bx7lHgIy-CyArwb3F.js → BillingSettingsPage-DgbRhg-m-CRqpdOiy.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js → BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js} +1 -1
  29. package/dist/assets/{BoxItem-DX1sag1G-C0OcCbod.js → BoxItem-BHtgE0KL-BJPg4xAk.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DXh-11f9-BWywYgcT.js → BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js} +14 -14
  31. package/dist/assets/{CardNumberSubText-iYF6MLsf-BnbFJt1d.js → CardNumberSubText-BHe1nqr7-BRmm9g1p.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DVsCU69u-iWc1QiKl.js → CashbackDetailPage-C9RhIR0R-CyQle5Hi.js} +24 -24
  33. package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-PTRaj9T6-GxUnY44G.js → ChargeCardListTable-C2nnAxo5-Bk77oToU.js} +18 -18
  36. package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +175 -0
  37. package/dist/assets/ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js → ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js} +3 -3
  39. package/dist/assets/{ChargeCardUtils-BvVm2SMq-B6pl3c2F.js → ChargeCardUtils-BxyMuU6--CHwiPaoq.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CI8lEzod-DNTlxx9v.js → ChaseOverlay-CRiYxWuZ-BZR-S0kG.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js → CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +2860 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js → CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js} +35 -35
  44. package/dist/assets/{CompanyPassportCard-P0g_DRwA-XRQTRVQK.js → CompanyPassportCard-PXdmJC_B-SLgfN-m9.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js → CompanyPassportPage-MxIwsh3W-CUmwVoPG.js} +37 -37
  46. package/dist/assets/{CompleteProfile-DTSAIKgF-WX_HRfP5.js → CompleteProfile-Bd9xEPVl-Cy044ZoG.js} +4 -4
  47. package/dist/assets/{ConfettiBurst-CjONFCxD-BbasMJ1h.js → ConfettiBurst-CMpZ2feY-D-Nq3IFV.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js → CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js → CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js → CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-BRkdK9Tx-DZlSSgUd.js → CurrencySelectField-B3AvTbkp-CwUBnsMJ.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js → CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js → CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js → CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js → CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js → CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js} +5 -5
  58. package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +778 -0
  59. package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js → DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js → DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js} +7 -7
  62. package/dist/assets/{DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js → DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js → DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CVay7PEO-C-BIaHoh.js → DownloadOverlay-D1kGkMFo-DOkMNDuh.js} +12 -12
  65. package/dist/assets/{DrawerPage-BtsjUVWT-DKZ4-9Rc.js → DrawerPage-CQkJW5hg-DkryY6SR.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-q8Se6bGZ-Cx2X58jF.js → EditPeoplePage-m2qls8hv-BZd-DWw-.js} +17 -17
  67. package/dist/assets/{EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js → EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js} +72 -72
  68. package/dist/assets/{EntityDetailPage-Bux6DlIw-CDR-iDms.js → EntityDetailPage-CcJJwGo7-DCvr4KdD.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-D8dz1hFt-Bakc19a1.js → EntitySummarySection-JxKHehL1-CtvARgSu.js} +13 -13
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js → ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationPage-aNc126hN-DZa4KtXO.js → ExpenseAutomationPage-B0f86olm-wJehtW2E.js} +74 -74
  72. package/dist/assets/{ExpressPayPage-CWVGXvfN-Bzdld5fx.js → ExpressPayPage-B-at6uDS-BEaELiUG.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-C0nvVXP--BF6s18r5.js → FeaturePreviewPage-gSb_rct_-C-KQutKv.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cf0s1DGX-BFVvc78r.js → FollowStepsSection-eedORgku-FnBhDPYP.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js → GlobalReviewListPage-BfPwveCc-ftKEGRYk.js} +10 -10
  76. package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +28 -0
  77. package/dist/assets/{InformationCardStack-BALkGk48-BWmXScs3.js → InformationCardStack-DPaZz4XW-BZPDjtdj.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-D52CCSVO-CezeuABJ.js → InsightsCardStack-sKUFRR0H-BiHLZWGW.js} +10 -10
  79. package/dist/assets/{InsightsSection-D_wtVtVg-5rPDOiJT.js → InsightsSection-Corx5iDh-fVbgdM2i.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js → IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js → InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js} +14 -14
  82. package/dist/assets/{InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js → InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js} +18 -18
  83. package/dist/assets/{InviteFormPage-C9fNxGsi-CRksfDku.js → InviteFormPage-BRb4jyp_-BuUalkW4.js} +19 -19
  84. package/dist/assets/{InvitePageListView-DSWZ2SPi-B4SFh7Xp.js → InvitePageListView-Bb_Q_xqJ-BhN72Smm.js} +49 -49
  85. package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js → InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js → IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-DtmZ5htg-OjX3rrF7.js → LabeledAddressValue-D2vDF5sP-BZfqDHMl.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js → LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js → LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js → LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js} +8 -8
  92. package/dist/assets/{LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js → LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js → LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js} +5 -5
  94. package/dist/assets/{LabeledText-bruKdeAH-E98_Q-Ht.js → LabeledText-CqZ-udSP-CWd8HtpU.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js → LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js} +5 -5
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js → LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js} +22 -22
  97. package/dist/assets/{LinkJETransactionPage-DjNutEvf-sKN4Are7.js → LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-CwcYMtuk-B-vSGd6a.js → LowBalancePopup-BLfeh0xm-C28uSa7K.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js → MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js → MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js → MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js → MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js → MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-BycONjR9-Dhu_6L_d.js → MailingDetailsSection-CJhcwaGu-BAyX38PR.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js → MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js} +3 -3
  106. package/dist/assets/{Menu-B6Fh2Mf9-B_ofMkAs.js → Menu-D-Gk-Xfo-DBDtrJ_2.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js → MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js} +18 -18
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js → MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js → MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-D4jJGXZB-BJWr2BT1.js → NavBarWithPicker-CXyMHDUO-FwAGF1cV.js} +4 -4
  111. package/dist/assets/{NavigationArrow-DlUdvmV7-iugv9ZVE.js → NavigationArrow-Bv-PvnhZ-BqeVWU8r.js} +7 -10
  112. package/dist/assets/{NavigationDots-CFJt-T5J-B9PAzC5S.js → NavigationDots-DJkiFidH-5V7knboW.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DhYni-in-Diwu92Go.js → NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js} +8 -8
  114. package/dist/assets/{NoDataChart-CvGbQO4j-B5z4vqWb.js → NoDataChart-Bsj1HEPq-CTuuS1jm.js} +1 -1
  115. package/dist/assets/{NoDataTable-EKtYZwcL-XyHu2gAL.js → NoDataTable-6vR2vOMI-C3_Xw78i.js} +1 -1
  116. package/dist/assets/{NotFoundPage-D5SHSQLS-0U7pTJ8G.js → NotFoundPage-SRxATfaW-y-aOb1MC.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js → NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js} +33 -33
  118. package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +1 -0
  119. package/dist/assets/{NotificationsPage-bGvx2yV6-C4p8pfzZ.js → NotificationsPage-DMfBgh2w-1OVVoKkc.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-BE_NnQzd-DQnxoqWx.js → OpExByVendorPage-DOkwCGkr-DKAYXBt6.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-D2VSw_RI.js → OverlayContainerPage-C0rUb6-5-BEYdjpiV.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-D-000kuR-BW5fUkac.js → PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js} +11 -11
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js → PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js} +8 -8
  124. package/dist/assets/{PeoplePage-MwM0lFB9-B0wgHwI1.js → PeoplePage-PvOhX-gy-bUl8LV-N.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js +207 -0
  126. package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +218 -0
  127. package/dist/assets/{ProductsCarousel-D2wC3sC--BKh2AE5P.js → ProductsCarousel-qzlVuyK5-BlxLSS9s.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-Ddumul2a-BrEDd739.js → PromoBaseCards-26GOEn3a-DaZDnJ-z.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-DszSpNdI-DwqHmKSk.js → QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-BNF-BUu5-B_yCc7Df.js → QBOSetupSection-u1sJhV67-3guqHTYH.js} +13 -13
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js → ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js → ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js} +35 -35
  133. package/dist/assets/{ReimbursementDetailPage-BAEddssC-DcJfByf4.js → ReimbursementDetailPage-ChyRg0eX-Claybyvt.js} +10 -10
  134. package/dist/assets/{ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js → ReimbursementPromoPage-BWsOD49o-D82HFW_4.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js → ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js} +1 -1
  137. package/dist/assets/{ReloadCard-BA_JCHcV-DL7NGQyj.js → ReloadCard-CpauR6-c-3e4dg5U2.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +150 -0
  139. package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +120 -0
  140. package/dist/assets/{RevenueChart-D33p-PFq-CGRJwc_N.js → RevenueChart-JdtvK4L6-CpCUlh1v.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js → ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js} +15 -15
  142. package/dist/assets/{ReviewOverlay-BYJdokfW-C97jtxei.js → ReviewOverlay-BLxhto7d-Ote-FEid.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js → RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js → ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js → ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js → ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js} +49 -49
  147. package/dist/assets/{ScreenRoutes-iE9-v0dJ.js → ScreenRoutes-C5pHLsYO.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-BEJy78G6-Do1X3vVo.js → SetUpAccountSection-CyyxtFvK-Bjoxqucl.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js → SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js} +16 -16
  150. package/dist/assets/{SignIn-BC8yop4g-CznicFTu.js → SignIn-Gw75P03k-B_X_KXq6.js} +17 -17
  151. package/dist/assets/{SignInScreen-k0dvslKE.js → SignInScreen-CU1N7put.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-aZljA388--EEskYb2.js → SpendManagementListViewPage-BccaMtyd-shshvd9r.js} +10 -10
  153. package/dist/assets/{SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js → SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js} +33 -33
  154. package/dist/assets/{SpendManagementSection-DMw8NFvN-Cpy4Blf3.js → SpendManagementSection-CdH1r1Vw-C3epoUbW.js} +8 -8
  155. package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js +206 -0
  156. package/dist/assets/{StatementItem-CKTGWEW_-d6SqxmfH.js → StatementItem-BW9HKaf9-CsEdfyzn.js} +3 -3
  157. package/dist/assets/{StatementsPage-CjR4AlPy-BQRlcz37.js → StatementsPage-CXawS1th-D6ifdlgD.js} +6 -6
  158. package/dist/assets/{StatusSwitcher-5CZzUYJE-qZVSFmES.js → StatusSwitcher-oC-AP25Z-D-8kVIuC.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-a38_U4dN-BfyQ4BdY.js → SubTabSwitcher-DXWQMf7B-D5NgssDf.js} +1 -1
  160. package/dist/assets/{SummaryCard-XbFHvHx9-CTqdwSSS.js → SummaryCard-C3zjN-kT-DVcdP-G4.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-Oct77yO--igT2quo0.js → TaskManagementPage-BGDJNpe_-BGexoSAd.js} +31 -31
  162. package/dist/assets/{TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js → TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js → TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +31 -0
  165. package/dist/assets/{TopExCard-CaR8tsug-DnQ2eFWB.js → TopExCard-BD9Ehuw_-BEZAD6RQ.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-C4QeWe92-vjJ7ZG8N.js → TopExDetailPage-3HoXp_6D-C4AntCB3.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-BoxnNYXX-2QwooFWS.js → TransactionDetailPage-CbnGQ8bn-D1kf6rih.js} +26 -26
  168. package/dist/assets/TransactionList-BBjiP2Nf-CVZYe7YT.js +147 -0
  169. package/dist/assets/{TransactionListBig-B0FG0-BM-Br0wUjP3.js → TransactionListBig-5aenxEn4-DbuGNI6-.js} +18 -18
  170. package/dist/assets/TransactionListPage-BeVkiwkg-BwC4l02u.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js → TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-BJVanLzC-BZZsX7dv.js → TransferDrawerPage-2P1mhp1M-DQ83dYHD.js} +11 -11
  173. package/dist/assets/{TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js → TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js} +34 -34
  174. package/dist/assets/{TreasuryPromoPage-CblUabA3-CO5CaCN_.js → TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js} +14 -14
  175. package/dist/assets/{TreasurySetupPage-CuROk6il-7kJUNajN.js → TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-DfB0yrzC-osurk-aq.js → TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js} +10 -10
  177. package/dist/assets/{TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js → TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js → TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js} +77 -77
  179. package/dist/assets/{TrendChart-D3_4i3qH-wYUerKRk.js → TrendChart-DRNocU0p-B5zGJHBv.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js → TrendWithTransactions-CldwGpXX-C-miaXCt.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js → UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js → UnitIntegrationPage--cDHqgXs-CzBp1mNW.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js → UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-wnVnkHOg-DABVEKDS.js → Vendor2FAPopup-vdFWf98b-D5sSolYh.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js → VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-ClmL_1FB-Cz0Favu8.js → VendorDetailPage-BOeEd9pX-C40iOslI.js} +14 -14
  187. package/dist/assets/{VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js → VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js → VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js} +9 -9
  189. package/dist/assets/{VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js → VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js} +75 -75
  190. package/dist/assets/{VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js → VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js} +8 -8
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js → VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-fcURK7tv-BOScGj67.js → VendorsAccountsSection-BTRiZlIa-D2xftT7n.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js → WarningsDrawerPage-ZgfQEBme-BogIku8q.js} +10 -10
  194. package/dist/assets/{ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js → ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js} +40 -40
  195. package/dist/assets/{ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js → ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js} +5 -5
  196. package/dist/assets/{ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js → ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js → ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js} +18 -18
  198. package/dist/assets/{ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js → ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-DoA2I5zj-CPBH_zf-.js → ZeniCopyright-BAbOOFg9-CEbrOROr.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js → ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DPbbQVAO-ChPUlKK7.js → analyticsHelper-CkzpobMi-DnjY1jLw.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BbcCIpO1.js → analyticsHelper-j8smtjIR.js} +1 -1
  203. package/dist/assets/{chartTypes-qpvW4LwC-4Ag0mdD1.js → chartTypes-JD2mR9iq-B-Dqgpc8.js} +1 -1
  204. package/dist/assets/{commonDimensions-DAvj4Il1-Chc9ZQai.js → commonDimensions-DRfDJ_wQ-DeEC_LLv.js} +1 -1
  205. package/dist/assets/{detailCommon-jP1ggD3g-CQiTz4E7.js → detailCommon-BbKkY_46-DwHUZLAg.js} +5 -5
  206. package/dist/assets/{downloadPdf-LAHtgcHF-B9uNpNRf.js → downloadPdf-D7ANJLK4-BVhr8pTH.js} +1 -1
  207. package/dist/assets/{index-DyBH5SZv.js → index-Dr7k10Ge.js} +3520 -3543
  208. package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +1 -0
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js → mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js} +1 -1
  210. package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +1 -0
  211. package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +1 -0
  212. package/dist/assets/{play-icon-D3OSczih-8eMagn70.js → play-icon-BbWpG2oG-CGqef6-e.js} +3 -3
  213. package/dist/assets/{toCOABalancesWithID-DeWKaovX-C_3xC96w.js → toCOABalancesWithID-DOgHiMwn-C3l_klRD.js} +1 -1
  214. package/dist/assets/{toChartData-Dkp488IJ-Cg1gF7al.js → toChartData-CNfdaXyM-Cc0Cbk9b.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BibNNRS5-DCmyWsB-.js → treasuryColorHelper-JBMxqa9X-CRkfUPI_.js} +1 -1
  216. package/dist/assets/{uploadAttachment-BjJ8_wDA-22p019X4.js → uploadAttachment-BGZjtYkJ-DDuM3kuv.js} +25 -25
  217. package/dist/assets/{uploadReceipts-D80JLNY4-sjevKwVl.js → uploadReceipts-Buvz7DfG-CEx_e_oz.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +4 -4
  220. package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +0 -149
  221. package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +0 -47
  222. package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +0 -24
  223. package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +0 -42
  224. package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +0 -1447
  225. package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +0 -355
  226. package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +0 -219
  227. package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +0 -36
  228. package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +0 -2932
  229. package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +0 -1
  230. package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +0 -1254
  231. package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +0 -370
  232. package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +0 -28
  233. package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +0 -12
  234. package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +0 -1
  235. package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +0 -207
  236. package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +0 -218
  237. package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +0 -140
  238. package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +0 -150
  239. package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +0 -121
  240. package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +0 -206
  241. package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +0 -31
  242. package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +0 -147
  243. package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +0 -35
  244. package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +0 -1
  245. package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +0 -1
  246. package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +0 -1
  247. package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +0 -1
  248. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.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,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)`
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-Dr7k10Ge.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-BRSx6yqP-Dj7TwZqE.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,n as m,cg as K,cp as ge,co as fe,u
25
25
  gap: ${s.sp3};
26
26
  `,De=r(Z)`
27
27
  display: flex;
28
- `,Le=r.div`
28
+ `,ze=r.div`
29
29
  width: 100%;
30
30
  display: flex;
31
31
  align-items: center;
32
32
  opacity: ${e=>e.isCurrOptionDisabled?.5:1};
33
- `,ze=r.div`
33
+ `,Le=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,n as m,cg as K,cp as ge,co as fe,u
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:P,isValuePlacedAtEnd:I=!0,isDisabled:T,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:V}}=K(),z=fe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:z,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(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`
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`
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,n as m,cg as K,cp as ge,co as fe,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 f=N();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(f),marginRight:M.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
192
+ `,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`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,4 +1,4 @@
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`
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-Dr7k10Ge.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -22,7 +22,7 @@ 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
22
22
  }
23
23
  `,Ce=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=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`
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`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
@@ -31,11 +31,11 @@ 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
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
- `,De=d.div`
34
+ `,ke=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  width: 100%;
38
- `,Pe=d.div`
38
+ `,De=d.div`
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  padding-left: ${o.sp4};
@@ -46,21 +46,21 @@ import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
46
46
  transition:
47
47
  visibility 250ms ease-in-out,
48
48
  max-height 250ms ease-in-out;
49
- `,ze=d.div`
49
+ `,Pe=d.div`
50
50
  display: flex;
51
51
  flex-direction: row;
52
52
  margin-bottom: ${o.sp3};
53
53
  justify-content: space-between;
54
- `,Oe=d(X)`
54
+ `,Oe=d(Q)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
- `,Z=d(Y)`
57
+ `,W=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?D.important:e.theme.colors.hero};
63
+ color: ${e=>e.isError?k.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 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
84
84
  border-color: ${e=>e.theme.colors.primary};
85
85
  }
86
86
  }
87
- `,Be=d.div`
87
+ `,Me=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Me=d(X)`
90
+ `,Be=d(Q)`
91
91
  display: flex;
92
92
  `,Le=d(Y)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
- `,Ve=d(me)`
95
+ `,Ve=d(ge)`
96
96
  display: flex;
97
97
  padding: 1px 6px 1px 6px;
98
98
  border: 1px solid;
@@ -105,11 +105,11 @@ import{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
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Ue=d(ve)`
108
+ `,Ue=d(we)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Ne=d(we)`
112
+ `,Ne=d(ve)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
@@ -125,17 +125,17 @@ 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
125
125
  width: ${o.sp4};
126
126
  height: ${o.sp4};
127
127
  color: ${e=>e.theme.colors.hero};
128
- `,We=d(be)`
128
+ `,Ze=d(be)`
129
129
  width: ${o.sp4};
130
130
  height: ${o.sp4};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,Ze=d.div`
132
+ `,We=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"?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`
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`
139
139
  display: flex;
140
140
  flex-direction: ${e=>e.isDisabled?"row":"column"};
141
141
  align-items: ${e=>e.isDisabled?"center":"flex-start"};
@@ -169,7 +169,7 @@ import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Xe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=k.useState(),{formState:{errors:P}}=_(),h=q(P,b??"");k.useEffect(()=>{const r=c.filter(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)`
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)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -189,7 +189,7 @@ import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
189
189
  .select-control {
190
190
  border: none;
191
191
  height: ${e=>e.windowSize==="small"?"auto":o.sp6};
192
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?D.importantLight:e.theme.colors.grey5};
192
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?k.importantLight:e.theme.colors.grey5};
193
193
  box-shadow: none;
194
194
  &:hover {
195
195
  fill: ${e=>e.theme.colors.primary};
@@ -247,18 +247,18 @@ import{X as M,j as l,Y as A,cm as K,C as m,o,n,cg as _,cp as G,co as q,u as Q,v
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
250
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?k.important:e.theme.colors.grey1};
251
251
  }
252
252
  }
253
253
  }
254
254
  .placeholder-container {
255
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
255
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?k.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(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`
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`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
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`
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-Dr7k10Ge.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CbnGQ8bn-D1kf6rih.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-T4ZnES5i.js";import"./TrendWithTransactions-CldwGpXX-C-miaXCt.js";import"./TrendChart-DRNocU0p-B5zGJHBv.js";import"./chartTypes-JD2mR9iq-B-Dqgpc8.js";import"./toCOABalancesWithID-DOgHiMwn-C3l_klRD.js";import"./toChartData-CNfdaXyM-Cc0Cbk9b.js";import"./NoDataChart-Bsj1HEPq-CTuuS1jm.js";import"./InsightsSection-Corx5iDh-fVbgdM2i.js";import"./NavigationDots-DJkiFidH-5V7knboW.js";import"./TransactionList-BBjiP2Nf-CVZYe7YT.js";import"./BoxItem-BHtgE0KL-BJPg4xAk.js";import"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";import"./uploadAttachment-BGZjtYkJ-DDuM3kuv.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,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
12
12
  `,De=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${I.largeMedium.css};
15
+ ${A.largeMedium.css};
16
16
  `,ke=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return n.jsxs($e,{children:[n.jsx(De,{windowSize:g,children:S.header}),n.jsxs(ve,{children:[n.jsx(B,{label:{label:o.jePostingDate,width: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`
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`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -28,10 +28,10 @@ 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
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
- `,Ie=i.div`
31
+ `,Ae=i.div`
32
32
  padding: ${t.sp0} ${t.sp8};
33
33
  flex-grow: 1;
34
- `,Ae=i.div`
34
+ `,Ie=i.div`
35
35
  display: flex;
36
36
  align-items: center;
37
37
  top: ${t.sp0};
@@ -48,12 +48,12 @@ 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
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,ze=i.div`
51
+ `,Ne=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
- `,Ne=i(je)`
56
+ `,ze=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,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
68
68
  color: ${e=>e.theme.colors.primary};
69
69
  margin: auto;
70
70
  justify-content: center;
71
- `,Q=i.div`
71
+ `,W=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,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
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
- ${I.standardRegular.css};
81
+ ${A.standardRegular.css};
82
82
  `,Re=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
@@ -91,7 +91,7 @@ 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
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
- ${I.standardRegular.css};
94
+ ${A.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 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`
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-Dr7k10Ge.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`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -6,13 +6,13 @@ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as
6
6
  box-shadow: ${t=>`${e.sp0} 2px ${e.sp1} ${t.theme.colors.dropShadowNormal}`};
7
7
  border-radius: ${e.sp2};
8
8
  margin: ${t=>t.windowSize==="small"?`${e.sp5} ${e.sp3} ${e.sp6} ${e.sp3}`:`${e.sp5} ${e.sp8} ${e.sp6} ${e.sp8}`};
9
- `,Z=r.div`
9
+ `,V=r.div`
10
10
  display: flex;
11
11
  flex: 1;
12
12
  background-color: ${t=>t.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function _({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=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`
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`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: center;
@@ -21,14 +21,14 @@ import{M,X as R,a as T,l as s,j as a,F as W,bO as S,c9 as z,C as m,cc as A,o as
21
21
  padding-right: ${e.sp7};
22
22
  margin-top: ${e.sp3};
23
23
  white-space: pre-line;
24
- `,q=r(U)`
24
+ `,Z=r(U)`
25
25
  color: ${t=>t.theme.colors.hero};
26
- `,F=r(N)`
26
+ `,F=r(Y)`
27
27
  color: ${t=>t.theme.colors.primary};
28
- `,H=r(Y)`
28
+ `,G=r(N)`
29
29
  margin-top: ${e.sp6};
30
30
  padding-left: ${e.sp8};
31
31
  padding-right: ${e.sp8};
32
32
  color: ${t=>t.theme.colors.primary};
33
33
  word-break: break-word;
34
- `;export{K as o,_ as t};
34
+ `;export{Q as o,X as t};
@@ -1 +1 @@
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
+ import{j as l}from"./index-Dr7k10Ge.js";import{f as y}from"./ACHDetailsPage-Cwc2nmvY-DQ16IU5r.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-Df__wM_b.js";import"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js";import"./BankAccountSection-Bi3uoDPa-DlE9WCjC.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-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
+ import{j as S}from"./index-Dr7k10Ge.js";import{y as b}from"./DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.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-DlE9WCjC.js";import"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js";import"./BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js";import"./MailingDetailsSection-CJhcwaGu-BAyX38PR.js";import"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.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-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
+ import{j as B}from"./index-Dr7k10Ge.js";import{f as S}from"./InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.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-Df__wM_b.js";import"./MailingDetailsSection-CJhcwaGu-BAyX38PR.js";import"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js";import"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.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{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`
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-Dr7k10Ge.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`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -14,13 +14,13 @@ import{ab as r,M as n,j as t,aj as l,o,$ as c,c0 as a,k as p}from"./index-DyBH5S
14
14
  justify-content: center;
15
15
  opacity: 80%;
16
16
  margin: 0 ${o.sp4};
17
- `,g=i(a)`
17
+ `,u=i(a)`
18
18
  color: ${e=>e.theme.colors.primary};
19
19
  text-align: center;
20
- `,h=i(p)`
20
+ `,g=i(p)`
21
21
  color: ${e=>e.theme.colors.hero};
22
22
  text-align: center;
23
- `,u=i.div`
23
+ `,h=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,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)`
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-Dr7k10Ge.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)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${g.successDark};
@@ -6,7 +6,7 @@ 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-DyBH5S
6
6
  width: ${a.sp4};
7
7
  height: ${a.sp4};
8
8
  color: inherit;
9
- `,y=n(d)`
9
+ `,j=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,aa as p,j as t,c0 as m,o as a,q as d,g,bH as x}from"./index-DyBH5S
14
14
  gap: ${a.sp4};
15
15
  color: ${e=>e.theme.colors.champion};
16
16
  margin-top: ${a.sp3};
17
- `,$=n(m)``;export{M};
17
+ `,y=n(m)``;export{M};
@@ -1,4 +1,4 @@
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`
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-Dr7k10Ge.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.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`
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,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`
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-Dr7k10Ge.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,m as c,g as l,o as p,C as r}from"./index-DyBH5SZv.js
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  background: ${l.blackColor}CC;
12
- `,m=a.div`
12
+ `,u=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,m as c,g as l,o as p,C as r}from"./index-DyBH5SZv.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(m,{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(u,{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,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`
1
+ import{j as o,p as u,eI as h,o as s,u as d,eJ as m}from"./index-Dr7k10Ge.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,m as u,eG as h,o as s,u as d,eH as m}from"./index-DyBH5SZv.js";imp
14
14
  ${({isMenuVisible:e})=>e===!1?f`
15
15
  display: none;
16
16
  `:null};
17
- `;export{C as R};
17
+ `;export{C as A};