@zeniai/web-cockpit-ui 1.15.39-qa → 1.15.40-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 (332) hide show
  1. package/dist/assets/ACHDetailsPage-DpLTXUS2-D0c1tGuw.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DlTdGosv-BAgeiPmO.js → AIPerformancePage-ByRPO3mW-3EbdmQ_-.js} +104 -104
  3. package/dist/assets/AccountInfoPage-BfVVOaTL-D3vk9TdW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BS2TBUSE-vsGLXorb.js → AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js} +15 -15
  5. package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CLh6hMw4.js → AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js} +18 -18
  7. package/dist/assets/AccountRow-nSloLUTN-C7-a59B1.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BQ85fNBD.js → AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C4EwdLZJ-B_zG1g-k.js → AddToWalletPage-CKOnAq6_-CqcvkHGd.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-vAvkUfOS-DI-FeGoC.js → AgingReportsPage-CUcu_cHV-Do94-_mv.js} +5 -5
  12. package/dist/assets/{AllUserItems-qrYg6Gdx-UTjuVZZB.js → AllUserItems-BbhDuv3Y-CPWfHpie.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js +46 -0
  14. package/dist/assets/{AppBasePage-DrE-W6d7-uRp1s1KV.js → AppBasePage-Cc3o50Ar-BZVIdQ2o.js} +12 -12
  15. package/dist/assets/{AppDrawerContent-ATbZG_cu-B6DLMEZB.js → AppDrawerContent-moxx3tLo-DWEBLXQy.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js +47 -0
  17. package/dist/assets/{ArAgingChart-CuzG9AZY-8eWrWtAO.js → ArAgingChart-DuwEWasX-B7DcyKyM.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DwRkcLEu-1obcA6lF.js → ArAgingDetailPage-DGETibBB-BtDKR53R.js} +6 -6
  19. package/dist/assets/{AttachmentView-BrQRChzc-ZayiRyZC.js → AttachmentView-Q7kiwPOS-BNETSDSC.js} +5 -5
  20. package/dist/assets/{BankAccountSection-hcKEMs80-wZlh5GSi.js → BankAccountSection-Ct31GOKt-CADjKttV.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-CPKRaP1s.js → BankAccountWarningSection-ko9DqAKK-BfybEzCK.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-DENiRulM.js → BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js} +14 -14
  23. package/dist/assets/{BillDetailPage-D0NLFZXA-idtsM4af.js → BillDetailPage-DKDNgnqK-2cg0C7-c.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BAPQ2OnN.js → BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-s1-j5O2T.js → BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js} +12 -12
  26. package/dist/assets/BillPayPromoPage-CszEgRZk-BTqdbqxQ.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-WdEdbf16-BhfuePfW.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-9uV4vEJB-CnXv1V73.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-BX-KKXKs.js → BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js} +1 -1
  30. package/dist/assets/{BoxItem-CACRFWG2-Ren223Wk.js → BoxItem-Qhw9iPt9-CzMCE4d7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-9gZbBDL6-CkTxaZm4.js → BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js} +9 -9
  32. package/dist/assets/{CardNumberSubText-C-oVdziK-DKs-Skfh.js → CardNumberSubText-r5Tf-P5n-CPkrSmch.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BhFKSl4p-B-Ntsd90.js → CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BdjOzswd.js → ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js} +39 -39
  35. package/dist/assets/{ChargeCardListPage-tdUKyHdz-DiHyKK7l.js → ChargeCardListPage-CsFYpoaM-guNcti1f.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-CByk3iqX-De61_zRL.js → ChargeCardListTable-D8exMgXq-BTYKr9bX.js} +39 -39
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CN9h02wy.js → ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js} +39 -39
  38. package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-DgpLxIiq.js → ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-Do0awbvY.js → ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-DL5qh7cC.js → CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-Cq8bhaYC-CZx2j0pM.js → CollapsableReportTable-CoDaSHJN-BeRkup1e.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-BxDFACQl.js → CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CHaKk74P-BrRUuhAj.js → CompanyPassportCard-CG5saSQ3-DNwsmEMg.js} +5 -5
  45. package/dist/assets/{CompanyPassportPage-DXWXFFKM-YRrsW7zl.js → CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js} +21 -21
  46. package/dist/assets/{CompleteProfile-ChaWsK6t-DR5LLsbx.js → CompleteProfile-BqPvCgUX-A6-sj2cx.js} +1 -1
  47. package/dist/assets/ConfettiBurst-B2xVyUMV-0H5gfw7o.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DS_SX5Rc.js → ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CW-u-9AN.js → CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-rxUCJ2nm.js → CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js} +11 -11
  51. package/dist/assets/CurrencySelectField-DDmu3bja-D1d_Ut_Z.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-BjlfLwhf.js → CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DxQXlI51.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B7jFIamI.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-CjCxpyH5.js → CustomerOnboardingPage-rvO0Stsl-D7f95vft.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DVc7TctC.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js} +10 -10
  58. package/dist/assets/{Dashboard-Csggwob0-BO3QbyVw.js → Dashboard-BFesVYJk-BNAlL83k.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-DFIdi_I0-D7EM2nxK.js → DashboardReportPage-CdNJfWUo-DOYF0wYK.js} +23 -23
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-BwbeKyPH.js → DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-DAmQEIBE.js → DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-1dw1FF3E.js → DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-4f9deyJS-DZFtNi4N.js → DownloadOverlay-DYUlDQr8-qBFIPpKK.js} +26 -26
  65. package/dist/assets/{DrawerPage-roO3xvRT-6os6qo37.js → DrawerPage-jU38Lq6Q-AHgBQfC_.js} +13 -13
  66. package/dist/assets/EditPeoplePage-Dw9mMyyp-DPDs2n-w.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CIUcImns-BDU5lh2j.js → EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js} +82 -82
  68. package/dist/assets/EntityDetailPage-C2Ix5fwl-gSVT_FTR.js +18 -0
  69. package/dist/assets/{EntitySummarySection-fBL4TZpT-TkV0Oz1a.js → EntitySummarySection-BzzwWXw2-D_F7Rlzp.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Dr9hWqJP.js → ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BOOA30kB-BufH1Btg.js +3001 -0
  72. package/dist/assets/{ExpressPayPage-c8oTCnBR-CwUvXlgh.js → ExpressPayPage-B8_m64s9-wdqPmdTX.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-DkiAajs2-C3ytwSVb.js → FeaturePreviewPage-BLWGNRVo-C92AU0mn.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-GaWu1kt9-lgNwy5h-.js → FollowStepsSection-CBVDfZ38-nmHmpAVz.js} +57 -57
  75. package/dist/assets/GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js +291 -0
  76. package/dist/assets/{InformationCardStack-dMFbHUWM-CKh2M5k7.js → InformationCardStack-D8hkkUkN-B1MHqZTM.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-BlXkyuyz-DMBEm68j.js → InsightsCardStack-T3ZL19C0-BBaRu6Cu.js} +9 -9
  78. package/dist/assets/InsightsSection-CVioRrr2-CEMLw-o0.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-CY_OuXB5.js → IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Bp-YhTPe.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js +65 -0
  82. package/dist/assets/{InviteFormPage-BCdalqtP-DEmhTBcW.js → InviteFormPage-Dw-l-O7n-B74WmVBo.js} +16 -16
  83. package/dist/assets/{InvitePageListView-B88FW48q-CJJQfk5m.js → InvitePageListView-CGjk-eOP-ClDlh7fM.js} +48 -48
  84. package/dist/assets/InvitePeoplePage-DSg5Quam-VrkZhbUi.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-B6wmvbEr-B2zhxp3c.js → IssueChargeCardPage-BASDviuN-Der3X_t9.js} +34 -34
  87. package/dist/assets/{LabeledAddressValue-CQrDCgNs-CqrzxeUV.js → LabeledAddressValue-IPGwjeYh-CkaMLxji.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-BoHS44YO-C0d1SGUs.js → LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-DwXn17zh.js → LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-Bf_H2WLZ.js → LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DYysX-lx.js → LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js} +4 -4
  94. package/dist/assets/{LabeledText-2EDpuXZ4-ZljRY_j7.js → LabeledText-D1RmgOs9-q82PtDVl.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BRHOan2E.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js} +15 -15
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CvLZx4pY.js → LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js} +26 -26
  97. package/dist/assets/LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js +98 -0
  98. package/dist/assets/{LockCardPage-CHv1xi2J-mXPWUl04.js → LockCardPage-BVpW2BeO-aNMVewaJ.js} +42 -42
  99. package/dist/assets/{LowBalancePopup-Cb55PGLc-C16_RtCi.js → LowBalancePopup-DTUaytjD-DS1CDgAE.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-ByGqXE4C.js → MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-Cbz2IXfC.js → MailingDetailsSection-q49nDsf9-CpQRrqml.js} +6 -6
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-nJ31HAIY.js → MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-D40mm3Me-BP-31NhD.js +85 -0
  109. package/dist/assets/NavBarWithPicker-DuTo0ZPb-C_jShNIM.js +30 -0
  110. package/dist/assets/{NavigationArrow-kQWS5Pzb-BnLTYFqA.js → NavigationArrow-BvkBQmTR-Df9u1P7d.js} +7 -7
  111. package/dist/assets/{NavigationDots-BQb_Fodq-DPmycbJO.js → NavigationDots-DyeJVxnu-BWgE-kd3.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-z86XZorn-D_P0X2rA.js → NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js} +34 -34
  113. package/dist/assets/NoDataChart-j3LPkJML-DH_2yb3S.js +26 -0
  114. package/dist/assets/{NoDataTable-DVe7sQhD-BBvSxmca.js → NoDataTable-BnwGiTCu-DdjmD7IA.js} +1 -1
  115. package/dist/assets/{NotFoundPage-B1XCmhSe-Bswe3x_k.js → NotFoundPage-Ds5RxwiG-CAZIdfn2.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-BaN20EGV-Jcu5M-rf.js → NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js} +30 -30
  117. package/dist/assets/NotificationsListConfig-_L5Loigk-C2rXa9XH.js +1 -0
  118. package/dist/assets/{NotificationsPage-C9efAgjo-AlTPK97H.js → NotificationsPage-DYE-ZefG-CQb2VS6_.js} +40 -40
  119. package/dist/assets/OpExByVendorPage-Br2UmBAk-C4xtYWdA.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-DvH5zFFZ.js → OverlayContainerPage-D4QU0p4o-C2DruCao.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CXtJhnA_-iJiggxC0.js → PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js} +13 -13
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-uyk9ZZRm.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js} +14 -14
  123. package/dist/assets/PeoplePage-DSSY4CbY-CUJyHd04.js +727 -0
  124. package/dist/assets/{Preview-CoirdzrN.js → Preview-DH9wlYN4.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ufZlh7Rx-STTMhn6O.js → ProductsCarousel-JcjsFk4w-xghMAqt2.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-D2UbhBhT-B3nRp3gI.js → PromoBaseCards-D8xPcjkz-DtK0GWHd.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-BrQ71F06-EpGzmSYw.js → QBOConnectionDialog-KDwylUf5-DEEWOQtl.js} +6 -6
  128. package/dist/assets/QBOSetupSection-Dts3QjOd-CSmveDbb.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-NbE0JcCj.js → ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js} +11 -11
  131. package/dist/assets/ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-B7nNFf49-09B6QAJH.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-dqwxz6WG.js → ReimbursementSetUpPage-B6l3L19G-D3utfB62.js} +13 -13
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DyrixQpU.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js} +1 -1
  135. package/dist/assets/{ReloadCard-vAhL7B8U-Byu7tcBj.js → ReloadCard-pCquFw6w-C5Nq3bfI.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-Y97ney3W-ChUmdWxl.js → ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js} +28 -28
  137. package/dist/assets/{ReportsPage-DKM0gVzR-CJveAb23.js → ReportsPage-BOsLdYhx-DZO6PKlQ.js} +4 -4
  138. package/dist/assets/{RevenueChart-BEjDS1u4-BbPYev-x.js → RevenueChart-DPse5Wdo-AFfFtyYx.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-BlQLrN9z-eEn9iGLz.js → ReviewDetailsPage-DTCm09MF-BtzB7MPB.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Bn3TFqfi-O6NbaoDZ.js → ReviewOverlay-B2XV0Wf1-9HOJu6NK.js} +25 -25
  141. package/dist/assets/RoleWithToolTip-DpaXFRka-BbRU76xe.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-HZszSQpF.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CVCxLNNn.js → ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-CrLLNfgO.js → ScheduleSequenceTable-O93ZenyD-DnPGdohK.js} +44 -44
  145. package/dist/assets/{ScreenRoutes-BI5VdJ1u.js → ScreenRoutes-uNOGWUGZ.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-CoVrSSYL-Cz_V0ppu.js → SetUpAccountSection-Dl68db5l-B4jqgZUp.js} +5 -5
  147. package/dist/assets/SignIn-D6twztsA-CW5yhgyV.js +491 -0
  148. package/dist/assets/SignInScreen-CxdUYlBE.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-D3eISFuA-A-aeBT_y.js → SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js} +21 -21
  150. package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-jknB6oUt.js → SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js} +13 -13
  151. package/dist/assets/{SpendManagementSection-D8rBpC-y-C-1Tmmxs.js → SpendManagementSection-DbsdVrJv-B_c96ZIs.js} +23 -23
  152. package/dist/assets/StatementItem-D1vvnzNl-lXFrHXXQ.js +31 -0
  153. package/dist/assets/StatementsPage-XAVpAiKL-Ch4pndMa.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B9MARTyR-uN5xb-gX.js → StatusSwitcher-B4EYXc0F-D3lCfolE.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-C3rtSwro-Ck4vI9j3.js → SubTabSwitcher-CM9v4rRl-lIA1fOJE.js} +3 -3
  156. package/dist/assets/{SummaryCard-CShVbqhj-C0mR12Rj.js → SummaryCard-CF9Nbk_i-CKrtYMiz.js} +1 -1
  157. package/dist/assets/TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-8rb8PRgV.js → TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js} +2 -2
  159. package/dist/assets/TimeframeSwitcher-Ca28fZEt-4kauNdEu.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js +31 -0
  161. package/dist/assets/{TopExCard-dI_WEGWb-CkfKmcqH.js → TopExCard-DHDNaLww-Cp9pW08N.js} +11 -11
  162. package/dist/assets/{TopExDetailPage-BWy5E8Lp-DoEOTa6r.js → TopExDetailPage-DFzrCiVG-BvTfiPwy.js} +14 -14
  163. package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CVk9j3q-.js → TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js} +23 -23
  164. package/dist/assets/TransactionDetailPage-BCTtqHfm-n6NqpKTK.js +903 -0
  165. package/dist/assets/{TransactionList-80KjM8Kg-DZ_flqbd.js → TransactionList-DVFUdewa-8p0Xausj.js} +20 -20
  166. package/dist/assets/{TransactionListBig-DWQXH4ID-BE0-yEmC.js → TransactionListBig-Daypmugt-AiYr5uVw.js} +20 -20
  167. package/dist/assets/TransactionListPage-CzwkHzb_-Dnj7c_uL.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DE1VmPu5.js → TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-6z-MoZZP-mZshzkdg.js → TransferDrawerPage-DyFcSYZt-7PU8dYYK.js} +35 -35
  170. package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BmiahUtt.js → TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js} +28 -28
  171. package/dist/assets/{TreasuryPromoPage-Do-PTcjI-T5HTleFc.js → TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js} +19 -19
  172. package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-lW4e98bP.js → TreasuryStatementsPage-izaxVrJg-BOmcBurT.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js +58 -0
  174. package/dist/assets/{TrendChart-C6B61CAm-ccvYw3Dl.js → TrendChart--F9P_tcq-CTI_f8th.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DKvam-cU.js → TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-V_1ur7kN.js → UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-B3EZbw6Q.js → UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-BRMPwclY-C7lmw7U-.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js +1 -0
  181. package/dist/assets/{VendorDetailPage-C4g_Gfsl-DfxhJWr1.js → VendorDetailPage-DTQ-KiJz-BjFrWJYo.js} +90 -90
  182. package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C82dbC0z.js → VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-DTOwONia-CpI3YCe1.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BmpQ62rU.js → VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BT-RADSV-CZeFwZz5.js → VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js} +3 -3
  188. package/dist/assets/{VerifyDevice-Cxc9CVMi-BL8Egn6k.js → VerifyDevice-CG1Qj4Lm-DigRc0-f.js} +4 -4
  189. package/dist/assets/{VideoPlayer-9UkKMhGy-C8Jc8YBV.js → VideoPlayer-BdIPlzSd-DYXLi2NY.js} +2 -2
  190. package/dist/assets/{VideoPopup-rfiYmtio-B4L2ZckC.js → VideoPopup-W2U47mhU-BbkemVhS.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-DrUA4asI-BBme1los.js → WarningsDrawerPage-D0aOjGDf-CAbcgcID.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-K016HgQt-D8aykdnG.js → ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-ZWNmYkTh.js → ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js} +21 -21
  194. package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-D6O2YpV6.js → ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js} +23 -23
  196. package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BpRQpJq9.js → ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-BxIwmms--C95f1QNY.js → ZeniCopyright-Chrw_zb6-BKj6eUA-.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-C0zCo5eT.js → ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DHGXNW7A.js → add-to-wallet-DgdBD8_G-B2IvxXWv.js} +1 -1
  200. package/dist/assets/{analytics-DRAIIXch.js → analytics-DtwjxHiX.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CT5zOInj-DuapFtcv.js → analyticsHelper-BqOb8jb5-CGkPFK_O.js} +1 -1
  202. package/dist/assets/analyticsHelper-j8OuskUt.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CWU-GbXg.js → arrow-south-east-round-PEovUgvH-BA8Ep9QS.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CbUcm6tD.js → auto-transfer-rule-mbafm5D3-HGlxBiye.js} +1 -1
  205. package/dist/assets/{chartTypes-Ddw_3-6f-OViFz2fj.js → chartTypes-kba3vib6-DZ27Jj39.js} +1 -1
  206. package/dist/assets/commonDimensions-D0kIxeo5-RDa02x_3.js +1 -0
  207. package/dist/assets/{commonTypes-B-foaEwJ-B7UyHR11.js → commonTypes-0d0JMX8y-CalDLikD.js} +1 -1
  208. package/dist/assets/{constants-ov1sZD-8.js → constants-CE9jAcY0.js} +1 -1
  209. package/dist/assets/{core-DTkIP9TV.js → core-XvwDdaId.js} +1 -1
  210. package/dist/assets/{dash.all.min-Bt5zmw-k.js → dash.all.min-CrBcFpeF.js} +1 -1
  211. package/dist/assets/{detailCommon-Cpgf9GLg-1WCjE92a.js → detailCommon-ttGeF18U-BSDu3BLp.js} +4 -4
  212. package/dist/assets/downloadPdf-DX8GL4Ja-x4buR44L.js +1 -0
  213. package/dist/assets/{empty-_n93FfZv.js → empty-Bl-Hsev3.js} +1 -1
  214. package/dist/assets/{empty-CeGcB9xa.js → empty-y-VvSSjQ.js} +1 -1
  215. package/dist/assets/epic-BbATrl1e.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-D96tOflH.js → gift-box-Cmt9OgIZ-D1YJhnVt.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-2POgqjOa.js → graphic-no-data-l-DU4J8fDt-DPnV1HVO.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-PUK4CMqN.js → graphic-no-data-net-burn-l-CzmycA0m-eKmdez3u.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-bjRX7vgu.js → handshake-BPg58FML-CaQoUCG-.js} +1 -1
  220. package/dist/assets/{helper-DP3YY99s-BW2j4jJ8.js → helper-YFgDgQKT-BC5Bdlf5.js} +2 -2
  221. package/dist/assets/{index-BhMHzjtQ.js → index-BqGj3wsF.js} +1 -1
  222. package/dist/assets/{index-CK3umv0l.js → index-DAtPGjek.js} +1 -1
  223. package/dist/assets/{index-Dkuq8pxE.js → index-DQrFoID0.js} +1 -1
  224. package/dist/assets/{index-BZzvu_l6.js → index-DfiMoEY6.js} +1 -1
  225. package/dist/assets/{index-Dn4fsqrg.js → index-Dfs8yBxm.js} +3775 -3751
  226. package/dist/assets/{index-DDju9VB3.js → index-P3m51nfg.js} +1 -1
  227. package/dist/assets/{index-Dt5nJuRT.js → index-vpntWUJx.js} +1 -1
  228. package/dist/assets/{lexical-BiXOi-Hk.js → lexical-Huj_vwAQ.js} +1 -1
  229. package/dist/assets/{liveblocks-CN1Pe_iM.js → liveblocks-DO6Nvzzd.js} +1 -1
  230. package/dist/assets/{lottie-D0Yki-KW.js → lottie-Brfg_siY.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-uH_Ogwdr.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-CzCSY_0J.js → mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-75iAo6WN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js} +1 -1
  237. package/dist/assets/{mui-t9zesPMq.js → mui-BoUXdMXW.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CnQe9dJ6.js → page-detail-CWX5S47F-slNOFFuo.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-CXz-zqFv.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-D_KNQBWB.js → radio-default-CiSgisfh-8S_K4aeU.js} +1 -1
  241. package/dist/assets/{react-D5jt5O9g.js → react-B6Zv-pk5.js} +1 -1
  242. package/dist/assets/{react-Chk4J137.js → react-BEh8f-x0.js} +1 -1
  243. package/dist/assets/{react-DHDdhtnS.js → react-BM1bLfCE.js} +1 -1
  244. package/dist/assets/{react-HlghPMEn.js → react-CGUy3-Ee.js} +1 -1
  245. package/dist/assets/{react-CSiX3uCa.js → react-ClpUcFhc.js} +3 -3
  246. package/dist/assets/{react-B7247BHH.js → react-D2vJQnJN.js} +1 -1
  247. package/dist/assets/{react-CZ_HQvRg.js → react-D4fY6Hdc.js} +1 -1
  248. package/dist/assets/{react-6mE6xEOR.js → react-eG3wjELA.js} +2 -2
  249. package/dist/assets/{recharts-Cg59vN3o.js → recharts-Dx_NgewX.js} +1 -1
  250. package/dist/assets/{sentry-BKz9JNP2.js → sentry-Dje-_Mky.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CcQ6zo-4.js → shield-DOlUxcFf-DsKmOO4l.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-iCDy3BRW-D-QioPYy.js +1 -0
  253. package/dist/assets/{toChartData-BEjMhb7--hljEyiCG.js → toChartData-CLrjl2HT-B5rnppiY.js} +1 -1
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js +1 -0
  255. package/dist/assets/{uploadAttachment-DUpHzqMe-BJrE9eqG.js → uploadAttachment-_EPHKVvJ-BI-TRaFx.js} +22 -22
  256. package/dist/assets/uploadReceipts-Dge0cNF1-dznVP6mr.js +1 -0
  257. package/dist/assets/{url-D2VKambj.js → url-C9Sf7nFb.js} +1 -1
  258. package/dist/assets/{url-Bp3DApux.js → url-qAerZ0OB.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-DtC1Ioqh.js → useLongPress-GCK2COYQ-Dg3J9wpe.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-BblEFC3h.js → usp-line-BBd1wKwW-19qrO-Ih.js} +1 -1
  261. package/dist/assets/{utils-BjuPsonu.js → utils-CyvMfhu-.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-D4InWuWM.js → zeni-epic-state-DjuGgMVt.js} +34 -34
  263. package/dist/index.html +1 -1
  264. package/package.json +4 -4
  265. package/dist/assets/ACHDetailsPage-D2Xav-UW-is9JM5m9.js +0 -21
  266. package/dist/assets/AccountInfoPage-B8-8kUGD-B2Z0UV7R.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-aukulrV7-CdYEAqiv.js +0 -59
  268. package/dist/assets/AccountRow-BiEYR4Y1-hWgp6D7v.js +0 -298
  269. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-FEHxMu-0.js +0 -6
  270. package/dist/assets/ApAgingDetailPage-BRYQMwo2-BhXpwRj9.js +0 -46
  271. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BkvXbvGU.js +0 -47
  272. package/dist/assets/BillPayPromoPage-BMcP4EU5-Be0hFWHi.js +0 -84
  273. package/dist/assets/BillingSettingsPage-GtRUqSZm-uYwUUCLC.js +0 -44
  274. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-C0uZqtCo.js +0 -222
  275. package/dist/assets/ConfettiBurst-CdB5fRMt-Bh6yJ_JE.js +0 -1
  276. package/dist/assets/CurrencySelectField-BDqU4HVy-8fNMSxy8.js +0 -139
  277. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D3uhIFOz.js +0 -1
  278. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CXIflV0T.js +0 -12
  279. package/dist/assets/EditPeoplePage-pi5RclAj-Xf9KGbVz.js +0 -55
  280. package/dist/assets/EntityDetailPage-OTKTVNMD-wQz23B_S.js +0 -18
  281. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BtN-CwTS.js +0 -1703
  282. package/dist/assets/GlobalReviewListPage-DEzj0RVG-CSD-6H67.js +0 -291
  283. package/dist/assets/InsightsSection-D-oCmrir-DMVggX2r.js +0 -27
  284. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-BKi6QeHP.js +0 -65
  285. package/dist/assets/InvitePeoplePage-Z-2L7lWc-BmOpdSP1.js +0 -12
  286. package/dist/assets/InvoiceUploadSection-C8hytmay-Q3VhOkPv.js +0 -140
  287. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-4XGB8sMk.js +0 -16
  288. package/dist/assets/LabeledDocumentField-CnRk5aKZ-obiM30eu.js +0 -41
  289. package/dist/assets/LinkJETransactionPage-BhV2MnCY-D_XP8_tQ.js +0 -98
  290. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-6ODQvSli.js +0 -1
  291. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-v0nk__55.js +0 -1
  292. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Crch1oAl.js +0 -1
  293. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-HiPw3lTM.js +0 -31
  294. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D1brM7Kg.js +0 -6
  295. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-C6nrIT8O.js +0 -85
  296. package/dist/assets/NavBarWithPicker-D8WNahg--DvxXKLde.js +0 -30
  297. package/dist/assets/NoDataChart-CyYJ6icu-2mAZGTKF.js +0 -26
  298. package/dist/assets/NotificationsListConfig-BOW_TmPC-CVA0OePe.js +0 -1
  299. package/dist/assets/OpExByVendorPage-DXeBU3-z-BAHAWgTa.js +0 -100
  300. package/dist/assets/PeoplePage-DXC2CtOt-mv-o3ADV.js +0 -675
  301. package/dist/assets/QBOSetupSection-EOFscEW--Bv7YFpyw.js +0 -79
  302. package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BZg3FS4x.js +0 -32
  303. package/dist/assets/ReimbursementDetailPage-CfmICHZb-BNHQvvJm.js +0 -314
  304. package/dist/assets/ReimbursementPromoPage-DXTAY8c7-CKYJHwk8.js +0 -84
  305. package/dist/assets/RoleWithToolTip-DhBFvJea-CE-fnoX1.js +0 -22
  306. package/dist/assets/SignIn-BoAejo7r-B94hTR-u.js +0 -491
  307. package/dist/assets/SignInScreen-Buf8ytnC.js +0 -1
  308. package/dist/assets/StatementItem-Cu6dlAsl-CDLaPyDW.js +0 -31
  309. package/dist/assets/StatementsPage-DiY2BOcu-B6GmkSJH.js +0 -58
  310. package/dist/assets/TaskManagementPage-RVS8nv0n-COSQr7oX.js +0 -508
  311. package/dist/assets/TimeframeSwitcher-CW08yYgo-DItR-hmf.js +0 -31
  312. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BNxNq2Fx.js +0 -31
  313. package/dist/assets/TransactionDetailPage-CuxqQd8U-DudRnP0L.js +0 -903
  314. package/dist/assets/TransactionListPage-DC08rCC9-BH2tNBEd.js +0 -35
  315. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-BocC7iP6.js +0 -58
  316. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51--wE36xQn.js +0 -38
  317. package/dist/assets/Vendor2FAPopup-DezpDfp8-DYoXoZ-w.js +0 -1
  318. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-DCuFNH9E.js +0 -1
  319. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-C9y2vQ83.js +0 -1
  320. package/dist/assets/VendorFirstReviewPage-CIKRaTax-BFYB3Xlk.js +0 -730
  321. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Bh98y6ga.js +0 -1
  322. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-LquZb6Na.js +0 -14
  323. package/dist/assets/analyticsHelper-phLK40GK.js +0 -1
  324. package/dist/assets/commonDimensions-ClmbdehE-Dimgn1GD.js +0 -1
  325. package/dist/assets/downloadPdf-DfRYmfsd-BPDfRxDH.js +0 -1
  326. package/dist/assets/epic-DsVPiFFV.js +0 -2
  327. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DTMOlF67.js +0 -1
  328. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-Dgoksvb9.js +0 -1
  329. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CI9abIWE.js +0 -1
  330. package/dist/assets/panelSelectedMixin-CzfD5-Zs-gaxwl0V_.js +0 -4
  331. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B1iz_AL6.js +0 -1
  332. package/dist/assets/uploadReceipts-Dge0cNF1-0LNQ1d67.js +0 -1
@@ -0,0 +1,314 @@
1
+ import{ax as Mt,a8 as Rt,J as Pt,y as Bt,ce as Nt,x as m,F as et,gl as Lt,gn as Ot,go as _t,V as t,cr as Ae,cs as Me,ct as Re,bD as Pe,ab as y,bp as Et,dw as Wt,gp as Ft,gA as Be,o as a,gq as Ne,fm as g,gt as w,fp as x,aP as Le,fl as Oe,w as V,gv as _e,aS as Kt,ap as Ut,gw as Vt,gx as re,by as Gt,gy as Ht,a as Yt,z as qt,M as Jt,am as tt,ba as it,p as G,an as Xt,bW as Zt,aj as Qt,gS as ei,gO as ti,u as c,cj as ii,c$ as ai}from"./index-Dfs8yBxm.js";import{a as p}from"./sentry-Dje-_Mky.js";import{n as r}from"./mui-BoUXdMXW.js";import{a as ri}from"./liveblocks-DO6Nvzzd.js";import{bL as oi,bP as ni,Gy as li}from"./zeni-epic-state-DjuGgMVt.js";import si from"./InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./recharts-Dx_NgewX.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./AttachmentView-Q7kiwPOS-BNETSDSC.js";import"./uploadReceipts-Dge0cNF1-dznVP6mr.js";import"./upload-reimbursement-receipt-O2N8vcO7-CkewT8By.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]="82ad24b5-9246-4ff2-adbd-904b3ba0cdf6",e._sentryDebugIdIdentifier="sentry-dbid-82ad24b5-9246-4ff2-adbd-904b3ba0cdf6")}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")},da=({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:H,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:be,initialOpenThreadRequest:k})=>{const d=Mt(),st=Rt().analytics,o=Pt(),ge=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[X,Z]=p.useState("approved"),N=p.useRef(null),[j,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[z,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&H()},[e,H]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{H()};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:bt,replyAComment:gt},tooltip:{resolveComment:wt,unResolveComment:xt}}},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,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{Q({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=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{Q({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():(Z("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Z("delete"),Ie()):(Z("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,zt=di(e.duplicateLineByLineId),ze=e.duplicateReimbursementStatus.fetchState==="Completed"&&zt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{k?.threadId!=null&&k?.companyId!=null&&k?.entityType!=null&&K(k)},[k,K]);const{threads:P,isLoading:D}=Ot({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=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),K(null))},[ae,P,D,U,K]);const b={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:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(zi,{}):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:kt,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(Gi,{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(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{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:F})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(Ge,{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:F})}):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}):ze?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ke=>{ke!=null&&(we.current[`L${l.lineId}`]=ke)},children:[o!=="small"?t.jsx(gi,{children:t.jsx(xi,{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(bi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`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(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,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(w,{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(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Wi,{windowSize:o,children:[t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ze,{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:be,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(Qe,{windowSize:o,children:[t.jsx(He,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Ei,{windowSize:o,children:t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ze,{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:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(He,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="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:X==="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(ki,{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:z?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:bt,replyComposerPlaceholder:gt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.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(Xt)`
10
+ padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
+ background-color: ${G.alertLight};
12
+ color: ${G.brandColorGoldDark};
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ `,bi=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: ${G.alertLight};
29
+ border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
+ `,We=r(ii)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Fe=r.div`
33
+ width: 100%;
34
+ `,Ke=r(tt)`
35
+ color: ${e=>e.theme.colors.brandColorGoldDark};
36
+ `,Ue=r(ai)`
37
+ width: ${a.sp4};
38
+ height: ${a.sp4};
39
+ color: ${G.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
+ `,gi=r.div`
46
+ display: flex;
47
+ justify-content: space-between;
48
+ `,wi=r.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,xi=r(it)`
52
+ color: ${e=>e.theme.colors.primary};
53
+ margin-bottom: ${a.sp3};
54
+ `,fi=r.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ background-color: ${e=>e.theme.colors.grey5};
58
+ border: 1px solid ${e=>e.theme.colors.grey3};
59
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ border-radius: ${a.sp2};
61
+ margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ `,$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
+ `,Ge=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
+ `,zi=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
+ `,ki=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(Qt)`
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(Gt)`
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(Ht)`
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
+ `,He=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
+ `,Xe=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
+ `,Ze=r(Zt)`
287
+ display: flex;
288
+ width: 176px;
289
+ color: ${e=>e.theme.colors.primary};
290
+ `,Fi=r.div`
291
+ display: flex;
292
+ flex-direction: column;
293
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
294
+ `,Qe=r.div`
295
+ display: flex;
296
+ width: 100%;
297
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
+ align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
+ `,Ki=r.div`
300
+ width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
301
+ `,Ui=r.div`
302
+ background: ${e=>e.theme.colors.grey3};
303
+ border-radius: ${a.sp2};
304
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
305
+ margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
306
+ margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
307
+ margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
308
+ `,Vi=r.div`
309
+ display: flex;
310
+ flex-direction: column;
311
+ height: ${a.sp11};
312
+ `,Gi=r.div`
313
+ margin-top: 78px;
314
+ `;export{da as default};
@@ -0,0 +1,84 @@
1
+ import{ax as ne,y as S,J as k,aR as le,V as e,ab as a,fx as ae,bD as de,r as u,af as d,F as V,o as t,ar as me,b as ce,aU as F,an as pe,x as xe,p as z,cG as he,aV as ue,bb as ge,u as we}from"./index-Dfs8yBxm.js";import{a as j}from"./sentry-Dje-_Mky.js";import{n as s}from"./mui-BoUXdMXW.js";import{Gx as je,bT as be}from"./zeni-epic-state-DjuGgMVt.js";import{C as fe}from"./VideoPopup-W2U47mhU-BbkemVhS.js";import{M as v}from"./usp-line-BBd1wKwW-19qrO-Ih.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./VideoPlayer-BdIPlzSd-DYXLi2NY.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]="536b146e-ee78-4664-bd7a-60a8d9258987",i._sentryDebugIdIdentifier="sentry-dbid-536b146e-ee78-4664-bd7a-60a8d9258987")}catch{}})();const E="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"?`${t.sp0} ${t.sp3}`:`${t.sp0} ${t.sp8}`};
9
+ text-align: center;
10
+ `,ke=s(ce)`
11
+ max-width: 648px;
12
+ margin: auto;
13
+ padding: ${t.sp7} ${t.sp0};
14
+ color: ${i=>i.theme.colors.primary};
15
+ `,ze=s(me)`
16
+ max-width: 600px;
17
+ margin: auto;
18
+ padding: ${t.sp5} ${t.sp0};
19
+ color: ${i=>i.theme.colors.primary};
20
+ `,G=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``,D=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
+ `,O=s.div`
44
+ margin-left: ${i=>i.windowSize==="small"?t.sp0:t.sp6};
45
+ margin-bottom: ${i=>i.windowSize==="small"?t.sp4:t.sp0};
46
+ background: ${i=>i.theme.colors.grey3};
47
+ border-radius: 12px;
48
+ border: ${i=>`1px solid ${i.theme.colors.grey3}`};
49
+ padding: 15px;
50
+ `,m=s.div`
51
+ border-radius: ${t.sp12};
52
+ border: ${i=>`1px solid ${i.theme.colors.grey2}`};
53
+ padding: ${i=>i.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
54
+ background: ${i=>i.theme.colors.grey5};
55
+ position: relative;
56
+ margin-bottom: ${t.sp3};
57
+ display: flex;
58
+ align-items: center;
59
+ text-align: start;
60
+ box-sizing: border-box;
61
+ `,b=s(ge)`
62
+ color: ${i=>i.theme.colors.champion};
63
+ `,f=s(ue)`
64
+ color: ${i=>i.theme.colors.champion};
65
+ `,y=s(F)`
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: ${t.sp3};
71
+ `,L=s(F)`
72
+ margin: ${i=>i.windowSize==="small"?t.sp1:`auto ${t.sp5}`};
73
+ color: ${i=>i.theme.colors.grey1};
74
+ `,H=s(v)`
75
+ color: ${z.graphColor16Dark};
76
+ `,q=s(v)`
77
+ color: ${z.graphColor09Dark};
78
+ `,J=s(v)`
79
+ color: ${z.success};
80
+ `,M=s(pe)`
81
+ margin: ${t.sp3} auto;
82
+ max-width: 772px;
83
+ color: ${i=>i.theme.colors.hero};
84
+ `,r=V.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=V.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(G,{windowSize:o,children:[e.jsx(N,{windowSize:o,children:e.jsx(O,{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:E,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(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.simplestText.bold}),e.jsx(y,{children:r.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(J,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(G,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.simplestText.bold}),e.jsx(b,{children:r.simplestText.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:r.aiPoweredText.bold}),e.jsx(b,{children:r.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(J,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(b,{children:r.multiLevelApprovalText.regular})]})]})]}),e.jsx(N,{windowSize:o,children:e.jsx(O,{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:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:W,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[re,R]=j.useState(!1),te=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,A=w?U?r.employeeAcceptPromoText:r.employeePendingPromoText:r.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const B=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:W,"data-testid":a("remi-promo-page-video-popup")}):null,re===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:r.title,backgroundColor:te.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:A}):e.jsx(ke,{children:A}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(D,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:B,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(L,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(M,{children:[r.terms.createTerms1,e.jsx(d,{href:r.terms.tosUrl,linkText:r.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),r.terms.terms2,e.jsx(d,{href:r.terms.privacyPolicyUrl,linkText:r.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),r.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(D,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:B,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(L,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(M,{children:[r.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,r.terms.terms3]})]})})]})]})};export{_e as default};
@@ -1,4 +1,4 @@
1
- import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as qe,p as q,y as s,bD as Ze,T as Ye,ac as Ke,fx as ve,dR as Qe,fy as Xe,bx as et,dH as tt,aS as it,o as a,fA as nt,u as n,cj as ot,cK as at,ew as lt,fJ as ke,fK as $e,gj as st,i as rt,aQ as Pe,H as Ae,bN as ct,ai as dt,bu as ut}from"./index-Dn4fsqrg.js";import{a as o}from"./sentry-BKz9JNP2.js";import{n as i}from"./mui-t9zesPMq.js";import{bJ as mt}from"./zeni-epic-state-D4InWuWM.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-BKY6hK51--wE36xQn.js";import"./liveblocks-CN1Pe_iM.js";import"./core-DTkIP9TV.js";import"./recharts-Cg59vN3o.js";import"./lottie-D0Yki-KW.js";import"./analytics-DRAIIXch.js";import"./lexical-BiXOi-Hk.js";import"./utils-BjuPsonu.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]="9dbcaf41-e788-473e-9882-b4cc7638daec",e._sentryDebugIdIdentifier="sentry-dbid-9dbcaf41-e788-473e-9882-b4cc7638daec")}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=Ie(),D=Ee(),{formState:{errors:Y},trigger:K}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Y,E),{localData:c,updateStatus:F,mileageStatus:b}=p,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Q,spendManagement:X}=Te.getLocalizedStrings(),{reimbursement:ee}=X,[S,I]=o.useState(U),[te,H]=o.useState(!1);o.useEffect(()=>{x||K(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||H(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=Q,ne=S===!1||F.fetchState==="In-Progress"?"readonly":r,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:d&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,d===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(bt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:$e(b.code)}):null]}),t.jsxs(wt,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:b.name,textColor:$e(b.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(It,{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:T=>T!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&U&&!x&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:T=>{T.stopPropagation(),I(!0),H(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(Tt,{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{y as Ee,J as Ie,aR as N,a9 as qe,cH as Ge,F as Te,aW as Ce,V as t,ff as Je,p as J,x as s,bD as Ze,T as Ke,ad as Xe,fy as ve,dR as Ye,fz as Qe,bx as et,dH as tt,aS as it,o as a,fB as nt,u as n,cj as ot,cL as at,ex as lt,fK as ke,fL as $e,gk as st,r as rt,ab as Pe,z as je,bN as dt,aj as ct,bu as ut}from"./index-Dfs8yBxm.js";import{a as o}from"./sentry-Dje-_Mky.js";import{n as i}from"./mui-BoUXdMXW.js";import{bJ as mt}from"./zeni-epic-state-DjuGgMVt.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="4c1b2d23-8a3e-4bf7-9a61-97d582863851",e._sentryDebugIdIdentifier="sentry-dbid-4c1b2d23-8a3e-4bf7-9a61-97d582863851")}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 je("standardSemiBold","largeSemiBold"),infoLabel:new je("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:A,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ie(),D=Ee(),{formState:{errors:K},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(K,E),{localData:d,updateStatus:F,mileageStatus:w}=p,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:Q}=Te.getLocalizedStrings(),{reimbursement:ee}=Q,[S,I]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=Y,ne=S===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:A,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(jt,{children:[t.jsxs(At,{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(It,{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:T=>T!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&U&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:T=>{T.stopPropagation(),I(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Tt,{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"};
@@ -9,12 +9,12 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
9
9
  width: 100%;
10
10
  flex-direction: column;
11
11
  justify-content: flex-start;
12
- `,wt=i.div`
13
- display: flex;
14
12
  `,bt=i.div`
13
+ display: flex;
14
+ `,wt=i.div`
15
15
  ${e=>`${ge.title.style(e.windowSize)}`};
16
- color: ${e=>e.isError===!0?q.important:e.theme.colors.primary};
17
- `,St=i(dt)`
16
+ color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
17
+ `,St=i(ct)`
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: flex-start;
@@ -33,7 +33,7 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
33
33
  border-radius: ${a.sp11};
34
34
  width: fit-content;
35
35
  height: fit-content;
36
- color: ${e=>e.isDarkMode?q.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
36
+ color: ${e=>e.isDarkMode?J.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
37
37
  max-width: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
38
38
  max-height: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
39
39
  margin-right: ${e=>h.iconContainerMarginRight.valuePx(e.windowSize)};
@@ -65,10 +65,10 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
65
65
  align-items: center;
66
66
  color: ${e=>e.theme.colors.primary};
67
67
  ${e=>`${ge.title.style(e.windowSize)}`};
68
- `,At=i.div`
68
+ `,jt=i.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
- `,jt=i.div``,Dt=i(ct)`
71
+ `,At=i.div``,Dt=i(dt)`
72
72
  color: ${e=>e.theme.colors.comingSoon};
73
73
  margin-left: ${a.sp3};
74
74
  `,Et=i.div`
@@ -85,7 +85,7 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
85
85
  `,Tt=i.label`
86
86
  display: flex;
87
87
  padding-left: ${e=>h.infoLabelPaddingLeft.valuePx(e.size)};
88
- color: ${e=>e.hasError===!0?q.important:e.additionalInfoTextColor??e.theme.colors.hero};
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
91
  `,Vt=i.div`
@@ -103,13 +103,13 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
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",G="remiAccount",J="remiMileage",Qt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:d,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:K,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onEstablishConnectionSuccess:F,updateMileageDetails:b,onUpdateAccountClick:U,onUpdatePrimaryFundingAccount:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:I,onSaveMileageClick:te,onClickMenuIcon:H,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:T})=>{const W=Ee(),u=Ie(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),we=N(se.fetchState),be=N(re.fetchState),z=Ge({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||we==="In-Progress"&&se.fetchState==="Completed"||be==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,we,se.fetchState,be,re.fetchState]);const Ue=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),He=async(A,R)=>{const m=R[G];if(A.includes(G)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&Q(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),U(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(J)){const w=R[J];b(w)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Je(()=>He(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&I()},[I,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:We}=Te.getLocalizedStrings(),{reimbursement:Be}=We,{reimbursementSetup:M}=Be,{setUp:k}=Se,ce=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,de=ze?.isReimbursementEnabled===!0,Oe=ce?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"?V(!0):K?.()};return t.jsxs(zt,{children:[t.jsx(qe,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:q.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:d,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!de&&(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(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...z,children:t.jsx("form",{id:De(je),onSubmit:Ue,children:t.jsxs(Ut,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Qe,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Xe,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:G,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:c,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:T,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:J,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?Fe:void 0})]})})})]}),ce&&!de&&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"||Ve.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)},Ae="remiSetupPage",q="remiAccount",G="remiMileage",Yt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:A,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:K,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:F,updateMileageDetails:w,onUpdateAccountClick:U,onUpdatePrimaryFundingAccount:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:I,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:T})=>{const H=Ee(),u=Ie(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Re,isRefreshingViewInBackground:Me,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),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"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,be,se.fetchState,we,re.fetchState]);const Ue=z.handleSubmit(j=>{l.trackEnableReimbursement(),S()}),We=async(j,M)=>{const m=M[q];if(j.includes(q)){if(j.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"),U(m.account.selectedOption,C.id,C.accType)}}else if(j.includes(G)){const b=M[G];w(b)}};o.useEffect(()=>{const j=z.watch((M,{name:m})=>{m!=null&&M!=null&&Ge(()=>We(m,M))});return()=>{j.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&I()},[I,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:He}=Te.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:R}=Be,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Re?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Se.setUp.setupVerifiedSubTitle:R.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Ce(H.colors.brandColorJadeLight):new Ce(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:R.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:K,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Mt,{windowSize:u,children:[t.jsx(Rt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(Ae),onSubmit:Ue,children:t.jsxs(Ut,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Me}),t.jsx(Qe,{connectedAccountProvider:A,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:T,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:R.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?Fe:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(Ae),primaryBtn:{label:R.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:R.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;
110
110
  width: 100%;
111
111
  background-color: ${e=>e.theme.colors.grey4};
112
- `,Mt=i(ot)`
112
+ `,Rt=i(ot)`
113
113
  color: ${e=>e.theme.colors.hero};
114
114
  display: flex;
115
115
  justify-content: center;
@@ -117,7 +117,7 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
117
117
  padding-top: ${e=>g.subTitlePaddingTop.valuePx(e.windowSize)};
118
118
  padding-bottom: ${e=>g.subTitlePaddingBottom.valuePx(e.windowSize)};
119
119
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
120
- `,Rt=i.div`
120
+ `,Mt=i.div`
121
121
  display: flex;
122
122
  justify-content: flex-start;
123
123
  height: 100%;
@@ -137,4 +137,4 @@ import{d as Ee,J as Ie,aR as N,a9 as Ge,cG as Je,F as Te,aW as Ce,V as t,fe as q
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{[G]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[J]:{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{Qt as default,De as uniqueName};
140
+ `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:A,primaryFundingAccount:P}=e,{localData:c}=A;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{Yt as default,De as uniqueName};
@@ -1 +1 @@
1
- import{V as f,cq as V,cr as M,cs as q,kd as K,aZ as W,F as Z}from"./index-Dn4fsqrg.js";import{a as b}from"./sentry-BKz9JNP2.js";import{Go as z}from"./zeni-epic-state-D4InWuWM.js";import{u as G}from"./ReviewOverlay-Bn3TFqfi-O6NbaoDZ.js";import"./liveblocks-CN1Pe_iM.js";import"./core-DTkIP9TV.js";import"./recharts-Cg59vN3o.js";import"./mui-t9zesPMq.js";import"./lottie-D0Yki-KW.js";import"./analytics-DRAIIXch.js";import"./lexical-BiXOi-Hk.js";import"./utils-BjuPsonu.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]="34b0687c-6493-45cd-b0fa-e8f342859645",e._sentryDebugIdIdentifier="sentry-dbid-34b0687c-6493-45cd-b0fa-e8f342859645")}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}=X(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,z(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Y(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},N=()=>{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"}:{}}},O={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(q,{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(G,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=K(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:W("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},X=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)}},Y=(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
+ import{V as f,cr as V,cs as M,ct as W,kd as Z,aZ as q,F as z}from"./index-Dfs8yBxm.js";import{a as b}from"./sentry-Dje-_Mky.js";import{H5 as H}from"./zeni-epic-state-DjuGgMVt.js";import{u as K}from"./ReviewOverlay-B2XV0Wf1-9HOJu6NK.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./mui-BoUXdMXW.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="90f3a6ac-2c3a-47e0-8544-bc49c7bf022d",e._sentryDebugIdIdentifier="sentry-dbid-90f3a6ac-2c3a-47e0-8544-bc49c7bf022d")}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:g,currentSubTab:y}=e,v=!1,[x,l]=b.useState(!1),[m,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,G]=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}=X(S);A({type:"reject",title:d,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,g,y),l(!0)},E={onOkClick:d=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,g,y,H(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Y(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,g,y),u(t)},N=()=>{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"}:{}}},O={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(W,{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(K,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=Z(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??""}}})},X=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)}},Y=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:g,do_:y,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?y:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:g)}`):(m=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:m,description:_}};export{ce as default};