@zeniai/web-cockpit-ui 1.14.84-dev → 1.14.85-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 (221) hide show
  1. package/dist/assets/{ACHDetailsPage-BXgsd50c-BuCiUEId.js → ACHDetailsPage-Dzk7YdoJ-Cuct0t6u.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-BdDTidCL-D-IQ6p36.js → AIPerformancePage-DBCH9dJi-CYibQjrX.js} +19 -19
  3. package/dist/assets/{AccountInfoPage-w0STaK9a-BfMIBiEJ.js → AccountInfoPage-Mzw-22d_-Df5O2T5Z.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-CsuUhHXU-DgiU-I5H.js → AccountInfoPageContent-Bjp81drF-Cqcv4hk8.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-iYb31wv7-CEyp2zKM.js → AccountLockedInfoModal-Zg2PAu1o-svgY2-MJ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DmkLTIkW-DxChexc_.js → AccountReconDetailsDrawerPage-BTkrwp4Q-CWHV1qM1.js} +9 -9
  7. package/dist/assets/{AccountRow-BObEIy6l-CsCw-i7a.js → AccountRow-CIsbwvGp-J3oMxL3b.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-B8gJFsYh-DpzT8FNB.js → AccountsPromoCardStack-DrElZh-K-CUoBlW42.js} +13 -13
  9. package/dist/assets/{AddAddressForCardDrawer-vOgzMYWA-Bo72mQ01.js → AddAddressForCardDrawer-D5Kqxx0c-CDAVfdUf.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BhphXgem-DR4-yAJW.js → AddToWalletPage-B68eBsAU-Dnsjp7Oq.js} +5 -5
  11. package/dist/assets/{AgingReportsPage-DEgupWct-SJsZmYxE.js → AgingReportsPage-BlQHxYjL-Cr6yxtF3.js} +4 -4
  12. package/dist/assets/{AllUserItems-S2DAZpO6-Zcx2jN6k.js → AllUserItems-DsECKAGD-PW2UBBng.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-CvDD8-s7-k2W-N5me.js → ApAgingDetailPage-Bg0ZrGXm-CfXEq_5-.js} +2 -2
  14. package/dist/assets/{AppBasePage-C4z5I-xG-vGdvNBYI.js → AppBasePage-tPaBc2ei-WGoBSx1D.js} +7 -7
  15. package/dist/assets/{AppDrawerContent-Dka5HlPs-BfBKKeHh.js → AppDrawerContent-Cx4zDKi_-DO8upp4U.js} +2 -2
  16. package/dist/assets/ApprovalRulesSettingsPage-BcRZvSQH-BuukHz1z.js +47 -0
  17. package/dist/assets/{ArAgingChart-CJ7XKU9h-BSixtgVA.js → ArAgingChart-RdGwOP5k-DaN2WJzI.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-Bh7NAVZf-DauNApby.js +46 -0
  19. package/dist/assets/{AttachmentView-Dg6PizI7-BzoqKbZ4.js → AttachmentView-ClnTjRCg-CXQ9ySez.js} +6 -6
  20. package/dist/assets/{BankAccountSection-Chay7X-G-vPiVizDl.js → BankAccountSection-D3sQOQ-c-t8HGw1J0.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-CSChi1lw-BVD5BCv3.js → BankAccountWarningSection-CxLBPI_P-CQJWoDnI.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-DJV7q1Kp-DcUIdQZo.js → BankConnectionsSettingsPage-Bsix2nzV-BvUIdsy8.js} +6 -6
  23. package/dist/assets/{BillDetailPage-DM06uZnD-BOk9lw2_.js → BillDetailPage-B52FZrvM-BFE_NGrS.js} +10 -10
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-MsPIxgUt-r4h6U7BK.js → BillPayApprovalRuleDetailPage-CswUbxdi-Cprf5Nyo.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BhDdco2x-B1oZ9jjD.js → BillPayApprovalRulesPage-B-8sIYjs-D2BSNMf9.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Dy-opG76-CZ2iWLB7.js → BillPayPromoPage-B6jW_8rf-YW9uzBg5.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-DUvwWlaD-Bg_qNGFx.js → BillPaySetUpPage-Rqxy02BM-CEkcaNcr.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-wj_sIJgc-Dy0iglvP.js → BillingSettingsPage-CPs5zrIc-DODFNfJu.js} +4 -4
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DbC84oxR-CV4aNHIq.js → BillsBulkReviewDrawerPage-DLQsxJi8-DtW4kiE9.js} +1 -1
  30. package/dist/assets/{BoxItem-CdqDzfZN-BxmSstzM.js → BoxItem-CP9cPZQd-BW2Fv6YZ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BMtHNNcG-CKxF3KMp.js → BusinessVerificationPage-Cayj-kYe-DIQRuHb0.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-lh7fQJis-CKFkz1Hy.js → CardNumberSubText-FdCtSIHd-Cer2LzOo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-KRbsYA09-DzsJTodf.js → CashbackDetailPage-CZICE37r-CchxXOB0.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage--WP6KTfb-BgNGsK6v.js → ChargeCardDetailPage-Be2X4Rx8-DkQXGv5E.js} +27 -27
  35. package/dist/assets/{ChargeCardListPage-knAPmob6-CgVyQmJQ.js → ChargeCardListPage-DzfBzM8o-BpS6GwxX.js} +13 -13
  36. package/dist/assets/{ChargeCardListTable-DsfnKX3P-D0-TBhcC.js → ChargeCardListTable-Bc-4mcCz-DGGclb69.js} +44 -44
  37. package/dist/assets/{ChargeCardPromoPage-C9610LtW-GRwSeJ82.js → ChargeCardPromoPage-D_C7hXGy-jKodLkTT.js} +7 -7
  38. package/dist/assets/{ChargeCardSetupPage-Cy4JhjJW-BnQWcnli.js → ChargeCardSetupPage-BwNi9-pq-C4dK5zJO.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-C7uS1jEO-7cO1LhgS.js → ChargeCardStatementsPage-Bf04MOoK-k-sWDpeT.js} +8 -8
  40. package/dist/assets/{CheckDepositDrawerPage-TfiJwtqN-CwfCisTT.js → CheckDepositDrawerPage-B-A9fkGZ-DZFZ2JbI.js} +7 -7
  41. package/dist/assets/{CollapsableReportTable-NYu8Bq-g-CCeLwwka.js → CollapsableReportTable-DdMyzUD0-BAoVL7wM.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-CiVliExW-DzmWuQm0.js → CompanyOfficerDetailsSection-kRtuUd2c-Cm23V4kL.js} +18 -18
  43. package/dist/assets/{CompanyPassportCard-8zvCdmxt-CxjPiS1u.js → CompanyPassportCard-KhSJJMcy-Cll554T1.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-AS4N7oT2-Bv10VeId.js → CompanyPassportPage--ckOuqML-CPrNkQDu.js} +10 -10
  45. package/dist/assets/{CompleteProfile-Dj080UdJ-B2qMa6vk.js → CompleteProfile-D8egRg8d-QRh3PECw.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DcCUSSaX-yciACYT1.js → ConfettiBurst-CvRhNEAY-OaJ4gLIH.js} +1 -1
  47. package/dist/assets/CreateOrEditVendorPage-DrZh60Xs-DORgL7Gm.js +281 -0
  48. package/dist/assets/{CreditCardPaymentDrawerPage-BKvqMwnt-BuHB8ode.js → CreditCardPaymentDrawerPage-B7ssB1GM-DOObGC22.js} +8 -8
  49. package/dist/assets/{CurrencySelectField-ksMvik33-CjY_Sqhm.js → CurrencySelectField-BXp2mtZ7-BZ1r7qNY.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DfT_gkE4-Dk7tFjjw.js → CustomerOnboardingActivationPage-BX7STQsk-ClpFwMrN.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-BkPTeV9_-YlZ2rpks.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DfOtXgss-1gud75px.js → CustomerOnboardingDetailPageSkeleton-C5tSpmSB-5KFMWV1l.js} +5 -5
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-61UorFvn-DF0b8zE7.js → CustomerOnboardingNoStepsPage-CQUQlLbj-llUCphSN.js} +4 -4
  54. package/dist/assets/CustomerOnboardingPage-D0p8khnC-C1IdwvBx.js +107 -0
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-CTowHB2X-DUFAd8wB.js → CustomerOnboardingProductSuitePage-BRk3TA9f-n37UhYFK.js} +1 -1
  56. package/dist/assets/{Dashboard-2RpETnqH-Dgva4ZAW.js → Dashboard-CBOma7mv-B9j8ewTM.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-DRRWpGiJ-Z6RP-3ZH.js → DashboardReportPage-DRYx3AOy-D6rkizKp.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-0cCKM3E9-DV5Ukn4W.js → DashboardSidebarBackgroundAnimation-DYsp7Imm-CsY2ImuX.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-DjbheijR-B7o468tr.js → DepositAccTransactionItem-BQU7vZKr-BOGssvEh.js} +1 -1
  60. package/dist/assets/DepositAccTransactionListPage-DQDt_2kb-D0tTF08R.js +66 -0
  61. package/dist/assets/{DomesticWireDetailsPage-DuKrVIAL-BzRIhYO3.js → DomesticWireDetailsPage-B0KbC9m8-DSgkPJjx.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-f6SOW8iK-DORigjXi.js → DownloadOverlay-D2vm9EYI-1UU-2gMF.js} +18 -18
  63. package/dist/assets/{DrawerPage-BkIQ6mLJ-DU9u6eQ0.js → DrawerPage-DHIaNEwf-DBdDE0YZ.js} +7 -7
  64. package/dist/assets/{EditPeoplePage-lZcM4Zfw-CzhpHcfF.js → EditPeoplePage-B4OaKX89-CxOdlVup.js} +2 -2
  65. package/dist/assets/{EditReimbursementDetailPage-WO3U-vVY-CTjbkhIP.js → EditReimbursementDetailPage-C_JOnUnR-BaFHONcZ.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-AP27Niqu-DwUEbyHL.js → EntityDetailPage-DGq_Sr4I-DbAOqf4w.js} +2 -2
  67. package/dist/assets/{EntitySummarySection-B6khdAJg-7W3j7WRI.js → EntitySummarySection-CAKPRhm9-DT4p2FkX.js} +10 -10
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CcTGou9x-D6xWlI6r.js → ExpenseAutomationOverviewPage-c4H81maP-DA77wvgo.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationPage-DEleaYKs-SFko_-SO.js → ExpenseAutomationPage-DoI_XKeY-6CiggPiF.js} +160 -160
  70. package/dist/assets/{ExpressPayPage-CLYzefaM-CHfIN-TO.js → ExpressPayPage-CjhXfVeX-BOKCYwCy.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-T78A34---Cfgg_jhN.js → FeaturePreviewPage-CwrW_5lN-DmGMYSsi.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-B_mTbqHf-CcoWV2SW.js → FollowStepsSection-DwVibYwI-v9hEOCV9.js} +6 -6
  73. package/dist/assets/{GlobalReviewListPage-XfxDC9vP-Bi-7QMiL.js → GlobalReviewListPage-JUSXRKq4-DVN5r0h7.js} +45 -45
  74. package/dist/assets/{InformationCardStack-Buibt8cT-DzjFUhjp.js → InformationCardStack-CK1Ztw1n-C4th25N4.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-Cj5iIm_T-CnLFxYVI.js → InsightsCardStack-BKAezFjz-Dc6HzMco.js} +2 -2
  76. package/dist/assets/{InsightsSection-DuPqQb5Z-C8m7clcN.js → InsightsSection-Bauri5yR-CKFEflqf.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-VZDSLMHK--2kEd_Ab.js → IntegrationsSettingsPage-CnRe_xH3-UkqXGmer.js} +9 -9
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-BUa1svL--BjPRjytS.js → InternationalWireSwiftDetailsPage-BJkaLuNw-77-AaJID.js} +10 -10
  79. package/dist/assets/{InternationalWireVerificationPage-C1qKNhqJ-D8-rYzvp.js → InternationalWireVerificationPage-pPH2bNM7-BKQZ3C2I.js} +1 -1
  80. package/dist/assets/{InviteFormPage-GPXu2hLn-Dlxczoo1.js → InviteFormPage-CsL2egNG-DnYkx7hA.js} +1 -1
  81. package/dist/assets/{InvitePageListView-FEFeEFZJ-fGYpyL6r.js → InvitePageListView-rt3KC_c5-JZPrjnvG.js} +33 -33
  82. package/dist/assets/{InvitePeoplePage-C6E594rf-DZBpEScz.js → InvitePeoplePage-Cdr0dhtJ-QaKpYzAx.js} +4 -4
  83. package/dist/assets/{InvoiceUploadSection-uvB-_dyl-BnrUYuvf.js → InvoiceUploadSection-NVvtQvoL-B8iP_R_q.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-DSPlu840-3aXsgWJG.js → IssueChargeCardPage-D5KenKnm-I0qHogFn.js} +13 -13
  85. package/dist/assets/{LabeledAddressValue-CzDn9ZY4-bnEz1Jxt.js → LabeledAddressValue-Bwkw-Ez_-QZs1bcqC.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-C_8kPzjy-5OUHMeqd.js → LabeledAddressValueField-BgkRIdwJ-D68tBsFt.js} +2 -2
  87. package/dist/assets/{LabeledControlledCheckBoxField-LwfkGeF--D4JaYe7v.js → LabeledControlledCheckBoxField-RzyuT5ZX-BsFbzCeg.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-sEf-9BOE-pPbJFdXC.js → LabeledCreatableSingleSelectField-BP_p62Nk-BGV5p2pd.js} +2 -2
  89. package/dist/assets/{LabeledDocumentField-rGzXpShn-Cfh7MC5-.js → LabeledDocumentField-DGncRe-Q-BM_MF9Yy.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CIQk7Jhu-BODJHkfO.js → LabeledDropDownFormattedTextField-DWUVcIR8-DmvGwPXC.js} +7 -7
  91. package/dist/assets/{LabeledText-Dc-697nR-dyJ4TshB.js → LabeledText-BzD_-lgI-Br_7nwt2.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B0D7IWfA-CLizobZu.js → LabeledUserSingleSelectWithSubtitlesField-D3kjxF9V-C7cFlAui.js} +10 -10
  93. package/dist/assets/{LabeledZeniRolesDropDownField-BO8f1yqV-POb2k_D_.js → LabeledZeniRolesDropDownField-BlmybTGB-C8vefnXI.js} +25 -25
  94. package/dist/assets/{LinkJETransactionPage-DDSo8zJn-CupLOAYQ.js → LinkJETransactionPage-CUnfHHeT-BQ0Gfxk0.js} +9 -9
  95. package/dist/assets/{LockCardPage-CvZcUUc8-B6VLJ-gr.js → LockCardPage-2jOFCVkW-Cd-7Cld7.js} +19 -19
  96. package/dist/assets/{LowBalancePopup-DJQCz0Ed-B8IDUNee.js → LowBalancePopup-Du0kX_mJ-B-0Hf7BW.js} +2 -2
  97. package/dist/assets/{MagicLinkACHDetailsPage-CEtaoWk8-CST49L9m.js → MagicLinkACHDetailsPage-CkbNMu7Z-B4drRgdG.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-qdgMQR3_-DWvT9O1j.js → MagicLinkDomesticWireDetailsPage-D0XBf5_X-D4YEFAaf.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNwtPZ-u-Bk0G3IwE.js → MagicLinkInternationalWireDetailsPage-Bl93T-SF-DbfMD1IO.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-60TBVrSw-CKgQ4p6j.js → MagicLinkSuccessPage-C26glp7T-BbSy9weN.js} +2 -2
  101. package/dist/assets/{MagicLinkTitleSection-D2fXbnDV-CA6SEdmn.js → MagicLinkTitleSection-B4nxLzap-CM0lHGYk.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-C6cVooC3-CCSD5vtq.js → MailingDetailsSection-Cou_W8JF-D0QplON-.js} +1 -1
  103. package/dist/assets/Menu-CdF7UWPF-DT1TTbqS.js +17 -0
  104. package/dist/assets/{MyBankConnectionsSettingsPage-D2EPH9WZ-DhQP4OT2.js → MyBankConnectionsSettingsPage-BAjjxA98-P3jZBDkg.js} +5 -5
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Bidsd2bk-DJBBvD6g.js → MyPendingActivationChargeCardListPage-DsRGcA8F-BiAy3gfH.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BH2ZVQTk-DMG3qFrn.js → MyProfileSettingsPage-y-iZgUqL-Cmq9Fbc9.js} +6 -6
  107. package/dist/assets/{NavBarWithPicker-Cg2TZjBi-DZVc5NBz.js → NavBarWithPicker-ph4heJns-CH6-ZGCk.js} +4 -4
  108. package/dist/assets/{NavigationArrow-CYserS2B-DdYPXfvg.js → NavigationArrow-BojAUI53-DuIW3OB3.js} +1 -1
  109. package/dist/assets/{NavigationDots-CT_oO_7z-Bt9KzB5Z.js → NavigationDots-Bf66leAL-DWvE0Tr9.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-D3MQU5Sh-BUpZMSnV.js → NewGlobalMerchantPage-D43XJhIa-CGBQEE1e.js} +5 -5
  111. package/dist/assets/{NoDataChart-BItQZAQ9-a5HKjWqu.js → NoDataChart-6R5pxJVo-CWkI_hu9.js} +1 -1
  112. package/dist/assets/{NoDataTable-R8OCdB2c-cDhvp6Rg.js → NoDataTable-CNx0KCKn-Yxxqzyz6.js} +1 -1
  113. package/dist/assets/{NotFoundPage-DLHYdRdN-xXzpa00n.js → NotFoundPage-CE9BW_aV-BJq9qwHQ.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-CIwxb6c9-FsYdgXX7.js → NotificationSettingsPage-etN6HEwO-CPu8hoID.js} +12 -12
  115. package/dist/assets/{NotificationsListConfig-DSgUS0hE-mwmsOI0p.js → NotificationsListConfig-15ae4nik-CPKCivw4.js} +1 -1
  116. package/dist/assets/{NotificationsPage-W5ZhprRe-DZn-eWsJ.js → NotificationsPage-BwbxqKxd-CJ_w7jhJ.js} +23 -23
  117. package/dist/assets/{OpExByVendorPage-DIi58wXa-nKCVWs3g.js → OpExByVendorPage-FR3oloXp-BIjz5fFP.js} +24 -24
  118. package/dist/assets/{OverlayContainerPage-BsY9_22w-CFGZ7LWs.js → OverlayContainerPage-CrZuT2Jj-BFQOGYGF.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-BvMxFrqo-D4f9n7Zm.js → PandLWithForecastPage-Bx3ZyA3l-DeFHP0VX.js} +7 -7
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-kUAm-v-A-BSna9XIu.js → PaymentAccountSetupBillingAddressSection-R1O20DhA-C65ZHllw.js} +6 -6
  121. package/dist/assets/{PeoplePage-CtnWc0LE-B3_lhERY.js → PeoplePage-B3HRaJWz-DZIUGp3j.js} +15 -15
  122. package/dist/assets/{ProductsCarousel-n0ZNrr7--DQIbkMZp.js → ProductsCarousel-Dn4vuZwM-XZC4Gi6v.js} +4 -4
  123. package/dist/assets/{PromoBaseCards-CeS0HoCZ-CICve0tH.js → PromoBaseCards-BKo4wO-U-UIjavA07.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-BxSTc99Z-DVq4lO-s.js → QBOConnectionDialog-CPq0aUew-DHwaU-lE.js} +5 -5
  125. package/dist/assets/{QBOSetupSection-FrO9rgct-B0n-bnvz.js → QBOSetupSection-BjImTh7O-Cf73veGI.js} +11 -11
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BjtdatXs-DvpYlYpI.js → ReimbursementApprovalRuleDetailPage-DD1HwLO0-DBTNMi4-.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-B0_FgpJf-BSGUtiNs.js → ReimbursementApprovalRulesPage-DHQHS0eD-l5f43j6l.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-BWhPxHY--DgkbtFUt.js → ReimbursementDetailPage-DiMXs0_o-C-Gngkni.js} +7 -7
  129. package/dist/assets/{ReimbursementPromoPage-CFG0yxOE-CNHt16Bv.js → ReimbursementPromoPage-BinqJ3lR-Dkzvoe2N.js} +5 -5
  130. package/dist/assets/{ReimbursementSetUpPage-BmUdLEa9-uEaDyTyL.js → ReimbursementSetUpPage-BD6B-0CO-Dhg43o5f.js} +17 -17
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CkJqhXEf-B4qPeVNR.js → ReimbursementsBulkReviewDrawerPage-DK-nCoay-BC-GO3CD.js} +1 -1
  132. package/dist/assets/{ReloadCard-CNKwqjPJ-C6w7GHJG.js → ReloadCard-Bt8qxAUx-C0FiLSzB.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-B0DXgLgJ-B3X9gS-3.js → ReportTableViewSelector-Dv7BwM1q-DZ-FOl5q.js} +6 -6
  134. package/dist/assets/{ReportsPage-C5iOQU55-DamkEztw.js → ReportsPage-BOY8oCAr-BwR5MVzD.js} +5 -5
  135. package/dist/assets/{RevenueChart-C2CMFAQ--BirLMW85.js → RevenueChart-D_yexiAR-D3rVopXP.js} +16 -16
  136. package/dist/assets/{ReviewDetailsPage-5vOZ0rd7-B41AzmWH.js → ReviewDetailsPage-Czrlb8BL-DTI9py46.js} +14 -14
  137. package/dist/assets/{ReviewOverlay-BAG_6iyV-B2w-MEIV.js → ReviewOverlay-BHUy3fWf-DhycJa32.js} +10 -10
  138. package/dist/assets/{RoleWithToolTip-GUYLjJwW-DVSFtUus.js → RoleWithToolTip-BxI2nAro-CHrHR5C8.js} +4 -4
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-sPjMfOtt-m5JvZNFh.js → ScheduleDetailsFixedAssetsPage-DsNhFGrc-C7120rgv.js} +8 -8
  140. package/dist/assets/{ScheduleDetailsPage-DI4C0o6b-B7Dooc-N.js → ScheduleDetailsPage-Dy2poGsp-B72mEOku.js} +4 -4
  141. package/dist/assets/{ScheduleSequenceTable-DhXwtG-x-C20E6-vV.js → ScheduleSequenceTable-Bv1feMZc-DEmwzIZ-.js} +47 -47
  142. package/dist/assets/{ScreenRoutes-B_yySVlk.js → ScreenRoutes-aw0OxNGj.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-DOavnCkG-CmcaONdQ.js → SetUpAccountSection-SSkLhU2W-Bdvkba2v.js} +14 -14
  144. package/dist/assets/{SignIn-DqrG5nEJ-8MVRrbiA.js → SignIn-Chuf9_2E-Dg9U6pWl.js} +10 -10
  145. package/dist/assets/{SignInScreen-CSh4OzXN.js → SignInScreen-heeiIDQc.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-DHY_hZQm-C3jihmoK.js → SpendManagementListViewPage-BpCZzQ7I-CeMMhyUX.js} +8 -8
  147. package/dist/assets/{SpendManagementPerTabPage-CoKTIQ2b-D2j2J6zW.js → SpendManagementPerTabPage-DbXTM50B-DF3kTGNr.js} +32 -32
  148. package/dist/assets/{SpendManagementSection-UkTY6qX0-CST6kY6m.js → SpendManagementSection-BMU1BTEo-BBFzWPwD.js} +12 -12
  149. package/dist/assets/{StatementItem-Bx6mxa3U-C42zKfqY.js → StatementItem-qLZEMVrM-C5sUBNaG.js} +5 -5
  150. package/dist/assets/{StatementsPage-ULjFE30P-BGU6QX6B.js → StatementsPage-B3qY1D4K-C1V6A2Qk.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-DlBY_FC1-C1Bsm00T.js → StatusSwitcher-xQ_AW7ze-DWj9eTCE.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-DjEElTWE-5Wo1Obau.js → SubTabSwitcher-w8vLc-35-BeFKfmS8.js} +1 -1
  153. package/dist/assets/{SummaryCard-BNESDUnN-ChwTCNZM.js → SummaryCard-CTq_yqTg-Bw75z4He.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BFF3ATPV-BYvPz4hv.js → TaskManagementPage-keXFNmIv-BEMVU9l6.js} +33 -33
  155. package/dist/assets/{TimeRangeSwitcher-xILz-EO6-DqqNb5IN.js → TimeRangeSwitcher-C4Tph63B-D9xSXRlF.js} +2 -2
  156. package/dist/assets/{TimeframeSwitcher-CZhQm7rH-D5h04PEF.js → TimeframeSwitcher-LLgotbh8-X4qFRStD.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-CduB3ZjN-PiqhKHhY.js → TimeframeSwitcherWithToggle-Cw3a9d0I-BlbsDDpn.js} +1 -1
  158. package/dist/assets/{TopExCard-C_HWsAL1-DphCzqA5.js → TopExCard-Dj0wtF6g-CdD53hxs.js} +3 -3
  159. package/dist/assets/{TopExDetailPage-BEKo6juU-CUrrRqCk.js → TopExDetailPage-JutaMmtR-koGwO2ev.js} +5 -5
  160. package/dist/assets/{TransactionDetailPage-Bzgtmi3U-DCXvClem.js → TransactionDetailPage-BdFHqSCv-Bc3ggi0n.js} +30 -30
  161. package/dist/assets/{TransactionList-Dw78Q0Sx-BHAN7axA.js → TransactionList-C85wyFeI-C41EirGp.js} +4 -4
  162. package/dist/assets/{TransactionListBig-BofakL17-k36ZTqo_.js → TransactionListBig-DPev2-Mm-BpW_w096.js} +6 -6
  163. package/dist/assets/{TransactionListPage-tpOg0ax5-aeL9weeE.js → TransactionListPage-D127NU4T-BPyAfJzu.js} +4 -4
  164. package/dist/assets/{TransactionVendorDetailPage-BqIcXz6b-tGgvKqD0.js → TransactionVendorDetailPage-BJ1YnPif-SJ1gb7FN.js} +5 -5
  165. package/dist/assets/{TransferDrawerPage-DnnZBOyK-y1PDtTFY.js → TransferDrawerPage-DcrfmXH1-DiL_C6V9.js} +21 -21
  166. package/dist/assets/{TreasuryOverviewPage-C9ROzNHl-Cn6eazlN.js → TreasuryOverviewPage-D-Zw4Npq-K2RbtXZZ.js} +22 -22
  167. package/dist/assets/{TreasuryPromoPage--j_2YjQn-DHIwXCO0.js → TreasuryPromoPage-BhBPhhbb-DM-0mrYZ.js} +131 -131
  168. package/dist/assets/{TreasuryStatementsPage-BLrceDQm-vMicHzmk.js → TreasuryStatementsPage-Dxjg_QN7-C_fsR-Na.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-BoqkgdLm-DAQeQUTC.js → TreasuryTaxLetterPage-Dm552RDZ-BLLWDMsm.js} +7 -7
  170. package/dist/assets/{TrendChart-KnFi8NXQ-DHzaDtQY.js → TrendChart-_c8z5Kxm-DarAZz3o.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-C_T0I9xe-DqS7m8LH.js → TrendWithTransactions-B2rde1MW-D1twJg_e.js} +4 -4
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DOuzy2aS-DnfCgWVE.js → UncategorizedAccountsMappingPage-77nkQFar-Bn3Ibb9A.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DxhlNHvt-CHN5Qw88.js → UnitIntegrationPage-3_YMV_f4-yfDaiCvi.js} +4 -4
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-BAvSyhDW-D4KE1Kke.js → UploadAdditionalDocumentOverlay-D72fkcgM-BkIuCEEz.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-BFjVFON8-Dl6jzAdP.js → Vendor2FAPopup-DLbGF5_q-DmCvA6XI.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-8BG5DD-0-p3vm6zDD.js → VendorACHDetailsPage-CaNQylEA-CMyzxyGW.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-C16CrNJo-D86vTvj2.js → VendorDetailPage-DqdH4UMj-tM-8a-UX.js} +18 -18
  178. package/dist/assets/{VendorDomesticWireDetailsPage-DXhugXZa-DeVAnksE.js → VendorDomesticWireDetailsPage-9pyV_r_g-CREdXXXG.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-2QPpdbuN-ozpxZwEp.js → VendorFiling1099EditablePage-nb9_V73Z-CwrDCXoq.js} +32 -32
  180. package/dist/assets/{VendorFirstReviewPage-DLshEh_s-DbpLTolM.js → VendorFirstReviewPage-C2RjaA8x-C3EURG-_.js} +58 -58
  181. package/dist/assets/{VendorInternationalWireDetailsPage-_WoNgw66-DANrlPFU.js → VendorInternationalWireDetailsPage-VOAgofls-DxNfQmbI.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dyt1ZPOh-DoVwF0sT.js → VendorInternationalWireSwiftDetailsPage-CcRuLO-_-CRRJCsCk.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-Dxq0YSgP-Bt8xoh_f.js → VendorsAccountsSection-RzVUJ8IV-CIdzas-R.js} +14 -14
  184. package/dist/assets/{VerifyDevice-DEwEqoHA-CylVN9FP.js → VerifyDevice-DUxQHfLf-DyoufOtx.js} +1 -1
  185. package/dist/assets/{VideoPlayer-_1Msrww9-DaiS1R42.js → VideoPlayer-BxuhQQfM-CSaCo4fi.js} +1 -1
  186. package/dist/assets/{VideoPopup-BzQ_Dl9b-mwrODjDA.js → VideoPopup-DdtmLcPB-9kSPQrRF.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CMBST3p1-ujIyTaCb.js → WarningsDrawerPage-DC5ophK0-B9MWpL_5.js} +5 -5
  188. package/dist/assets/{ZeniAccountDetailPage-DVLYYC-q-DeZb5ud9.js → ZeniAccountDetailPage-C1KKeyYC-AmZ_-UbH.js} +14 -14
  189. package/dist/assets/{ZeniAccountListViewPage-BHkoMOx5-CtDb7Bzx.js → ZeniAccountListViewPage-Bw5_2Q-c-Zl0NVbWL.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-CCFzNOcx-CuAvs6Mv.js → ZeniAccountNavBarPieces-DlfwFtOB-BhG7WDho.js} +3 -3
  191. package/dist/assets/{ZeniAccountPromoPage-C3Rl-hWL-DwIvVxTo.js → ZeniAccountPromoPage-B8cXf7Ni-BGYao9Jv.js} +13 -13
  192. package/dist/assets/{ZeniAccountSetupPage-Bf1OOF0Q-DBu-8Ie5.js → ZeniAccountSetupPage-Cae0pB-b-Blr8FOsP.js} +3 -3
  193. package/dist/assets/{ZeniCopyright-CdqD8vO4-DYRLQn9Q.js → ZeniCopyright-gTS4uZlF-BTYFdkhV.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-BTudpQjV-CvoGRB0t.js → ZeniTransferAmountSlider-17kY7kNO-DEs9IrPm.js} +1 -1
  195. package/dist/assets/{analyticsHelper-_u1yj9ge-DxpjUhrt.js → analyticsHelper-DXVBA0aW-q_4bVB8v.js} +1 -1
  196. package/dist/assets/analyticsHelper-kRUwHHg6.js +1 -0
  197. package/dist/assets/{chartTypes-vQ8GTDEq-DTt3gea6.js → chartTypes-BXBHlosV-DY5SgOjH.js} +1 -1
  198. package/dist/assets/{commonDimensions-znFHURNY-BydE4i8M.js → commonDimensions-Bm2CSHrw-S9XM9nhL.js} +1 -1
  199. package/dist/assets/{detailCommon-DmLhlrjU-ShYTQ7m2.js → detailCommon-VW4xegQy-1DhxNuRe.js} +3 -3
  200. package/dist/assets/{downloadPdf-CCUPfpyu-Cq1M0ik1.js → downloadPdf-DUAAPKqC-BN9D0Y0M.js} +1 -1
  201. package/dist/assets/{index-XNBiWrYj.js → index-BS0RW8dr.js} +3698 -3698
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-Cw74bTou-BDMlWcL7.js → mapLoadingInProgressToTreeNode-D5WZ1WGx-B7azUcXb.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWFxnMpB-BCzyYlDf.js → mapSectionWithAcOnlyToTreeNode-BxzLwMCb-DSGmyD1M.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-JUrBuZAz-wZclqNi-.js → mapSpacerToTreeNode-CScyNZ9s-wlC4VP1v.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-B2iYfeF3-B53qunPl.js → mapTimeframeBalancesToTreeNode-Caj8eqsL-Kzqcpw75.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-BbQHYZk7-DpCyCcLg.js → mapTimeframeBalancesToTreeNode-CdVqeC27-Dxhi6BEZ.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BeqGSN9x-CoS9pLIE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CUFXYz6j-YXXdz_Ql.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-DeZfEmbT-vM-pgltN.js → toCOABalancesWithID-CqzWoD-C-D32cGljj.js} +1 -1
  209. package/dist/assets/{toChartData-KibzV7pa-DRJVLoY0.js → toChartData-X878W8tN-DZEeyq4i.js} +1 -1
  210. package/dist/assets/{uploadAttachment-U9nX0Ka9-1qW3wdO3.js → uploadAttachment-DNKgJox4-CH4FqFzC.js} +13 -13
  211. package/dist/assets/{uploadReceipts-CDPM7zcb-DEOGBGdq.js → uploadReceipts-Bkf_PaOH-DrwBt5Yx.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +3 -3
  214. package/dist/assets/ApprovalRulesSettingsPage-BOJE5Fb_-DykJvECT.js +0 -47
  215. package/dist/assets/ArAgingDetailPage-ZjaiAH-C-DY8qSTjK.js +0 -46
  216. package/dist/assets/CreateOrEditVendorPage-flCFtC2N-Dsf2hlMT.js +0 -281
  217. package/dist/assets/CustomerOnboardingContainerPage-DZ9vkiEO-ah6dg727.js +0 -1
  218. package/dist/assets/CustomerOnboardingPage-C12XXjv0-mi5gJ6u3.js +0 -107
  219. package/dist/assets/DepositAccTransactionListPage-keSFBKDU-qnysSla9.js +0 -66
  220. package/dist/assets/Menu-D_6Dje0H-Ar5SwcnV.js +0 -17
  221. package/dist/assets/analyticsHelper-D23HZgYu.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as Ve,Q as X,F as q,a8 as et,aN as De,cB as tt,V as t,bz as it,ab as at,aO as nt,y as x,o as n,kK as lt,kL as ot,kM as rt,cH as ze,cE as dt,d5 as st,fy as ct,fz as pt,cG as ke,g6 as mt,kN as ut,cK as ht,f1 as Re,cL as yt,f2 as Ae,fb as Oe,b as ge,ff as gt,u,b8 as xt,b5 as be,p as Ee,al as ft,aq as We}from"./index-XNBiWrYj.js";import{a as G}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import{bO as qe,bj as le,bS as Ue,bK as bt,bp as wt}from"./zeni-epic-state-LPACxnXP.js";import{Y as vt}from"./LabeledDocumentField-rGzXpShn-Cfh7MC5-.js";import{S as te}from"./LabeledText-Dc-697nR-dyJ4TshB.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const St={progressBarWidth:new x(343,726)},jt=({pageIndex:e})=>{const i=X(),a=Ve(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{d as ze,Q as X,F as q,a8 as et,aN as Ae,cB as tt,V as t,bz as it,ab as at,aO as nt,y as x,o as n,kK as lt,kL as ot,kM as rt,cH as Re,cE as dt,d6 as st,fz as ct,fA as pt,cG as De,g7 as mt,kN as ut,cK as ht,f2 as Ve,cL as yt,f3 as ke,fc as Oe,b as ge,fg as gt,u,b8 as xt,b5 as be,p as Ee,al as ft,aq as We}from"./index-BS0RW8dr.js";import{a as G}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import{bO as qe,bj as le,bS as Ue,bK as bt,bp as wt}from"./zeni-epic-state-LPACxnXP.js";import{Y as vt}from"./LabeledDocumentField-DGncRe-Q-BM_MF9Yy.js";import{S as te}from"./LabeledText-BzD_-lgI-Br_7nwt2.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const St={progressBarWidth:new x(343,726)},jt=({pageIndex:e})=>{const i=X(),a=ze(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -18,13 +18,13 @@ import{e as Ve,Q as X,F as q,a8 as et,aN as De,cB as tt,V as t,bz as it,ab as at
18
18
  margin: ${n.sp3} ${n.sp0};
19
19
  justify-content: space-between;
20
20
  height: ${n.sp6};
21
- `,Tt=d.div`
21
+ `,It=d.div`
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  align-items: center;
25
25
  text-align: ${e=>e.stateIndex===0?"left":e.stateIndex===1?"center":"right"};
26
26
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
27
- `,Le=d(xt)``,It=d.div`
27
+ `,Le=d(xt)``,Tt=d.div`
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  width: 100%;
@@ -38,24 +38,24 @@ import{e as Ve,Q as X,F as q,a8 as et,aN as De,cB as tt,V as t,bz as it,ab as at
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,T={containerWidth:new x(343,580,726),labelWidth:new x(120,160,160),largeLabelWidth:new x(150,228,228),largeLabelPickerWidth:new x(100,180,180),paddingBottom:new x(u[3],u[2]),labelMarginLeftPicker:new x(u[3],u[4]),labelMarginRightPicker:new x(u[3],u[4]),labelMarginTopPicker:new x(u[2],u[2]),labeledFieldPaddingLeft:new x(u[0],u[0]),labeledFieldPaddingRight:new x(u[2],u[2]),labeledFieldPaddingTop:new x(u[2],u[2]),labeledFieldPaddingBottom:new x(u[2],u[2]),infoLabelPaddingRight:new x(u[0],u[3]),infoLabelMarginTop:new x(u[1],u[0])},z=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:I,deleteFileStatusById:P,updateFileStatusById:f,onClickAddAccount:w})=>{const o=X(),{spendManagement:D,dateFormat:y,common:C}=q.getLocalizedStrings(),$=D.billPay.billDetails,J=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=C.documents,U=T.largeLabelWidth.value(o),[g,K]=G.useState(!1),H=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),k=r=>s.find(m=>m.id===r),L=r=>Re(k(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=k(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(xe,{children:m?.piLabels.map(Y=>t.jsxs(W,{children:[t.jsxs(R,{children:[Y.name,j.paymentDetails.colon]}),t.jsx(E,{children:Y.value})]},Y.name))}):t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(kt,{children:$.paymentDetailsTitle}),t.jsxs(At,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:U,style:{marginLeft:T.labelMarginLeftPicker.valuePx(o),marginTop:T.labelMarginTopPicker.valuePx(o),marginRight:T.labelMarginRightPicker.valuePx(o),width:T.largeLabelPickerWidth.value(o)}},style:{paddingTop:T.labeledFieldPaddingTop.valuePx(o),paddingBottom:T.labeledFieldPaddingBottom.valuePx(o),paddingLeft:T.labeledFieldPaddingLeft.valuePx(o),paddingRight:T.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:T.infoLabelPaddingRight.valuePx(o),marginTop:T.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:z(e,"withdrawFrom"),placeholder:ke($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(_,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:U},formattedTextField:{type:"number",name:z(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:ke($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(_,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:T.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:z(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:H,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(_,{}),t.jsx(ht,{label:{label:$.paymentDate,width:T.labelWidth.value(o)},style:{paddingBottom:T.paddingBottom.valuePx(o),width:"auto"},dateField:{name:z(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:J,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(_,{}),t.jsx(ze,{label:{label:$.paymentTo,width:U},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:z(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(_,{}),t.jsx(vt,{name:z(e,"receipt"),sizeLimit:yt,deleteFileStatusById:P,updateFileStatusById:f,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:U},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:I,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>K(r),isOptional:!0,style:I!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},z(e,"receipt")),I==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(_,{})]})]})},kt=d(be)`
41
+ `,I={containerWidth:new x(343,580,726),labelWidth:new x(120,160,160),largeLabelWidth:new x(150,228,228),largeLabelPickerWidth:new x(100,180,180),paddingBottom:new x(u[3],u[2]),labelMarginLeftPicker:new x(u[3],u[4]),labelMarginRightPicker:new x(u[3],u[4]),labelMarginTopPicker:new x(u[2],u[2]),labeledFieldPaddingLeft:new x(u[0],u[0]),labeledFieldPaddingRight:new x(u[2],u[2]),labeledFieldPaddingTop:new x(u[2],u[2]),labeledFieldPaddingBottom:new x(u[2],u[2]),infoLabelPaddingRight:new x(u[0],u[3]),infoLabelMarginTop:new x(u[1],u[0])},R=(e,i)=>`${e}.${i}`,At=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:f,onClickAddAccount:w})=>{const o=X(),{spendManagement:A,dateFormat:y,common:C}=q.getLocalizedStrings(),$=A.billPay.billDetails,J=y.visual.defaultInput,re=A.zeniAccounts.expressPay,de=C.documents,U=I.largeLabelWidth.value(o),[g,K]=G.useState(!1),H=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),D=r=>s.find(m=>m.id===r),L=r=>Ve(D(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=D(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(V,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(V,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(V,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(xe,{children:m?.piLabels.map(Y=>t.jsxs(W,{children:[t.jsxs(V,{children:[Y.name,j.paymentDetails.colon]}),t.jsx(E,{children:Y.value})]},Y.name))}):t.jsxs(xe,{children:[t.jsxs(W,{children:[t.jsx(V,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(V,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(V,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(Dt,{children:$.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:U,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:R(e,"withdrawFrom"),placeholder:De($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(_,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:U},formattedTextField:{type:"number",name:R(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:De($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(_,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:R(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:H,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(_,{}),t.jsx(ht,{label:{label:$.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:R(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:J,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(_,{}),t.jsx(Re,{label:{label:$.paymentTo,width:U},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:R(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(_,{}),t.jsx(vt,{name:R(e,"receipt"),sizeLimit:yt,deleteFileStatusById:P,updateFileStatusById:f,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:U},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>K(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},R(e,"receipt")),T==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(_,{})]})]})},Dt=d(be)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
- `,At=d.div`
44
+ `,kt=d.div`
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  background-color: ${e=>e.theme.colors.grey5};
48
48
  border: 1px solid ${e=>e.theme.colors.grey3};
49
49
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
50
50
  border-radius: ${n.sp2};
51
- width: ${e=>T.containerWidth.valuePx(e.windowSize)};
51
+ width: ${e=>I.containerWidth.valuePx(e.windowSize)};
52
52
  `,_=d.div`
53
53
  display: flex;
54
54
  flex: 1;
55
55
  background-color: ${e=>e.theme.colors.grey3};
56
56
  min-height: 1px;
57
57
  max-height: 1px;
58
- `,R=d.div`
58
+ `,V=d.div`
59
59
  box-sizing: border-box;
60
60
  text-align: left;
61
61
  flex: 1 0 50%;
@@ -79,13 +79,13 @@ import{e as Ve,Q as X,F as q,a8 as et,aN as De,cB as tt,V as t,bz as it,ab as at
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
82
- `,Lt={largeLabelWidth:new x(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=X(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,I=Lt.largeLabelWidth.value(p),P=G.useRef();G.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const f={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=C}},w=f?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:He(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Vt,{children:t.jsxs(zt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:I},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:f?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(ze,{label:{label:l.recipientType,width:I},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:I},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},He=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
82
+ `,Lt={largeLabelWidth:new x(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=X(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p),P=G.useRef();G.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const f={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=C}},w=f?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||f?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:He(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},A={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(zt,{children:t.jsxs(Rt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:A,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:f?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Re,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},He=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
- `,Vt=d.div`
85
+ `,zt=d.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
- `,zt=d.div`
88
+ `,Rt=d.div`
89
89
  display: flex;
90
90
  flex-direction: column;
91
91
  background-color: ${e=>e.theme.colors.grey5};
@@ -98,7 +98,7 @@ import{e as Ve,Q as X,F as q,a8 as et,aN as De,cB as tt,V as t,bz as it,ab as at
98
98
  background-color: ${e=>e.theme.colors.grey3};
99
99
  min-height: 1px;
100
100
  max-height: 1px;
101
- `,oe={containerWidth:new x(343,580,726),largeLabelWidth:new x(150,215,215),reviewContainerMarginLeft:new x(u[3],u[6]),reviewContainerMarginRight:new x(u[3],u[8])},Rt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=X(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:I,common:P}=q.getLocalizedStrings(),f=l.billDetails,w=i?.paymentType,o=I.visual.MMMDCommaYYYYformat,D={amount:i?.amount?.amount??0,currencyCode:P.currency.currencyCode,currencySymbol:P.currency.currencySymbol},y=Re(a.find(J=>J.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Ae(w?.method??"");return t.jsx(Yt,{children:t.jsxs(_t,{windowSize:h,style:s,children:[t.jsxs(Jt,{children:[t.jsx(ae,{children:f.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:D,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:f.to}),t.jsx(ae,{children:e})]}),t.jsxs(Gt,{windowSize:h,children:[t.jsx(te,{label:{label:f.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):P.strings.empty}),t.jsx(fe,{}),t.jsx(te,{label:{label:f.paymentMethod,width:p},style:{width:"auto"},value:Ae(w?.method??"")}),t.jsx(fe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:f.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${f.estimatedArrival}${qe(Ue(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${f.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${f.deliveryTimeUnits})`}),t.jsx(fe,{})]}):null,t.jsx(te,{label:{label:f.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ut,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Ht,{children:t.jsx(Oe,{amount:wt(D.amount,D.currencyCode,D.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
101
+ `,oe={containerWidth:new x(343,580,726),largeLabelWidth:new x(150,215,215),reviewContainerMarginLeft:new x(u[3],u[6]),reviewContainerMarginRight:new x(u[3],u[8])},Vt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=X(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common:P}=q.getLocalizedStrings(),f=l.billDetails,w=i?.paymentType,o=T.visual.MMMDCommaYYYYformat,A={amount:i?.amount?.amount??0,currencyCode:P.currency.currencyCode,currencySymbol:P.currency.currencySymbol},y=Ve(a.find(J=>J.id===i?.paymentToAccountId)),C=i?.paymentDate,$=ke(w?.method??"");return t.jsx(Yt,{children:t.jsxs(_t,{windowSize:h,style:s,children:[t.jsxs(Jt,{children:[t.jsx(ae,{children:f.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:A,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:f.to}),t.jsx(ae,{children:e})]}),t.jsxs(Gt,{windowSize:h,children:[t.jsx(te,{label:{label:f.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):P.strings.empty}),t.jsx(fe,{}),t.jsx(te,{label:{label:f.paymentMethod,width:p},style:{width:"auto"},value:ke(w?.method??"")}),t.jsx(fe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:f.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${f.estimatedArrival}${qe(Ue(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${f.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${f.deliveryTimeUnits})`}),t.jsx(fe,{})]}):null,t.jsx(te,{label:{label:f.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ut,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Ht,{children:t.jsx(Oe,{amount:wt(A.amount,A.currencyCode,A.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
102
102
  display: flex;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
@@ -157,7 +157,7 @@ import{e as Ve,Q as X,F as q,a8 as et,aN as De,cB as tt,V as t,bz as it,ab as at
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Me="expressPayPage",Kt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new x(160,140),largeButtonWidth:new x(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:I,onBackClick:P,saveVendorDetailLocalData:f,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:J,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:U,expressPayLocalData:g,vendorTypeList:K,allPaymentMethods:H,paymentToOptions:k,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:Y}=e,[v,Z]=G.useState(0),Ye=Ve(),Q=X(),{common:we,spendManagement:_e}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=_e.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=U,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Ge=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(K,L,k,$e,H,N,g,j,C?.entityAutoCompleteView),values:Be(K,L,k,$e,H,N,g,j,C?.entityAutoCompleteView)}),Pe=De(Ce.saveStatus?.fetchState),Te=De(m);G.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Je(b,S))});return()=>{c.unsubscribe()}}),G.useEffect(()=>{Pe==="In-Progress"&&Y==="Completed"&&(v===0?(Z(1),o?.(g?.vendorId)):v===1&&Z(2)),Te==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,Y,v,o,g?.vendorId,Te,m,P]);const Je=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[O].recipient.selectedOption,A=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ke(S),y(),N?.vendorId!==b&&A!=null&&(l?.(b),he(S,!1,k,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,A=g?.paymentType?.method,M=b!=null&&A!=null&&(b.toLowerCase().includes("ach")&&A.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&A.toLowerCase().includes("ach"));he(S,M,k,g?.vendorId)}},Ke=c=>{const S=c[O].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(A=>A.id===S)!=null;if(S!=null&&b===!0){I?.(S),he(c,!1,k,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,A=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Qt(c,A===!0?b:void 0,N,S);f?.(M,b)},he=(c,S,b,A)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=b.filter(V=>!!V.bankRoutingNumberWireTransfer).map(V=>V.id):B=b.filter(V=>!!V.bankRoutingNumberAch).map(V=>V.id),B})(),ye=b.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Ze={vendorId:A,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?qe(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Ze)},Ie=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Qe=()=>{v===2?Z(1):P(g?.vendorId)},Xe=()=>{v===0?P(g?.vendorId):Z(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?k.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??H?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Xe,backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Xt,{windowSize:Q,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Ie,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:K,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Dt,{sectionId:F,paymentDetails:Fe,paymentToOptions:k,allPaymentMethods:H,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:J,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(Rt,{reviewDetails:g,paymentToOptions:k,vendorName:Ge}):null})})]}),t.jsx(nt,{formId:Kt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(Q):ne.buttonWidth.value(Q),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Ie()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(Q):ne.buttonWidth.value(Q),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Qe}})]})},Be=(e,i,a,s,h,p,l,I,P)=>{const f=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:He(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??Ue(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?f:[],selectedOption:l?.paymentToAccountId??f[0]},receipt:I}}};function Qt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Xt=d.div`
160
+ `,Me="expressPayPage",Kt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new x(160,140),largeButtonWidth:new x(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:f,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:A,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:J,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:U,expressPayLocalData:g,vendorTypeList:K,allPaymentMethods:H,paymentToOptions:D,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:Y}=e,[v,Z]=G.useState(0),Ye=ze(),Q=X(),{common:we,spendManagement:_e}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=_e.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=U,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Ge=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(K,L,D,$e,H,N,g,j,C?.entityAutoCompleteView),values:Be(K,L,D,$e,H,N,g,j,C?.entityAutoCompleteView)}),Pe=Ae(Ce.saveStatus?.fetchState),Ie=Ae(m);G.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Je(b,S))});return()=>{c.unsubscribe()}}),G.useEffect(()=>{Pe==="In-Progress"&&Y==="Completed"&&(v===0?(Z(1),o?.(g?.vendorId)):v===1&&Z(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,Y,v,o,g?.vendorId,Ie,m,P]);const Je=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[O].recipient.selectedOption,k=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ke(S),y(),N?.vendorId!==b&&k!=null&&(l?.(b),he(S,!1,D,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,k=g?.paymentType?.method,M=b!=null&&k!=null&&(b.toLowerCase().includes("ach")&&k.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&k.toLowerCase().includes("ach"));he(S,M,D,g?.vendorId)}},Ke=c=>{const S=c[O].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(k=>k.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,D,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,k=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Qt(c,k===!0?b:void 0,N,S);f?.(M,b)},he=(c,S,b,k)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=b.filter(z=>!!z.bankRoutingNumberWireTransfer).map(z=>z.id):B=b.filter(z=>!!z.bankRoutingNumberAch).map(z=>z.id),B})(),ye=b.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Ze={vendorId:k,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?qe(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Ze)},Te=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),A()}),Qe=()=>{v===2?Z(1):P(g?.vendorId)},Xe=()=>{v===0?P(g?.vendorId):Z(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?D.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??H?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Xe,backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Xt,{windowSize:Q,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:K,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(At,{sectionId:F,paymentDetails:Fe,paymentToOptions:D,allPaymentMethods:H,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:J,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(Vt,{reviewDetails:g,paymentToOptions:D,vendorName:Ge}):null})})]}),t.jsx(nt,{formId:Kt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(Q):ne.buttonWidth.value(Q),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(Q):ne.buttonWidth.value(Q),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Qe}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const f=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:He(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??Ue(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?f:[],selectedOption:l?.paymentToAccountId??f[0]},receipt:T}}};function Qt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Xt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as v,Q as f,F as k,aS as s,p,V as e,cm as y,y as n,cn as _,co as x,u as c}from"./index-XNBiWrYj.js";import{n as l}from"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const i={popupWidth:new n(200,468,468,468),buttonWidth:new n(140,160,160,160),popupContainerLeft:new n(c[0],c[0],255),popupContainerWidth:new n(100,100,85)},z=l.div`
1
+ import{d as v,Q as f,F as k,aS as s,p,V as e,cm as y,y as n,cn as _,co as x,u as c}from"./index-BS0RW8dr.js";import{n as l}from"./mui-bYXq4XMS.js";import"./core-3dlyNYRL.js";import"./sentry-o6h_D-9x.js";import"./zeni-epic-state-LPACxnXP.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const i={popupWidth:new n(200,468,468,468),buttonWidth:new n(140,160,160,160),popupContainerLeft:new n(c[0],c[0],255),popupContainerWidth:new n(100,100,85)},z=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{V as l,Q as H,F as Y,cO as A,cW as _,e as ee,cU as J,y as S,ga as Z,o as i,aK as B,el as ce,aA as le,g2 as pe,g3 as ue,n as he,p as u,u as g,gw as ge,cV as be,cX as ye,an as ve,bF as we,b as G,dl as $e,bG as me,bE as ke}from"./index-XNBiWrYj.js";import{n as d}from"./mui-bYXq4XMS.js";import{a as V}from"./core-3dlyNYRL.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=A(),f=_(j,t.name),O=_(j,p.name),r=ee();return l.jsxs(Oe,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:O,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Te,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:O,children:p.additionalInfoLabel})]})]})]})]})}const Oe=d.div`
1
+ import{V as l,Q as H,F as Y,cO as A,cW as _,d as ee,cU as J,y as I,gb as Z,o as i,aK as B,em as ce,aA as le,g3 as pe,g4 as ue,n as he,p as u,u as g,gx as ge,cV as be,cX as ye,an as ve,bF as we,b as G,dm as $e,bG as me,bE as ke}from"./index-BS0RW8dr.js";import{n as d}from"./mui-bYXq4XMS.js";import{a as V}from"./core-3dlyNYRL.js";const v={width:new I(343,580,726),height:new I(g[6],g[6]),controlHeight:new I(g[6],g[6]),paddingLeftRight:new I(g[3],g[4]),paddingTop:new I(g[3],g[3]),paddingBottom:new I(g[3],g[2]),labelMarginRight:new I(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=A(),f=_(j,t.name),O=_(j,p.name),r=ee();return l.jsxs(Oe,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:O,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Te,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Ie,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:O,children:p.additionalInfoLabel})]})]})]})]})}const Oe=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -81,7 +81,7 @@ import{V as l,Q as H,F as Y,cO as A,cW as _,e as ee,cU as J,y as S,ga as Z,o as
81
81
  align-items: center;
82
82
  display: flex;
83
83
  justify-content: center;
84
- `,Se=d.div`
84
+ `,Ie=d.div`
85
85
  width: ${i.sp8};
86
86
  height: 2px;
87
87
  background-color: ${e=>e.theme.colors.primary};
@@ -95,7 +95,7 @@ import{V as l,Q as H,F as Y,cO as A,cW as _,e as ee,cU as J,y as S,ga as Z,o as
95
95
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
96
96
  white-space: pre-line;
97
97
  margin-top: ${i.sp1};
98
- `;function Ie({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=A(),f=_(j,t.name),O=_(j,p.name),r=ee();return l.jsxs(De,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:O,children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Ue,{labelWidth:o.width,children:[p.hideField?null:l.jsxs(ze,{children:[l.jsx(de,{}),l.jsx(Ce,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ee,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(ne,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:O,children:p.additionalInfoLabel})]})]})]})]})}const De=d.div`
98
+ `;function Se({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=A(),f=_(j,t.name),O=_(j,p.name),r=ee();return l.jsxs(De,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:O,children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Ue,{labelWidth:o.width,children:[p.hideField?null:l.jsxs(ze,{children:[l.jsx(de,{}),l.jsx(Ce,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ee,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(ne,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:O,children:p.additionalInfoLabel})]})]})]})]})}const De=d.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  align-items: flex-start;
@@ -198,7 +198,7 @@ import{V as l,Q as H,F as Y,cO as A,cW as _,e as ee,cU as J,y as S,ga as Z,o as
198
198
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
199
199
  white-space: pre-line;
200
200
  margin-top: ${i.sp1};
201
- `;function ul(e){return H()==="small"?l.jsx(Ie,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:o,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:m,placeholderLabel:j})=>{const{formState:{errors:f}}=A(),O=_(f,t??""),r=ee(),[L,D]=V.useState(void 0),[b,q]=V.useState(m),C=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=o==null?void 0:N(o);D(n?.label===""?void 0:n)},[o,$,N]);const W=n=>{p(n)},I=r.colors.grey5,M=r.colors.grey5,F=G.smallRegular,U=G.extraSmallRegular,R={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:O===!0?u.importantLight:r.colors.background,boxShadow:M,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:M,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...G.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:I,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...G.standardRegular.cssObject,color:O===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:E,isDisabled:z,data:s})=>({...n,...F,height:g[6],color:s.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||E?r.colors.background:I,cursor:z?"not-allowed":"pointer",borderTop:s.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:z?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...G.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{q(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{W(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:L,value:L,placeholder:j,components:{Option:Re,DropdownIndicator:Ae,IndicatorSeparator:qe,SingleValue:Fe},hideSelectedOptions:!1,styles:R,options:C(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":B("single-select",t)},$e())})},Fe=({children:e,...o})=>l.jsx(me.SingleValue,{...o,children:e}),Re=e=>{const{data:o,options:t,isFocused:p,label:$,isSelected:k}=e,m=t.find(f=>f.value===o.value),j=typeof o.label=="string"?o.label:o.value;return l.jsxs(me.Option,{...e,children:[l.jsxs(Pe,{"data-testid":B("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&m?.id!=null&&l.jsx(Be,{children:m.id})]}),k?l.jsx(Me,{children:l.jsx(He,{className:"tick-icon"})}):null]}),m.additionalInfo!==""&&l.jsx(l.Fragment,{children:m.additionalInfo})]})},Pe=d.div`
201
+ `;function ul(e){return H()==="small"?l.jsx(Se,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:o,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:m,placeholderLabel:j})=>{const{formState:{errors:f}}=A(),O=_(f,t??""),r=ee(),[L,D]=V.useState(void 0),[b,q]=V.useState(m),C=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=o==null?void 0:N(o);D(n?.label===""?void 0:n)},[o,$,N]);const W=n=>{p(n)},S=r.colors.grey5,M=r.colors.grey5,F=G.smallRegular,U=G.extraSmallRegular,R={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:O===!0?u.importantLight:r.colors.background,boxShadow:M,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:M,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...G.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...U,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:S,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...G.standardRegular.cssObject,color:O===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:E,isDisabled:z,data:s})=>({...n,...F,height:g[6],color:s.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||E?r.colors.background:S,cursor:z?"not-allowed":"pointer",borderTop:s.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:z?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...G.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{q(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{W(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:L,value:L,placeholder:j,components:{Option:Re,DropdownIndicator:Ae,IndicatorSeparator:qe,SingleValue:Fe},hideSelectedOptions:!1,styles:R,options:C(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":B("single-select",t)},$e())})},Fe=({children:e,...o})=>l.jsx(me.SingleValue,{...o,children:e}),Re=e=>{const{data:o,options:t,isFocused:p,label:$,isSelected:k}=e,m=t.find(f=>f.value===o.value),j=typeof o.label=="string"?o.label:o.value;return l.jsxs(me.Option,{...e,children:[l.jsxs(Pe,{"data-testid":B("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&m?.id!=null&&l.jsx(Be,{children:m.id})]}),k?l.jsx(Me,{children:l.jsx(He,{className:"tick-icon"})}):null]}),m.additionalInfo!==""&&l.jsx(l.Fragment,{children:m.additionalInfo})]})},Pe=d.div`
202
202
  display: flex;
203
203
  flex-direction: row;
204
204
  align-items: center;
@@ -225,7 +225,7 @@ import{V as l,Q as H,F as Y,cO as A,cW as _,e as ee,cU as J,y as S,ga as Z,o as
225
225
  height: ${i.sp3};
226
226
  cursor: pointer;
227
227
  color: ${e=>e.theme.colors.primary};
228
- `,Ae=()=>null,qe=()=>null,We=({name:e,registerOptions:o,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:m}=A(),j=t.allOptions.map(r=>r.value??""),f=r=>t.allOptions.filter(L=>L.value===r)[0]?.label??"",O=r=>t.allOptions.find(L=>L.value===r.value)?.value;return l.jsx(ye,{name:e,control:m,defaultValue:t,rules:o,"data-testid":B("single-select-field",e),render:({field:{value:r,onChange:L}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:D=>{L({allOptions:t.allOptions,selectedOption:O(D)})},valueToLabel:D=>f(D),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},fe=V.memo(We,(e,o)=>le(e,o)),T={width:new S(343,580,726),height:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTopBottom:new S(g[3],g[3]),labelMarginRight:new S(g[3],g[4])},Q=(e,o)=>`${e}.${o}`;function Ge({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:O,allAttributes:r,filteredAttributes:L,allAccountingClasses:D,stepsInfo:b,productType:q}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),W=O.length+L.length,I=f.map(s=>s.user),{control:M,setValue:F}=A(),{fields:U,replace:R}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,I,r);F(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);F(t,h)};V.useEffect(()=>{const s=U.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:I,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[I,b,U,R,r]);const E=b[b.length-1],z=o!=null||W===0||E.actors.selectedUsers.length+E.actors.selectedNonUsers.length===0||!E.stepType.selectedOption;return l.jsxs(_e,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:T.labelMarginRight.value(C),width:"auto"}}),b.map((s,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Ye,{children:[h+1,"."]}),l.jsx(Ke,{children:l.jsx(fe,{name:Q(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j})}),l.jsxs(Xe,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:Q(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,q);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}}),s.stepIndex>0&&l.jsx(Qe,{onClick:()=>w(h)})]})]},U[h]?.id||h)),l.jsx(Je,{disabled:z,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:z,"data-testid":B("add-step-button-web")})})]})}const xe=(e,o,t)=>({stepIndex:e,actors:{allUsers:o,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const o=Y.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:o[t].label,value:t,position:"top",subtitles:[o[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],_e=d.div`
228
+ `,Ae=()=>null,qe=()=>null,We=({name:e,registerOptions:o,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:m}=A(),j=t.allOptions.map(r=>r.value??""),f=r=>t.allOptions.filter(L=>L.value===r)[0]?.label??"",O=r=>t.allOptions.find(L=>L.value===r.value)?.value;return l.jsx(ye,{name:e,control:m,defaultValue:t,rules:o,"data-testid":B("single-select-field",e),render:({field:{value:r,onChange:L}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:D=>{L({allOptions:t.allOptions,selectedOption:O(D)})},valueToLabel:D=>f(D),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},fe=V.memo(We,(e,o)=>le(e,o)),T={width:new I(343,580,726),height:new I(g[6],g[6]),paddingLeftRight:new I(g[3],g[4]),paddingTopBottom:new I(g[3],g[3]),labelMarginRight:new I(g[3],g[4])},Q=(e,o)=>`${e}.${o}`;function Ge({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:O,allAttributes:r,filteredAttributes:L,allAccountingClasses:D,stepsInfo:b,productType:q}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),W=O.length+L.length,S=f.map(s=>s.user),{control:M,setValue:F}=A(),{fields:U,replace:R}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,S,r);F(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);F(t,h)};V.useEffect(()=>{const s=U.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,U,R,r]);const E=b[b.length-1],z=o!=null||W===0||E.actors.selectedUsers.length+E.actors.selectedNonUsers.length===0||!E.stepType.selectedOption;return l.jsxs(_e,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:T.labelMarginRight.value(C),width:"auto"}}),b.map((s,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Ye,{children:[h+1,"."]}),l.jsx(Ke,{children:l.jsx(fe,{name:Q(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j})}),l.jsxs(Xe,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:Q(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,q);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}}),s.stepIndex>0&&l.jsx(Qe,{onClick:()=>w(h)})]})]},U[h]?.id||h)),l.jsx(Je,{disabled:z,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:z,"data-testid":B("add-step-button-web")})})]})}const xe=(e,o,t)=>({stepIndex:e,actors:{allUsers:o,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const o=Y.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:o[t].label,value:t,position:"top",subtitles:[o[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],_e=d.div`
229
229
  display: flex;
230
230
  flex-direction: column;
231
231
  align-items: flex-start;
@@ -303,7 +303,7 @@ import{V as l,Q as H,F as Y,cO as A,cW as _,e as ee,cU as J,y as S,ga as Z,o as
303
303
  `,Ye=d.div`
304
304
  width: ${i.sp5};
305
305
  color: ${e=>e.theme.colors.hero};
306
- `;function el({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:O,allAttributes:r,filteredAttributes:L,allAccountingClasses:D,stepsInfo:b,productType:q}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),W=O.length+L.length,I=f.map(s=>s.user),{control:M,setValue:F}=A(),{fields:U,replace:R}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,I,r);F(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);F(t,h)};V.useEffect(()=>{const s=U.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:I,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[I,b,U,R,r]);const E=b[b.length-1],z=o!=null||W===0||E.actors.selectedUsers.length+E.actors.selectedNonUsers.length===0||!E.stepType.selectedOption;return l.jsxs(ll,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:T.labelMarginRight.value(C),width:"auto"}}),b.map((s,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(fe,{name:Q(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:Q(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,q);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}})}),s.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":B("delete-step",h.toString())})]})]})]},U[h]?.id||h)),l.jsx(il,{disabled:z,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":B("add-step-button-small")})})]})}const ll=d.div`
306
+ `;function el({label:e,isDisabled:o,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:m,approveNotifyPlaceholder:j,allUserWithRoles:f,filteredApprovers:O,allAttributes:r,filteredAttributes:L,allAccountingClasses:D,stepsInfo:b,productType:q}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),W=O.length+L.length,S=f.map(s=>s.user),{control:M,setValue:F}=A(),{fields:U,replace:R}=ce({name:t,control:M}),n=()=>{const s=b[b.length-1].stepIndex,h=xe(s+1,S,r);F(t,[...b,h])},w=s=>{const h=b.filter((a,c)=>c!==s);F(t,h)};V.useEffect(()=>{const s=U.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(s,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,U,R,r]);const E=b[b.length-1],z=o!=null||W===0||E.actors.selectedUsers.length+E.actors.selectedNonUsers.length===0||!E.stepType.selectedOption;return l.jsxs(ll,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:T.labelMarginRight.value(C),width:"auto"}}),b.map((s,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(fe,{name:Q(`${t}.${s.stepIndex}`,"stepType"),value:s.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&s.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||o!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:s.stepType.selectedOption==null?m:s.stepType.selectedOption==="require_approval"?$:k,name:Q(`${t}.${s.stepIndex}`,"actors"),value:s.actors,operator:s.stepType!=null&&s.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||o!=null},valueToSubtitle:a=>{const c=f.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,q);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}})}),s.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":B("delete-step",h.toString())})]})]})]},U[h]?.id||h)),l.jsx(il,{disabled:z,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":B("add-step-button-small")})})]})}const ll=d.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  align-items: flex-start;