@zeniai/web-cockpit-ui 1.15.63-qa → 1.15.64-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 (368) hide show
  1. package/dist/assets/ACHDetailsPage-fOu5grd7-BdSVzP6f.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CJ7SlrBq.js → AIPerformancePage-Da3gFo8A-CckgxOO_.js} +22 -22
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-zH78FLFW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-C83hBUz9.js → AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-BJjCuLHa-DrT3dsPq.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-kXNr--5k.js → AccountReconDetailsDrawerPage-CVjH1p0d-BxBrHwo0.js} +18 -18
  7. package/dist/assets/AccountRow-CpftykFx-oOdBXU8G.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DUGNuaMw.js → AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-CGSqzhVX.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-lZdSVI5f.js → AddToWalletPage-zJy9QCjx-C_qfE17G.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-xBFff3BM-BoR0hRbB.js → AgingReportsPage-wAvQb1d8-C15jlpMU.js} +7 -7
  12. package/dist/assets/{AllUserItems-BJf6WPDo-BK6B5dDc.js → AllUserItems-DEv_CXOA-B5fCEIiV.js} +8 -8
  13. package/dist/assets/ApAgingDetailPage-BOV1WFVF-Dp8s2FuX.js +46 -0
  14. package/dist/assets/{AppBasePage-CqDm-hnV-CBNeETIZ.js → AppBasePage-DMlomvFS-CGojLnOO.js} +13 -13
  15. package/dist/assets/AppDrawerContent-Dc2sHnR3--YF7Xqpp.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-qsIqsWa1.js +47 -0
  17. package/dist/assets/{ArAgingChart-CBsqOd-4-BTXylDMy.js → ArAgingChart-m-Xp3HAW-NCxV7iBs.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-b_NpDpWj-z4UOMnMu.js +46 -0
  19. package/dist/assets/{AttachmentView-CzC4skJ3-BCDnapXA.js → AttachmentView-DB_V1qT1-BBS5lFy5.js} +9 -9
  20. package/dist/assets/{BankAccountSection-Di4sF52j-D4IfCjd3.js → BankAccountSection-BabhrBM7-AYC21fpT.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-Cled-2cR-CPMJAwOm.js → BankAccountWarningSection-yT2UAd12-C1lPi6To.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DAZKodd6.js → BankConnectionsSettingsPage-CbxXykMM-C4x6xhVH.js} +19 -19
  23. package/dist/assets/BillDetailPage-7TMkWo3V-CAz7q8si.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-PsPHznl4.js → BillPayApprovalRuleDetailPage-COyDRpaF-DAcMEAnT.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-HIhyZ3nR.js → BillPayApprovalRulesPage-9pxkgFAT-DPJx3hcv.js} +15 -15
  26. package/dist/assets/BillPayPromoPage-AGffhbY3-C_QscQuJ.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-DVe6WBI9.js → BillPaySetUpPage-Cs5rkWBu-GrPc_Ghq.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-CQ117tT9-czyNT2CA.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-BQuQWEvp.js → BillsBulkReviewDrawerPage-DRkGQQAe-B4jJeKlF.js} +1 -1
  30. package/dist/assets/{BoxItem-Bxa1M4QU-D1vE9QhE.js → BoxItem-DRwx0M5a-DCS0EEq5.js} +11 -11
  31. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-XlBss24U.js → BusinessVerificationPage-1h0z3N9u-Bz-00d77.js} +12 -12
  32. package/dist/assets/{CardNumberSubText-_ZZbaz_k-BlVD6y8J.js → CardNumberSubText-DqtLT1w5-DO6jyw3h.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-DAZXitLt-Fk0YDW9d.js → CashbackDetailPage-ChdQcvkC-C57bRmfy.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-BDSXs13_.js → ChargeCardDetailPage-DFOKlPNG-xcGq1wRM.js} +34 -34
  35. package/dist/assets/{ChargeCardListPage-BOBepN-x-D1jyw6xp.js → ChargeCardListPage-DhLUsUhd-DuclyBke.js} +24 -24
  36. package/dist/assets/{ChargeCardListTable-YznzSsJo-BzgBrEEG.js → ChargeCardListTable-DE72YU_i-DcBJaKK3.js} +38 -38
  37. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-CGXOOx2m.js → ChargeCardPaymentHistoryPage-CbGR18s--BFbYhOSS.js} +42 -42
  38. package/dist/assets/ChargeCardPromoPage-CPpNh89o-CBfHtaX_.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-CpLnoFoy.js → ChargeCardSetupPage-ITi25kUD-DfzvZRO7.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-CRQIlgKD.js → ChargeCardStatementsPage-CTJc1BCc-DxoD4bYi.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C9SGaV72.js → CheckDepositDrawerPage-BrzeSj-3-DtRI-uAH.js} +23 -23
  42. package/dist/assets/CollapsableReportTable-CDEe9s_E-CMF0RoW1.js +2844 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-CoAoKnrR.js → CompanyOfficerDetailsSection-BaPhFsLx-B9Snu63L.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CkzYFTrp-xxbgyzmF.js → CompanyPassportCard-B9ymV6Az-38EEl60M.js} +9 -9
  45. package/dist/assets/{CompanyPassportPage-FE6yli6h-BWozhrFp.js → CompanyPassportPage-BQ68t7oK-Co1NqIiB.js} +30 -30
  46. package/dist/assets/{CompleteProfile-Cb8i1XgZ-BTm92KCu.js → CompleteProfile-C5n9b8gQ-DwcNt9_I.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BizTW0hz-CvR9oZ5e.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-hVukCBkN.js → ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-tk0pxMXW.js → CreateOrEditVendorPage-BIfOA5Nr-Dlpym0z2.js} +20 -20
  50. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BNl8osW_.js → CreditCardPaymentDrawerPage-CCpS-31h-C4-ObiYa.js} +18 -18
  51. package/dist/assets/CurrencySelectField-KvKyemY6-CmY2_QR6.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-C0GXlCyT.js → CustomerOnboardingActivationPage-6VlMI4oY-DDFamjuz.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-BpoLCE54.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BpVuCl4e.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-sEi6CC-2.js} +8 -8
  55. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BRYus2iF.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DKVxJK_g.js → CustomerOnboardingPage-DkW66A-p-GBHzS2sL.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-BF68GGbG.js → CustomerOnboardingProductSuitePage-Ba0yotpP-kvF0C_U3.js} +12 -12
  58. package/dist/assets/{Dashboard-BJ_oIHab-CXqiG1Rq.js → Dashboard-bX3cWkmP-CshB3AQ6.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-BemzMw2e-BipdyVWe.js → DashboardReportPage-DuZ4d4CE-WPRTD4S1.js} +41 -41
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-4yePe-Xl.js +12 -0
  61. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-1GMqn4-W.js +76 -0
  62. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CMJCJXrJ.js +66 -0
  63. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js +21 -0
  64. package/dist/assets/DownloadOverlay-DqiL3-FB-D2yDQ3WD.js +439 -0
  65. package/dist/assets/{DrawerPage-DesxXhZk-BvvDI7JV.js → DrawerPage-CaG-xx5d-D9_lXenJ.js} +13 -13
  66. package/dist/assets/EditPeoplePage-BcsdEp_d-IwV_edCq.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B0QXso1w.js +865 -0
  68. package/dist/assets/EntityDetailPage-DtX5TjBc-YkJZ_Dja.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BwX0a4JL-Cb_9slBS.js → EntitySummarySection-LEA5m6mN-CLLkbTp6.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-B4ZwTaZV.js → ExpenseAutomationOverviewPage-Dmhn7gfp-BnYLctJS.js} +51 -51
  71. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DWGhFpVk.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-EMP6inpX-_cx1Ylt6.js → ExpressPayPage-C-nqret2-CxxwTtu9.js} +16 -16
  73. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CG1XGdAN.js → FeaturePreviewPage-BHjUZ7s6-_5C6_vtm.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BxESVqJD-YzcVHL8n.js → FollowStepsSection-0eFMS0c5-DiNXhybo.js} +11 -11
  75. package/dist/assets/GlobalReviewListPage-4eiopkzw-DKMz-KY4.js +291 -0
  76. package/dist/assets/{InformationCardStack-B_qQUEYD-BwcTguLM.js → InformationCardStack-C7XJCUlh-CHYlGlZV.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-BsQzoVzj-Bd69AHav.js → InsightsCardStack-fBAbQwhK-GOQwmuqO.js} +9 -9
  78. package/dist/assets/InsightsSection-De9zu_me-VPfN5Xo7.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Bl2SFLoD.js → IntegrationsSettingsPage-BD5jqAv8-BskPS73Y.js} +7 -7
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-C5RGyBg8.js → InternationalWireSwiftDetailsPage-BftrE612-CKiFI9UY.js} +27 -27
  81. package/dist/assets/InternationalWireVerificationPage-CDf7equc-1WYEjkVV.js +65 -0
  82. package/dist/assets/InviteFormPage-E2igwKEh-BzkLo-m1.js +312 -0
  83. package/dist/assets/{InvitePageListView-CP4K9tJi-BWdxcvn6.js → InvitePageListView-Cuq9dlgu-BNjoQI0P.js} +43 -43
  84. package/dist/assets/InvitePeoplePage-Db4P4ZEq-B9OMfSrr.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-DYCjz9CI-DkR29XTT.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DZxiAxJX.js → IssueChargeCardPage-CK6fnO24-bch7HeIs.js} +21 -21
  87. package/dist/assets/{LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js → LabeledAddressValue-Ma1WURjK-BjRcNAyc.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BwOVpc3z.js → LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.js} +4 -4
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CMb8Wj3I.js → LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js +59 -0
  94. package/dist/assets/{LabeledText-C8Y7EOsX-bc31OQDU.js → LabeledText-DvzVOku6-CI8IYs0J.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DEITvxaX.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BoHfD7aR.js} +21 -21
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BbSQyIfJ.js → LabeledZeniRolesDropDownField-kWC0ShEy-rvx0SYJG.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-mvMHwOvE.js → LinkJETransactionPage-WufhDGDQ-B3rjsU0T.js} +12 -12
  98. package/dist/assets/{LockCardPage-CZENNby7-XsIHG8ps.js → LockCardPage-BBIVLYVD-B0YOZXXr.js} +234 -234
  99. package/dist/assets/{LowBalancePopup-1727S1ri-n2U-sV_W.js → LowBalancePopup-ScEqPY9J-CQJroj6z.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-BXL5Oo5F.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-CLIxJIug.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-f3s55HDr.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-BVQIDzU9.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-CVNZ8iK2.js → MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-DZT7JPlI-C6Z2pagF.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BeRsdTPg.js → MyBankConnectionsSettingsPage-aQDVaEG1-DhCXDcNN.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-8UK9qZGK.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-4YifN_2G.js +85 -0
  109. package/dist/assets/{NavBarWithPicker-CGGEvLwe-s3u-yB3H.js → NavBarWithPicker-zmvBmWS1-A5yL3hW1.js} +5 -5
  110. package/dist/assets/{NavigationArrow-CTNkKUtV-C8bJKxdd.js → NavigationArrow-D26UG3p--DAuEEyBJ.js} +7 -7
  111. package/dist/assets/{NavigationDots-Dvce3gHt-BbZlp8zJ.js → NavigationDots-Bv4tBDN3-Dko875eO.js} +3 -3
  112. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DQOfu_Nl.js → NewGlobalMerchantPage-vOn2O6B9-DskrKIYE.js} +35 -35
  113. package/dist/assets/{NoDataChart-CrKeqWSr-CH-XvPH0.js → NoDataChart-CgT19fV7-Dq-PS5iw.js} +4 -4
  114. package/dist/assets/NoDataTable-CPjJmo4s-B0gXcJxM.js +8 -0
  115. package/dist/assets/{NotFoundPage-BLWPU1wU-BG7NJ9El.js → NotFoundPage-CP2i3FTm-B2Tx_Zo3.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-6RPc-bUn.js → NotificationSettingsPage-CT9Dnb03-CqwjgM73.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js +1 -0
  118. package/dist/assets/NotificationsPage-DDwdR_Jq-CdZxB2zM.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DukFYlqO-CuXBR-rW.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-BG9y5C0t-BPG2pCUp.js → OverlayContainerPage-D4QU0p4o-CVPkUlN6.js} +1 -1
  121. package/dist/assets/PandLWithForecastPage-Bgflh9Om-Dmxi28fl.js +107 -0
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-D4Qtjsvw.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-CHgpZYyo.js} +16 -16
  123. package/dist/assets/PeoplePage-CDvKreQl-CRlr1EmV.js +675 -0
  124. package/dist/assets/{Preview-DWskpWXP.js → Preview-spWMBI70.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-C3M0ocdF-BSyoNQFy.js → ProductsCarousel-7R3cvGiS-DlBhSe7D.js} +8 -8
  126. package/dist/assets/{PromoBaseCards-BOGJI2ws-Ck95GU5B.js → PromoBaseCards-DdCMZIc7-B6Z1nEXM.js} +2 -2
  127. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-CpIqU0WF.js → QBOConnectionDialog-Ca36jKz2-CfdvU0-0.js} +7 -7
  128. package/dist/assets/QBOSetupSection-CzBfIVqR-B4kKrGkW.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C7yuUziG.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-D3bDi2Ta.js → ReimbursementApprovalRulesPage-B48x1gPM-Bmxf9Hlc.js} +17 -17
  131. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CRxw2XKK.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-BKgsJieE-D41M31h1.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-z2afpDkn.js → ReimbursementSetUpPage-B_c-ZgFT-nyStFOEL.js} +8 -8
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CPHh3h5l.js +1 -0
  135. package/dist/assets/{ReloadCard-Bdoo0XiI-BGa0MgX0.js → ReloadCard-DKGn1uxF-CHnWO982.js} +6 -6
  136. package/dist/assets/ReportTableViewSelector-CXDvZEbR-DVKFHMpg.js +150 -0
  137. package/dist/assets/ReportsPage-BoUyXSBC-DqEgIltZ.js +121 -0
  138. package/dist/assets/{RevenueChart-DvyZ3aO7-PpJFTbOd.js → RevenueChart-SvdhwBcE-CclStxKG.js} +18 -18
  139. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-D2dTaNpr.js → ReviewDetailsPage-tT1l4R2r-D31xag1Q.js} +26 -26
  140. package/dist/assets/{ReviewOverlay-CxwoiOLC-vRTfwGwR.js → ReviewOverlay-BoM41t8W-B3q95pxr.js} +10 -10
  141. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js → RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js} +4 -4
  142. package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CXNO-V0F.js +37 -0
  143. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DX2cGcR8.js +37 -0
  144. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-C4pj46PF.js +324 -0
  145. package/dist/assets/{ScreenRoutes-CUuAiKAj.js → ScreenRoutes-Djen5Qso.js} +51 -29
  146. package/dist/assets/{SetUpAccountSection-CctbMmoK-DeDFJbvz.js → SetUpAccountSection-sfIB1h4i-ChZ6V5QM.js} +14 -14
  147. package/dist/assets/SignIn-Cu2nzuEC-CMzKn_tC.js +491 -0
  148. package/dist/assets/SignInScreen-OAq50V8E.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-AeTDFXX6.js → SpendManagementPerTabPage-COvEPq7V-Do4O10gl.js} +96 -96
  151. package/dist/assets/{SpendManagementSection-CIz4nE_w-8YBkABuz.js → SpendManagementSection-dT-N4bSQ-BiovZfwW.js} +21 -21
  152. package/dist/assets/{StatementItem-vVtoBN2w-BdiJO-U-.js → StatementItem-g5tfNBjV-C9Hg8CS4.js} +4 -4
  153. package/dist/assets/StatementsPage-DaFrVUeK-DSTw3UAU.js +58 -0
  154. package/dist/assets/{StatusSwitcher-Bv-ozN6U-CzLNn0tR.js → StatusSwitcher-CaoFw0cf-C3lxp9pU.js} +5 -5
  155. package/dist/assets/SubTabSwitcher-zrkVj1aP-_xN0-uG5.js +58 -0
  156. package/dist/assets/SummaryCard-B9wqNSwM-n1ImzaFb.js +1 -0
  157. package/dist/assets/TaskManagementPage-dAK9tl2b-CTG2_KMv.js +508 -0
  158. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DCJluex4.js +64 -0
  159. package/dist/assets/TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-DxV9Vm6A.js +31 -0
  161. package/dist/assets/{TopExCard-Z1WabZ8c-4au0Kuzy.js → TopExCard-BUjnGDUB-ILeRndVt.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-CzHG4f9E-CctLNvo_.js → TopExDetailPage-CNDkfc3u-BPGQHHhh.js} +16 -16
  163. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-B3NDQc80.js → TransactionActivityLogPage-kSQqJVpX-CN_Bd6XL.js} +20 -20
  164. package/dist/assets/TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js +903 -0
  165. package/dist/assets/TransactionList-3-mUZOsw-BOqEjROc.js +153 -0
  166. package/dist/assets/{TransactionListBig-C5Sf5Xh--BuYJgRaG.js → TransactionListBig-Bx_Rm9ho-B9vgR37B.js} +19 -19
  167. package/dist/assets/TransactionListPage-q6x4_jni-ByWLrriF.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-BRnviJtL.js → TransactionVendorDetailPage-MjSH5hfq-BauD225P.js} +5 -5
  169. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-CVsBbyAK.js → TransferDrawerPage-BayVa6po-DOmgo5bD.js} +45 -45
  170. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-WjxiYw-Z.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DUHPkkLd.js → TreasuryPromoPage-BCjz1EKX-B5KDWi07.js} +131 -131
  172. package/dist/assets/TreasuryStatementsPage-CGr00SXF-C60wRmKc.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DjBNSdh0.js +58 -0
  174. package/dist/assets/{TrendChart-Bnp4Pcdf-D4cgVp3g.js → TrendChart-JTOG0a7B-DpgA2voA.js} +4 -4
  175. package/dist/assets/TrendWithTransactions-CTJhTpAM-BQk6HV-p.js +116 -0
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-sq3wEY9K.js → UncategorizedAccountsMappingPage-TGKYpC5A-RvK9bcxw.js} +14 -14
  177. package/dist/assets/{UnitIntegrationPage-CTzme1te-BHLJji8u.js → UnitIntegrationPage-mt2IjA5X-sxJ5WITz.js} +10 -10
  178. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DAOf5cJD-BPBPmB6-.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CBSNIh8C.js +1 -0
  181. package/dist/assets/VendorDetailPage-DufNphGD-CYmhQiv4.js +257 -0
  182. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Bv9GXuwg.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-k-hAzNY6.js → VendorFiling1099EditablePage-CRnO7Ubw-D8TJzbQY.js} +13 -13
  184. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-B1EJ16cd.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-kwJW4_b9.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DME8KQvf.js} +22 -22
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-WaJ_bb27.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-C7Nrepld.js → VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js} +4 -4
  188. package/dist/assets/{VerifyDevice-Dvf0JsNN-LsnrX91W.js → VerifyDevice-B6B_nk3v-Bdkrxio0.js} +12 -12
  189. package/dist/assets/{VideoPlayer-VAzOGCDL-DVi19FXq.js → VideoPlayer-BRAgZThr-DjmJcTCC.js} +2 -2
  190. package/dist/assets/{VideoPopup-BqvZ-XIh-BO-XUiUq.js → VideoPopup-C_SkBI9U-BcIEWeMW.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-DeNonoNp-BWZkdUzm.js → WarningsDrawerPage-B3gB3wW7-D2GIDjbZ.js} +8 -8
  192. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-Bhjoyj-p.js +300 -0
  193. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-DifvzT-q.js +441 -0
  194. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-Cs_0mVt4.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-XleDnhH3.js → ZeniAccountPromoPage-BgYCHYLO-Cw7mPD8B.js} +33 -33
  196. package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-UG3h63JG.js +36 -0
  197. package/dist/assets/{ZeniCopyright-DglqrTpl-DjLwp-EZ.js → ZeniCopyright-BlLvlGZV-oWH5-_QG.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-Dq1i7GHR.js → ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-CMYG7KBd.js → add-to-wallet-DgdBD8_G-CQY6YDIS.js} +1 -1
  200. package/dist/assets/{analytics-Dn0Lw8Hl.js → analytics-Bkw5onLf.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C_ff58Ox.js → analyticsHelper-BrCWxqsP.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CAYdbjhS-CSS_jWKh.js → analyticsHelper-CYr5V2MV-D117boEZ.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-0FDs3KeW.js → arrow-south-east-round-PEovUgvH-Bjmr6TY7.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BKhloLeM.js → auto-transfer-rule-mbafm5D3-CNNhiF_u.js} +1 -1
  205. package/dist/assets/chartTypes-40RenddT-C3e8npm6.js +1 -0
  206. package/dist/assets/commonDimensions-BMnB1-xU-BEplFlGz.js +1 -0
  207. package/dist/assets/{commonTypes-5tEXwrX4-Bo-DjnLD.js → commonTypes-DsWS6Ccc-DEEa_Sk5.js} +1 -1
  208. package/dist/assets/{constants-BEwjLQPo.js → constants-BjwuG-sL.js} +1 -1
  209. package/dist/assets/{core-DEFUIdDG.js → core-ChNxRm0V.js} +53 -3
  210. package/dist/assets/{dash.all.min-BID_vSFD.js → dash.all.min-CPWXIJa3.js} +1 -1
  211. package/dist/assets/detailCommon-CrcyqWtZ-Y-btcKvT.js +38 -0
  212. package/dist/assets/downloadPdf-CUUx8PWn-CpeF1exC.js +1 -0
  213. package/dist/assets/{empty-3lnGe8CJ.js → empty-CbUW6a7c.js} +1 -1
  214. package/dist/assets/{empty-Bz_9XWq0.js → empty-DB2fqLbL.js} +1 -1
  215. package/dist/assets/epic-D8ilA7L4.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-aVxGZy29.js → gift-box-Cmt9OgIZ-CAEsBxF-.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-x243rVSC.js → graphic-no-data-l-DU4J8fDt-5QBY0UXm.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fGjKD-Ct.js → graphic-no-data-net-burn-l-CzmycA0m-hdaFlp9y.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-ubRH-wiz.js → handshake-BPg58FML-ChCbIa55.js} +1 -1
  220. package/dist/assets/{helper-Ckm10Uko-D3EJmxEw.js → helper-BMiMbXMj-Dmh6E349.js} +5 -5
  221. package/dist/assets/{index-j3sWBTP6.js → index-B7L93Ji9.js} +1 -1
  222. package/dist/assets/{index-BTOXr4d7.js → index-DVyniIKO.js} +1 -1
  223. package/dist/assets/{index-E_BIvVEB.js → index-DlObXRGr.js} +8 -2
  224. package/dist/assets/{index-Dh51gnjs.js → index-Dpyv5L0j.js} +1 -1
  225. package/dist/assets/{index-CurP1SOA.js → index-DqZ19at7.js} +4883 -4818
  226. package/dist/assets/{index-yi6exDCI.js → index-cdfRDhK8.js} +1 -1
  227. package/dist/assets/{index-C_4SXTa-.js → index-ioI1xYoQ.js} +1 -1
  228. package/dist/assets/{lexical-C3dXI-1S.js → lexical-1Ygrq4RW.js} +1 -1
  229. package/dist/assets/{liveblocks-Dud0zcBr.js → liveblocks-BTMi-6jm.js} +15 -2
  230. package/dist/assets/lottie-DePu4yCn.js +9 -0
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BYse0ozL.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-BBFpEXmY.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-hihXzy98.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DeFN34g2.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-CSygkCSn.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-R-95BHOA.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DCo-Luqt.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-27M6rUwe.js} +1 -1
  237. package/dist/assets/{mui-BxEa6oIz.js → mui-ZYC_cKE8.js} +9 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DOLPp-eb.js → page-detail-CWX5S47F-DC8jxm5B.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DL8BJVml.js → radio-default-CiSgisfh-BxCWoZze.js} +1 -1
  241. package/dist/assets/{react-BsuKrOi4.js → react--xqujLHa.js} +12 -2
  242. package/dist/assets/{react-DM147Gxs.js → react-BKZXD5Oc.js} +12 -2
  243. package/dist/assets/{react-BNTdaAOY.js → react-BYslFEBJ.js} +12 -2
  244. package/dist/assets/{react-a0DWg95U.js → react-BwmLfOl6.js} +12 -2
  245. package/dist/assets/{react-yelseDIT.js → react-C9KgujEQ.js} +13 -3
  246. package/dist/assets/{react-DPVtQSsy.js → react-IIMWUaFV.js} +12 -2
  247. package/dist/assets/react-Z0_odY1k.js +37 -0
  248. package/dist/assets/{react-B5siMDaA.js → react-d6rMgZIK.js} +12 -2
  249. package/dist/assets/{recharts-CucZZnV5.js → recharts-CPKKNFMD.js} +27 -19
  250. package/dist/assets/{sentry-CDHeVBhK.js → sentry-DO9J0OD9.js} +17 -2
  251. package/dist/assets/{shield-DOlUxcFf-BCrG7e7-.js → shield-DOlUxcFf-K7yJVGAq.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DkMGvlEt-BttuYM2L.js +1 -0
  253. package/dist/assets/toChartData-C6s-eBzE-DfNWG1EA.js +1 -0
  254. package/dist/assets/{uploadAttachment-Ck4wivBR-D2sssPbg.js → uploadAttachment-BlLqRIXe-BrI0Dxy9.js} +32 -32
  255. package/dist/assets/uploadReceipts-Dge0cNF1-C53BLsXO.js +1 -0
  256. package/dist/assets/{url-DAJ1NKPS.js → url-Brmd3733.js} +1 -1
  257. package/dist/assets/{url-Dz3bE-6e.js → url-VhWKyQz6.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-cX6DxOpZ.js → useLongPress-GCK2COYQ-BBNJdZmN.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BiUwSUGW.js → usp-line-BBd1wKwW-BjY16bQv.js} +1 -1
  260. package/dist/assets/{utils-B2bXCuaD.js → utils-CXoyjNuY.js} +38 -4
  261. package/dist/assets/zeni-epic-state-C5Hzx540.js +151 -0
  262. package/dist/index.html +1 -1
  263. package/package.json +6 -6
  264. package/dist/assets/ACHDetailsPage-B5qIuZya-BmmOKNKt.js +0 -21
  265. package/dist/assets/AccountInfoPage-Cd5xYT1g-BjYVbnMy.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-Dox7IuAX-H_pRx6Xf.js +0 -59
  267. package/dist/assets/AccountRow-D1cjRJJD-CnHGmlKi.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-CTlBkwH6.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-CjBrPyi8-DNYyKLZY.js +0 -46
  270. package/dist/assets/AppDrawerContent-CVVWj66i-BfqcrITU.js +0 -92
  271. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CKQBzdAB.js +0 -47
  272. package/dist/assets/ArAgingDetailPage-i7JObt60-x2wHZEQK.js +0 -46
  273. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DFyn5DU2.js +0 -38
  274. package/dist/assets/BillDetailPage-XXOwBfO1-CW90EiFi.js +0 -266
  275. package/dist/assets/BillPayPromoPage-DOE2YIqC-eMf19kde.js +0 -84
  276. package/dist/assets/BillingSettingsPage-iImtlEmO-NkTGKevj.js +0 -44
  277. package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bt_RFZVL.js +0 -222
  278. package/dist/assets/CollapsableReportTable-DNfFkAts-BXskWmz4.js +0 -2982
  279. package/dist/assets/ConfettiBurst-BZCXEGYA-BuT0DNIg.js +0 -1
  280. package/dist/assets/CurrencySelectField-BAh7SHrG-C0eRIjkk.js +0 -139
  281. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DApxSm4l.js +0 -1
  282. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DAVz68Sy.js +0 -66
  283. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-BE0eZrrp.js +0 -12
  284. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-B5_uXo_7.js +0 -76
  285. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DEAnKryS.js +0 -66
  286. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-g4hbj-K1.js +0 -21
  287. package/dist/assets/DownloadOverlay-D_lL1sPW-DOw4m1yt.js +0 -439
  288. package/dist/assets/EditPeoplePage-QvPy_Six-anrdd6es.js +0 -55
  289. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-1LZFYwiw.js +0 -865
  290. package/dist/assets/EntityDetailPage-l7nXIsyF-BWeJETf7.js +0 -18
  291. package/dist/assets/ExpenseAutomationPage-DA22Qofw-DO_fqdZH.js +0 -3001
  292. package/dist/assets/GlobalReviewListPage-D5_ACa-q-DgPiQmby.js +0 -291
  293. package/dist/assets/InsightsSection-B6CNlTNH-CLcBLG7W.js +0 -27
  294. package/dist/assets/InternationalWireVerificationPage-COC6lZml-CP2ZasSF.js +0 -65
  295. package/dist/assets/InviteFormPage-DN02jRy5-BtKUOX8b.js +0 -312
  296. package/dist/assets/InvitePeoplePage-VTM6kM1u-G3Ul_pWm.js +0 -12
  297. package/dist/assets/InvoiceUploadSection-it-ZYl1N-BO7KOyKX.js +0 -140
  298. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BhvAMjBe.js +0 -45
  299. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-DrHMqRca.js +0 -16
  300. package/dist/assets/LabeledDocumentField-C_bcFxdY-DD0gr-bC.js +0 -41
  301. package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-D-kv_bCg.js +0 -59
  302. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-B1jvyROC.js +0 -1
  303. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-RgVjNAqp.js +0 -1
  304. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-tnKyOj1K.js +0 -1
  305. package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-D-HowjcM.js +0 -31
  306. package/dist/assets/MailingDetailsSection-ByOPaJ05-Ct12OUY5.js +0 -21
  307. package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-CFKFaD81.js +0 -6
  308. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-BtcIqQ7N.js +0 -85
  309. package/dist/assets/NoDataTable-4vPXmPYF-CwZdP9nM.js +0 -8
  310. package/dist/assets/NotificationsListConfig-B5pDa4cJ-BswJOyvx.js +0 -1
  311. package/dist/assets/NotificationsPage-Ccl7Dny1-BlIM0WaT.js +0 -685
  312. package/dist/assets/OpExByVendorPage-spd-nKV4-DL88DIG2.js +0 -100
  313. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-D4kqBVQ1.js +0 -123
  314. package/dist/assets/PeoplePage-b5_I0qOw-C1yNgQZU.js +0 -727
  315. package/dist/assets/QBOSetupSection-DjnN9dgv-ISynvMy-.js +0 -79
  316. package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-D9uPP3dw.js +0 -32
  317. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-0loMmewR.js +0 -314
  318. package/dist/assets/ReimbursementPromoPage-CyEgwqcf-CgriiA9d.js +0 -84
  319. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Bhe1TAsD.js +0 -1
  320. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-Cq7HHLUo.js +0 -151
  321. package/dist/assets/ReportsPage-BOTHMLWh-W09uRSHp.js +0 -269
  322. package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-CCcAk0g0.js +0 -37
  323. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-oIb8NDEV.js +0 -37
  324. package/dist/assets/ScheduleSequenceTable-R3-PsXES-ClyCeUfL.js +0 -326
  325. package/dist/assets/SignIn-CmgmnRm4-CTHQKiMt.js +0 -491
  326. package/dist/assets/SignInScreen-D6DML_Ge.js +0 -1
  327. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BAqTaSS5.js +0 -134
  328. package/dist/assets/StatementsPage-As5WOnMR-k_kQpGjl.js +0 -58
  329. package/dist/assets/SubTabSwitcher-D7QeM6nb-qtx8MdsY.js +0 -58
  330. package/dist/assets/SummaryCard-C2qoTsAY-DDjCmaHn.js +0 -1
  331. package/dist/assets/TaskManagementPage-BJwp32Ph-DovQ5Y6P.js +0 -508
  332. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DYi-s0cU.js +0 -64
  333. package/dist/assets/TimeframeSwitcher-DA99HdHt-NQjsVR_-.js +0 -31
  334. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-yshKro9r.js +0 -53
  335. package/dist/assets/TransactionDetailPage-1-mLOWSz-DT3B6GWp.js +0 -903
  336. package/dist/assets/TransactionList-BB-xoIGm-WH6cmyEO.js +0 -153
  337. package/dist/assets/TransactionListPage-Cj7h1Ros-D83WnCkA.js +0 -35
  338. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DY1oE8mV.js +0 -725
  339. package/dist/assets/TreasuryStatementsPage-Catz8shX-jQUbirVv.js +0 -58
  340. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-6uZaRuCs.js +0 -58
  341. package/dist/assets/TrendWithTransactions-3D1FvM8G-C__bS1bm.js +0 -116
  342. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-CbLtbJQH.js +0 -38
  343. package/dist/assets/Vendor2FAPopup-D0zYKkIv-BygCz9U8.js +0 -1
  344. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-Dd_Yp7Po.js +0 -1
  345. package/dist/assets/VendorDetailPage-Br9wIOnI-D7IvjenZ.js +0 -257
  346. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-3VolPNUI.js +0 -1
  347. package/dist/assets/VendorFirstReviewPage-BbknTCBD-CXQ3X7Oj.js +0 -730
  348. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-QYQGZ34-.js +0 -1
  349. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-CbR031ng.js +0 -300
  350. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-DHL8XcBW.js +0 -443
  351. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-rP8-LNeM.js +0 -33
  352. package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-LpNGhMSo.js +0 -36
  353. package/dist/assets/chartTypes-CD3vrBsI--X3YDFNJ.js +0 -1
  354. package/dist/assets/commonDimensions-Oz1tdAcx-DcNBG7HB.js +0 -1
  355. package/dist/assets/downloadPdf-Dsuxeias-Cm2qRseb.js +0 -1
  356. package/dist/assets/epic-DmCiRuzo.js +0 -2
  357. package/dist/assets/lottie-Cne2KPqn.js +0 -2
  358. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CGykrO8u.js +0 -1
  359. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CG1HpWw1.js +0 -1
  360. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CoJtwaHe.js +0 -1
  361. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BEXH0Sn-.js +0 -1
  362. package/dist/assets/panelSelectedMixin-Cddsb26L-BYkFfnSr.js +0 -3
  363. package/dist/assets/react-Bug7UPVd.js +0 -19
  364. package/dist/assets/toCOABalancesWithID-aLNB35t7-a6z4p0gt.js +0 -1
  365. package/dist/assets/toChartData-DUL6vnzJ-DBy9U-ty.js +0 -1
  366. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CTAMYaR4.js +0 -1
  367. package/dist/assets/uploadReceipts-CIgkuVpu-CJ8IdAY6.js +0 -1
  368. package/dist/assets/zeni-epic-state-B4EHkeVq.js +0 -14
@@ -0,0 +1,41 @@
1
+ import{J as W,cL as j,ex as g,V as r,cQ as O,y as a,eX as U,O as k,aR as N,u as i,o,p as _,H as A}from"./index-DqZ19at7.js";import{n as d}from"./mui-ZYC_cKE8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f6dbac3c-be37-4759-96ec-8faf3479ce7b",e._sentryDebugIdIdentifier="sentry-dbid-f6dbac3c-be37-4759-96ec-8faf3479ce7b")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function Q({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:D,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:L,onDeleteFile:B,onEditFileName:R,onFileSizeError:M}){const s=W(),{formState:{errors:b}}=j(),m=g(b,n),C=g(b,`${n}.fileName`);return r.jsxs(V,{size:s,style:u,isDisabled:l!=null,"data-testid":N("document-field",n),children:[r.jsx(O,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(H,{labelWidth:e.width,size:s,children:[r.jsx(U,{name:n,filesEndPoint:P,authParams:E,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:L,onFileSizeError:M,onDeleteFile:B,onEditFileName:R,placeholderText:S,showPhotoPicker:v,useMobileCam:D,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),m&&r.jsx(q,{size:s,isError:m,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
+ display: flex;
3
+ flex-direction: ${e=>e.size==="small"?"column":"row"};
4
+ align-items: flex-start;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ width: ${e=>t.width.valuePx(e.size)};
7
+ min-height: ${e=>t.height.valuePx(e.size)};
8
+ padding-right: ${e=>t.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
11
+
12
+ :first-of-type {
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ }
16
+
17
+ :last-of-type {
18
+ border-bottom-left-radius: inherit;
19
+ border-bottom-right-radius: inherit;
20
+ }
21
+
22
+ &:hover {
23
+ z-index: 1;
24
+ outline: 1px solid
25
+ ${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
26
+ }
27
+ `,H=d.div`
28
+ display: flex;
29
+ flex-direction: column;
30
+ width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
31
+ padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
32
+ box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
33
+ align-items: flex-end;
34
+ flex-grow: 1;
35
+ `,q=d.label`
36
+ display: flex;
37
+ color: ${e=>e.isError?_.important:e.theme.colors.grey1};
38
+ ${e=>`${J.infoLabel.style(e.size)}`};
39
+ padding-right: ${o.sp3};
40
+ text-align: right;
41
+ `;export{Q as Y};
@@ -0,0 +1,59 @@
1
+ import{J as V,d as C,cL as g,ex as F,V as r,o,eG as R,bT as _,b as H,gk as J,p as s,H as O,bI as P}from"./index-DqZ19at7.js";import{n as i}from"./mui-ZYC_cKE8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="81467e40-cda3-4e6b-ba69-4c7ab24a9b22",e._sentryDebugIdIdentifier="sentry-dbid-81467e40-cda3-4e6b-ba69-4c7ab24a9b22")}catch{}})();const A={infoLabel:new O("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:d=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:k,defaultValue:p,isSelectDisabled:D,menuPlacement:v,name:j,placeholderLabel:E}){const n=V(),b=C(),{formState:{errors:I}}=g(),c=F(I,t.name),{control:S}=g(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(G,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(K,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(W,{style:{width:"auto",...f},children:r.jsx(R,{name:j,control:S,defaultValue:p.dropDownValue,rules:k,render:({field:{value:l,onChange:T}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||D,onPickerSelectionChanged:u=>{T(u)},menuPlacement:v,titleTextStyle:H.standardRegular,titleColor:b.colors.hero,valueOpacity:1,backgroundColor:b.colors.grey5,placeholder:E})})})}),r.jsxs(M,{children:[r.jsx(J,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[w===!0?r.jsx(U,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:L})]})]})}const G=i.div`
2
+ display: flex;
3
+ flex-direction: row;
4
+ align-items: center;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ min-height: ${o.sp6};
7
+ padding-top: ${o.sp2};
8
+ padding-bottom: ${o.sp2};
9
+ padding-right: ${o.sp2};
10
+
11
+ :first-of-type {
12
+ border-top-left-radius: inherit;
13
+ border-top-right-radius: inherit;
14
+ }
15
+
16
+ :last-of-type {
17
+ border-bottom-left-radius: inherit;
18
+ border-bottom-right-radius: inherit;
19
+ }
20
+
21
+ &:focus-within {
22
+ z-index: 1;
23
+
24
+ input {
25
+ background-color: ${e=>e.isError?s.importantLight:e.theme.colors.background};
26
+ }
27
+ }
28
+ input {
29
+ background-color: ${e=>e.isError?s.importantLight:e.theme.colors.grey5};
30
+ }
31
+ &:hover {
32
+ input {
33
+ background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?s.importantLight:e.theme.colors.background};
34
+ }
35
+ }
36
+ `,M=i.div`
37
+ display: flex;
38
+ flex-direction: column;
39
+ align-items: flex-end;
40
+ flex-grow: 1;
41
+ `,h=i.label`
42
+ display: flex;
43
+ color: ${e=>e.isError?s.important:e.theme.colors.grey1};
44
+ ${e=>`${A.infoLabel.style(e.size)}`};
45
+ padding-right: ${o.sp3};
46
+ text-align: right;
47
+ `,U=i.div`
48
+ display: flex;
49
+ margin-right: ${o.sp1};
50
+ align-items: center;
51
+ `,B=i(P)`
52
+ width: ${o.sp3};
53
+ height: ${o.sp3};
54
+ color: ${s.successDark};
55
+ `,K=i.div`
56
+ display: flex;
57
+ width: 100%;
58
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
59
+ `,W=i.div``;export{N as Y};
@@ -1,4 +1,4 @@
1
- import{e as p,V as o,cZ as f,x as l,ac as g,u as t,o as a,an as u,N as c}from"./index-CurP1SOA.js";import{n as d}from"./mui-BxEa6oIz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="97c36811-5270-4870-92f9-5e5e79a4ae7e",e._sentryDebugIdIdentifier="sentry-dbid-97c36811-5270-4870-92f9-5e5e79a4ae7e")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function T({label:e,value:r,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const n=p();return o.jsxs(m,{size:n,style:h,"data-testid":g("labeled-text",e.label),children:[o.jsx(f,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:b,children:s}):null]})]})}const m=d.div`
1
+ import{J as f,V as o,cQ as p,y as l,aR as g,u as t,o as a,am as u,H as y}from"./index-DqZ19at7.js";import{n as d}from"./mui-ZYC_cKE8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="2f8a067f-aa21-46b6-b339-51e260420ed5",e._sentryDebugIdIdentifier="sentry-dbid-2f8a067f-aa21-46b6-b339-51e260420ed5")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new y("extraSmallRegular","smallRegular")};function R({label:e,value:r,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=f();return o.jsxs(m,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[o.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:h,children:s}):null]})]})}const m=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -36,7 +36,7 @@ import{e as p,V as o,cZ as f,x as l,ac as g,u as t,o as a,an as u,N as c}from"./
36
36
  display: flex;
37
37
  justify-content: flex-end;
38
38
  color: ${e=>e.theme.colors.hero};
39
- ${e=>`${y.infoLabel.style(e.size)}`};
39
+ ${e=>`${c.infoLabel.style(e.size)}`};
40
40
  padding-right: ${a.sp3};
41
41
  text-align: right;
42
- `;export{T as S};
42
+ `;export{R as S};
@@ -1,4 +1,4 @@
1
- import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ as fe,g as be,gd as xe,O as E,N as we,bK as W,ge as Z,ar as H,gf as Y,bI as B,d as R,w as G,an as X,gg as $e,ao as ye,ak as ve}from"./index-CurP1SOA.js";import{n as r}from"./mui-BxEa6oIz.js";import{T as je}from"./RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="96a4cfd9-e956-48bb-af83-a2f8b332df80",e._sentryDebugIdIdentifier="sentry-dbid-96a4cfd9-e956-48bb-af83-a2f8b332df80")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{J as U,V as l,cQ as me,o as s,y as I,aR as Y,u as m,cL as Z,eG as ge,ex as fe,d as be,g3 as xe,O as R,H as we,bK as _,g4 as K,aq as H,g5 as G,bI as J,p as F,b as q,am as X,g6 as $e,an as ye,aj as ve}from"./index-DqZ19at7.js";import{n as r}from"./mui-ZYC_cKE8.js";import{T as je}from"./RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="0111f81d-6530-4df1-8312-eff70adb337b",e._sentryDebugIdIdentifier="sentry-dbid-0111f81d-6530-4df1-8312-eff70adb337b")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -55,23 +55,23 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
55
55
  `,Ve=r(M)`
56
56
  flex-direction: column;
57
57
  gap: ${s.sp0};
58
- `,ke=r.div`
58
+ `,Pe=r.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  height: ${s.sp6};
62
62
  gap: ${s.sp2};
63
63
  justify-content: ${e=>e.menuIsOpen?"flex-start":"flex-end"};
64
64
  width: 100%;
65
- `,Pe=r(X)`
65
+ `,ke=r(X)`
66
66
  white-space: nowrap;
67
67
  overflow: hidden;
68
68
  text-overflow: ellipsis;
69
- `,Ee=r.div`
69
+ `,Re=r.div`
70
70
  display: flex;
71
71
  align-items: center;
72
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?R.important:e.theme.colors.grey1};
72
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
73
73
  fill: ${e=>e.theme.colors.grey1};
74
- `,Ne=r(ve)`
74
+ `,Ee=r(ve)`
75
75
  color: ${e=>e.hasSelectedUser?e.theme.colors.primary:e.theme.colors.hero};
76
76
  margin-left: -10px;
77
77
  margin-right: -10px;
@@ -89,21 +89,21 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
89
89
  box-sizing: border-box;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- `,Re=r(M)`
92
+ `,Fe=r(M)`
93
93
  align-items: center;
94
94
  gap: ${s.sp2};
95
- `,N=r.div`
95
+ `,E=r.div`
96
96
  overflow: hidden;
97
97
  text-overflow: ellipsis;
98
98
  white-space: nowrap;
99
- `,J=r.div``,Fe=r.div`
99
+ `,B=r.div``,Ne=r.div`
100
100
  width: 100%;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
102
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
103
103
  .select-control {
104
104
  border: none;
105
105
  height: 100%;
106
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?R.importantLight:e.theme.colors.grey5};
106
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?F.importantLight:e.theme.colors.grey5};
107
107
  box-shadow: none;
108
108
  border-radius: ${s.sp1};
109
109
  &:hover {
@@ -133,7 +133,7 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
133
133
  border-radius: ${s.sp0};
134
134
  margin: ${s.sp0};
135
135
  color: ${e=>e.theme.colors.primary};
136
- ${G.standardRegular.css};
136
+ ${q.standardRegular.css};
137
137
  box-sizing: border-box;
138
138
  overflow: hidden;
139
139
  text-overflow: ellipsis;
@@ -145,7 +145,7 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
145
145
  display: flex;
146
146
  width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
147
147
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
148
- ${G.standardRegular.css};
148
+ ${q.standardRegular.css};
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  margin: ${s.sp0};
151
151
  cursor: inherit;
@@ -159,7 +159,7 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
159
159
  visibility: visible;
160
160
  }
161
161
  ::placeholder {
162
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?R.important:e.theme.colors.grey1};
162
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
163
163
  }
164
164
  }
165
165
  }
@@ -168,11 +168,11 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
168
168
  width: ${e=>e.windowSize==="small"?"max-content":"100%"};
169
169
  display: flex;
170
170
  flex-direction: column;
171
- `,Me=r(Z)`
171
+ `,Me=r(K)`
172
172
  width: ${s.sp5};
173
173
  height: ${s.sp5};
174
174
  color: ${e=>e.theme.colors.hero};
175
- `,K=r($e)`
175
+ `,Q=r($e)`
176
176
  color: ${e=>e.theme.colors.alert};
177
177
  text-transform: none;
178
178
  border: 1px solid ${e=>e.theme.colors.alert};
@@ -180,21 +180,21 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:P}}=Q(),L=fe(P,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ne,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Me,{}),l.jsx(J,{children:l.jsx(N,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Pe,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(Y,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(N,{children:i})]}),S?l.jsx(_,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(Y,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(J,{children:[l.jsx(N,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(K,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(K,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Fe,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=Q(),P=U();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Ye,{width:w?.width,"data-testid":q("user-single-select",e),children:[l.jsx(_e,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Be,{size:P,children:D})]})})},Ye=r.div`
183
+ `;function We({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:k}}=Z(),L=fe(k,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Re,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Me,{}),l.jsx(B,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(J,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(G,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(G,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(Q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(J,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(Q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(_.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(_.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??R.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const _e={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=Z(),k=U();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Ge,{width:w?.width,"data-testid":Y("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Je,{size:k,children:D})]})})},Ge=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
187
- `,Be=r.label`
187
+ `,Je=r.label`
188
188
  color: ${e=>e.theme.colors.hero};
189
- ${e=>`${We.infoLabel.style(e.size)}`};
189
+ ${e=>`${_e.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,F={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Qe({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:F.labelMarginLeft.value(f),marginRight:F.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
192
+ `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(qe,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":Y("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const qe=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
196
196
  background-color: ${e=>e.theme.colors.grey5};
197
- width: ${e=>F.width.valuePx(e.size)};
197
+ width: ${e=>N.width.valuePx(e.size)};
198
198
  min-height: ${s.sp6};
199
199
  padding-right: ${s.sp2};
200
200
  padding-top: ${s.sp2};
@@ -226,4 +226,4 @@ import{e as U,V as l,cZ as me,o as s,x as I,ac as q,u as m,cU as Q,eS as ge,eJ a
226
226
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
227
227
  }
228
228
  }
229
- `;export{Qe as Y};
229
+ `;export{Ze as Y};
@@ -1,4 +1,4 @@
1
- import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g as q,w as I,bJ as ie,O as te,ga as se,gh as ae,aM as ne,b3 as de,bK as B,bc as ce,bI as pe,cL as ue,d as D,gi as F,cq as X,a as he,ak as Y,an as ge,ao as me,fY as be,fX as fe,by as xe,fZ as ye,bk as we,gj as ve}from"./index-CurP1SOA.js";import{n as d,c as $e}from"./mui-BxEa6oIz.js";import{a as C}from"./sentry-CDHeVBhK.js";import{Gw as A,Gx as Re}from"./zeni-epic-state-B4EHkeVq.js";import{T as je}from"./RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="aeca106b-a133-461f-ab96-e103a04f12f8",e._sentryDebugIdIdentifier="sentry-dbid-aeca106b-a133-461f-ab96-e103a04f12f8")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{J as I,V as l,cQ as K,y as m,o,aR as H,u as n,cL as E,eG as G,ex as Q,d as X,b as M,bJ as ie,O as te,g0 as se,g7 as ae,aL as ne,b3 as de,bK as B,bc as ce,bI as pe,cE as ue,p as C,g8 as U,ck as q,i as he,aj as Y,am as ge,an as me,fO as be,fN as fe,by as xe,fP as ye,bk as we,g9 as ve}from"./index-DqZ19at7.js";import{n as d,c as $e}from"./mui-ZYC_cKE8.js";import{a as D}from"./sentry-DO9J0OD9.js";import{FL as A,FM as Re}from"./zeni-epic-state-C5Hzx540.js";import{T as je}from"./RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="4c060adc-812a-4bcf-a7c6-4be418248040",e._sentryDebugIdIdentifier="sentry-dbid-4c060adc-812a-4bcf-a7c6-4be418248040")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -20,14 +20,14 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
20
20
  ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
21
21
  }
22
22
  }
23
- `,Ce=d.div`
23
+ `,De=d.div`
24
24
  border-left: 1px solid ${e=>e.theme.colors.grey1};
25
- `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=M(),a=q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(ke,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},L={allRolesMarginLeftRight:new m(n[3],n[4])},De=d.div`
25
+ `,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=I(),a=X(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(ke,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(De,{className:"verticalLine"}):null]},u.value))})},V={allRolesMarginLeftRight:new m(n[3],n[4])},Ce=d.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  color: ${e=>e.theme.colors.hero};
29
- margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
30
- margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
29
+ margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
30
+ margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
31
31
  &:hover {
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
@@ -51,7 +51,7 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
51
51
  flex-direction: row;
52
52
  margin-bottom: ${o.sp3};
53
53
  justify-content: space-between;
54
- `,Te=d(X)`
54
+ `,Te=d(q)`
55
55
  display: flex;
56
56
  color: ${e=>e.theme.colors.primary};
57
57
  `,Z=d(Y)`
@@ -60,7 +60,7 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
60
60
  `,Be=d.div`
61
61
  display: flex;
62
62
  .roleTitle {
63
- color: ${e=>e.isError?D.important:e.theme.colors.hero};
63
+ color: ${e=>e.isError?C.important:e.theme.colors.hero};
64
64
  }
65
65
  .roleSubTitle {
66
66
  color: ${e=>e.theme.colors.hero};
@@ -84,15 +84,15 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
84
84
  border-color: ${e=>e.theme.colors.primary};
85
85
  }
86
86
  }
87
- `,Me=d.div`
87
+ `,Ie=d.div`
88
88
  display: flex;
89
89
  flex-direction: column;
90
- `,Ve=d(X)`
90
+ `,Le=d(q)`
91
91
  display: flex;
92
- `,Ie=d(Y)`
92
+ `,Me=d(Y)`
93
93
  display: flex;
94
94
  margin-bottom: ${o.sp1};
95
- `,Le=d(me)`
95
+ `,Ve=d(me)`
96
96
  display: flex;
97
97
  padding: 1px 6px 1px 6px;
98
98
  border: 1px solid;
@@ -101,11 +101,11 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
101
101
  `,Ee=d.div`
102
102
  display: flex;
103
103
  flex-direction: row;
104
- `,_e=d.div``,Ue=d.div`
104
+ `,_e=d.div``,Fe=d.div`
105
105
  display: flex;
106
106
  flex-direction: column;
107
107
  padding-left: ${o.sp3};
108
- `,Fe=d(ve)`
108
+ `,Ue=d(ve)`
109
109
  width: ${o.sp4};
110
110
  height: ${o.sp4};
111
111
  color: ${e=>e.theme.colors.hero};
@@ -132,10 +132,10 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
132
132
  `,Je=d.div`
133
133
  display: flex;
134
134
  flex-direction: column;
135
- margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
- margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
- color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
138
- `,Ge=e=>{switch(e){case"bookkeeping":return l.jsx(Fe,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(We,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Ve,{className:"roleTitle",children:F[e].label}),l.jsx(Ie,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=C.useCallback(h=>{const t=se([h]),k=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===k),V=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:V?void 0:v[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=C.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);C.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,z=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Je,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(De,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:z(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Ge(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=M();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(qe,{...i,isDisabled:e})]})}const Xe=d.div`
135
+ margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
136
+ margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
137
+ color: ${e=>e.theme.mode==="light"?C.brandColorOnyx:C.brandColorPearl};
138
+ `,Ke=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(We,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ge=e=>l.jsxs(Ie,{children:[l.jsx(Le,{className:"roleTitle",children:U[e].label}),l.jsx(Me,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=I(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=D.useCallback(h=>{const t=se([h]),k=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===k),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=D.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);D.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,z=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Je,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(Ce,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(Pe,{windowSize:f,isCollapsed:z(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Ke(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=I();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const qe=d.div`
139
139
  display: flex;
140
140
  flex-direction: ${e=>e.isDisabled?"row":"column"};
141
141
  align-items: ${e=>e.isDisabled?"center":"flex-start"};
@@ -169,7 +169,7 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
169
169
  border-color: inherit;
170
170
  }
171
171
  }
172
- `;function Ye({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=C.useState(),{formState:{errors:z}}=E(),h=Q(z,b??"");C.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),C.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),k=M(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,V=I.smallRegular.cssObject,_=V,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:k==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...I.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:k==="small"?"230px":"100%",right:k==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:k==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=A(O.value)&&s===!0,U=J(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...V,color:U,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return C.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:U}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:U,isError:h,isValuePlacedAtEnd:y,windowSize:k,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&A(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
172
+ `;function Ye({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=D.useState(),{formState:{errors:z}}=E(),h=Q(z,b??"");D.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),D.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=X(),k=I(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,L=M.smallRegular.cssObject,_=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:k==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,g)=>({...r,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...M.standardRegular.cssObject}),multiValue:(r,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:k==="small"?"230px":"100%",right:k==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:k==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=A(O.value)&&s===!0,F=J(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:F,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:g}=r;return D.createElement(B.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,isError:h,isValuePlacedAtEnd:y,windowSize:k,children:l.jsx(B.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&A(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?C.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
173
173
  padding: ${o.sp0} 2px;
174
174
  max-width: 104px;
175
175
  white-space: nowrap;
@@ -189,7 +189,7 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
189
189
  .select-control {
190
190
  border: none;
191
191
  height: ${e=>e.windowSize==="small"?"auto":o.sp6};
192
- background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?D.importantLight:e.theme.colors.grey5};
192
+ background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?C.importantLight:e.theme.colors.grey5};
193
193
  box-shadow: none;
194
194
  &:hover {
195
195
  fill: ${e=>e.theme.colors.primary};
@@ -218,7 +218,7 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
218
218
  border-radius: ${o.sp0};
219
219
  margin: ${o.sp0};
220
220
  color: ${e=>e.theme.colors.primary};
221
- ${I.standardRegular.css};
221
+ ${M.standardRegular.css};
222
222
  box-sizing: border-box;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
@@ -229,7 +229,7 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
229
229
  display: flex;
230
230
  width: ${e=>e.menuIsOpen===!1&&e.selectedValue==null?o.sp0:"100%"};
231
231
  position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
232
- ${I.standardRegular.css};
232
+ ${M.standardRegular.css};
233
233
  color: ${e=>e.theme.colors.primary};
234
234
  margin: ${o.sp0};
235
235
  cursor: inherit;
@@ -247,18 +247,18 @@ import{e as M,V as l,cZ as G,x as m,o,ac as H,u as n,cU as E,eS as K,eJ as Q,g a
247
247
  visibility: visible;
248
248
  }
249
249
  ::placeholder {
250
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
250
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?C.important:e.theme.colors.grey1};
251
251
  }
252
252
  }
253
253
  }
254
254
  .placeholder-container {
255
- color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?D.important:e.theme.colors.grey1};
255
+ color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?C.important:e.theme.colors.grey1};
256
256
  }
257
257
  > div:nth-last-of-type(2) .seperator {
258
258
  visibility: hidden;
259
259
  }
260
260
  }
261
- `,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:z=>{x({allOptions:c.allOptions,selectedOptions:z}),$?.(z)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=M();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
261
+ `,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:z=>{x({allOptions:c.allOptions,selectedOptions:z}),$?.(z)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=I();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(uo,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const ho=d.div`
262
262
  display: flex;
263
263
  flex-direction: row;
264
264
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as ge,gk as fe,aT as be,O as Q,o as t,x as m,n as xe,b as ye,cV as V,i_ as we,d as je,w as I,bj as Ce,u as r}from"./index-CurP1SOA.js";import{a as O}from"./sentry-CDHeVBhK.js";import{n as i}from"./mui-BxEa6oIz.js";import{GZ as W,GW as Se,GX as De}from"./zeni-epic-state-B4EHkeVq.js";import $e from"./TransactionDetailPage-1-mLOWSz-DT3B6GWp.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";import"./LabeledControlledCheckBoxField-CcPO1k23-DrHMqRca.js";import"./TrendWithTransactions-3D1FvM8G-C__bS1bm.js";import"./TrendChart-Bnp4Pcdf-D4cgVp3g.js";import"./chartTypes-CD3vrBsI--X3YDFNJ.js";import"./toCOABalancesWithID-aLNB35t7-a6z4p0gt.js";import"./toChartData-DUL6vnzJ-DBy9U-ty.js";import"./NoDataChart-CrKeqWSr-CH-XvPH0.js";import"./InsightsSection-B6CNlTNH-CLcBLG7W.js";import"./NavigationDots-Dvce3gHt-BbZlp8zJ.js";import"./TransactionList-BB-xoIGm-WH6cmyEO.js";import"./ConstrainedInnerElement-CgdnMeoA-hVukCBkN.js";import"./BoxItem-Bxa1M4QU-D1vE9QhE.js";import"./commonDimensions-Oz1tdAcx-DcNBG7HB.js";import"./panelSelectedMixin-Cddsb26L-BYkFfnSr.js";import"./uploadAttachment-Ck4wivBR-D2sssPbg.js";import"./radio-default-CiSgisfh-DL8BJVml.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="5f9503cd-ceb5-45f0-86ee-0ded7880e5d9",e._sentryDebugIdIdentifier="sentry-dbid-5f9503cd-ceb5-45f0-86ee-0ded7880e5d9")}catch{}})();const B={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{J as H,aS as ue,aa as pe,cH as me,iN as E,iy as I,cI as he,V as n,ad as ge,ga as fe,aT as be,O as G,o as t,y as m,a as xe,x as ye,cM as J,iO as we,p as je,b as P,bj as Ce,u as r}from"./index-DqZ19at7.js";import{a as M}from"./sentry-DO9J0OD9.js";import{n as i}from"./mui-ZYC_cKE8.js";import{Gc as Q,G9 as Se,Ga as De}from"./zeni-epic-state-C5Hzx540.js";import $e from"./TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js";import"./TrendWithTransactions-CTJhTpAM-BQk6HV-p.js";import"./TrendChart-JTOG0a7B-DpgA2voA.js";import"./chartTypes-40RenddT-C3e8npm6.js";import"./toCOABalancesWithID-DkMGvlEt-BttuYM2L.js";import"./toChartData-C6s-eBzE-DfNWG1EA.js";import"./NoDataChart-CgT19fV7-Dq-PS5iw.js";import"./InsightsSection-De9zu_me-VPfN5Xo7.js";import"./NavigationDots-Bv4tBDN3-Dko875eO.js";import"./TransactionList-3-mUZOsw-BOqEjROc.js";import"./ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js";import"./BoxItem-DRwx0M5a-DCS0EEq5.js";import"./commonDimensions-BMnB1-xU-BEplFlGz.js";import"./panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js";import"./uploadAttachment-BlLqRIXe-BrI0Dxy9.js";import"./radio-default-CiSgisfh-BxCWoZze.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bab3e68f-5d78-4b95-9b8d-6fd85c16687a",e._sentryDebugIdIdentifier="sentry-dbid-bab3e68f-5d78-4b95-9b8d-6fd85c16687a")}catch{}})();const R={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as g
12
12
  `,Ee=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${I.largeMedium.css};
16
- `,Pe=i.div`
15
+ ${P.largeMedium.css};
16
+ `,Ie=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,F=(e,l)=>`${e}.${l}`;function Ie({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=G();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:C.header}),n.jsxs(ke,{children:[n.jsx(V,{label:{label:o.jePostingDate,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:F(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Pe,{}),n.jsx(V,{label:{label:o.jeLink,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:F(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Z="linkJETransaction",H=Q.getLocalizedStrings(),{common:{footer:M},dateFormat:Le}=H,bt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:X,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=G(),A=ue(u),y=W(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=H,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...P(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&R&&v||$&&z&&v,k=R&&v;return n.jsxs(Te,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Oe,{windowSize:p,children:b.linkJE}),n.jsx(Re,{children:n.jsx(Ve,{onClick:U})})]}),n.jsxs(Ae,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(J),onSubmit:f.handleSubmit(oe),children:n.jsx(Ie,{jePostingDate:s.postingDate,sectionId:Z,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Fe,{windowSize:p,children:[n.jsx(Je,{})," ",b.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:X??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Be,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(J):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Z]:{qboURL:W(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Te=i.div`
22
+ `,V=(e,l)=>`${e}.${l}`;function Pe({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=G.getLocalizedStrings(),{dateFormat:j,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:C}}}=u,h=l.format(j.visual.MMMDCommaYYYYformat),g=H();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:C.header}),n.jsxs(ke,{children:[n.jsx(J,{label:{label:o.jePostingDate,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Ie,{}),n.jsx(J,{label:{label:o.jeLink,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:je.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},F="linkJETransactionPage",W="linkJETransaction",Z=G.getLocalizedStrings(),{common:{footer:B},dateFormat:Le}=Z,bt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=H(),A=ue(u),y=Q(h.toString(),s.jeLink),S=Se(L.controllers),D=De(L.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};M.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),M.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=Z,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",O=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&O&&v||$&&z&&v,k=O&&v;return n.jsxs(Te,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Me,{windowSize:p,children:b.linkJE}),n.jsx(Oe,{children:n.jsx(Je,{onClick:U})})]}),n.jsxs(Ae,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(F),onSubmit:f.handleSubmit(oe),children:n.jsx(Pe,{jePostingDate:s.postingDate,sectionId:W,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?n.jsxs(Ve,{windowSize:p,children:[n.jsx(Fe,{})," ",b.zeniRecommendation]}):null,$?n.jsx(ze,{children:n.jsx($e,{isCOTEnabled:j,transactionDetail:o,firstMonthOfFY:C,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Re,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(F):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:B.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:B.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[W]:{qboURL:Q(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Le.visual.MMMDCommaYYYYformat)}}),Te=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -48,12 +48,12 @@ import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as g
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Re=i.div`
51
+ `,Oe=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
55
55
  padding: ${t.sp3} ${t.sp0};
56
- `,Ve=i(ye)`
56
+ `,Je=i(ye)`
57
57
  cursor: pointer;
58
58
  color: ${e=>e.theme.colors.hero};
59
59
  width: ${t.sp4};
@@ -61,7 +61,7 @@ import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as g
61
61
  &:hover {
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  }
64
- `,Oe=i(xe)`
64
+ `,Me=i(xe)`
65
65
  display: flex;
66
66
  width: 100%;
67
67
  flex-grow: 1;
@@ -78,11 +78,11 @@ import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as g
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${I.standardRegular.css};
82
- `,Be=i.div`
81
+ ${P.standardRegular.css};
82
+ `,Re=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
85
- `,Fe=i.div`
85
+ `,Ve=i.div`
86
86
  display: flex;
87
87
  align-items: center;
88
88
  gap: ${t.sp1};
@@ -91,8 +91,8 @@ import{e as G,aS as ue,aa as pe,cQ as me,iZ as E,iL as P,cR as he,V as n,ae as g
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${I.standardRegular.css};
95
- `,Je=i(Ce)`
94
+ ${P.standardRegular.css};
95
+ `,Fe=i(Ce)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
98
  `;export{bt as default,Y as uniqueFormName};