@zeniai/web-cockpit-ui 1.13.87-dev → 1.13.88-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/assets/{ACHDetailsPage-CW8vDdF5-BjcStneE.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-tSqRY12b-CS74oHek.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +35 -35
  3. package/dist/assets/{AccountInfoPage-C9rcnhgb-CRWEZYsW.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +15 -15
  6. package/dist/assets/{AccountRow-cQU8OX0K-yHyqR7LP.js → AccountRow-B4i2KTVu-DZIGknQG.js} +19 -19
  7. package/dist/assets/{AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-Lkfz2CzH--lPqUVOg.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +32 -32
  10. package/dist/assets/{AgingReportsPage-DtW2tU4n-DVEUTxX1.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +7 -7
  11. package/dist/assets/{AllUserItems-DcuO9Oho-D7VaO8Uf.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +5 -5
  12. package/dist/assets/{ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +2 -2
  13. package/dist/assets/{AppBasePage-iuomCofd-D1M4Ldw8.js → AppBasePage-jmR82AtE-DayOXpZP.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-BfpdXsfY-BoqfQVbX.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +8 -8
  15. package/dist/assets/{ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +7 -7
  16. package/dist/assets/{ArAgingChart--GzyqIlN-wEZY3asj.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +8 -8
  17. package/dist/assets/{ArAgingDetailPage-A0zmG_tR--cuXu7ko.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +4 -4
  18. package/dist/assets/{AttachmentView-D203zhS3-Blc80O1o.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +5 -5
  19. package/dist/assets/{BankAccountSection-iz2k4H5K-CWZXnWVk.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +19 -19
  22. package/dist/assets/{BillDetailPage-BJbdAC5y-CMbCAQ4h.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage-DZn9Wdsi-COOh5nks.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-BGxI3SGy--373OJdf.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-B3h6dTYD-CiH5BD6s.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +5 -5
  28. package/dist/assets/BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js +1 -0
  29. package/dist/assets/{BoxItem-C-RN4c2j-F6XwRGQ-.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BEK8kZil-Di05q2Gg.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +7 -7
  31. package/dist/assets/{CardNumberSubText-Bvs0Rr9x-DPY11oi8.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-9aAW-23b-6kdPvDSO.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +23 -23
  33. package/dist/assets/{ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +52 -52
  34. package/dist/assets/ChargeCardListPage-BFEDq_hH-CIWVY9p8.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-jGT-e74M-5-uAUG8Z.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +24 -24
  36. package/dist/assets/ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-C-37hd5J-B8Ue09Ej.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BG833ttH-_qJdBH9y.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +6 -6
  41. package/dist/assets/{CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-CtS-s84B-BR4en1d9.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-n-awcw82-DRSohnEc.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-WfbfWOs1-COSgoQMl.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +137 -137
  46. package/dist/assets/CompleteProfile-Ch4TNwnb-BDWK7-aS.js +36 -0
  47. package/dist/assets/{ConfettiBurst-UJtKVS38-DdsiBpUw.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +4 -4
  49. package/dist/assets/{CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DGID-Pjb-B38xYqrH.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +2 -2
  58. package/dist/assets/Dashboard-BqpjCXF4-2DYnY2Iv.js +778 -0
  59. package/dist/assets/DashboardReportPage-pKEtfyyz-CVEg_i3S.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-VDEpvzHH-C6KDM3Im.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +17 -17
  65. package/dist/assets/{DrawerPage-BauCSJ4q-DA93KkS0.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +6 -6
  66. package/dist/assets/{EditPeoplePage-mz7FTion-DdIStM8G.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +13 -13
  67. package/dist/assets/{EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +72 -72
  68. package/dist/assets/{EntityDetailPage-Bc2AVCEp-DOVttkwP.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-CDO6K9RG-CZ1I06e-.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +7 -7
  70. package/dist/assets/{ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +23 -23
  71. package/dist/assets/{ExpenseAutomationPage-A03nzEV--i6evGevK.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +50 -50
  72. package/dist/assets/{ExpressPayPage-B5QCvPtb-mYcSl8Ub.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +11 -11
  73. package/dist/assets/{FeaturePreviewPage-Czr4aIad-Bq5X23tc.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cf1g5oOj-5G8g4W7R.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +9 -9
  76. package/dist/assets/HelpButton-DmSTrp5G-BZ5gO3eI.js +28 -0
  77. package/dist/assets/{InformationCardStack-WnJWUp5O-BeMJUt9i.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +3 -3
  78. package/dist/assets/{InsightsCardStack-CRA0RPsW-D6ISd9AF.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +8 -8
  79. package/dist/assets/{InsightsSection-DvcmBPbo-Kmp0eo1Q.js → InsightsSection-obWu95-o-miX-wlBZ.js} +2 -2
  80. package/dist/assets/{IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +13 -13
  82. package/dist/assets/{InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +16 -16
  83. package/dist/assets/{InviteFormPage-Zy3qQng6-WUFAPnrT.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +26 -26
  84. package/dist/assets/{InvitePageListView-gATEAhxa-BJvv1nxH.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +36 -36
  85. package/dist/assets/InvitePeoplePage-7yKV1JuU-BmXtVrGW.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +5 -5
  87. package/dist/assets/{IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +20 -20
  88. package/dist/assets/{LabeledAddressValue-C5YXOhcz-DcQYX30H.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +2 -2
  90. package/dist/assets/{LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +3 -3
  92. package/dist/assets/LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +2 -2
  94. package/dist/assets/{LabeledText-DaM1ChQF-BwcpwF0f.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +12 -12
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-ZfmTgr7J-C3y63M8c.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +5 -5
  99. package/dist/assets/{MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-BV_-2RQM-CCg3F_6v.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +3 -3
  106. package/dist/assets/{Menu-Dhi3mAAc-CTdMUIt5.js → Menu-DgxJQlbW-DIVRGIXR.js} +4 -4
  107. package/dist/assets/{MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +14 -14
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-BF7k45-H-CqiTH9vF.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +4 -4
  111. package/dist/assets/{NavigationArrow-DKuw9kCL-2Rze1y5j.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +6 -9
  112. package/dist/assets/{NavigationDots-DfJQIsra-CF_rwB9h.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +9 -9
  114. package/dist/assets/NoDataChart-DMqFH96W--xyVCmNv.js +26 -0
  115. package/dist/assets/{NoDataTable-Txtz3a1x-CVIPKw2H.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DewJikvf-DquNlF_a.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +16 -16
  118. package/dist/assets/{NotificationsListConfig-B6PteXf7-BPHFWRyo.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
  119. package/dist/assets/{NotificationsPage-CqmgbRYI-B1REvxM0.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +14 -14
  120. package/dist/assets/{OpExByVendorPage-CYAYFvCM-CDkrX969.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +6 -6
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-W0ax80yE.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-v5t7YeHA-c32BpF_9.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +5 -5
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +8 -8
  124. package/dist/assets/{PeoplePage-D89yZGJn-CFNcLLmk.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +29 -29
  125. package/dist/assets/{PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-B1HXVeH2-D3KDftxW.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-BeOYePu1-BPS8weXu.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-D1DDp9C1-BMl9m8-G.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-nb_5mvqp-CNrftMhR.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +5 -5
  130. package/dist/assets/{QBOSetupSection-b-OrlvdU-D5Bh2qoF.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +8 -8
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +15 -15
  133. package/dist/assets/{ReimbursementDetailPage-DHsqq__V-BbntdEZI.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +14 -14
  134. package/dist/assets/{ReimbursementPromoPage-D-wmyfH--DT237a-Y.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +6 -6
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
  137. package/dist/assets/{ReloadCard-D72dkm5s-DHOqIhPE.js → ReloadCard-DXOUba_M-CHzipN0D.js} +3 -3
  138. package/dist/assets/ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js +150 -0
  139. package/dist/assets/ReportsPage-FPxKx4-a-CZcO3AqP.js +120 -0
  140. package/dist/assets/{RevenueChart-G7w1_QXE-CK6mJH77.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +13 -13
  141. package/dist/assets/{ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-D0tbkcpk-u3R_yBnI.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +15 -15
  143. package/dist/assets/{RoleWithToolTip-w2s9tX9j-CThc8drW.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +2 -2
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-1MbaXcJV.js → ScreenRoutes-BiNVsQKa.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CuOJZCNp-D6aQorsQ.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +11 -11
  149. package/dist/assets/{SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +16 -16
  150. package/dist/assets/{SignIn-CtZ8rTB_-wQdGuYtt.js → SignIn-Bijj9JoA-Cew9W98o.js} +12 -12
  151. package/dist/assets/{SignInScreen-BSTxrh_N.js → SignInScreen-BJO_D-wG.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +12 -12
  153. package/dist/assets/{SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +44 -44
  154. package/dist/assets/{SpendManagementSection-B1F6rl-n-Bxu1kHsM.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +10 -10
  155. package/dist/assets/{SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +14 -14
  156. package/dist/assets/{StatementItem-CK2sUgkE-C5tUfOGU.js → StatementItem-BNQblVLa-DfVA7ygW.js} +5 -5
  157. package/dist/assets/StatementsPage-_-cg9582-BHbhelbD.js +58 -0
  158. package/dist/assets/{StatusSwitcher-BppDI7-7-CaTqg34_.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +2 -2
  159. package/dist/assets/{SubTabSwitcher-DTe2L8JC-D4RBO14j.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
  160. package/dist/assets/{SummaryCard-B-_3DnqQ-C4MQdd4u.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +29 -29
  162. package/dist/assets/{TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-CQ37qP58-CJPthL9i.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
  165. package/dist/assets/{TopExCard-CU-kbyDP-BkqVk6Yr.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +4 -4
  166. package/dist/assets/{TopExDetailPage-COxNovqU-TyxPPRK9.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +6 -6
  167. package/dist/assets/{TransactionDetailPage-k06RliU--jpVAAS-E.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +33 -33
  168. package/dist/assets/{TransactionList-CuRdM1xm-CGrWmUwi.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
  169. package/dist/assets/{TransactionListBig-ByLaQQUK-DVTWGGO_.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
  170. package/dist/assets/{TransactionListPage-ioT-Jexm-z12q095m.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +3 -3
  171. package/dist/assets/{TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +4 -4
  172. package/dist/assets/{TransferDrawerPage-B6zOVR7E-PtwoiwD5.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +6 -6
  173. package/dist/assets/{TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +21 -21
  174. package/dist/assets/{TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +13 -13
  175. package/dist/assets/{TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +6 -6
  176. package/dist/assets/{TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +5 -5
  178. package/dist/assets/{TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +18 -18
  179. package/dist/assets/{TrendChart-BXOatw0x-CophMwJ6.js → TrendChart-N85Ktah2-DbfJUW0C.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-BxoyLfjd-_bPvq9jR.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +14 -14
  182. package/dist/assets/{UnitIntegrationPage-Clt-99RU-BrzMoE2E.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BeADTlAW-BEAFQ3r2.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +11 -11
  187. package/dist/assets/{VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +11 -11
  189. package/dist/assets/{VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +45 -45
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +6 -6
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CLrfBouK-CqWzAgHB.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +11 -11
  195. package/dist/assets/{ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +18 -18
  196. package/dist/assets/{ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +6 -6
  198. package/dist/assets/{ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B_2DB9mm-Do8EbmHN.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
  201. package/dist/assets/{analyticsHelper-COZBEzRa.js → analyticsHelper-Bfbjyikr.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
  203. package/dist/assets/{chartTypes-DpnOYtNo-C1MRDQOQ.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
  204. package/dist/assets/{commonDimensions-D2zuat_O-BjWWOnE2.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
  205. package/dist/assets/{detailCommon-CloEmsTm-FeTpoyrx.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +6 -6
  206. package/dist/assets/{downloadPdf-OWaFOL1J-_yuPyAAc.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
  207. package/dist/assets/{index-LFy5NlUr.js → index-CvH632ro.js} +2991 -3029
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
  212. package/dist/assets/{play-icon-NE4JTPpx-CK0WoxqT.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +3 -3
  213. package/dist/assets/{toCOABalancesWithID-DN21aiLH-Bx86HqeI.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
  214. package/dist/assets/{toChartData-CG9GudeA-Bcz5dDyw.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
  216. package/dist/assets/{uploadAttachment-D42oX05_-CRxK5DEq.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +23 -23
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-DslgfUmv.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +4 -4
  220. package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +0 -1
  221. package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +0 -355
  222. package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +0 -219
  223. package/dist/assets/CompleteProfile-D80JYwPP-BRDUY6r-.js +0 -36
  224. package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +0 -1
  225. package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +0 -1253
  226. package/dist/assets/DashboardReportPage--SAxmUu_-Dq18S8YZ.js +0 -349
  227. package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +0 -28
  228. package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +0 -12
  229. package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +0 -41
  230. package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +0 -26
  231. package/dist/assets/ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js +0 -133
  232. package/dist/assets/ReportsPage-7E3Q5HHF-DXypTMXr.js +0 -120
  233. package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +0 -58
@@ -1,4 +1,4 @@
1
- import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u as xe,fr as be,M as E,Q as we,b2 as H,fs as Y,bN 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-LFy5NlUr.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-w2s9tX9j-CThc8drW.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,p 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 G,g as R,v as Q,s as Z,fw as $e,m as ye,w as ve}from"./index-CvH632ro.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -39,7 +39,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
39
39
  width: ${s.sp5};
40
40
  border-radius: 50%;
41
41
  justify-content: center;
42
- `,Te=r.img`
42
+ `,Pe=r.img`
43
43
  height: ${s.sp4};
44
44
  width: ${s.sp4};
45
45
  border-radius: 50%;
@@ -52,10 +52,10 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
52
52
  align-items: center;
53
53
  gap: ${s.sp2};
54
54
  height: 100%;
55
- `,ke=r(U)`
55
+ `,Te=r(U)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
- `,Pe=r.div`
58
+ `,ke=r.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  height: ${s.sp6};
@@ -96,7 +96,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,Q=r.div``,Ne=r.div`
99
+ `,q=r.div``,Me=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -133,7 +133,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${G.standardRegular.css};
136
+ ${Q.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${G.standardRegular.css};
148
+ ${Q.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -164,7 +164,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
164
164
  }
165
165
  }
166
166
  }
167
- `,Me=r.div`
167
+ `,Ne=r.div`
168
168
  width: ${e=>e.windowSize==="small"?"max-content":"100%"};
169
169
  display: flex;
170
170
  flex-direction: column;
@@ -180,21 +180,21 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn 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:T,isValuePlacedAtEnd:I=!0,isDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:V}}=K(),L=fe(V,j??""),c=M(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError: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],x=b(o.value);return l.jsxs(ke,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(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=!!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),x=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{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(Ne,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Me,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=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:k,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:f,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),V=M();return l.jsx(ge,{name:e,control:P,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:f,isDisabled:T,isOptionDisabled:k,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles: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(G,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(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(G,{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(Ge,{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"};
187
- `,qe=r.label`
187
+ `,Ge=r.label`
188
188
  color: ${e=>e.theme.colors.hero};
189
189
  ${e=>`${He.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,N={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=M();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:N.labelMarginLeft.value(f),marginRight:N.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(Qe,{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 Qe=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
196
196
  background-color: ${e=>e.theme.colors.grey5};
197
- width: ${e=>N.width.valuePx(e.size)};
197
+ width: ${e=>M.width.valuePx(e.size)};
198
198
  min-height: ${s.sp6};
199
199
  padding-right: ${s.sp2};
200
200
  padding-top: ${s.sp2};
@@ -1,8 +1,8 @@
1
- import{X as B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,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 z,b2 as M,ao as ce,a$ as pe,b_ as ue,fw as N,bF 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-LFy5NlUr.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-w2s9tX9j-CThc8drW.js";const A={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 G,C as g,o,p as n,cg as _,cp as J,co as q,u as X,v as V,b1 as ie,l as I,M as te,fq as se,fx as ae,R 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,w as Y,s as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as we,fz as ve}from"./index-CvH632ro.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.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
- margin-top: ${e=>A.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
- margin-bottom: ${e=>A.grpBtnMarginTopBottom.valuePx(e.windowSize)};
5
- margin-left: ${e=>A.grpBtnMarginLeftRight.valuePx(e.windowSize)};
3
+ margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
+ margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
5
+ margin-left: ${e=>H.grpBtnMarginLeftRight.valuePx(e.windowSize)};
6
6
  cursor: pointer;
7
7
  height: 29px;
8
8
  &:hover {
@@ -22,7 +22,7 @@ import{X as B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
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=B(),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":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(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,7 +31,7 @@ import{X as B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
- `,ze=d.div`
34
+ `,ke=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  width: 100%;
@@ -51,16 +51,16 @@ import{X as B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
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?z.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};
@@ -87,12 +87,12 @@ import{X as B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
87
87
  `,Me=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Be=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;
@@ -109,33 +109,33 @@ import{X as B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
112
- `,Fe=d(we)`
112
+ `,Ne=d(we)`
113
113
  width: ${o.sp4};
114
114
  height: ${o.sp4};
115
115
  color: ${e=>e.theme.colors.hero};
116
- `,Ne=d(ye)`
116
+ `,Fe=d(ye)`
117
117
  width: ${o.sp4};
118
118
  height: ${o.sp4};
119
119
  color: ${e=>e.theme.colors.hero};
120
- `,Ae=d(xe)`
120
+ `,He=d(xe)`
121
121
  width: ${o.sp4};
122
122
  height: ${o.sp4};
123
123
  color: ${e=>e.theme.colors.hero};
124
- `,He=d(fe)`
124
+ `,Ae=d(fe)`
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"?z.brandColorOnyx:z.brandColorPearl};
138
- `,Je=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Fe,{});case"zeni_reimbursements":return l.jsx(Ne,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(He,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Be,{className:"roleTitle",children:N[e].label}),l.jsx(Le,{className:"roleSubTitle",children:N[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:N[e].roleSuitableFor})]}),qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=G(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const 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,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(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(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(_e,{children:[l.jsx(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))})},Ge=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(q,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=B();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(Ge,{...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}},Ge=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})]}),Je=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=q(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),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};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:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(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))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(J,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Je,{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(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const 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 B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
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:D}}=_(),h=G(D,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=Q(),C=B(),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,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,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,F=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:F,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color: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:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return k.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}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:F}=w;return l.jsx(co,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,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: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(M.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?z.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(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(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=q(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(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(m=>m.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(m=>m.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,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 w=I.isNonZeniRole(O.value)&&s===!0,N=K(m,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:m&&!w?t.colors.background:"transparent",">div":{backgroundColor:m?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:K(!0,w,O.value,t),backgroundColor:m&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return 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:w}=r,{value:N}=w;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: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(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 B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
189
189
  .select-control {
190
190
  border: none;
191
191
  height: ${e=>e.windowSize==="small"?"auto":o.sp6};
192
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?z.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 B,j as l,Y as H,cl as K,C as m,o,p as n,cf as _,co as q,cn as G,u as
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.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?z.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(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Xe,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function 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":H("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(J,{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(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(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,c2 as me,i3 as P,hQ as L,M as W,c3 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,c5 as B,i4 as ye,g as Ce,v as I,az as we,p as r}from"./index-LFy5NlUr.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-k06RliU--jpVAAS-E.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js";import"./TrendWithTransactions-BxoyLfjd-_bPvq9jR.js";import"./TrendChart-BXOatw0x-CophMwJ6.js";import"./chartTypes-DpnOYtNo-C1MRDQOQ.js";import"./toCOABalancesWithID-DN21aiLH-Bx86HqeI.js";import"./toChartData-CG9GudeA-Bcz5dDyw.js";import"./NoDataChart-BHIoW_SW-DoqAVhyM.js";import"./InsightsSection-DvcmBPbo-Kmp0eo1Q.js";import"./NavigationDots-DfJQIsra-CF_rwB9h.js";import"./TransactionList-CuRdM1xm-CGrWmUwi.js";import"./BoxItem-C-RN4c2j-F6XwRGQ-.js";import"./commonDimensions-D2zuat_O-BjWWOnE2.js";import"./uploadAttachment-D42oX05_-CRxK5DEq.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,v as A,hE as we,p as r}from"./index-CvH632ro.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-jXKnnUTd-B5jk24Y7.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js";import"./TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js";import"./TrendChart-N85Ktah2-DbfJUW0C.js";import"./chartTypes-BrP58mNO-B-70_tkk.js";import"./toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js";import"./toChartData-oAAd1YDY-DlgK3yY0.js";import"./NoDataChart-DMqFH96W--xyVCmNv.js";import"./InsightsSection-obWu95-o-miX-wlBZ.js";import"./NavigationDots-BDLMSply-CVhKiAdV.js";import"./TransactionList-BVJHbP4d-Ch-jGNeO.js";import"./BoxItem-dOIVDQzt-BM2Or2XI.js";import"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import"./uploadAttachment-Bi2HYlA8-BLU3BxOX.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,c2 as me,i3 as P,hQ as L,M as W,c3 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",K="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: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(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: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: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: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(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)=>({[K]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=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,c2 as me,i3 as P,hQ as L,M as W,c3 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,c2 as me,i3 as P,hQ as L,M as W,c3 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,c2 as me,i3 as P,hQ as L,M as W,c3 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,c2 as me,i3 as P,hQ as L,M as W,c3 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,c2 as me,i3 as P,hQ as L,M as W,c3 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 as F,X as T,a as W,l as s,j as a,F as z,bM as S,c8 as A,C as m,cb as R,o as e,bP as E,p as u,ao as U,a6 as N,eW as V}from"./index-LFy5NlUr.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},Y=r.div`
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,p as u,av as U,aa as Y,eY as N}from"./index-CvH632ro.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -12,7 +12,7 @@ import{M as F,X as T,a as W,l as s,j as a,F as z,bM as S,c8 as A,C as m,cb as R,
12
12
  background-color: ${t=>t.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function X({saveDetailsFetchState:t,paymentData:i,onProceedForMarkAsPaid:h,onCancel:y}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:g,paymentDate:f,cancel:n}}},dateFormat:{visual:x,analytics:b}}=F.getLocalizedStrings(),{popUpTitle:w,paymentModeLabel:C,markAsPaid:v,defaultDateInfo:j,paymentModeOptions:$,selectDate:B,selectMethod:P}=g,l=T(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=W({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:v,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:n,isLoading:t==="In-Progress",isDisabled:t==="In-Progress",isEditPopup:!0,shouldClickAway:t!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:y},children:a.jsxs(Y,{windowSize:l,children:[a.jsx(A,{label:{label:C,width:d.labelWidth.value(l)},style:{width:d.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:I,showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:i?.paymentMode,allOptions:$?.map(o=>o.value)??[]}},isFunctional:!0}),a.jsx(q,{}),a.jsx(R,{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}}=F.getLocalizedStrings();if(t!=null&&i!=null){const b=`${t?.label} ${t?.maskedAccountNumber}`,w=a.jsx(Z,{children:a.jsxs(G,{children:[a.jsx(M,{children:b}),n.insufficientFunds.popUp.hasLowBalance,x.space,n.insufficientFunds.popUp.addMoney,a.jsx(M,{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}})}},Z=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(V,{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(q,{}),a.jsx(W,{label:{label:f,width:d.labelWidth.value(l)},style:{paddingBottom:d.paddingBottom.valuePx(l),width:d.width.valuePx(l),borderRadius:e.sp0},additionalPaymentInfoLabel: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,11 +21,11 @@ import{M as F,X as T,a as W,l as s,j as a,F as z,bM as S,c8 as A,C as m,cb as R,
21
21
  padding-right: ${e.sp7};
22
22
  margin-top: ${e.sp3};
23
23
  white-space: pre-line;
24
- `,G=r(U)`
24
+ `,Z=r(U)`
25
25
  color: ${t=>t.theme.colors.hero};
26
- `,M=r(N)`
26
+ `,F=r(Y)`
27
27
  color: ${t=>t.theme.colors.primary};
28
- `,H=r(V)`
28
+ `,G=r(N)`
29
29
  margin-top: ${e.sp6};
30
30
  padding-left: ${e.sp8};
31
31
  padding-right: ${e.sp8};
@@ -1 +1 @@
1
- import{j as l}from"./index-LFy5NlUr.js";import{f as y}from"./ACHDetailsPage-CW8vDdF5-BjcStneE.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js";import"./MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js";import"./BankAccountSection-iz2k4H5K-CWZXnWVk.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-CvH632ro.js";import{f as y}from"./ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import"./BankAccountSection-BGfiGdYG-BvbymoQK.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-LFy5NlUr.js";import{y as b}from"./DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-iz2k4H5K-CWZXnWVk.js";import"./MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js";import"./BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js";import"./MailingDetailsSection-BV_-2RQM-CCg3F_6v.js";import"./LabeledAddressValueField-CMIVYcKX-IiR7eG-s.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-CvH632ro.js";import{y as b}from"./DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-BGfiGdYG-BvbymoQK.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.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-LFy5NlUr.js";import{f as S}from"./InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js";import"./MailingDetailsSection-BV_-2RQM-CCg3F_6v.js";import"./LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js";import"./MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.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-CvH632ro.js";import{f as S}from"./InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.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 a,b$ as c,k as p}from"./index-LFy5NlUr.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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-CvH632ro.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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,18 +14,18 @@ import{ab as r,M as n,j as t,aj as l,o,$ as a,b$ as c,k as p}from"./index-LFy5Nl
14
14
  justify-content: center;
15
15
  opacity: 80%;
16
16
  margin: 0 ${o.sp4};
17
- `,g=i(c)`
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};
27
27
  background-color: ${e=>e.theme.colors.background};
28
- `,x=i(a)`
28
+ `,x=i(c)`
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  height: ${o.sp4};
31
31
  `;export{S as default};
@@ -1,12 +1,12 @@
1
- import{M as C,aa as p,j as t,b$ as m,o as a,q as d,g,bF as x}from"./index-LFy5NlUr.js";import{n,b as i}from"./vendor-CnQcJ2Lu.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.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:l,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=s.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(f,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx($,{}),s.encrypted]})]})]})},w=n(x)`
1
+ import{M as C,aJ as p,j as t,c0 as m,o as a,s as d,g,ah as x}from"./index-CvH632ro.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};
5
- `,$=n(h)`
5
+ `,f=n(h)`
6
6
  width: ${a.sp4};
7
7
  height: ${a.sp4};
8
8
  color: inherit;
9
- `,f=n(d)`
9
+ `,j=n(d)`
10
10
  display: flex;
11
11
  align-items: center;
12
12
  justify-content: space-between;
@@ -1,4 +1,4 @@
1
- import{X as h,M as u,C as o,j as s,o as a,c7 as x,an as b,p as i}from"./index-LFy5NlUr.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-CMIVYcKX-IiR7eG-s.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=h(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=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:$},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 h,M as u,C as o,j as s,o as a,c8 as x,as as b,p as i}from"./index-CvH632ro.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.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=h(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=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:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as o,j as i,Y as d,m as c,g as l,o as p,C as r}from"./index-LFy5NlUr.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,n as c,g as l,o as p,C as r}from"./index-CvH632ro.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-LFy5NlUr.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-LFy5NlUr.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};