@zeniai/web-cockpit-ui 1.15.63-qa → 1.15.64-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/dist/assets/ACHDetailsPage-fOu5grd7-BdSVzP6f.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CJ7SlrBq.js → AIPerformancePage-Da3gFo8A-CckgxOO_.js} +22 -22
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-zH78FLFW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-C83hBUz9.js → AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-BJjCuLHa-DrT3dsPq.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-kXNr--5k.js → AccountReconDetailsDrawerPage-CVjH1p0d-BxBrHwo0.js} +18 -18
  7. package/dist/assets/AccountRow-CpftykFx-oOdBXU8G.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DUGNuaMw.js → AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-CGSqzhVX.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-lZdSVI5f.js → AddToWalletPage-zJy9QCjx-C_qfE17G.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-xBFff3BM-BoR0hRbB.js → AgingReportsPage-wAvQb1d8-C15jlpMU.js} +7 -7
  12. package/dist/assets/{AllUserItems-BJf6WPDo-BK6B5dDc.js → AllUserItems-DEv_CXOA-B5fCEIiV.js} +8 -8
  13. package/dist/assets/ApAgingDetailPage-BOV1WFVF-Dp8s2FuX.js +46 -0
  14. package/dist/assets/{AppBasePage-CqDm-hnV-CBNeETIZ.js → AppBasePage-DMlomvFS-CGojLnOO.js} +13 -13
  15. package/dist/assets/AppDrawerContent-Dc2sHnR3--YF7Xqpp.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-qsIqsWa1.js +47 -0
  17. package/dist/assets/{ArAgingChart-CBsqOd-4-BTXylDMy.js → ArAgingChart-m-Xp3HAW-NCxV7iBs.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-b_NpDpWj-z4UOMnMu.js +46 -0
  19. package/dist/assets/{AttachmentView-CzC4skJ3-BCDnapXA.js → AttachmentView-DB_V1qT1-BBS5lFy5.js} +9 -9
  20. package/dist/assets/{BankAccountSection-Di4sF52j-D4IfCjd3.js → BankAccountSection-BabhrBM7-AYC21fpT.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-Cled-2cR-CPMJAwOm.js → BankAccountWarningSection-yT2UAd12-C1lPi6To.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DAZKodd6.js → BankConnectionsSettingsPage-CbxXykMM-C4x6xhVH.js} +19 -19
  23. package/dist/assets/BillDetailPage-7TMkWo3V-CAz7q8si.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-PsPHznl4.js → BillPayApprovalRuleDetailPage-COyDRpaF-DAcMEAnT.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-HIhyZ3nR.js → BillPayApprovalRulesPage-9pxkgFAT-DPJx3hcv.js} +15 -15
  26. package/dist/assets/BillPayPromoPage-AGffhbY3-C_QscQuJ.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-DVe6WBI9.js → BillPaySetUpPage-Cs5rkWBu-GrPc_Ghq.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-CQ117tT9-czyNT2CA.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-BQuQWEvp.js → BillsBulkReviewDrawerPage-DRkGQQAe-B4jJeKlF.js} +1 -1
  30. package/dist/assets/{BoxItem-Bxa1M4QU-D1vE9QhE.js → BoxItem-DRwx0M5a-DCS0EEq5.js} +11 -11
  31. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-XlBss24U.js → BusinessVerificationPage-1h0z3N9u-Bz-00d77.js} +12 -12
  32. package/dist/assets/{CardNumberSubText-_ZZbaz_k-BlVD6y8J.js → CardNumberSubText-DqtLT1w5-DO6jyw3h.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-DAZXitLt-Fk0YDW9d.js → CashbackDetailPage-ChdQcvkC-C57bRmfy.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-BDSXs13_.js → ChargeCardDetailPage-DFOKlPNG-xcGq1wRM.js} +34 -34
  35. package/dist/assets/{ChargeCardListPage-BOBepN-x-D1jyw6xp.js → ChargeCardListPage-DhLUsUhd-DuclyBke.js} +24 -24
  36. package/dist/assets/{ChargeCardListTable-YznzSsJo-BzgBrEEG.js → ChargeCardListTable-DE72YU_i-DcBJaKK3.js} +38 -38
  37. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-CGXOOx2m.js → ChargeCardPaymentHistoryPage-CbGR18s--BFbYhOSS.js} +42 -42
  38. package/dist/assets/ChargeCardPromoPage-CPpNh89o-CBfHtaX_.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-CpLnoFoy.js → ChargeCardSetupPage-ITi25kUD-DfzvZRO7.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-CRQIlgKD.js → ChargeCardStatementsPage-CTJc1BCc-DxoD4bYi.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C9SGaV72.js → CheckDepositDrawerPage-BrzeSj-3-DtRI-uAH.js} +23 -23
  42. package/dist/assets/CollapsableReportTable-CDEe9s_E-CMF0RoW1.js +2844 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-CoAoKnrR.js → CompanyOfficerDetailsSection-BaPhFsLx-B9Snu63L.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CkzYFTrp-xxbgyzmF.js → CompanyPassportCard-B9ymV6Az-38EEl60M.js} +9 -9
  45. package/dist/assets/{CompanyPassportPage-FE6yli6h-BWozhrFp.js → CompanyPassportPage-BQ68t7oK-Co1NqIiB.js} +30 -30
  46. package/dist/assets/{CompleteProfile-Cb8i1XgZ-BTm92KCu.js → CompleteProfile-C5n9b8gQ-DwcNt9_I.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BizTW0hz-CvR9oZ5e.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-hVukCBkN.js → ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-tk0pxMXW.js → CreateOrEditVendorPage-BIfOA5Nr-Dlpym0z2.js} +20 -20
  50. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BNl8osW_.js → CreditCardPaymentDrawerPage-CCpS-31h-C4-ObiYa.js} +18 -18
  51. package/dist/assets/CurrencySelectField-KvKyemY6-CmY2_QR6.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-C0GXlCyT.js → CustomerOnboardingActivationPage-6VlMI4oY-DDFamjuz.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-BpoLCE54.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BpVuCl4e.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-sEi6CC-2.js} +8 -8
  55. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BRYus2iF.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DKVxJK_g.js → CustomerOnboardingPage-DkW66A-p-GBHzS2sL.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-BF68GGbG.js → CustomerOnboardingProductSuitePage-Ba0yotpP-kvF0C_U3.js} +12 -12
  58. package/dist/assets/{Dashboard-BJ_oIHab-CXqiG1Rq.js → Dashboard-bX3cWkmP-CshB3AQ6.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-BemzMw2e-BipdyVWe.js → DashboardReportPage-DuZ4d4CE-WPRTD4S1.js} +41 -41
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-4yePe-Xl.js +12 -0
  61. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-1GMqn4-W.js +76 -0
  62. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CMJCJXrJ.js +66 -0
  63. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js +21 -0
  64. package/dist/assets/DownloadOverlay-DqiL3-FB-D2yDQ3WD.js +439 -0
  65. package/dist/assets/{DrawerPage-DesxXhZk-BvvDI7JV.js → DrawerPage-CaG-xx5d-D9_lXenJ.js} +13 -13
  66. package/dist/assets/EditPeoplePage-BcsdEp_d-IwV_edCq.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B0QXso1w.js +865 -0
  68. package/dist/assets/EntityDetailPage-DtX5TjBc-YkJZ_Dja.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BwX0a4JL-Cb_9slBS.js → EntitySummarySection-LEA5m6mN-CLLkbTp6.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-B4ZwTaZV.js → ExpenseAutomationOverviewPage-Dmhn7gfp-BnYLctJS.js} +51 -51
  71. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DWGhFpVk.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-EMP6inpX-_cx1Ylt6.js → ExpressPayPage-C-nqret2-CxxwTtu9.js} +16 -16
  73. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CG1XGdAN.js → FeaturePreviewPage-BHjUZ7s6-_5C6_vtm.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BxESVqJD-YzcVHL8n.js → FollowStepsSection-0eFMS0c5-DiNXhybo.js} +11 -11
  75. package/dist/assets/GlobalReviewListPage-4eiopkzw-DKMz-KY4.js +291 -0
  76. package/dist/assets/{InformationCardStack-B_qQUEYD-BwcTguLM.js → InformationCardStack-C7XJCUlh-CHYlGlZV.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-BsQzoVzj-Bd69AHav.js → InsightsCardStack-fBAbQwhK-GOQwmuqO.js} +9 -9
  78. package/dist/assets/InsightsSection-De9zu_me-VPfN5Xo7.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Bl2SFLoD.js → IntegrationsSettingsPage-BD5jqAv8-BskPS73Y.js} +7 -7
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-C5RGyBg8.js → InternationalWireSwiftDetailsPage-BftrE612-CKiFI9UY.js} +27 -27
  81. package/dist/assets/InternationalWireVerificationPage-CDf7equc-1WYEjkVV.js +65 -0
  82. package/dist/assets/InviteFormPage-E2igwKEh-BzkLo-m1.js +312 -0
  83. package/dist/assets/{InvitePageListView-CP4K9tJi-BWdxcvn6.js → InvitePageListView-Cuq9dlgu-BNjoQI0P.js} +43 -43
  84. package/dist/assets/InvitePeoplePage-Db4P4ZEq-B9OMfSrr.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-DYCjz9CI-DkR29XTT.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DZxiAxJX.js → IssueChargeCardPage-CK6fnO24-bch7HeIs.js} +21 -21
  87. package/dist/assets/{LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js → LabeledAddressValue-Ma1WURjK-BjRcNAyc.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BwOVpc3z.js → LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.js} +4 -4
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CMb8Wj3I.js → LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js +59 -0
  94. package/dist/assets/{LabeledText-C8Y7EOsX-bc31OQDU.js → LabeledText-DvzVOku6-CI8IYs0J.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DEITvxaX.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BoHfD7aR.js} +21 -21
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BbSQyIfJ.js → LabeledZeniRolesDropDownField-kWC0ShEy-rvx0SYJG.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-mvMHwOvE.js → LinkJETransactionPage-WufhDGDQ-B3rjsU0T.js} +12 -12
  98. package/dist/assets/{LockCardPage-CZENNby7-XsIHG8ps.js → LockCardPage-BBIVLYVD-B0YOZXXr.js} +234 -234
  99. package/dist/assets/{LowBalancePopup-1727S1ri-n2U-sV_W.js → LowBalancePopup-ScEqPY9J-CQJroj6z.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-BXL5Oo5F.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-CLIxJIug.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-f3s55HDr.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-BVQIDzU9.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-CVNZ8iK2.js → MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-DZT7JPlI-C6Z2pagF.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BeRsdTPg.js → MyBankConnectionsSettingsPage-aQDVaEG1-DhCXDcNN.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-8UK9qZGK.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-4YifN_2G.js +85 -0
  109. package/dist/assets/{NavBarWithPicker-CGGEvLwe-s3u-yB3H.js → NavBarWithPicker-zmvBmWS1-A5yL3hW1.js} +5 -5
  110. package/dist/assets/{NavigationArrow-CTNkKUtV-C8bJKxdd.js → NavigationArrow-D26UG3p--DAuEEyBJ.js} +7 -7
  111. package/dist/assets/{NavigationDots-Dvce3gHt-BbZlp8zJ.js → NavigationDots-Bv4tBDN3-Dko875eO.js} +3 -3
  112. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DQOfu_Nl.js → NewGlobalMerchantPage-vOn2O6B9-DskrKIYE.js} +35 -35
  113. package/dist/assets/{NoDataChart-CrKeqWSr-CH-XvPH0.js → NoDataChart-CgT19fV7-Dq-PS5iw.js} +4 -4
  114. package/dist/assets/NoDataTable-CPjJmo4s-B0gXcJxM.js +8 -0
  115. package/dist/assets/{NotFoundPage-BLWPU1wU-BG7NJ9El.js → NotFoundPage-CP2i3FTm-B2Tx_Zo3.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-6RPc-bUn.js → NotificationSettingsPage-CT9Dnb03-CqwjgM73.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js +1 -0
  118. package/dist/assets/NotificationsPage-DDwdR_Jq-CdZxB2zM.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DukFYlqO-CuXBR-rW.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-BG9y5C0t-BPG2pCUp.js → OverlayContainerPage-D4QU0p4o-CVPkUlN6.js} +1 -1
  121. package/dist/assets/PandLWithForecastPage-Bgflh9Om-Dmxi28fl.js +107 -0
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-D4Qtjsvw.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-CHgpZYyo.js} +16 -16
  123. package/dist/assets/PeoplePage-CDvKreQl-CRlr1EmV.js +675 -0
  124. package/dist/assets/{Preview-DWskpWXP.js → Preview-spWMBI70.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-C3M0ocdF-BSyoNQFy.js → ProductsCarousel-7R3cvGiS-DlBhSe7D.js} +8 -8
  126. package/dist/assets/{PromoBaseCards-BOGJI2ws-Ck95GU5B.js → PromoBaseCards-DdCMZIc7-B6Z1nEXM.js} +2 -2
  127. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-CpIqU0WF.js → QBOConnectionDialog-Ca36jKz2-CfdvU0-0.js} +7 -7
  128. package/dist/assets/QBOSetupSection-CzBfIVqR-B4kKrGkW.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C7yuUziG.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-D3bDi2Ta.js → ReimbursementApprovalRulesPage-B48x1gPM-Bmxf9Hlc.js} +17 -17
  131. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CRxw2XKK.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-BKgsJieE-D41M31h1.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-z2afpDkn.js → ReimbursementSetUpPage-B_c-ZgFT-nyStFOEL.js} +8 -8
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CPHh3h5l.js +1 -0
  135. package/dist/assets/{ReloadCard-Bdoo0XiI-BGa0MgX0.js → ReloadCard-DKGn1uxF-CHnWO982.js} +6 -6
  136. package/dist/assets/ReportTableViewSelector-CXDvZEbR-DVKFHMpg.js +150 -0
  137. package/dist/assets/ReportsPage-BoUyXSBC-DqEgIltZ.js +121 -0
  138. package/dist/assets/{RevenueChart-DvyZ3aO7-PpJFTbOd.js → RevenueChart-SvdhwBcE-CclStxKG.js} +18 -18
  139. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-D2dTaNpr.js → ReviewDetailsPage-tT1l4R2r-D31xag1Q.js} +26 -26
  140. package/dist/assets/{ReviewOverlay-CxwoiOLC-vRTfwGwR.js → ReviewOverlay-BoM41t8W-B3q95pxr.js} +10 -10
  141. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js → RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js} +4 -4
  142. package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CXNO-V0F.js +37 -0
  143. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DX2cGcR8.js +37 -0
  144. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-C4pj46PF.js +324 -0
  145. package/dist/assets/{ScreenRoutes-CUuAiKAj.js → ScreenRoutes-Djen5Qso.js} +51 -29
  146. package/dist/assets/{SetUpAccountSection-CctbMmoK-DeDFJbvz.js → SetUpAccountSection-sfIB1h4i-ChZ6V5QM.js} +14 -14
  147. package/dist/assets/SignIn-Cu2nzuEC-CMzKn_tC.js +491 -0
  148. package/dist/assets/SignInScreen-OAq50V8E.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-AeTDFXX6.js → SpendManagementPerTabPage-COvEPq7V-Do4O10gl.js} +96 -96
  151. package/dist/assets/{SpendManagementSection-CIz4nE_w-8YBkABuz.js → SpendManagementSection-dT-N4bSQ-BiovZfwW.js} +21 -21
  152. package/dist/assets/{StatementItem-vVtoBN2w-BdiJO-U-.js → StatementItem-g5tfNBjV-C9Hg8CS4.js} +4 -4
  153. package/dist/assets/StatementsPage-DaFrVUeK-DSTw3UAU.js +58 -0
  154. package/dist/assets/{StatusSwitcher-Bv-ozN6U-CzLNn0tR.js → StatusSwitcher-CaoFw0cf-C3lxp9pU.js} +5 -5
  155. package/dist/assets/SubTabSwitcher-zrkVj1aP-_xN0-uG5.js +58 -0
  156. package/dist/assets/SummaryCard-B9wqNSwM-n1ImzaFb.js +1 -0
  157. package/dist/assets/TaskManagementPage-dAK9tl2b-CTG2_KMv.js +508 -0
  158. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DCJluex4.js +64 -0
  159. package/dist/assets/TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-DxV9Vm6A.js +31 -0
  161. package/dist/assets/{TopExCard-Z1WabZ8c-4au0Kuzy.js → TopExCard-BUjnGDUB-ILeRndVt.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-CzHG4f9E-CctLNvo_.js → TopExDetailPage-CNDkfc3u-BPGQHHhh.js} +16 -16
  163. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-B3NDQc80.js → TransactionActivityLogPage-kSQqJVpX-CN_Bd6XL.js} +20 -20
  164. package/dist/assets/TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js +903 -0
  165. package/dist/assets/TransactionList-3-mUZOsw-BOqEjROc.js +153 -0
  166. package/dist/assets/{TransactionListBig-C5Sf5Xh--BuYJgRaG.js → TransactionListBig-Bx_Rm9ho-B9vgR37B.js} +19 -19
  167. package/dist/assets/TransactionListPage-q6x4_jni-ByWLrriF.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-BRnviJtL.js → TransactionVendorDetailPage-MjSH5hfq-BauD225P.js} +5 -5
  169. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-CVsBbyAK.js → TransferDrawerPage-BayVa6po-DOmgo5bD.js} +45 -45
  170. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-WjxiYw-Z.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DUHPkkLd.js → TreasuryPromoPage-BCjz1EKX-B5KDWi07.js} +131 -131
  172. package/dist/assets/TreasuryStatementsPage-CGr00SXF-C60wRmKc.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DjBNSdh0.js +58 -0
  174. package/dist/assets/{TrendChart-Bnp4Pcdf-D4cgVp3g.js → TrendChart-JTOG0a7B-DpgA2voA.js} +4 -4
  175. package/dist/assets/TrendWithTransactions-CTJhTpAM-BQk6HV-p.js +116 -0
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-sq3wEY9K.js → UncategorizedAccountsMappingPage-TGKYpC5A-RvK9bcxw.js} +14 -14
  177. package/dist/assets/{UnitIntegrationPage-CTzme1te-BHLJji8u.js → UnitIntegrationPage-mt2IjA5X-sxJ5WITz.js} +10 -10
  178. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DAOf5cJD-BPBPmB6-.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CBSNIh8C.js +1 -0
  181. package/dist/assets/VendorDetailPage-DufNphGD-CYmhQiv4.js +257 -0
  182. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Bv9GXuwg.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-k-hAzNY6.js → VendorFiling1099EditablePage-CRnO7Ubw-D8TJzbQY.js} +13 -13
  184. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-B1EJ16cd.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-kwJW4_b9.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DME8KQvf.js} +22 -22
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-WaJ_bb27.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-C7Nrepld.js → VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js} +4 -4
  188. package/dist/assets/{VerifyDevice-Dvf0JsNN-LsnrX91W.js → VerifyDevice-B6B_nk3v-Bdkrxio0.js} +12 -12
  189. package/dist/assets/{VideoPlayer-VAzOGCDL-DVi19FXq.js → VideoPlayer-BRAgZThr-DjmJcTCC.js} +2 -2
  190. package/dist/assets/{VideoPopup-BqvZ-XIh-BO-XUiUq.js → VideoPopup-C_SkBI9U-BcIEWeMW.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-DeNonoNp-BWZkdUzm.js → WarningsDrawerPage-B3gB3wW7-D2GIDjbZ.js} +8 -8
  192. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-Bhjoyj-p.js +300 -0
  193. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-DifvzT-q.js +441 -0
  194. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-Cs_0mVt4.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-XleDnhH3.js → ZeniAccountPromoPage-BgYCHYLO-Cw7mPD8B.js} +33 -33
  196. package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-UG3h63JG.js +36 -0
  197. package/dist/assets/{ZeniCopyright-DglqrTpl-DjLwp-EZ.js → ZeniCopyright-BlLvlGZV-oWH5-_QG.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-Dq1i7GHR.js → ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-CMYG7KBd.js → add-to-wallet-DgdBD8_G-CQY6YDIS.js} +1 -1
  200. package/dist/assets/{analytics-Dn0Lw8Hl.js → analytics-Bkw5onLf.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C_ff58Ox.js → analyticsHelper-BrCWxqsP.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CAYdbjhS-CSS_jWKh.js → analyticsHelper-CYr5V2MV-D117boEZ.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-0FDs3KeW.js → arrow-south-east-round-PEovUgvH-Bjmr6TY7.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BKhloLeM.js → auto-transfer-rule-mbafm5D3-CNNhiF_u.js} +1 -1
  205. package/dist/assets/chartTypes-40RenddT-C3e8npm6.js +1 -0
  206. package/dist/assets/commonDimensions-BMnB1-xU-BEplFlGz.js +1 -0
  207. package/dist/assets/{commonTypes-5tEXwrX4-Bo-DjnLD.js → commonTypes-DsWS6Ccc-DEEa_Sk5.js} +1 -1
  208. package/dist/assets/{constants-BEwjLQPo.js → constants-BjwuG-sL.js} +1 -1
  209. package/dist/assets/{core-DEFUIdDG.js → core-ChNxRm0V.js} +53 -3
  210. package/dist/assets/{dash.all.min-BID_vSFD.js → dash.all.min-CPWXIJa3.js} +1 -1
  211. package/dist/assets/detailCommon-CrcyqWtZ-Y-btcKvT.js +38 -0
  212. package/dist/assets/downloadPdf-CUUx8PWn-CpeF1exC.js +1 -0
  213. package/dist/assets/{empty-3lnGe8CJ.js → empty-CbUW6a7c.js} +1 -1
  214. package/dist/assets/{empty-Bz_9XWq0.js → empty-DB2fqLbL.js} +1 -1
  215. package/dist/assets/epic-D8ilA7L4.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-aVxGZy29.js → gift-box-Cmt9OgIZ-CAEsBxF-.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-x243rVSC.js → graphic-no-data-l-DU4J8fDt-5QBY0UXm.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fGjKD-Ct.js → graphic-no-data-net-burn-l-CzmycA0m-hdaFlp9y.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-ubRH-wiz.js → handshake-BPg58FML-ChCbIa55.js} +1 -1
  220. package/dist/assets/{helper-Ckm10Uko-D3EJmxEw.js → helper-BMiMbXMj-Dmh6E349.js} +5 -5
  221. package/dist/assets/{index-j3sWBTP6.js → index-B7L93Ji9.js} +1 -1
  222. package/dist/assets/{index-BTOXr4d7.js → index-DVyniIKO.js} +1 -1
  223. package/dist/assets/{index-E_BIvVEB.js → index-DlObXRGr.js} +8 -2
  224. package/dist/assets/{index-Dh51gnjs.js → index-Dpyv5L0j.js} +1 -1
  225. package/dist/assets/{index-CurP1SOA.js → index-DqZ19at7.js} +4883 -4818
  226. package/dist/assets/{index-yi6exDCI.js → index-cdfRDhK8.js} +1 -1
  227. package/dist/assets/{index-C_4SXTa-.js → index-ioI1xYoQ.js} +1 -1
  228. package/dist/assets/{lexical-C3dXI-1S.js → lexical-1Ygrq4RW.js} +1 -1
  229. package/dist/assets/{liveblocks-Dud0zcBr.js → liveblocks-BTMi-6jm.js} +15 -2
  230. package/dist/assets/lottie-DePu4yCn.js +9 -0
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BYse0ozL.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-BBFpEXmY.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-hihXzy98.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DeFN34g2.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-CSygkCSn.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-R-95BHOA.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DCo-Luqt.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-27M6rUwe.js} +1 -1
  237. package/dist/assets/{mui-BxEa6oIz.js → mui-ZYC_cKE8.js} +9 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DOLPp-eb.js → page-detail-CWX5S47F-DC8jxm5B.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DL8BJVml.js → radio-default-CiSgisfh-BxCWoZze.js} +1 -1
  241. package/dist/assets/{react-BsuKrOi4.js → react--xqujLHa.js} +12 -2
  242. package/dist/assets/{react-DM147Gxs.js → react-BKZXD5Oc.js} +12 -2
  243. package/dist/assets/{react-BNTdaAOY.js → react-BYslFEBJ.js} +12 -2
  244. package/dist/assets/{react-a0DWg95U.js → react-BwmLfOl6.js} +12 -2
  245. package/dist/assets/{react-yelseDIT.js → react-C9KgujEQ.js} +13 -3
  246. package/dist/assets/{react-DPVtQSsy.js → react-IIMWUaFV.js} +12 -2
  247. package/dist/assets/react-Z0_odY1k.js +37 -0
  248. package/dist/assets/{react-B5siMDaA.js → react-d6rMgZIK.js} +12 -2
  249. package/dist/assets/{recharts-CucZZnV5.js → recharts-CPKKNFMD.js} +27 -19
  250. package/dist/assets/{sentry-CDHeVBhK.js → sentry-DO9J0OD9.js} +17 -2
  251. package/dist/assets/{shield-DOlUxcFf-BCrG7e7-.js → shield-DOlUxcFf-K7yJVGAq.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DkMGvlEt-BttuYM2L.js +1 -0
  253. package/dist/assets/toChartData-C6s-eBzE-DfNWG1EA.js +1 -0
  254. package/dist/assets/{uploadAttachment-Ck4wivBR-D2sssPbg.js → uploadAttachment-BlLqRIXe-BrI0Dxy9.js} +32 -32
  255. package/dist/assets/uploadReceipts-Dge0cNF1-C53BLsXO.js +1 -0
  256. package/dist/assets/{url-DAJ1NKPS.js → url-Brmd3733.js} +1 -1
  257. package/dist/assets/{url-Dz3bE-6e.js → url-VhWKyQz6.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-cX6DxOpZ.js → useLongPress-GCK2COYQ-BBNJdZmN.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BiUwSUGW.js → usp-line-BBd1wKwW-BjY16bQv.js} +1 -1
  260. package/dist/assets/{utils-B2bXCuaD.js → utils-CXoyjNuY.js} +38 -4
  261. package/dist/assets/zeni-epic-state-C5Hzx540.js +151 -0
  262. package/dist/index.html +1 -1
  263. package/package.json +6 -6
  264. package/dist/assets/ACHDetailsPage-B5qIuZya-BmmOKNKt.js +0 -21
  265. package/dist/assets/AccountInfoPage-Cd5xYT1g-BjYVbnMy.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-Dox7IuAX-H_pRx6Xf.js +0 -59
  267. package/dist/assets/AccountRow-D1cjRJJD-CnHGmlKi.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-CTlBkwH6.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-CjBrPyi8-DNYyKLZY.js +0 -46
  270. package/dist/assets/AppDrawerContent-CVVWj66i-BfqcrITU.js +0 -92
  271. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CKQBzdAB.js +0 -47
  272. package/dist/assets/ArAgingDetailPage-i7JObt60-x2wHZEQK.js +0 -46
  273. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DFyn5DU2.js +0 -38
  274. package/dist/assets/BillDetailPage-XXOwBfO1-CW90EiFi.js +0 -266
  275. package/dist/assets/BillPayPromoPage-DOE2YIqC-eMf19kde.js +0 -84
  276. package/dist/assets/BillingSettingsPage-iImtlEmO-NkTGKevj.js +0 -44
  277. package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bt_RFZVL.js +0 -222
  278. package/dist/assets/CollapsableReportTable-DNfFkAts-BXskWmz4.js +0 -2982
  279. package/dist/assets/ConfettiBurst-BZCXEGYA-BuT0DNIg.js +0 -1
  280. package/dist/assets/CurrencySelectField-BAh7SHrG-C0eRIjkk.js +0 -139
  281. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DApxSm4l.js +0 -1
  282. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DAVz68Sy.js +0 -66
  283. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-BE0eZrrp.js +0 -12
  284. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-B5_uXo_7.js +0 -76
  285. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DEAnKryS.js +0 -66
  286. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-g4hbj-K1.js +0 -21
  287. package/dist/assets/DownloadOverlay-D_lL1sPW-DOw4m1yt.js +0 -439
  288. package/dist/assets/EditPeoplePage-QvPy_Six-anrdd6es.js +0 -55
  289. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-1LZFYwiw.js +0 -865
  290. package/dist/assets/EntityDetailPage-l7nXIsyF-BWeJETf7.js +0 -18
  291. package/dist/assets/ExpenseAutomationPage-DA22Qofw-DO_fqdZH.js +0 -3001
  292. package/dist/assets/GlobalReviewListPage-D5_ACa-q-DgPiQmby.js +0 -291
  293. package/dist/assets/InsightsSection-B6CNlTNH-CLcBLG7W.js +0 -27
  294. package/dist/assets/InternationalWireVerificationPage-COC6lZml-CP2ZasSF.js +0 -65
  295. package/dist/assets/InviteFormPage-DN02jRy5-BtKUOX8b.js +0 -312
  296. package/dist/assets/InvitePeoplePage-VTM6kM1u-G3Ul_pWm.js +0 -12
  297. package/dist/assets/InvoiceUploadSection-it-ZYl1N-BO7KOyKX.js +0 -140
  298. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BhvAMjBe.js +0 -45
  299. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-DrHMqRca.js +0 -16
  300. package/dist/assets/LabeledDocumentField-C_bcFxdY-DD0gr-bC.js +0 -41
  301. package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-D-kv_bCg.js +0 -59
  302. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-B1jvyROC.js +0 -1
  303. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-RgVjNAqp.js +0 -1
  304. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-tnKyOj1K.js +0 -1
  305. package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-D-HowjcM.js +0 -31
  306. package/dist/assets/MailingDetailsSection-ByOPaJ05-Ct12OUY5.js +0 -21
  307. package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-CFKFaD81.js +0 -6
  308. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-BtcIqQ7N.js +0 -85
  309. package/dist/assets/NoDataTable-4vPXmPYF-CwZdP9nM.js +0 -8
  310. package/dist/assets/NotificationsListConfig-B5pDa4cJ-BswJOyvx.js +0 -1
  311. package/dist/assets/NotificationsPage-Ccl7Dny1-BlIM0WaT.js +0 -685
  312. package/dist/assets/OpExByVendorPage-spd-nKV4-DL88DIG2.js +0 -100
  313. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-D4kqBVQ1.js +0 -123
  314. package/dist/assets/PeoplePage-b5_I0qOw-C1yNgQZU.js +0 -727
  315. package/dist/assets/QBOSetupSection-DjnN9dgv-ISynvMy-.js +0 -79
  316. package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-D9uPP3dw.js +0 -32
  317. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-0loMmewR.js +0 -314
  318. package/dist/assets/ReimbursementPromoPage-CyEgwqcf-CgriiA9d.js +0 -84
  319. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Bhe1TAsD.js +0 -1
  320. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-Cq7HHLUo.js +0 -151
  321. package/dist/assets/ReportsPage-BOTHMLWh-W09uRSHp.js +0 -269
  322. package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-CCcAk0g0.js +0 -37
  323. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-oIb8NDEV.js +0 -37
  324. package/dist/assets/ScheduleSequenceTable-R3-PsXES-ClyCeUfL.js +0 -326
  325. package/dist/assets/SignIn-CmgmnRm4-CTHQKiMt.js +0 -491
  326. package/dist/assets/SignInScreen-D6DML_Ge.js +0 -1
  327. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BAqTaSS5.js +0 -134
  328. package/dist/assets/StatementsPage-As5WOnMR-k_kQpGjl.js +0 -58
  329. package/dist/assets/SubTabSwitcher-D7QeM6nb-qtx8MdsY.js +0 -58
  330. package/dist/assets/SummaryCard-C2qoTsAY-DDjCmaHn.js +0 -1
  331. package/dist/assets/TaskManagementPage-BJwp32Ph-DovQ5Y6P.js +0 -508
  332. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DYi-s0cU.js +0 -64
  333. package/dist/assets/TimeframeSwitcher-DA99HdHt-NQjsVR_-.js +0 -31
  334. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-yshKro9r.js +0 -53
  335. package/dist/assets/TransactionDetailPage-1-mLOWSz-DT3B6GWp.js +0 -903
  336. package/dist/assets/TransactionList-BB-xoIGm-WH6cmyEO.js +0 -153
  337. package/dist/assets/TransactionListPage-Cj7h1Ros-D83WnCkA.js +0 -35
  338. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DY1oE8mV.js +0 -725
  339. package/dist/assets/TreasuryStatementsPage-Catz8shX-jQUbirVv.js +0 -58
  340. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-6uZaRuCs.js +0 -58
  341. package/dist/assets/TrendWithTransactions-3D1FvM8G-C__bS1bm.js +0 -116
  342. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-CbLtbJQH.js +0 -38
  343. package/dist/assets/Vendor2FAPopup-D0zYKkIv-BygCz9U8.js +0 -1
  344. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-Dd_Yp7Po.js +0 -1
  345. package/dist/assets/VendorDetailPage-Br9wIOnI-D7IvjenZ.js +0 -257
  346. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-3VolPNUI.js +0 -1
  347. package/dist/assets/VendorFirstReviewPage-BbknTCBD-CXQ3X7Oj.js +0 -730
  348. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-QYQGZ34-.js +0 -1
  349. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-CbR031ng.js +0 -300
  350. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-DHL8XcBW.js +0 -443
  351. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-rP8-LNeM.js +0 -33
  352. package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-LpNGhMSo.js +0 -36
  353. package/dist/assets/chartTypes-CD3vrBsI--X3YDFNJ.js +0 -1
  354. package/dist/assets/commonDimensions-Oz1tdAcx-DcNBG7HB.js +0 -1
  355. package/dist/assets/downloadPdf-Dsuxeias-Cm2qRseb.js +0 -1
  356. package/dist/assets/epic-DmCiRuzo.js +0 -2
  357. package/dist/assets/lottie-Cne2KPqn.js +0 -2
  358. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CGykrO8u.js +0 -1
  359. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CG1HpWw1.js +0 -1
  360. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CoJtwaHe.js +0 -1
  361. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BEXH0Sn-.js +0 -1
  362. package/dist/assets/panelSelectedMixin-Cddsb26L-BYkFfnSr.js +0 -3
  363. package/dist/assets/react-Bug7UPVd.js +0 -19
  364. package/dist/assets/toCOABalancesWithID-aLNB35t7-a6z4p0gt.js +0 -1
  365. package/dist/assets/toChartData-DUL6vnzJ-DBy9U-ty.js +0 -1
  366. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CTAMYaR4.js +0 -1
  367. package/dist/assets/uploadReceipts-CIgkuVpu-CJ8IdAY6.js +0 -1
  368. package/dist/assets/zeni-epic-state-B4EHkeVq.js +0 -14
@@ -0,0 +1,314 @@
1
+ import{ax as Mt,a9 as Rt,J as Pt,d as Bt,cf as Nt,y as m,O as et,gl as Lt,gn as Ot,go as _t,V as t,cr as Ae,cs as Me,ct as Re,bE as Pe,aR as y,bq as Et,dx as Wt,gp as Kt,gA as Be,o as a,gq as Ne,fm as b,gt as x,fp as w,aP as Le,fl as Oe,b as V,gv as _e,aT as Ft,ap as Ut,gw as Vt,gx as re,bz as Ht,gy as Gt,x as Yt,H as qt,B as Jt,am as tt,bb as it,p as H,an as Zt,bX as Qt,aj as Xt,gS as ei,gO as ti,u as c,ck as ii,c$ as ai}from"./index-DqZ19at7.js";import{a as p}from"./sentry-DO9J0OD9.js";import{n as r}from"./mui-ZYC_cKE8.js";import{a as ri}from"./liveblocks-BTMi-6jm.js";import{bL as oi,bP as ni,FS as li}from"./zeni-epic-state-C5Hzx540.js";import si from"./InvoiceUploadSection-DYCjz9CI-DkR29XTT.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-ChNxRm0V.js";import"./lottie-DePu4yCn.js";import"./recharts-CPKKNFMD.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./AttachmentView-DB_V1qT1-BBS5lFy5.js";import"./uploadReceipts-Dge0cNF1-C53BLsXO.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]="c4b51a42-3cf1-458e-aceb-10d0897e76e5",e._sentryDebugIdIdentifier="sentry-dbid-c4b51a42-3cf1-458e-aceb-10d0897e76e5")}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),[Y,q]=p.useState(!1),[ct,J]=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}`,xe=p.useRef({}),we=l=>{const n=xe.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);we(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:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:xt,unResolveComment:wt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:O}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],_=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=_?.code==="paid",ft=Te?_:E?.code=="approved"&&W?.code?W:E,$=pi(e.remiDetails),R=E?.code=="approved"&&W?.code?W:E,K=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)},$t=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!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"),J(!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:F,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&F(z)},[z,F]);const{threads:P,isLoading:D}=Ot({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(_t)),[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),F(null))},[ae,P,D,U,F]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(_i,{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??$e,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=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Et,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(Oi,{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(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Kt,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:K}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ke?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ke,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:K})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Fi,{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(Ki,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.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(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:K})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ke?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ke,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(xi,{windowSize:o,ref:ze=>{ze!=null&&(xe.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(wi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return we(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({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:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.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:w({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(x,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({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(x,{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:w({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(x,{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:w({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(x,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({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(x,{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:w({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(x,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({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(x,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({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(x,{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:w({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(x,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({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(x,{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:w({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(x,{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(Wi,{windowSize:o,children:[t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:je,activities:e.remiActivities,stage:_?.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(Ei,{windowSize:o,children:t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(_e,{amount:je,activities:e.remiActivities,stage:_?.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||K===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(Ft,{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($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&Y?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:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"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(!Y),"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??$e,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:xt,threadUnResolve:wt},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
+ `,Ee=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
+ `,We=r(ii)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Ke=r.div`
33
+ width: 100%;
34
+ `,Fe=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
+ `,xi=r.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,wi=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
+ `,$i=r.div`
64
+ display: flex;
65
+ justify-content: flex-end;
66
+ `,vi=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(Yt)`
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
+ `,Oi=r.div`
217
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
218
+ margin-left: ${a.sp5};
219
+ `,_i=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
+ `,Ei=r.div`
251
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
252
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
253
+ `,Ye=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
+ `,Je=r(Jt)`
266
+ flex-grow: 1;
267
+ ${e=>`${mi.formTitle.style(e.windowsSize)}`};
268
+ color: ${e=>e.theme.colors.primary};
269
+ word-break: break-all;
270
+ `,Wi=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
+ `,Ki=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
+ `,Fi=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,d as S,J as k,aS as le,V as e,aR as a,fx as ae,bE as de,i as u,af as d,O as V,o as r,ar as me,R as ce,aV as E,an as pe,y as xe,p as z,cG as he,aW as ue,bc as ge,u as we}from"./index-DqZ19at7.js";import{a as j}from"./sentry-DO9J0OD9.js";import{n as s}from"./mui-ZYC_cKE8.js";import{FR as je,bT as be}from"./zeni-epic-state-C5Hzx540.js";import{C as fe}from"./VideoPopup-C_SkBI9U-BcIEWeMW.js";import{M as v}from"./usp-line-BBd1wKwW-BjY16bQv.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./VideoPlayer-BRAgZThr-DjmJcTCC.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]="62a502e8-27f1-42a8-9196-373bb71e2307",i._sentryDebugIdIdentifier="sentry-dbid-62a502e8-27f1-42a8-9196-373bb71e2307")}catch{}})();const F="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=s.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=s.div`
8
+ padding: ${i=>i.windowSize==="small"?`${r.sp0} ${r.sp3}`:`${r.sp0} ${r.sp8}`};
9
+ text-align: center;
10
+ `,ke=s(ce)`
11
+ max-width: 648px;
12
+ margin: auto;
13
+ padding: ${r.sp7} ${r.sp0};
14
+ color: ${i=>i.theme.colors.primary};
15
+ `,ze=s(me)`
16
+ max-width: 600px;
17
+ margin: auto;
18
+ padding: ${r.sp5} ${r.sp0};
19
+ color: ${i=>i.theme.colors.primary};
20
+ `,O=s.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=s.div``,L=s.div`
27
+ display: flex;
28
+ flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
29
+ align-items: center;
30
+ justify-content: center;
31
+ `,g=s.img``,_=s.div`
32
+ width: ${i=>i.windowSize==="small"?"auto":"376px"};
33
+ display: flex;
34
+ flex-direction: column;
35
+ `,N=s.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
+ `,W=s.div`
44
+ margin-left: ${i=>i.windowSize==="small"?r.sp0:r.sp6};
45
+ margin-bottom: ${i=>i.windowSize==="small"?r.sp4:r.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
+ `,m=s.div`
51
+ border-radius: ${r.sp12};
52
+ border: ${i=>`1px solid ${i.theme.colors.grey2}`};
53
+ padding: ${i=>i.windowSize==="small"?`${r.sp2} ${r.sp4} ${r.sp2} ${r.sp0}`:`${r.sp3} ${r.sp5} ${r.sp3} ${r.sp0}`};
54
+ background: ${i=>i.theme.colors.grey5};
55
+ position: relative;
56
+ margin-bottom: ${r.sp3};
57
+ display: flex;
58
+ align-items: center;
59
+ text-align: start;
60
+ box-sizing: border-box;
61
+ `,b=s(ge)`
62
+ color: ${i=>i.theme.colors.champion};
63
+ `,f=s(ue)`
64
+ color: ${i=>i.theme.colors.champion};
65
+ `,y=s(E)`
66
+ color: ${i=>i.theme.colors.champion};
67
+ `,$=s(he)`
68
+ color: ${i=>i.theme.colors.champion};
69
+ `,c=s.div``,p=s.div`
70
+ padding-left: ${r.sp3};
71
+ `,M=s(E)`
72
+ margin: ${i=>i.windowSize==="small"?r.sp1:`auto ${r.sp5}`};
73
+ color: ${i=>i.theme.colors.grey1};
74
+ `,G=s(v)`
75
+ color: ${z.graphColor16Dark};
76
+ `,H=s(v)`
77
+ color: ${z.graphColor09Dark};
78
+ `,q=s(v)`
79
+ color: ${z.success};
80
+ `,D=s(pe)`
81
+ margin: ${r.sp3} auto;
82
+ max-width: 772px;
83
+ color: ${i=>i.theme.colors.hero};
84
+ `,t=V.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=V.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(O,{windowSize:o,children:[e.jsx(N,{windowSize:o,children:e.jsx(W,{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:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(O,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.simplestText.bold}),e.jsx(b,{children:t.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.aiPoweredText.bold}),e.jsx(b,{children:t.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.multiLevelApprovalText.bold}),e.jsx(b,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(N,{windowSize:o,children:e.jsx(W,{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:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),re=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),se=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!se,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:re.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:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.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,t.terms.terms3]})]})})]})]})};export{_e as default};
@@ -1,4 +1,4 @@
1
- import{g as Ee,e as Ve,aS as N,aa as qe,cQ as Ge,O as Ie,aX as Ce,V as t,fr as Je,d as J,x as s,bE as Ze,L as Qe,ae as Xe,fI as ve,e1 as Ye,fJ as Ke,by as et,dS as tt,aT as it,o as a,fL as nt,u as n,cq as ot,cU as at,eJ as lt,fU as ke,fV as $e,gu as st,a as rt,ac as Pe,N as Ae,bO as ct,ak as dt,bv as ut}from"./index-CurP1SOA.js";import{a as o}from"./sentry-CDHeVBhK.js";import{n as i}from"./mui-BxEa6oIz.js";import{bJ as mt}from"./zeni-epic-state-B4EHkeVq.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-Wl4Spdpn-CbLtbJQH.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.js";(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]="23347f5b-3129-4fc8-b1dc-ea376bc6b27a",e._sentryDebugIdIdentifier="sentry-dbid-23347f5b-3129-4fc8-b1dc-ea376bc6b27a")}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=Ee(),{formState:{errors:Q},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Q,E),{localData:c,updateStatus:U,mileageStatus:w}=p,F=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:K}=Ie.getLocalizedStrings(),{reimbursement:ee}=K,[S,V]=o.useState(F),[te,W]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),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}=Y,ne=S===!1||U.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(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{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(Ct,{})]})]}),t.jsxs(Et,{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:E,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(Tt,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&F&&!x&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:U.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`
1
+ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as Je,p as J,y as s,bE as Ze,T as Ye,ad as Xe,fy as ve,dS as Ke,fz as Qe,by as et,dI as tt,aT as it,o as a,fB as nt,u as n,ck as ot,cL as at,ex as lt,fK as ke,fL as $e,gk as st,i as rt,aR as Pe,H as Ae,bO as dt,aj as ct,bv as ut}from"./index-DqZ19at7.js";import{a as o}from"./sentry-DO9J0OD9.js";import{n as i}from"./mui-ZYC_cKE8.js";import{bJ as mt}from"./zeni-epic-state-C5Hzx540.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";(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]="bfd0bd4c-3837-4e85-8f81-cba7ad90eb98",e._sentryDebugIdIdentifier="sentry-dbid-bfd0bd4c-3837-4e85-8f81-cba7ad90eb98")}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=Te(),D=Ee(),{formState:{errors:Y},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Y,E),{localData:d,updateStatus:U,mileageStatus:w}=p,F=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:K,spendManagement:Q}=Ve.getLocalizedStrings(),{reimbursement:ee}=Q,[S,T]=o.useState(F),[te,H]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&T(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||H(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=K,ne=S===!1||U.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(St,{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(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(Tt,{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:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:V=>V!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(It,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&F&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:U.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:V=>{V.stopPropagation(),T(!0),H(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Vt,{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`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
@@ -14,7 +14,7 @@ import{g as Ee,e as Ve,aS as N,aa as qe,cQ as Ge,O as Ie,aX as Ce,V as t,fr as J
14
14
  `,wt=i.div`
15
15
  ${e=>`${ge.title.style(e.windowSize)}`};
16
16
  color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
17
- `,St=i(dt)`
17
+ `,St=i(ct)`
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: flex-start;
@@ -68,7 +68,7 @@ import{g as Ee,e as Ve,aS as N,aa as qe,cQ as Ge,O as Ie,aX as Ce,V as t,fr as J
68
68
  `,At=i.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
- `,jt=i.div``,Dt=i(ct)`
71
+ `,jt=i.div``,Dt=i(dt)`
72
72
  color: ${e=>e.theme.colors.comingSoon};
73
73
  margin-left: ${a.sp3};
74
74
  `,Et=i.div`
@@ -77,18 +77,18 @@ import{g as Ee,e as Ve,aS as N,aa as qe,cQ as Ge,O as Ie,aX as Ce,V as t,fr as J
77
77
  flex-direction: column;
78
78
  justify-content: flex-start;
79
79
  margin-top: ${a.sp3};
80
- `,Vt=i.div`
80
+ `,Tt=i.div`
81
81
  display: flex;
82
82
  height: ${a.sp6};
83
83
  width: 100%;
84
84
  position: relative;
85
- `,It=i.label`
85
+ `,Vt=i.label`
86
86
  display: flex;
87
87
  padding-left: ${e=>h.infoLabelPaddingLeft.valuePx(e.size)};
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
- `,Tt=i.div`
91
+ `,It=i.div`
92
92
  display: flex;
93
93
  position: absolute;
94
94
  top: 50%;
@@ -103,7 +103,7 @@ import{g as Ee,e as Ve,aS as N,aa as qe,cQ as Ge,O as Ie,aX as Ce,V as t,fr 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",Yt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:d,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Q,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onEstablishConnectionSuccess:U,updateMileageDetails:w,onUpdateAccountClick:F,onUpdatePrimaryFundingAccount:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:V,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Ee(),u=Ve(),[O,T]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Te,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:B,approvalRulesStatus:Ue}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!O&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&T(!0),O&&_==="In-Progress"&&v==="Completed"&&T(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,be,se.fetchState,we,re.fetchState]);const Fe=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),We=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&Y(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.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"),F(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(G)){const b=R[G];w(b)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>We(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&V()},[V,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Oe}=He,{reimbursementSetup:M}=Oe,{setUp:k}=Se,ce=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,de=ze?.isReimbursementEnabled===!0,Be=ce?Se.setUp.setupVerifiedSubTitle:M.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=()=>{!O&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?T(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:O,onClose:()=>T(!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:()=>T(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Q,showMenuIcon:!de&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Be}),_e?t.jsx(Ut,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(je),onSubmit:Fe,children:t.jsxs(Ft,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Ke,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:U,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:B.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:B.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:E,status:B.length>0?Ue:void 0})]})})})]}),ce&&!de&&B.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Te.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:ce&&!de,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=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",q="remiAccount",G="remiMileage",Kt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:U,updateMileageDetails:w,onUpdateAccountClick:F,onUpdatePrimaryFundingAccount:K,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:T,onSaveMileageClick:te,onClickMenuIcon:H,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:V})=>{const W=Ee(),u=Te(),[B,I]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ie,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Ue}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),z=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"&&I(!0),B&&_==="In-Progress"&&v==="Completed"&&I(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,be,se.fetchState,we,re.fetchState]);const Fe=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),He=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&K(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.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"),F(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(G)){const b=R[G];w(b)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>He(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&T()},[T,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:We}=Ve.getLocalizedStrings(),{reimbursement:Be}=We,{reimbursementSetup:M}=Be,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Se.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=W.mode==="light"?new Ce(W.colors.brandColorJadeLight):new Ce(W.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?I(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>I(!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:()=>I(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:H,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ut,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(je),onSubmit:Fe,children:t.jsxs(Ft,{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:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:U,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:V,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:M.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:E,status:O.length>0?Ue:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ie.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
107
107
  display: flex;
108
108
  min-height: 100%;
109
109
  flex-direction: column;
@@ -137,4 +137,4 @@ import{g as Ee,e as Ve,aS as N,aa as qe,cQ as Ge,O as Ie,aX as Ce,V as t,fr as J
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:d}=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: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{Yt as default,De as uniqueName};
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{Kt as default,De as uniqueName};
@@ -0,0 +1 @@
1
+ import{V as f,cr as V,cs as M,ct as K,ke as W,a_ as q,O as z}from"./index-DqZ19at7.js";import{a as b}from"./sentry-DO9J0OD9.js";import{Gp as G}from"./zeni-epic-state-C5Hzx540.js";import{u as X}from"./ReviewOverlay-BoM41t8W-B3q95pxr.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./mui-ZYC_cKE8.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="2366a228-1f68-44b5-8aa8-1aed94f114e2",e._sentryDebugIdIdentifier="sentry-dbid-2366a228-1f68-44b5-8aa8-1aed94f114e2")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=b.useState(!1),[m,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,H]=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,S=m.filter(d=>d.reviewStatus.code!=="error").length,F=()=>{const{title:d,description:C}=Y(S);A({type:"reject",title:d,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:d=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,G(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},O=()=>{let d=a.footer.approve;return T?d=a.texts.close:t==="send_for_approval"&&(d=a.footer.submit),{label:d,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:F,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[x?f.jsx(V,{titleComponent:f.jsx(K,{children:w.title}),descriptionComponent:f.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(X,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:O(),cancelButton:N,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=W(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:q("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},Y=e=>{const{this_:o,these:i,report:u,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__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let m="",_="";return e==="Completed"&&!u?(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?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(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};
@@ -1,8 +1,8 @@
1
- import{g as l,V as r,aP as a,b4 as f,O as m,ac as y,aU as h,bG as g,ak as u,o as c,b5 as w}from"./index-CurP1SOA.js";import{n as s}from"./mui-BxEa6oIz.js";import{a as d}from"./sentry-CDHeVBhK.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]="9ed483a1-2499-4b50-b63c-0088e23eec04",e._sentryDebugIdIdentifier="sentry-dbid-9ed483a1-2499-4b50-b63c-0088e23eec04")}catch{}})();function b({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=s(h)`
1
+ import{d as l,V as r,aO as a,b4 as f,O as y,aR as m,aU as h,bG as g,aj as u,o as c,b5 as w}from"./index-DqZ19at7.js";import{n as d}from"./mui-ZYC_cKE8.js";import{a as s}from"./sentry-DO9J0OD9.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]="6f18c949-9689-4ee3-ab1d-702c078fdcad",e._sentryDebugIdIdentifier="sentry-dbid-6f18c949-9689-4ee3-ab1d-702c078fdcad")}catch{}})();function j({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(h)`
2
2
  justify-content: flex-start;
3
- `;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const j=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=s(h)`
3
+ `;function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(j,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const b=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=d(h)`
4
4
  justify-content: space-between;
5
- `,k=s.div`
5
+ `,k=d.div`
6
6
  height: ${c.sp10};
7
7
  width: ${c.sp10};
8
8
  background: ${e=>e.theme.colors.background};
@@ -19,8 +19,8 @@ import{g as l,V as r,aP as a,b4 as f,O as m,ac as y,aU as h,bG as g,ak as u,o as
19
19
  color: ${e=>e.theme.colors.primary};
20
20
  }
21
21
  }
22
- `,$=s(u)`
22
+ `,$=d(u)`
23
23
  color: ${e=>e.theme.colors.champion};
24
- `,v=s(u)`
24
+ `,v=d(u)`
25
25
  color: ${e=>e.theme.colors.hero};
26
- `,E=s(j)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":y("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(E,{})}),r.jsx(v,{children:m.getLocalizedStrings().card.failedText})]})})}export{T as E,D as I,V as T};
26
+ `,L=d(b)``;function _({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(L,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{T as E,D as I,_ as T};