@zeniai/web-cockpit-ui 1.15.7-qa → 1.15.8-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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-C4kSZtcW-DXbi1tk_.js +21 -0
  2. package/dist/assets/{AIPerformancePage-XDCygRgj-bazvPjld.js → AIPerformancePage-nAXYlFHx-B-yNLxsI.js} +108 -108
  3. package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-wjaeVokT-C5AG_-Y4.js → AccountInfoPageContent-C6fN_njt-BfclYIhc.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-a2stjcsR-BkN6xApL.js → AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js} +52 -52
  7. package/dist/assets/{AccountRow-DlccmtgU-C-w5dWss.js → AccountRow-C0plHrDu-BlMGnWxc.js} +32 -32
  8. package/dist/assets/{AccountsPromoCardStack-BE0vjkiK-CiwoACHR.js → AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +6 -0
  10. package/dist/assets/{AddToWalletPage-6OCJaNcg-Dq5I4Hk6.js → AddToWalletPage-CKPw3FXG-D61c3n-w.js} +25 -25
  11. package/dist/assets/{AgingReportsPage-hgg1L3pv-BqEr1m1D.js → AgingReportsPage-BLYXtrbx-DW-1ybPL.js} +17 -17
  12. package/dist/assets/{AllUserItems-BmNtc-69-DvRnddR8.js → AllUserItems-CIuKSRs--B0618Ye4.js} +14 -14
  13. package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +46 -0
  14. package/dist/assets/AppBasePage-zQkWIZIS-COyO76Q-.js +71 -0
  15. package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +91 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js +47 -0
  17. package/dist/assets/{ArAgingChart-CeaYIqlX-Ca3jC1zb.js → ArAgingChart-Dv9GPrlk-1IjLiFwv.js} +7 -7
  18. package/dist/assets/ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js +46 -0
  19. package/dist/assets/{AttachmentView-BsNhULL3-gsW6g8SL.js → AttachmentView-CHgDKLit-BOkUOxft.js} +7 -7
  20. package/dist/assets/{BankAccountSection-ZWR_hXjD-CgxlXo0x.js → BankAccountSection-danXlJW--Ci61_HQI.js} +8 -8
  21. package/dist/assets/{BankAccountWarningSection-C-2eE9pL-ucJNqY4n.js → BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-CjbaVbou-DEnaNBhh.js → BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js} +14 -14
  23. package/dist/assets/{BillDetailPage-B_zbQLLp-DNFzkA--.js → BillDetailPage-BD2IX-iP-C1AsdsRK.js} +12 -12
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CtJLn_JO-TVM-mtyG.js → BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-vvgGBmoM-DdObKGUs.js → BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js} +8 -8
  26. package/dist/assets/BillPayPromoPage-C7PX-EVL-RrQTQk3r.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-m15SlV0c-Ce-KrDgA.js → BillPaySetUpPage-Czno3Zre-B54xXO94.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-DwBAvbyP-BA7TOSu8.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +1 -0
  30. package/dist/assets/{BoxItem-Cmrt_yxF-DEJ8WZ3Y.js → BoxItem-CQn8-mlp-3WaKvXCN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js +138 -0
  32. package/dist/assets/{CardNumberSubText-B6Fprh6S--yVD-Bee.js → CardNumberSubText-2Tw37MOu-DLENhMmY.js} +9 -9
  33. package/dist/assets/{CashbackDetailPage-CWExYaIT-gCsfihki.js → CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js} +32 -32
  34. package/dist/assets/{ChargeCardDetailPage-B3hr0WBI-9dqzYf3y.js → ChargeCardDetailPage-draAZn9S-DVIwh9R-.js} +74 -74
  35. package/dist/assets/{ChargeCardListPage-g9gCfpoh-BtXCc3BC.js → ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js} +18 -18
  36. package/dist/assets/{ChargeCardListTable-BoDSmzn_-CXkARxuG.js → ChargeCardListTable-DVFpdT9f-BEElVTwC.js} +31 -31
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-xs346JMC--iYsoeUe.js → ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js} +32 -32
  38. package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-Da9NY51a-e0yUyde3.js → ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-CcSRXOv7-DHGyjFH5.js → CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-D1b80h2R-BMHZ2IWN.js → CollapsableReportTable-D9EGRkFb-DwhLMO0b.js} +88 -88
  43. package/dist/assets/CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-vAocVa7X-D6X4ClK3.js → CompanyPassportCard--3g9aidd-CxwOeh5K.js} +9 -9
  45. package/dist/assets/CompanyPassportPage-BhF3zWN0-Cn2clYh0.js +417 -0
  46. package/dist/assets/{CompleteProfile-B-Hhosch-BP7RTj13.js → CompleteProfile-iee5HgiC-iD1IzEAE.js} +2 -2
  47. package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-Bgc7zC_D-BGbH6pul.js → CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-Bs5RpFes-C8YxxZPe.js → CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js} +10 -10
  50. package/dist/assets/{CurrencySelectField-BC9QkDwI-DfI6ODzD.js → CurrencySelectField-CcU9PAOW-u3CiOTPH.js} +6 -6
  51. package/dist/assets/{CustomerOnboardingActivationPage-Br4RFzGo-DI6b-OYs.js → CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js} +8 -8
  52. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DLKJINnV-DGcctm88.js → CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js} +17 -17
  54. package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +66 -0
  55. package/dist/assets/CustomerOnboardingPage-CP969grW-CLGTaPd5.js +107 -0
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-Dx3FU6Fe-C2ncOquj.js → CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js} +11 -11
  57. package/dist/assets/{Dashboard-EWWj1Uby-Dg6BU04Z.js → Dashboard-CKSEolZn-B8UGwGX2.js} +513 -472
  58. package/dist/assets/{DashboardReportPage-D4kzdnvI-BbhybSGk.js → DashboardReportPage-JLORU_HF-JuRm0_l-.js} +22 -22
  59. package/dist/assets/DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js +12 -0
  60. package/dist/assets/{DepositAccTransactionItem-xvCtIj9v-sZYB8bjn.js → DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js} +4 -4
  61. package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +66 -0
  62. package/dist/assets/DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js +21 -0
  63. package/dist/assets/{DownloadOverlay-wlAXZwF0-JiJizrHx.js → DownloadOverlay-D7AI3CGS-DY9OdGrk.js} +20 -20
  64. package/dist/assets/{DrawerPage-DroW95LB-BGP0nAjD.js → DrawerPage-BiQurb8Q-CEeTnVDp.js} +18 -18
  65. package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-BgcII79s-tmNQZoW9.js → EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js} +47 -47
  67. package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +18 -0
  68. package/dist/assets/{EntitySummarySection-D6HekhK7-sx3TyeLI.js → EntitySummarySection-dbyZ3ZMD-WaXS93t5.js} +7 -7
  69. package/dist/assets/{ExpenseAutomationOverviewPage-VN-P6f2z-DKRfiCP-.js → ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js} +31 -31
  70. package/dist/assets/{ExpenseAutomationPage-CvnkIuMf-cEeQ3hKP.js → ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js} +47 -47
  71. package/dist/assets/{ExpressPayPage-C_yRTeDh-CPvItmoy.js → ExpressPayPage-CaBFl4M3-N5saqSFG.js} +16 -16
  72. package/dist/assets/{FeaturePreviewPage-BLRhajFn-BXnjngQa.js → FeaturePreviewPage-BY7VDaUB-C72FE9k5.js} +3 -3
  73. package/dist/assets/{FollowStepsSection-DhiGIylh-szXLMCmb.js → FollowStepsSection-BGZ3rzSO-DAxx1unm.js} +47 -47
  74. package/dist/assets/{GlobalReviewListPage-Tg986b2s-BzLFqxLt.js → GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js} +16 -16
  75. package/dist/assets/{InformationCardStack-3Lmn6LJr-CXjZGiMk.js → InformationCardStack-BZIU9Bwm-DWOE8xSt.js} +4 -4
  76. package/dist/assets/{InsightsCardStack-Dc6OL9Od-Dt4Qr58R.js → InsightsCardStack-BZ6yws_x-DiUvTias.js} +11 -11
  77. package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-DACHBlEm-Cf4NvQHE.js → IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js} +11 -11
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-BaqSqvWh-C9W2lkTr.js → InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js} +29 -29
  80. package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +65 -0
  81. package/dist/assets/{InviteFormPage-CXcHy9Sz-CIXArq1q.js → InviteFormPage-C-_fbwpS-DFnpH_Sg.js} +36 -36
  82. package/dist/assets/{InvitePageListView-tu82Q2y6-yF7udmBD.js → InvitePageListView-DX3LFpcZ-wgARDxxe.js} +65 -65
  83. package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +12 -0
  84. package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +140 -0
  85. package/dist/assets/{IssueChargeCardPage-DuqGEs5b-BSyP11HH.js → IssueChargeCardPage-BSax9G6t-Ccz8TXME.js} +32 -32
  86. package/dist/assets/{LabeledAddressValue-D0Gu5Mgp-CuKFb_Fb.js → LabeledAddressValue-kz4tRnLH-XbapS3ut.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-DPisU2iY-CBp9buEB.js → LabeledAddressValueField-D950JjHi-B7-ZxMwG.js} +4 -4
  88. package/dist/assets/LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js +16 -0
  89. package/dist/assets/LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js +237 -0
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DLVxVffe-CoUjV52P.js → LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js} +11 -7
  91. package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +59 -0
  93. package/dist/assets/LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js +223 -0
  94. package/dist/assets/{LabeledText-C4GeOHM8-DuQryGxi.js → LabeledText-D0g7m29R-CGPY2mDY.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-CVkvRF0D.js → LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js} +22 -22
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Bj8qcvuK-1Ux9cfjz.js → LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js} +21 -21
  97. package/dist/assets/{LinkJETransactionPage-CdWWV_7u-lA2Ieks4.js → LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js} +10 -10
  98. package/dist/assets/{LockCardPage-BTxCWQ6_-DvcF37D5.js → LockCardPage-XgZwsozn-B7KEhFgG.js} +58 -58
  99. package/dist/assets/{LowBalancePopup-Dt9KCWOU-CGhklhMm.js → LowBalancePopup-ChBTdcM2-CwIZnZTi.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D45Lu2cc-CkiWTtDQ.js → MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js} +4 -4
  104. package/dist/assets/{MagicLinkTitleSection-BdiSVi0V-6L4P8c-X.js → MagicLinkTitleSection-CI_X5_g6-DmElUYen.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CN9EKlOy-BfyXOjUL.js → MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js} +10 -10
  107. package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +85 -0
  109. package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +30 -0
  110. package/dist/assets/{NavigationArrow-B9ZEhJdg-DZLA8bvx.js → NavigationArrow-BuPVGh38-C7FStd2H.js} +5 -5
  111. package/dist/assets/{NavigationDots-C_N16I15-BceewdOj.js → NavigationDots-CLd0nZZT-DkTweDHl.js} +3 -3
  112. package/dist/assets/{NewGlobalMerchantPage-DICWFjCu-A-SqvVYe.js → NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js} +14 -14
  113. package/dist/assets/{NoDataChart-CCCkzfa4-jwMBvFUj.js → NoDataChart-VrW0gNeK-CoKQWY6y.js} +2 -2
  114. package/dist/assets/{NoDataTable-DVW_simO-Z05X7jnZ.js → NoDataTable-CZaHTbXi-BvRSGEWZ.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BHrUY910-T_gZYULO.js → NotFoundPage-CvuhMeh3-DzAU1c1V.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-alUKfWWf-EsM7IXgf.js → NotificationSettingsPage-612cyOPa-BDov0Or2.js} +21 -21
  117. package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +1 -0
  118. package/dist/assets/{NotificationsPage-BjhHCUzl-BorCyhwg.js → NotificationsPage-DOq8YY_K-B5AJl0PR.js} +47 -47
  119. package/dist/assets/{OpExByVendorPage-h_QozoZk-Y_VYI0CL.js → OpExByVendorPage-JhAQyVWO-CgqLDeMB.js} +8 -8
  120. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DjM5NmlL.js → OverlayContainerPage-CEiw6dk7-DNyrAeAy.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DdiEIHC--CTPJUly8.js → PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js} +11 -11
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js +107 -0
  123. package/dist/assets/{PeoplePage-BaOppi8Y-DEWrglnT.js → PeoplePage-BJui-Wgk-Blym3c87.js} +32 -32
  124. package/dist/assets/{Preview-sW0kMVUo.js → Preview-CWOI4w-4.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-E65X4lGB-DWS-Tkhs.js → ProductsCarousel-CGhEa82h-Bt-P-vzg.js} +9 -9
  126. package/dist/assets/{PromoBaseCards-O66NGGWD-Ccv3Jja-.js → PromoBaseCards-1PF_kyGP-DnK5w4Qj.js} +8 -8
  127. package/dist/assets/{QBOConnectionDialog-BrMv7xjB-C34rkJLz.js → QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js} +8 -8
  128. package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DJNl2oqj-DeyzK8lw.js → ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-tnc2z3Es-DOwbo35O.js → ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js} +27 -27
  131. package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-2VrhpV75-a2dhwHIc.js → ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js} +13 -13
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js +1 -0
  135. package/dist/assets/{ReloadCard-BakyoznA-CA9nzANX.js → ReloadCard-crbWeOPP-CkioU763.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-C7w_WVnY-CLbunAZc.js → ReportTableViewSelector-KXoOW677-Cxk4-6kw.js} +8 -8
  137. package/dist/assets/{ReportsPage-BeZqGQ2i-Btosfa-g.js → ReportsPage-C3Jj54B2-CJg2yyXf.js} +11 -11
  138. package/dist/assets/{RevenueChart-BcRkSSWz-BKO407XR.js → RevenueChart-B2lwdex1-DM-m44Ax.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CA5CBeB7-C4U0XjzD.js → ReviewDetailsPage-BzJuymlx-B43bDwEk.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-DNjbv6Ir-Dh-G1Cuh.js → ReviewOverlay-CXHcM5J8-Z1A7mqWB.js} +13 -13
  141. package/dist/assets/{RoleWithToolTip-CSoHoT3u-B21TJ6ju.js → RoleWithToolTip-q4rQTPKj-BeUt86oC.js} +4 -4
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CLjpednn-DT-uxt3L.js → ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-MEVdw-l_-CtTG8f0e.js → ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-BGx2un0o-C_QwBSSA.js → ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js} +20 -20
  145. package/dist/assets/{ScreenRoutes-B-Tig-dz.js → ScreenRoutes-BGG-33kI.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Blriup16-C3aJ_ixb.js → SetUpAccountSection-Drp97o6h-xxM8m8_w.js} +11 -11
  147. package/dist/assets/{SignIn-DqVQU08d-MEtRCmlD.js → SignIn-YqQXhCUb-BOeW8x0h.js} +26 -26
  148. package/dist/assets/SignInScreen-D-bsy2_u.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-Cd88asmE-CkOyrLvB.js → SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js} +14 -14
  150. package/dist/assets/{SpendManagementPerTabPage-DyPyPQjh-BvYsoQ15.js → SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js} +62 -62
  151. package/dist/assets/{SpendManagementSection-C5fvFmdh-Bn0fZjWl.js → SpendManagementSection-WqBeexgm-D6ZHNQRi.js} +23 -23
  152. package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +31 -0
  153. package/dist/assets/StatementsPage-ProqQbaP-BB4Fbh50.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BS4h8SJh-D0u7zV5y.js → StatusSwitcher-CWQs9lpu-RXB7-04g.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-vsehXtEO-DrAXmACq.js → SubTabSwitcher-B2uBojsp-DZNkw8WS.js} +3 -3
  156. package/dist/assets/SummaryCard-Dcd_VUph-BV3h5iTx.js +1 -0
  157. package/dist/assets/{TaskManagementPage-DlzHdHSu-BhXes2IE.js → TaskManagementPage-BM9VR6Lt-C4YfHc_A.js} +48 -48
  158. package/dist/assets/{TimeRangeSwitcher-CFZq5KoG-DVRsZPST.js → TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js} +12 -12
  159. package/dist/assets/{TimeframeSwitcher-Bb7JwirM-aH9WWmWy.js → TimeframeSwitcher--oC4RNb6-CvfDTC-U.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BXIevpvE-B9ruDiH-.js → TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js} +1 -1
  161. package/dist/assets/{TopExCard-BQIHsi_z-m7y5kutK.js → TopExCard-DQ50kCvS-_2HPPX6t.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-BYCn9hZ2-ApVTj9Vd.js → TopExDetailPage-iwv1KNmn-sj6nj5zr.js} +18 -18
  163. package/dist/assets/{TransactionDetailPage-BMYeFZH7-Doa2Pq6X.js → TransactionDetailPage-dcUFs9xb-CrNRbBcr.js} +32 -32
  164. package/dist/assets/{TransactionList-BMfwxUes-DEHNXJ_w.js → TransactionList-1g-61_2b-CWHQyly8.js} +14 -14
  165. package/dist/assets/{TransactionListBig-CSjliLzH-BlhJcsod.js → TransactionListBig-CSrLWjaV-BtYTXkmc.js} +17 -17
  166. package/dist/assets/TransactionListPage-CKkWpoxH-CDqG5M4K.js +35 -0
  167. package/dist/assets/TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js +80 -0
  168. package/dist/assets/{TransferDrawerPage-4lrBrmvC-CMNGzy3T.js → TransferDrawerPage-nyepeege-Tib1D3Ko.js} +35 -35
  169. package/dist/assets/{TreasuryOverviewPage-DNUrwQ-l-ia-jTHnQ.js → TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js} +50 -50
  170. package/dist/assets/{TreasuryPromoPage-CjjmLEyR-nrnRjAi8.js → TreasuryPromoPage-B55rqmLO-BovduQF3.js} +16 -16
  171. package/dist/assets/{TreasuryStatementsPage-CGax-FVg-8vTbW-_F.js → TreasuryStatementsPage-DA72LRB2-COfX6A9q.js} +7 -7
  172. package/dist/assets/{TreasuryTaxLetterPage-DapKFecA-DXgs0ATM.js → TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js} +6 -6
  173. package/dist/assets/{TrendChart-t_2mlnuR-CERqesit.js → TrendChart-BsSVNJm5-CngvRWQH.js} +3 -3
  174. package/dist/assets/{TrendWithTransactions-BjQX1uvO-DenLKRO1.js → TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js} +9 -9
  175. package/dist/assets/{UncategorizedAccountsMappingPage-C9DJ4P_n-Ro3FVDaB.js → UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js} +11 -11
  176. package/dist/assets/{UnitIntegrationPage-CzfmBBVs-BopvpHyA.js → UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js} +11 -11
  177. package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +38 -0
  178. package/dist/assets/{Vendor2FAPopup-Jhuzv3Fs-tUzA32lC.js → Vendor2FAPopup-BPoFrkoj-DQVyS_En.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +1 -0
  180. package/dist/assets/{VendorDetailPage-D_ia0GnG-B49M2ZP7.js → VendorDetailPage-C0qX459r-CReufchw.js} +24 -24
  181. package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-6mV7WBuT-BWmRczAy.js → VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js} +14 -14
  183. package/dist/assets/{VendorFirstReviewPage-BIh28s7e-ColL0iSX.js → VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js} +49 -49
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CXmAXDcB-DSmfTY7c.js → VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js} +14 -14
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-kJAKmxCN-CWJp4NJ-.js → VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js} +2 -2
  187. package/dist/assets/{VerifyDevice-Cclxcvod-D20OHgjv.js → VerifyDevice-B23jU0_c-B85D_w3i.js} +16 -16
  188. package/dist/assets/{VideoPlayer-B0jJK498-CGA824ir.js → VideoPlayer-CylTUX4X-BEZtED7z.js} +2 -2
  189. package/dist/assets/{VideoPopup-BUq4CaWy-DimJ3JCD.js → VideoPopup-C9x0ntQ5-C94oLuE1.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-B7Pmv7_n-kXfVaSXC.js → WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js} +8 -8
  191. package/dist/assets/{ZeniAccountDetailPage-l5IuVidF-CW_GL18E.js → ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js} +34 -34
  192. package/dist/assets/{ZeniAccountListViewPage-CtOCukoi-CYfD8pTw.js → ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js} +15 -15
  193. package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-DhuZowvX-CVk5B-kr.js → ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js} +19 -19
  195. package/dist/assets/ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js +36 -0
  196. package/dist/assets/{ZeniCopyright-CxIm7c5S--2kE3ceg.js → ZeniCopyright-eB9rNuZ3-BNyg83Vo.js} +1 -1
  197. package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +63 -0
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-2_ZqEJN8.js → add-to-wallet-DgdBD8_G-DHrWYIzW.js} +1 -1
  199. package/dist/assets/{analytics-BBRM4OiD.js → analytics-g5EpLRud.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BXN2EdPH-CuwfHCAO.js → analyticsHelper-CLY1vV_E-BemgqSJF.js} +1 -1
  201. package/dist/assets/analyticsHelper-D-tLilsz.js +1 -0
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DR4719pa.js → arrow-south-east-round-PEovUgvH-Clrgdbmr.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ci6J7Ip0.js → auto-transfer-rule-mbafm5D3-DfhOF4oT.js} +1 -1
  204. package/dist/assets/{chartTypes-qqLvT6t1-7O4vNfmq.js → chartTypes-BjaXr-A2-DXtLo4Yx.js} +1 -1
  205. package/dist/assets/{commonDimensions-CDU138wy-DgQLDeKn.js → commonDimensions-C0X17W9N-BSrHO4N_.js} +1 -1
  206. package/dist/assets/commonTypes-BN7Uh_8W-pfbkHgmN.js +1 -0
  207. package/dist/assets/{constants-BmT2TL-e.js → constants-BnWgOytJ.js} +1 -1
  208. package/dist/assets/{core-Do2fm07V.js → core-hVMF2uNa.js} +1 -1
  209. package/dist/assets/{dash.all.min-D2uGWKCW.js → dash.all.min-DDFTHNwM.js} +1 -1
  210. package/dist/assets/{detailCommon-DP02lgW9-vucebEDD.js → detailCommon-D9PsnkY1-BuBcpPrC.js} +9 -9
  211. package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +1 -0
  212. package/dist/assets/{empty-CG4BtfpL.js → empty-B0DaVBWz.js} +1 -1
  213. package/dist/assets/{empty-BIlH-46e.js → empty-BNJPHWFv.js} +1 -1
  214. package/dist/assets/epic-BVJNtCg8.js +2 -0
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BdsqEOj4.js → gift-box-Cmt9OgIZ-CLwRJG71.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DF0OrKm5.js → graphic-no-data-l-DU4J8fDt-C7rs195d.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CM78Nc1Q.js → graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BspZ_I_6.js → handshake-BPg58FML-BW29_pZa.js} +1 -1
  219. package/dist/assets/{index-CR39DFew.js → index-6pOBrRlk.js} +1 -1
  220. package/dist/assets/{index-Cp1ulRx2.js → index-B3faO1JB.js} +1 -1
  221. package/dist/assets/{index-pMF5YQ_m.js → index-BAImUaY2.js} +1 -1
  222. package/dist/assets/{index-DQZa93pl.js → index-CRNmezJu.js} +5847 -5643
  223. package/dist/assets/{index-DFlS_heD.js → index-C_w5gZ8Z.js} +1 -1
  224. package/dist/assets/{index-C2f4G0t2.js → index-lOJEokPl.js} +1 -1
  225. package/dist/assets/{index-Bswxpdzz.js → index-rCukSMbs.js} +1 -1
  226. package/dist/assets/{lexical-DSAIO3Yn.js → lexical-DYQnWL1V.js} +1 -1
  227. package/dist/assets/{liveblocks-5qJQL8gF.js → liveblocks-BKvkleJ3.js} +1 -1
  228. package/dist/assets/{lottie--QmfecC7.js → lottie-N_bekW9H.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +1 -0
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DLeyrCPV-BTjehxZr.js → mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js} +1 -1
  231. package/dist/assets/{mapSpacerToTreeNode-Bl4MSBc9-BHj6uU7U.js → mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +1 -0
  235. package/dist/assets/{mui-CmeRX-VQ.js → mui-mhzAEcDs.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CPWyYVtN.js → page-detail-CWX5S47F-C7t8NOxn.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-D7Q2flwX.js → radio-default-CiSgisfh-j32Y6uZn.js} +1 -1
  238. package/dist/assets/{react-DsqxiHdu.js → react-3qVVe610.js} +1 -1
  239. package/dist/assets/{react-DrAOa_iQ.js → react-BcEP-SPV.js} +1 -1
  240. package/dist/assets/{react-DmYoNffX.js → react-CQNyoV6B.js} +1 -1
  241. package/dist/assets/{react-BKgEbN-_.js → react-CYwBg0du.js} +3 -3
  242. package/dist/assets/{react-DQ_PkCNg.js → react-DmkejrPd.js} +1 -1
  243. package/dist/assets/{react-DuQAyt3l.js → react-DtZ57b9E.js} +1 -1
  244. package/dist/assets/{react-BfxQP3vv.js → react-Dvjzsiej.js} +1 -1
  245. package/dist/assets/{react-CIctTSs3.js → react-d4G_qR0V.js} +1 -1
  246. package/dist/assets/{recharts-CJ6qqxTN.js → recharts-BErFcng5.js} +21 -21
  247. package/dist/assets/{sentry-BNP8a0zR.js → sentry-Dla7mstv.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Cm4FIM1p.js → shield-DOlUxcFf-CJdp4Bi9.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +1 -0
  250. package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +1 -0
  251. package/dist/assets/{uploadAttachment-DfTOIWsX-6t7i7104.js → uploadAttachment-BLADYUsp-BO1TVLxu.js} +24 -24
  252. package/dist/assets/{uploadReceipts-CPw64UYa-BcQPt3-r.js → uploadReceipts-CLN2DLHQ-CHihhpL-.js} +1 -1
  253. package/dist/assets/{url-VEY1UCYp.js → url-B3SdXouN.js} +1 -1
  254. package/dist/assets/{url-BTRZ5vkp.js → url-HFFKPU2S.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BCAcXgBo.js → useLongPress-GCK2COYQ-km9xaFy6.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DPIrzT0R.js → usp-line-BBd1wKwW-C5eOwLOD.js} +1 -1
  257. package/dist/assets/{utils-e2QIiaj6.js → utils-D6NmQd1Q.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Dg9gbL0X.js → zeni-epic-state-CSmiPBaP.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/ACHDetailsPage-CGG2Hx4v-D7yIQCry.js +0 -21
  262. package/dist/assets/AccountInfoPage-CSf3J58F-Cl2GeY-g.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-DJnj--uc-koeXDtEf.js +0 -59
  264. package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-BV3QuRmo.js +0 -6
  265. package/dist/assets/ApAgingDetailPage-DAZAnfcs-DWv5Yh4n.js +0 -46
  266. package/dist/assets/AppBasePage-D7_krMlm-BcE42pkQ.js +0 -71
  267. package/dist/assets/AppDrawerContent-DWL57wUk-CC44KEXc.js +0 -91
  268. package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--BJ2NKaoh.js +0 -47
  269. package/dist/assets/ArAgingDetailPage-Is5kv2-P-DJnGHSYh.js +0 -46
  270. package/dist/assets/BillPayPromoPage-DkyMRquU-DTY8MM9Y.js +0 -84
  271. package/dist/assets/BillingSettingsPage-C4P_B31U-Cfs6pjmS.js +0 -44
  272. package/dist/assets/BillsBulkReviewDrawerPage-C_Nmv34F-BAM1q_aH.js +0 -1
  273. package/dist/assets/BusinessVerificationPage-Dr_YFkLN-Dgei6fS5.js +0 -138
  274. package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BADKuNSc.js +0 -222
  275. package/dist/assets/ChargeCardSetupPage-Dbz_GdRL-DjaSn21P.js +0 -36
  276. package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-BbAL-oK2.js +0 -260
  277. package/dist/assets/CompanyPassportPage-Dva5Le3j-D51_q_Y7.js +0 -574
  278. package/dist/assets/ConfettiBurst-BV8M1GTR-BVYnD-Q8.js +0 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-C1_0JVsL.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-DtveQ7yB.js +0 -66
  281. package/dist/assets/CustomerOnboardingPage-3ECCqY1a-xqvBd5Qh.js +0 -107
  282. package/dist/assets/DashboardSidebarBackgroundAnimation-BSwRgXFk-BPePj2Wo.js +0 -12
  283. package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-BP1udS96.js +0 -66
  284. package/dist/assets/DomesticWireDetailsPage-DF8bLeDL-D0xzJqsD.js +0 -21
  285. package/dist/assets/EditPeoplePage-CgUM9UYI-BAqH68yz.js +0 -55
  286. package/dist/assets/EntityDetailPage-ByHvXL2c-Beeyu-G8.js +0 -18
  287. package/dist/assets/InsightsSection-Drr3r1BL-C9c9bqpC.js +0 -27
  288. package/dist/assets/InternationalWireVerificationPage-Daxni4YY-JL0FId5s.js +0 -292
  289. package/dist/assets/InvitePeoplePage-Bbv2pjhR-CYOtKdsv.js +0 -12
  290. package/dist/assets/InvoiceUploadSection-CO34IhU8-JbGvXJ0T.js +0 -140
  291. package/dist/assets/LabeledControlledCheckBoxField-BKqCiNdy-CM22FFCx.js +0 -16
  292. package/dist/assets/LabeledDocumentField-DtOCNiEg-DXiIrThr.js +0 -41
  293. package/dist/assets/LabeledDropDownFormattedTextField-CsbwG9At-DIUamMH-.js +0 -59
  294. package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-pn4oFles.js +0 -1
  295. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-B71ZSyrD.js +0 -1
  296. package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-Db2W2C2p.js +0 -1
  297. package/dist/assets/MailingDetailsSection-CjO5OVZN-Dz2JVYO4.js +0 -21
  298. package/dist/assets/Menu-C_kotivE-Ds4oTnIO.js +0 -17
  299. package/dist/assets/MyPendingActivationChargeCardListPage-rmpT6HFS-C1iVUySe.js +0 -6
  300. package/dist/assets/MyProfileSettingsPage-CTmDuFNJ-B8SISS7w.js +0 -85
  301. package/dist/assets/NavBarWithPicker-VzNJnXX3-BDjvvCEc.js +0 -30
  302. package/dist/assets/NotificationsListConfig-QOeX1KBS-D9NF4wUP.js +0 -1
  303. package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-CZR5voSo.js +0 -107
  304. package/dist/assets/QBOSetupSection-B5D4uUOv-MAL2gOfN.js +0 -79
  305. package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-B2XEgJlN.js +0 -314
  306. package/dist/assets/ReimbursementPromoPage-04Cqe8zH-BF3bPMI0.js +0 -84
  307. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CEZlRH0_-MrMy8MR2.js +0 -1
  308. package/dist/assets/SignInScreen-D9nF3yiB.js +0 -1
  309. package/dist/assets/StatementItem-CBGi9f9C-Cr6QkeSJ.js +0 -31
  310. package/dist/assets/StatementsPage-De1wPDzS-B0PK-CHG.js +0 -58
  311. package/dist/assets/SummaryCard-gehzCCsW-Cjgj1j9L.js +0 -1
  312. package/dist/assets/TransactionListPage-C2Iz7CDJ-CkfLhDDt.js +0 -35
  313. package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-DhwshIVT.js +0 -80
  314. package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-B58eaKgn.js +0 -38
  315. package/dist/assets/VendorACHDetailsPage-BRmIiet8-B8gcWxAN.js +0 -1
  316. package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-4WFyiovr.js +0 -1
  317. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-B-spEVUY.js +0 -1
  318. package/dist/assets/ZeniAccountNavBarPieces-DHpWht7s-VBOXJCOm.js +0 -14
  319. package/dist/assets/ZeniAccountSetupPage-DXmdPnU2-DOblHg7I.js +0 -36
  320. package/dist/assets/ZeniTransferAmountSlider-7nRSeYbl-BQ73fGD1.js +0 -63
  321. package/dist/assets/analyticsHelper-xgNCzNxL.js +0 -1
  322. package/dist/assets/downloadPdf-Dl5UuOv_-DienLm7C.js +0 -1
  323. package/dist/assets/epic-BdBiMEYK.js +0 -2
  324. package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-D3IuGgnr.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-BNP8a_pF-CPs7JdUi.js +0 -1
  326. package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-DsHKM7xd.js +0 -1
  327. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-oOsdpevM.js +0 -1
  328. package/dist/assets/toCOABalancesWithID-BM2RMkm6-C8TFs9o9.js +0 -1
  329. package/dist/assets/toChartData-xURa2wgf-D2bH9o56.js +0 -1
@@ -0,0 +1,314 @@
1
+ import{ax as Mt,a8 as Rt,J as Pt,e as Bt,cd as Nt,y as m,O as et,gh as Lt,gj as _t,gk as Ot,V as t,cp as Ae,cq as Me,cr as Re,bC as Pe,aQ as y,bp as Wt,du as Et,gl as Ft,gw as Be,o as a,gm as Ne,fh as b,gp as w,fk as x,aO as Le,fg as _e,b as V,gr as Oe,aS as Kt,ao as Ut,gs as Vt,gt as re,by as Ht,gu as Gt,x as Jt,F as qt,M as Yt,al as tt,ba as it,p as H,am as Zt,bV as Qt,ai as Xt,gO as ei,gK as ti,c,ci as ii,cZ as ai}from"./index-CRNmezJu.js";import{a as p}from"./sentry-Dla7mstv.js";import{n as r}from"./mui-mhzAEcDs.js";import{a as ri}from"./liveblocks-BKvkleJ3.js";import{bL as oi,bP as ni,FH as li}from"./zeni-epic-state-CSmiPBaP.js";import si from"./InvoiceUploadSection-7NLq2wUY-qezR9Z74.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-hVMF2uNa.js";import"./lottie-N_bekW9H.js";import"./recharts-BErFcng5.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./AttachmentView-CHgDKLit-BOkUOxft.js";import"./uploadReceipts-CLN2DLHQ-CHihhpL-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="c1d84189-bb9f-4676-ab3c-862d11640ea7",e._sentryDebugIdIdentifier="sentry-dbid-c1d84189-bb9f-4676-ab3c-862d11640ea7")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},mi={formTitle:new qt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:G,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[J,q]=p.useState(!1),[ct,Y]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&G()},[e,G]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{G()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,v=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},vt=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},$t=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{Y(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Y(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),Y(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Hi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:o,children:t.jsx(Ye,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&v!=null?t.jsx(He,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Je,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,S.map((l,n)=>{const $=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Ye,{windowsSize:o,children:ee}),me&&v!=null?t.jsx(He,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Je,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[$?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if($.isDuplicateWithinTransaction&&$.duplicateLineId!=null)return xe(`L${$.duplicateLineId}`);$.duplicateTransactionId!=null&&$.duplicateLineId!=null&&ot($.duplicateTransactionId,$.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx($i,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&q(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(vi,{children:t.jsxs(zi,{windowSize:o,children:[!B&&J?t.jsx(Ut,{onClickAway:()=>q(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>q(!J),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},ui=r.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
5
+ `,hi=r.div`
6
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
7
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
8
+ margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
9
+ `,yi=r(Zt)`
10
+ padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
+ background-color: ${H.alertLight};
12
+ color: ${H.brandColorGoldDark};
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ `,gi=r.span`
16
+ border-bottom: 1px solid currentColor;
17
+ cursor: pointer;
18
+ `,We=r.div`
19
+ display: flex;
20
+ gap: ${a.sp2};
21
+ padding: ${a.sp3};
22
+ border-radius: ${a.sp2};
23
+ align-items: start;
24
+ margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
25
+ margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
26
+ margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
27
+ margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
+ background-color: ${H.alertLight};
29
+ border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
+ `,Ee=r(ii)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Fe=r.div`
33
+ width: 100%;
34
+ `,Ke=r(tt)`
35
+ color: ${e=>e.theme.colors.brandColorGoldDark};
36
+ `,Ue=r(ai)`
37
+ width: ${a.sp4};
38
+ height: ${a.sp4};
39
+ color: ${H.brandColorGoldDark};
40
+ `,Ve=r(tt)`
41
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
42
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
43
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
44
+ color: ${e=>e.theme.colors.primary};
45
+ `,bi=r.div`
46
+ display: flex;
47
+ justify-content: space-between;
48
+ `,wi=r.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,xi=r(it)`
52
+ color: ${e=>e.theme.colors.primary};
53
+ margin-bottom: ${a.sp3};
54
+ `,fi=r.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ background-color: ${e=>e.theme.colors.grey5};
58
+ border: 1px solid ${e=>e.theme.colors.grey3};
59
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ border-radius: ${a.sp2};
61
+ margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ `,vi=r.div`
64
+ display: flex;
65
+ justify-content: flex-end;
66
+ `,$i=r.div`
67
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
68
+ `,Ti=r(ti)`
69
+ cursor: pointer;
70
+ color: ${e=>e.theme.colors.hero};
71
+ width: ${a.sp5};
72
+ height: ${a.sp5};
73
+ &:hover {
74
+ color: ${e=>e.theme.colors.primary};
75
+ }
76
+ `,Si=r.div`
77
+ display: flex;
78
+ margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
79
+ cursor: pointer;
80
+ color: ${e=>e.theme.colors.grey1};
81
+ &:hover {
82
+ color: ${e=>e.theme.colors.primary};
83
+ }
84
+ `,ji=r(ei)`
85
+ cursor: pointer;
86
+ color: ${e=>e.theme.colors.hero};
87
+ width: ${a.sp5};
88
+ height: ${a.sp5};
89
+ &:hover {
90
+ color: ${e=>e.theme.colors.primary};
91
+ }
92
+ `,Ii=r.div`
93
+ display: flex;
94
+ cursor: pointer;
95
+ color: ${e=>e.theme.colors.grey1};
96
+ margin-left: ${a.sp4};
97
+ &:hover {
98
+ color: ${e=>e.theme.colors.primary};
99
+ }
100
+ `,He=r(it)`
101
+ display: flex;
102
+ color: ${e=>e.borderColor};
103
+ align-items: center;
104
+ justify-content: flex-end;
105
+ margin-left: ${a.sp3};
106
+ padding: 1px 6px 1px 6px;
107
+ border: ${e=>`1px solid ${e.borderColor}`};
108
+ border-radius: ${a.sp1};
109
+ min-width: fit-content;
110
+ max-width: fit-content;
111
+ `,Di=r.div`
112
+ display: flex;
113
+ justify-content: center;
114
+ align-items: center;
115
+ `,Ci=r.div`
116
+ display: flex;
117
+ width: max-content;
118
+ align-items: center;
119
+ justify-content: center;
120
+ flex-direction: column;
121
+ background-color: ${e=>e.theme.colors.grey5};
122
+ color: ${e=>e.theme.colors.hero};
123
+ cursor: pointer;
124
+ padding-top: ${a.sp1};
125
+ padding-bottom: ${a.sp1};
126
+ position: absolute;
127
+ bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
128
+ z-index: 3;
129
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
130
+ border-radius: ${a.sp1};
131
+ right: ${e=>s.right.valuePx(e.windowSize)};
132
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
133
+ `,ki=r.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 42vw;
137
+ width: 100%;
138
+ height: 100vh;
139
+ background: transparent;
140
+ box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
141
+ pointer-events: none;
142
+ z-index: 1;
143
+ `,zi=r.div`
144
+ width: auto;
145
+ justify-content: flex-end;
146
+ position: ${e=>e.windowSize==="small"?"static":"relative"};
147
+ right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
148
+ height: 100%;
149
+ display: flex;
150
+ `,oe=r(Xt)`
151
+ display: flex;
152
+ align-items: center;
153
+ width: 100%;
154
+ padding-left: ${a.sp3};
155
+ padding-right: ${a.sp3};
156
+ height: ${a.sp6};
157
+ box-sizing: border-box;
158
+ &:hover {
159
+ background-color: ${e=>e.theme.colors.background};
160
+ }
161
+ `,Ai=r.div`
162
+ display: flex;
163
+ width: 100%;
164
+ position: sticky;
165
+ bottom: 0;
166
+ z-index: 2;
167
+ `,Mi=r.div`
168
+ min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
169
+ height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
170
+ display: flex;
171
+ align-items: center;
172
+ width: 100%;
173
+ justify-content: space-between;
174
+ position: fixed;
175
+ z-index: 4;
176
+ `,Ri=r(Ht)`
177
+ color: ${e=>e.theme.colors.brandColorJade};
178
+ cursor: pointer;
179
+ width: ${a.sp4};
180
+ height: ${a.sp4};
181
+ `,T=r.div`
182
+ display: flex;
183
+ flex: 1;
184
+ background-color: ${e=>e.theme.colors.grey3};
185
+ min-height: 1px;
186
+ max-height: 1px;
187
+ `,Pi=r(Jt)`
188
+ cursor: pointer;
189
+ width: ${a.sp4};
190
+ height: ${a.sp4};
191
+ float: right;
192
+ color: ${e=>e.theme.colors.hero};
193
+ &:hover {
194
+ color: ${e=>e.theme.colors.primary};
195
+ }
196
+ `,Bi=r.div`
197
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
198
+ display: flex;
199
+ float: right;
200
+ `,Ni=r.div`
201
+ display: flex;
202
+ align-items: center;
203
+ justify-content: center;
204
+ position: relative;
205
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
206
+ color: ${e=>e.theme.colors.hero};
207
+ &:hover {
208
+ color: ${e=>e.theme.colors.primary};
209
+ }
210
+ `,Li=r(Gt)`
211
+ display: flex;
212
+ width: ${a.sp4};
213
+ height: ${a.sp4};
214
+ align-items: center;
215
+ justify-content: center;
216
+ `,_i=r.div`
217
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
218
+ margin-left: ${a.sp5};
219
+ `,Oi=r.div`
220
+ display: flex;
221
+ flex-direction: column;
222
+ width: 100vw;
223
+ background: -webkit-linear-gradient(
224
+ to right,
225
+ ${e=>e.theme.colors.background} 42%,
226
+ ${e=>e.theme.colors.grey4} 42%
227
+ );
228
+ background: -moz-linear-gradient(
229
+ to right,
230
+ ${e=>e.theme.colors.background} 42%,
231
+ ${e=>e.theme.colors.grey4} 42%
232
+ );
233
+ background: -o-linear-gradient(
234
+ to right,
235
+ ${e=>e.theme.colors.background} 42%,
236
+ ${e=>e.theme.colors.grey4} 42%
237
+ );
238
+ background: linear-gradient(
239
+ to right,
240
+ ${e=>e.theme.colors.background} 42%,
241
+ ${e=>e.theme.colors.grey4} 42%
242
+ );
243
+ ${e=>e.windowSize==="small"&&`
244
+ background: ${e.theme.colors.grey4};
245
+ `}
246
+ height: 100vh;
247
+ overflow: scroll;
248
+ `,Ge=r.div`
249
+ width: 42%;
250
+ `,Wi=r.div`
251
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
252
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
253
+ `,Je=r.div`
254
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
255
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
256
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
257
+ `,qe=r.div`
258
+ display: flex;
259
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
260
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
261
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
262
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
263
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
264
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
+ `,Ye=r(Yt)`
266
+ flex-grow: 1;
267
+ ${e=>`${mi.formTitle.style(e.windowsSize)}`};
268
+ color: ${e=>e.theme.colors.primary};
269
+ word-break: break-all;
270
+ `,Ei=r.div`
271
+ display: flex;
272
+ flex-direction: column;
273
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
274
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
275
+ `,Ze=r.div`
276
+ padding: ${a.sp3};
277
+ display: flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ background-color: ${e=>e.theme.colors.grey3};
281
+ border: 1px solid ${e=>e.theme.colors.grey3};
282
+ border-radius: ${a.sp2};
283
+ color: ${e=>e.theme.colors.hero};
284
+ margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
+ justify-content: space-between;
286
+ `,Qe=r(Qt)`
287
+ display: flex;
288
+ width: 176px;
289
+ color: ${e=>e.theme.colors.primary};
290
+ `,Fi=r.div`
291
+ display: flex;
292
+ flex-direction: column;
293
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
294
+ `,Xe=r.div`
295
+ display: flex;
296
+ width: 100%;
297
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
+ align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
+ `,Ki=r.div`
300
+ width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
301
+ `,Ui=r.div`
302
+ background: ${e=>e.theme.colors.grey3};
303
+ border-radius: ${a.sp2};
304
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
305
+ margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
306
+ margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
307
+ margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
308
+ `,Vi=r.div`
309
+ display: flex;
310
+ flex-direction: column;
311
+ height: ${a.sp11};
312
+ `,Hi=r.div`
313
+ margin-top: 78px;
314
+ `;export{sa as default};
@@ -0,0 +1,84 @@
1
+ import{ax as ne,e as S,J as k,aR as le,V as e,aQ as a,fs as ae,bC as de,r as u,ae as d,O as E,o as t,aq as ce,a as me,aU as F,am as pe,y as xe,p as z,cE as he,aV as ue,bb as ge,c as we}from"./index-CRNmezJu.js";import{a as j}from"./sentry-Dla7mstv.js";import{n as r}from"./mui-mhzAEcDs.js";import{FG as je,bT as be}from"./zeni-epic-state-CSmiPBaP.js";import{f as fe}from"./VideoPopup-C9x0ntQ5-C94oLuE1.js";import{M as v}from"./usp-line-BBd1wKwW-C5eOwLOD.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./VideoPlayer-CylTUX4X-BEZtED7z.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="68602369-9b70-473d-87f2-9160065a4c01",i._sentryDebugIdIdentifier="sentry-dbid-68602369-9b70-473d-87f2-9160065a4c01")}catch{}})();const V="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${i=>i.theme.colors.grey4};
7
+ `,Se=r.div`
8
+ padding: ${i=>i.windowSize==="small"?`${t.sp0} ${t.sp3}`:`${t.sp0} ${t.sp8}`};
9
+ text-align: center;
10
+ `,ke=r(me)`
11
+ max-width: 648px;
12
+ margin: auto;
13
+ padding: ${t.sp7} ${t.sp0};
14
+ color: ${i=>i.theme.colors.primary};
15
+ `,ze=r(ce)`
16
+ max-width: 600px;
17
+ margin: auto;
18
+ padding: ${t.sp5} ${t.sp0};
19
+ color: ${i=>i.theme.colors.primary};
20
+ `,_=r.div`
21
+ display: flex;
22
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
+ align-items: center;
24
+ justify-content: center;
25
+ margin-bottom: ${i=>ye.midContainerMarginBottom.valuePx(i.windowSize)};
26
+ `,ve=r.div``,M=r.div`
27
+ display: flex;
28
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
29
+ align-items: center;
30
+ justify-content: center;
31
+ `,g=r.img``,O=r.div`
32
+ width: ${i=>i.windowSize==="small"?"auto":"376px"};
33
+ display: flex;
34
+ flex-direction: column;
35
+ `,q=r.div`
36
+ width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
37
+ overflow: hidden;
38
+ max-width: 712px;
39
+ display: flex;
40
+ align-content: center;
41
+ justify-content: center;
42
+ align-items: center;
43
+ `,H=r.div`
44
+ margin-left: ${i=>i.windowSize==="small"?t.sp0:t.sp6};
45
+ margin-bottom: ${i=>i.windowSize==="small"?t.sp4:t.sp0};
46
+ background: ${i=>i.theme.colors.grey3};
47
+ border-radius: 12px;
48
+ border: ${i=>`1px solid ${i.theme.colors.grey3}`};
49
+ padding: 15px;
50
+ `,c=r.div`
51
+ border-radius: ${t.sp12};
52
+ border: ${i=>`1px solid ${i.theme.colors.grey2}`};
53
+ padding: ${i=>i.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
54
+ background: ${i=>i.theme.colors.grey5};
55
+ position: relative;
56
+ margin-bottom: ${t.sp3};
57
+ display: flex;
58
+ align-items: center;
59
+ text-align: start;
60
+ box-sizing: border-box;
61
+ `,b=r(ge)`
62
+ color: ${i=>i.theme.colors.champion};
63
+ `,f=r(ue)`
64
+ color: ${i=>i.theme.colors.champion};
65
+ `,y=r(F)`
66
+ color: ${i=>i.theme.colors.champion};
67
+ `,$=r(he)`
68
+ color: ${i=>i.theme.colors.champion};
69
+ `,m=r.div``,p=r.div`
70
+ padding-left: ${t.sp3};
71
+ `,L=r(F)`
72
+ margin: ${i=>i.windowSize==="small"?t.sp1:`auto ${t.sp5}`};
73
+ color: ${i=>i.theme.colors.grey1};
74
+ `,N=r(v)`
75
+ color: ${z.graphColor16Dark};
76
+ `,G=r(v)`
77
+ color: ${z.graphColor09Dark};
78
+ `,J=r(v)`
79
+ color: ${z.success};
80
+ `,D=r(pe)`
81
+ margin: ${t.sp3} auto;
82
+ max-width: 772px;
83
+ color: ${i=>i.theme.colors.hero};
84
+ `,s=E.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=E.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(_,{windowSize:o,children:[e.jsx(q,{windowSize:o,children:e.jsx(H,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(O,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(N,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.simplestText.bold}),e.jsx(y,{children:s.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.aiPoweredText.bold}),e.jsx(y,{children:s.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(J,{})}),e.jsxs(p,{children:[e.jsx($,{children:s.multiLevelApprovalText.bold}),e.jsx(y,{children:s.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(_,{windowSize:o,children:[e.jsxs(O,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(N,{})}),e.jsxs(p,{children:[e.jsx(f,{children:s.simplestText.bold}),e.jsx(b,{children:s.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:s.aiPoweredText.bold}),e.jsx(b,{children:s.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(J,{})}),e.jsxs(p,{children:[e.jsx(f,{children:s.multiLevelApprovalText.bold}),e.jsx(b,{children:s.multiLevelApprovalText.regular})]})]})]}),e.jsx(q,{windowSize:o,children:e.jsx(H,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Oe=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:Q,analytics:x,onSetupButtonClick:W,onCreateNewRemiButtonClick:K,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[se,R]=j.useState(!1),te=S(),l=k(),{remiTermsDetails:h}=i,U=le(h?.fetchStatus.fetchState),re=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!re,oe=!!o?.isReimbursementTOSAccepted,I=!!i.companyRemiInfo?.isReimbursementEnabled,A=w?I?s.employeeAcceptPromoText:s.employeePendingPromoText:s.promoText;j.useEffect(()=>{U==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[U,C,h?.fetchStatus]);const B=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:Q,"data-testid":a("remi-promo-page-video-popup")}):null,se===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:s.title,backgroundColor:te.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:A}):e.jsx(ke,{children:A}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:I&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(M,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:s.scheduleDemoButton,onClick:B,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(L,{windowSize:l,children:s.orText}),e.jsx(u,{variant:"primary",label:s.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[s.terms.createTerms1,e.jsx(d,{href:s.terms.tosUrl,linkText:s.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),s.terms.terms2,e.jsx(d,{href:s.terms.privacyPolicyUrl,linkText:s.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),s.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(M,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:s.scheduleDemoButton,onClick:B,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(L,{windowSize:l,children:s.orText}),e.jsx(u,{variant:"primary",label:s.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:W,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[s.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,s.terms.terms3]})]})})]})]})};export{Oe as default};
@@ -1,4 +1,4 @@
1
- import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as Je,p as J,y as s,bA as Ze,A as Ye,ac as Ke,fq as ve,dN as Xe,fr as Qe,bv as et,dD as tt,aP as it,o as a,ft as nt,d as n,cg as ot,cP as at,cX as lt,fC as ke,fD as $e,gc as st,n as rt,aN as Pe,M as Ae,bK as dt,ai as ct,bs as ut}from"./index-DQZa93pl.js";import{a as o}from"./sentry-BNP8a0zR.js";import{n as i}from"./mui-CmeRX-VQ.js";import{bJ as mt}from"./zeni-epic-state-Dg9gbL0X.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-BJiBj5mg-B58eaKgn.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="8eea6315-2150-4a98-9b7a-d7530db43a28",e._sentryDebugIdIdentifier="sentry-dbid-8eea6315-2150-4a98-9b7a-d7530db43a28")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ee(),D=Te(),{formState:{errors:Y},trigger:K}=at(),T=ht(P,"mileageAmountInDenomination"),x=lt(Y,T),{localData:d,updateStatus:F,mileageStatus:w}=p,W=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Ie.getLocalizedStrings(),{reimbursement:ee}=Q,[C,E]=o.useState(W),[te,U]=o.useState(!1);o.useEffect(()=>{x||K(T)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=C===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(Ct,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(St,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(Et,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:C||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:T,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:I=>I!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:C?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&W&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:I=>{I.stopPropagation(),E(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(It,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
1
+ import{e as Te,J as Ve,aR as N,a9 as Ge,cF as qe,O as Ie,aW as Ce,V as t,fa as Je,p as J,y as s,bC as Ze,T as Qe,ac as Ye,ft as ve,dP as Ke,fu as Xe,bx as et,dF as tt,aS as it,o as a,fw as nt,c as n,ci as ot,cJ as at,es as lt,fF as ke,fG as $e,gg as st,r as rt,aQ as Pe,F as Ae,bM as ct,ai as dt,bu as ut}from"./index-CRNmezJu.js";import{a as o}from"./sentry-Dla7mstv.js";import{n as i}from"./mui-mhzAEcDs.js";import{bJ as mt}from"./zeni-epic-state-CSmiPBaP.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="cc151653-e98a-4c03-a6f6-d62aab9b60df",e._sentryDebugIdIdentifier="sentry-dbid-cc151653-e98a-4c03-a6f6-d62aab9b60df")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ve(),D=Te(),{formState:{errors:Q},trigger:Y}=at(),T=ht(P,"mileageAmountInDenomination"),x=lt(Q,T),{localData:c,updateStatus:R,mileageStatus:b}=p,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:K,spendManagement:X}=Ie.getLocalizedStrings(),{reimbursement:ee}=X,[S,V]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{x||Y(T)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&V(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=K,ne=S===!1||R.fetchState==="In-Progress"?"readonly":r,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:d&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,d===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(bt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:$e(b.code)}):null]}),t.jsxs(wt,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:b.name,textColor:$e(b.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(Vt,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:T,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:I=>I!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Et,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&U&&!x&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:R.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:I=>{I.stopPropagation(),V(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(It,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):c.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
@@ -9,17 +9,17 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
9
9
  width: 100%;
10
10
  flex-direction: column;
11
11
  justify-content: flex-start;
12
- `,bt=i.div`
13
- display: flex;
14
12
  `,wt=i.div`
13
+ display: flex;
14
+ `,bt=i.div`
15
15
  ${e=>`${ge.title.style(e.windowSize)}`};
16
16
  color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
17
- `,Ct=i(ct)`
17
+ `,St=i(dt)`
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: flex-start;
21
21
  color: ${e=>e.theme.colors.hero};
22
- `,St=i.div`
22
+ `,Ct=i.div`
23
23
  display: flex;
24
24
  width: ${a.sp4};
25
25
  height: ${a.sp4};
@@ -68,7 +68,7 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
68
68
  `,At=i.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
- `,jt=i.div``,Dt=i(dt)`
71
+ `,jt=i.div``,Dt=i(ct)`
72
72
  color: ${e=>e.theme.colors.comingSoon};
73
73
  margin-left: ${a.sp3};
74
74
  `,Tt=i.div`
@@ -77,7 +77,7 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
77
77
  flex-direction: column;
78
78
  justify-content: flex-start;
79
79
  margin-top: ${a.sp3};
80
- `,Et=i.div`
80
+ `,Vt=i.div`
81
81
  display: flex;
82
82
  height: ${a.sp6};
83
83
  width: 100%;
@@ -88,7 +88,7 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
88
88
  color: ${e=>e.hasError===!0?J.important:e.additionalInfoTextColor??e.theme.colors.hero};
89
89
  ${e=>`${ge.infoLabel.style(e.size)}`};
90
90
  margin-top: ${a.sp1};
91
- `,Vt=i.div`
91
+ `,Et=i.div`
92
92
  display: flex;
93
93
  position: absolute;
94
94
  top: 50%;
@@ -103,7 +103,7 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Xt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:K,onSetupApprovalRulesSectionClick:T,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:F,updateMileageDetails:w,onUpdateAccountClick:W,onUpdatePrimaryFundingAccount:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:C,onEnableRemiSuccess:E,onSaveMileageClick:te,onClickMenuIcon:U,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Te(),u=Ee(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:S,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:Me,companyBillPayInfo:he,mileageRateConfig:ze,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),M=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&M.reset(pe(e))},[_,v,M,e,be,se.fetchState,we,re.fetchState]);const We=M.handleSubmit(A=>{l.trackEnableReimbursement(),C()}),Ue=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&S?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&X(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&S?.id!=null&&S?.zeniAccountId!=m.account.selectedOption){const b=m.account.allOptions.find(me=>me.value===m.account.selectedOption);b!=null&&typeof b.label=="string"&&l.trackConnectBankLink(b.value,b.label,"reimbursement"),W(m.account.selectedOption,S.id,S.accType)}}else if(A.includes(G)){const b=R[G];w(b)}};o.useEffect(()=>{const A=M.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>Ue(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&E()},[E,ye,L.fetchState]);const{commonSetUp:Ce,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:z}=Be,{setUp:k}=Ce,de=he?.isBusinessVerified===!0&&(S?.accType==="depositAccount"||mt(S?.providerVerificationStatus?.code??""))&&ze?.denominationConversions.amount!=null,ce=Me?.isReimbursementEnabled===!0,Oe=de?Ce.setUp.setupVerifiedSubTitle:z.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Se(H.colors.brandColorJadeLight):new Se(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):K?.()};return t.jsxs(Mt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:z.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:U,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(zt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...M,children:t.jsx("form",{id:De(je),onSubmit:We,children:t.jsxs(Wt,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Xe,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:S,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:I,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:z.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:T,status:O.length>0?Fe:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:z.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:z.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},Mt=i.div`
106
+ `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",G="remiAccount",q="remiMileage",Kt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:d,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Q,onBusinessVerificationSectionClick:Y,onSetupApprovalRulesSectionClick:T,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onEstablishConnectionSuccess:R,updateMileageDetails:b,onUpdateAccountClick:U,onUpdatePrimaryFundingAccount:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:V,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Te(),u=Ve(),[B,E]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ee,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:Me,companyBillPayInfo:he,mileageRateConfig:ze,isRefreshingViewInBackground:Fe,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Re}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),we=N(se.fetchState),be=N(re.fetchState),M=Ge({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&E(!0),B&&_==="In-Progress"&&v==="Completed"&&E(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||we==="In-Progress"&&se.fetchState==="Completed"||be==="In-Progress"&&re.fetchState==="Completed")&&M.reset(pe(e))},[_,v,M,e,we,se.fetchState,be,re.fetchState]);const Ue=M.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),We=async(A,F)=>{const m=F[G];if(A.includes(G)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&K(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),U(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(q)){const w=F[q];b(w)}};o.useEffect(()=>{const A=M.watch((F,{name:m})=>{m!=null&&F!=null&&qe(()=>We(m,F))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&V()},[V,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:z}=Be,{setUp:k}=Se,ce=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&ze?.denominationConversions.amount!=null,de=Me?.isReimbursementEnabled===!0,Oe=ce?Se.setUp.setupVerifiedSubTitle:z.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Ce(H.colors.brandColorJadeLight):new Ce(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?E(!0):Y?.()};return t.jsxs(Mt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>E(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:d,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>E(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:z.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Q,showMenuIcon:!de&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Ft,{windowSize:u,children:[t.jsx(zt,{windowSize:u,children:Oe}),_e?t.jsx(Rt,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ye,{...M,children:t.jsx("form",{id:De(je),onSubmit:Ue,children:t.jsxs(Ut,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ke,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Fe}),t.jsx(Xe,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:G,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:R,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:I,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:q,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:z.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:T,status:O.length>0?Re:void 0})]})})})]}),ce&&!de&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:z.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ee.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:z.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:ce&&!de,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},Mt=i.div`
107
107
  display: flex;
108
108
  min-height: 100%;
109
109
  flex-direction: column;
@@ -117,7 +117,7 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
117
117
  padding-top: ${e=>g.subTitlePaddingTop.valuePx(e.windowSize)};
118
118
  padding-bottom: ${e=>g.subTitlePaddingBottom.valuePx(e.windowSize)};
119
119
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
120
- `,Rt=i.div`
120
+ `,Ft=i.div`
121
121
  display: flex;
122
122
  justify-content: flex-start;
123
123
  height: 100%;
@@ -125,7 +125,7 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
125
125
  flex-direction: column;
126
126
  align-items: center;
127
127
  row-gap: ${e=>g.setupDetailsRowGap.valuePx(e.windowSize)};
128
- `,Ft=i.div`
128
+ `,Rt=i.div`
129
129
  display: flex;
130
130
  width: 100%;
131
131
  height: calc(100vh - 110px);
@@ -133,8 +133,8 @@ import{e as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
133
133
  justify-content: center;
134
134
  align-items: center;
135
135
  background-color: ${e=>e.theme.colors.grey4};
136
- `,Wt=i.div`
136
+ `,Ut=i.div`
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  row-gap: ${e=>g.sectionRowGap.valuePx(e.windowSize)};
140
- `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:c}=j;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Xt as default,De as uniqueName};
140
+ `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:d}=j;return{[G]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[q]:{mileageAmount:d?.mileageUnitAmount?.amount,mileageCurrencyCode:d?.mileageCurrencyCode??"USD",mileageCurrencySymbol:d?.mileageCurrencySymbol??"$",mileageUnit:d?.mileageUnit??"",description:d?.description??"",mileageAmountInDenomination:d?.mileageAmountInDenomination,denomination:d?.denomination??"dollars",denominationSymbol:d?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Kt as default,De as uniqueName};
@@ -0,0 +1 @@
1
+ import{V as f,cp as V,cq as q,cr as M,k9 as J,aZ as W,O as z}from"./index-CRNmezJu.js";import{a as b}from"./sentry-Dla7mstv.js";import{Ge as G}from"./zeni-epic-state-CSmiPBaP.js";import{u as K}from"./ReviewOverlay-CXHcM5J8-Z1A7mqWB.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./mui-mhzAEcDs.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2395b72a-e34f-4a39-8205-0f59721241b9",e._sentryDebugIdIdentifier="sentry-dbid-2395b72a-e34f-4a39-8205-0f59721241b9")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:d,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:g,currentSubTab:y}=e,v=!1,[S,l]=b.useState(!1),[m,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,Z]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===m.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[m.length,B,h,e.fetchState,v,e,o]);const D=m.length,x=m.filter(u=>u.reviewStatus.code!=="error").length,E=()=>{const{title:u,description:C}=X(x);A({type:"reject",title:u,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,g,y),l(!0)},F={onOkClick:u=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,g,y,G(C.map(I=>I?.reimbursementTypesIncluded??[]))),d("reject",u)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Y(p,x,D,h),T=e.fetchState==="Completed"&&x===0,U=()=>{i.trackReimbursementBulkSubmit(t,g,y),d(t)},O=()=>{let u=a.footer.approve;return T?u=a.texts.close:t==="send_for_approval"&&(u=a.footer.submit),{label:u,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},N={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:E,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[S?f.jsx(V,{titleComponent:f.jsx(M,{children:w.title}),descriptionComponent:f.jsx(q,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(K,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&x===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:O(),cancelButton:N,hideCancel:T}})]})},P=(e,o,i)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=J(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:W("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:r.reviewStatus??""}}})},X=e=>{const{this_:o,these:i,report:d,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",d)}},Y=(e,o,i,d)=>{const{has:r,have:n,report:p,reports:c,are:t,is:g,do_:y,does:v}=a.texts,S=o>1,l=i>1;let m="",_="";return e==="Completed"&&!d?(m=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?y:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",S?t:g)}`):(m=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:m,description:_}};export{ce as default};