@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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 (357) hide show
  1. package/dist/assets/{ACHDetailsPage-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
  3. package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
  7. package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
  9. package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
  11. package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
  12. package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
  14. package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
  15. package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
  17. package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
  19. package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
  20. package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
  22. package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
  23. package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
  26. package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
  29. package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
  30. package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
  32. package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
  34. package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
  36. package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
  38. package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
  40. package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
  44. package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
  46. package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
  50. package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
  51. package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
  55. package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
  58. package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
  64. package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
  65. package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
  66. package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
  68. package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
  71. package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
  75. package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
  76. package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
  78. package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
  79. package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
  81. package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
  82. package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
  83. package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
  84. package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
  87. package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
  94. package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
  97. package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
  98. package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
  99. package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
  109. package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
  110. package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
  111. package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
  113. package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
  114. package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
  115. package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
  116. package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
  117. package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
  118. package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
  123. package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
  124. package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
  126. package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
  128. package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
  131. package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
  135. package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
  136. package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
  137. package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
  138. package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
  139. package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
  140. package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
  141. package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
  145. package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
  146. package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
  147. package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
  148. package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
  151. package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
  152. package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
  153. package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
  154. package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
  155. package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
  156. package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
  157. package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
  158. package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
  159. package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
  161. package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
  163. package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
  164. package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
  165. package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
  166. package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
  167. package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
  169. package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
  170. package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
  172. package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
  174. package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
  175. package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
  176. package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
  177. package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
  179. package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
  181. package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
  182. package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
  184. package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
  188. package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
  189. package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
  190. package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
  192. package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
  193. package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
  194. package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
  196. package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
  197. package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
  200. package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
  201. package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
  205. package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
  206. package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
  207. package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
  208. package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
  209. package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
  210. package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
  211. package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
  212. package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
  213. package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
  214. package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
  215. package/dist/assets/epic-CLSKdGkp.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
  220. package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
  221. package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
  222. package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
  223. package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
  224. package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
  225. package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
  226. package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
  227. package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
  228. package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
  229. package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
  230. package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
  237. package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
  241. package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
  242. package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
  243. package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
  244. package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
  245. package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
  246. package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
  247. package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
  248. package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
  249. package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
  250. package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
  253. package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
  254. package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
  255. package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
  256. package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
  257. package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
  260. package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
  261. package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
  265. package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
  266. package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
  267. package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
  268. package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
  269. package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
  270. package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
  271. package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
  272. package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
  273. package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
  274. package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
  275. package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
  276. package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
  277. package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
  278. package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
  279. package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
  282. package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
  283. package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
  284. package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
  285. package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
  286. package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
  287. package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
  288. package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
  289. package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
  290. package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
  291. package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
  292. package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
  293. package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
  294. package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
  295. package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
  296. package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
  297. package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
  298. package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
  299. package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
  300. package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
  301. package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
  302. package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
  303. package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
  304. package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
  305. package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
  306. package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
  307. package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
  308. package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
  309. package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
  310. package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
  311. package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
  312. package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
  313. package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
  314. package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
  315. package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
  316. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
  317. package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
  318. package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
  319. package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
  320. package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
  321. package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
  322. package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
  323. package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
  324. package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
  325. package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
  326. package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
  327. package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
  328. package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
  329. package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
  330. package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
  331. package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
  332. package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
  333. package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
  334. package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
  335. package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
  336. package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
  337. package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
  338. package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
  339. package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
  340. package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
  341. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
  342. package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
  343. package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
  344. package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
  345. package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
  346. package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
  347. package/dist/assets/epic-B0RIAA2R.js +0 -2
  348. package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
  349. package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
  350. package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
  351. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
  352. package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
  353. package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
  354. package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
  355. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
  356. package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
  357. package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
@@ -0,0 +1,314 @@
1
+ import{ax as Mt,a9 as Rt,J as Pt,d as Bt,cf as Nt,y as m,O as et,gl as Lt,gn as Ot,go as _t,V as t,cr as Ae,cs as Me,ct as Re,bE as Pe,aR as y,bq as Et,dx as Wt,gp as Kt,gA as Be,o as a,gq as Ne,fm as b,gt as x,fp as w,aP as Le,fl as Oe,b as V,gv as _e,aT as Ft,ap as Ut,gw as Vt,gx as re,bz as Ht,gy as Gt,x as Yt,H as qt,B as Jt,am as tt,bb as it,p as H,an as Zt,bX as Qt,aj as Xt,gS as ei,gO as ti,u as c,ck as ii,c$ as ai}from"./index-sotzB3Mx.js";import{a as p}from"./sentry-2bqpslFP.js";import{n as r}from"./mui-CWqpJBOf.js";import{a as ri}from"./liveblocks-DezulwOD.js";import{bL as oi,bP as ni,FS as li}from"./zeni-epic-state-DM-Ak8Gv.js";import si from"./InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-D2KcXy_y.js";import"./lottie-D7_uSTtS.js";import"./recharts-H7gIkfSf.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./AttachmentView-9Vrv319r-czchKUV5.js";import"./uploadReceipts-Dge0cNF1-CAzr24hn.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]="0c57e458-2d9f-4d4a-a18f-8d1c25a6feed",e._sentryDebugIdIdentifier="sentry-dbid-0c57e458-2d9f-4d4a-a18f-8d1c25a6feed")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},mi={formTitle:new qt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:G,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,xe=p.useRef({}),we=l=>{const n=xe.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&G()},[e,G]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);we(n)}},[]);const ut=()=>{G()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:xt,unResolveComment:wt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:O}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],_=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=_?.code==="paid",ft=Te?_:E?.code=="approved"&&W?.code?W:E,$=pi(e.remiDetails),R=E?.code=="approved"&&W?.code?W:E,K=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},$t=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),J(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:F,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&F(z)},[z,F]);const{threads:P,isLoading:D}=Ot({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(_t)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),F(null))},[ae,P,D,U,F]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(_i,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Et,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(Oi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Hi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Kt,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:K}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ke?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ke,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:K})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Fi,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Ki,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:K})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ke?t.jsxs(Ee,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Ke,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(xi,{windowSize:o,ref:ze=>{ze!=null&&(xe.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(wi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return we(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Wi,{windowSize:o,children:[t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:je,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:ge,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Ei,{windowSize:o,children:t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(_e,{amount:je,activities:e.remiActivities,stage:_?.code??"draft",onAddNewRule:ge,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||K===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&Y?t.jsx(Ut,{onClickAway:()=>q(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>q(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:xt,threadUnResolve:wt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},ui=r.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
5
+ `,hi=r.div`
6
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
7
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
8
+ margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
9
+ `,yi=r(Zt)`
10
+ padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
+ background-color: ${H.alertLight};
12
+ color: ${H.brandColorGoldDark};
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ `,gi=r.span`
16
+ border-bottom: 1px solid currentColor;
17
+ cursor: pointer;
18
+ `,Ee=r.div`
19
+ display: flex;
20
+ gap: ${a.sp2};
21
+ padding: ${a.sp3};
22
+ border-radius: ${a.sp2};
23
+ align-items: start;
24
+ margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
25
+ margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
26
+ margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
27
+ margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
+ background-color: ${H.alertLight};
29
+ border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
+ `,We=r(ii)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Ke=r.div`
33
+ width: 100%;
34
+ `,Fe=r(tt)`
35
+ color: ${e=>e.theme.colors.brandColorGoldDark};
36
+ `,Ue=r(ai)`
37
+ width: ${a.sp4};
38
+ height: ${a.sp4};
39
+ color: ${H.brandColorGoldDark};
40
+ `,Ve=r(tt)`
41
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
42
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
43
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
44
+ color: ${e=>e.theme.colors.primary};
45
+ `,bi=r.div`
46
+ display: flex;
47
+ justify-content: space-between;
48
+ `,xi=r.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,wi=r(it)`
52
+ color: ${e=>e.theme.colors.primary};
53
+ margin-bottom: ${a.sp3};
54
+ `,fi=r.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ background-color: ${e=>e.theme.colors.grey5};
58
+ border: 1px solid ${e=>e.theme.colors.grey3};
59
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ border-radius: ${a.sp2};
61
+ margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ `,$i=r.div`
64
+ display: flex;
65
+ justify-content: flex-end;
66
+ `,vi=r.div`
67
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
68
+ `,Ti=r(ti)`
69
+ cursor: pointer;
70
+ color: ${e=>e.theme.colors.hero};
71
+ width: ${a.sp5};
72
+ height: ${a.sp5};
73
+ &:hover {
74
+ color: ${e=>e.theme.colors.primary};
75
+ }
76
+ `,Si=r.div`
77
+ display: flex;
78
+ margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
79
+ cursor: pointer;
80
+ color: ${e=>e.theme.colors.grey1};
81
+ &:hover {
82
+ color: ${e=>e.theme.colors.primary};
83
+ }
84
+ `,ji=r(ei)`
85
+ cursor: pointer;
86
+ color: ${e=>e.theme.colors.hero};
87
+ width: ${a.sp5};
88
+ height: ${a.sp5};
89
+ &:hover {
90
+ color: ${e=>e.theme.colors.primary};
91
+ }
92
+ `,Ii=r.div`
93
+ display: flex;
94
+ cursor: pointer;
95
+ color: ${e=>e.theme.colors.grey1};
96
+ margin-left: ${a.sp4};
97
+ &:hover {
98
+ color: ${e=>e.theme.colors.primary};
99
+ }
100
+ `,He=r(it)`
101
+ display: flex;
102
+ color: ${e=>e.borderColor};
103
+ align-items: center;
104
+ justify-content: flex-end;
105
+ margin-left: ${a.sp3};
106
+ padding: 1px 6px 1px 6px;
107
+ border: ${e=>`1px solid ${e.borderColor}`};
108
+ border-radius: ${a.sp1};
109
+ min-width: fit-content;
110
+ max-width: fit-content;
111
+ `,Di=r.div`
112
+ display: flex;
113
+ justify-content: center;
114
+ align-items: center;
115
+ `,Ci=r.div`
116
+ display: flex;
117
+ width: max-content;
118
+ align-items: center;
119
+ justify-content: center;
120
+ flex-direction: column;
121
+ background-color: ${e=>e.theme.colors.grey5};
122
+ color: ${e=>e.theme.colors.hero};
123
+ cursor: pointer;
124
+ padding-top: ${a.sp1};
125
+ padding-bottom: ${a.sp1};
126
+ position: absolute;
127
+ bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
128
+ z-index: 3;
129
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
130
+ border-radius: ${a.sp1};
131
+ right: ${e=>s.right.valuePx(e.windowSize)};
132
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
133
+ `,ki=r.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 42vw;
137
+ width: 100%;
138
+ height: 100vh;
139
+ background: transparent;
140
+ box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
141
+ pointer-events: none;
142
+ z-index: 1;
143
+ `,zi=r.div`
144
+ width: auto;
145
+ justify-content: flex-end;
146
+ position: ${e=>e.windowSize==="small"?"static":"relative"};
147
+ right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
148
+ height: 100%;
149
+ display: flex;
150
+ `,oe=r(Xt)`
151
+ display: flex;
152
+ align-items: center;
153
+ width: 100%;
154
+ padding-left: ${a.sp3};
155
+ padding-right: ${a.sp3};
156
+ height: ${a.sp6};
157
+ box-sizing: border-box;
158
+ &:hover {
159
+ background-color: ${e=>e.theme.colors.background};
160
+ }
161
+ `,Ai=r.div`
162
+ display: flex;
163
+ width: 100%;
164
+ position: sticky;
165
+ bottom: 0;
166
+ z-index: 2;
167
+ `,Mi=r.div`
168
+ min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
169
+ height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
170
+ display: flex;
171
+ align-items: center;
172
+ width: 100%;
173
+ justify-content: space-between;
174
+ position: fixed;
175
+ z-index: 4;
176
+ `,Ri=r(Ht)`
177
+ color: ${e=>e.theme.colors.brandColorJade};
178
+ cursor: pointer;
179
+ width: ${a.sp4};
180
+ height: ${a.sp4};
181
+ `,T=r.div`
182
+ display: flex;
183
+ flex: 1;
184
+ background-color: ${e=>e.theme.colors.grey3};
185
+ min-height: 1px;
186
+ max-height: 1px;
187
+ `,Pi=r(Yt)`
188
+ cursor: pointer;
189
+ width: ${a.sp4};
190
+ height: ${a.sp4};
191
+ float: right;
192
+ color: ${e=>e.theme.colors.hero};
193
+ &:hover {
194
+ color: ${e=>e.theme.colors.primary};
195
+ }
196
+ `,Bi=r.div`
197
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
198
+ display: flex;
199
+ float: right;
200
+ `,Ni=r.div`
201
+ display: flex;
202
+ align-items: center;
203
+ justify-content: center;
204
+ position: relative;
205
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
206
+ color: ${e=>e.theme.colors.hero};
207
+ &:hover {
208
+ color: ${e=>e.theme.colors.primary};
209
+ }
210
+ `,Li=r(Gt)`
211
+ display: flex;
212
+ width: ${a.sp4};
213
+ height: ${a.sp4};
214
+ align-items: center;
215
+ justify-content: center;
216
+ `,Oi=r.div`
217
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
218
+ margin-left: ${a.sp5};
219
+ `,_i=r.div`
220
+ display: flex;
221
+ flex-direction: column;
222
+ width: 100vw;
223
+ background: -webkit-linear-gradient(
224
+ to right,
225
+ ${e=>e.theme.colors.background} 42%,
226
+ ${e=>e.theme.colors.grey4} 42%
227
+ );
228
+ background: -moz-linear-gradient(
229
+ to right,
230
+ ${e=>e.theme.colors.background} 42%,
231
+ ${e=>e.theme.colors.grey4} 42%
232
+ );
233
+ background: -o-linear-gradient(
234
+ to right,
235
+ ${e=>e.theme.colors.background} 42%,
236
+ ${e=>e.theme.colors.grey4} 42%
237
+ );
238
+ background: linear-gradient(
239
+ to right,
240
+ ${e=>e.theme.colors.background} 42%,
241
+ ${e=>e.theme.colors.grey4} 42%
242
+ );
243
+ ${e=>e.windowSize==="small"&&`
244
+ background: ${e.theme.colors.grey4};
245
+ `}
246
+ height: 100vh;
247
+ overflow: scroll;
248
+ `,Ge=r.div`
249
+ width: 42%;
250
+ `,Ei=r.div`
251
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
252
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
253
+ `,Ye=r.div`
254
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
255
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
256
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
257
+ `,qe=r.div`
258
+ display: flex;
259
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
260
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
261
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
262
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
263
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
264
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
+ `,Je=r(Jt)`
266
+ flex-grow: 1;
267
+ ${e=>`${mi.formTitle.style(e.windowsSize)}`};
268
+ color: ${e=>e.theme.colors.primary};
269
+ word-break: break-all;
270
+ `,Wi=r.div`
271
+ display: flex;
272
+ flex-direction: column;
273
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
274
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
275
+ `,Ze=r.div`
276
+ padding: ${a.sp3};
277
+ display: flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ background-color: ${e=>e.theme.colors.grey3};
281
+ border: 1px solid ${e=>e.theme.colors.grey3};
282
+ border-radius: ${a.sp2};
283
+ color: ${e=>e.theme.colors.hero};
284
+ margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
+ justify-content: space-between;
286
+ `,Qe=r(Qt)`
287
+ display: flex;
288
+ width: 176px;
289
+ color: ${e=>e.theme.colors.primary};
290
+ `,Ki=r.div`
291
+ display: flex;
292
+ flex-direction: column;
293
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
294
+ `,Xe=r.div`
295
+ display: flex;
296
+ width: 100%;
297
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
+ align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
+ `,Fi=r.div`
300
+ width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
301
+ `,Ui=r.div`
302
+ background: ${e=>e.theme.colors.grey3};
303
+ border-radius: ${a.sp2};
304
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
305
+ margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
306
+ margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
307
+ margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
308
+ `,Vi=r.div`
309
+ display: flex;
310
+ flex-direction: column;
311
+ height: ${a.sp11};
312
+ `,Hi=r.div`
313
+ margin-top: 78px;
314
+ `;export{sa as default};
@@ -1,38 +1,38 @@
1
- import{ay as ne,y as S,Q as k,aS as le,V as e,ac as a,fz as ae,bE as de,a as u,ag as d,b as E,o as s,as as ce,e as me,aV as V,ao as pe,x as xe,p as z,cI as he,aW as ue,bc as ge,u as we}from"./index-DceSoL0X.js";import{a as j}from"./sentry-DSwgNZrO.js";import{n as r}from"./mui-B9ZZxqGv.js";import{GB as je,bQ as fe}from"./zeni-epic-state-BKQAT3eK.js";import{C as be}from"./VideoPopup-mcH3S96f-CSNVNU5W.js";import{M as v}from"./usp-line-BBd1wKwW-DuwzCwM7.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./VideoPlayer-D7qtpMP6-DY2DpB0L.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]="a5d566e9-14fb-4478-9757-efac82ffa203",i._sentryDebugIdIdentifier="sentry-dbid-a5d566e9-14fb-4478-9757-efac82ffa203")}catch{}})();const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",_="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
1
+ import{ax as ne,d as S,J as k,aS as le,V as e,aR as a,fx as ae,bE as de,i as u,af as d,O as V,o as r,ar as me,R as ce,aV as E,an as pe,y as xe,p as z,cG as he,aW as ue,bc as ge,u as we}from"./index-sotzB3Mx.js";import{a as j}from"./sentry-2bqpslFP.js";import{n as s}from"./mui-CWqpJBOf.js";import{FR as je,bT as be}from"./zeni-epic-state-DM-Ak8Gv.js";import{C as fe}from"./VideoPopup-8ebccUQt-CoWKaT2k.js";import{M as v}from"./usp-line-BBd1wKwW-C5jzPmNs.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./VideoPlayer-XhlPd-AK-BJf7SfgL.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]="d210d9bd-299a-4267-9db1-6955b38d8d21",i._sentryDebugIdIdentifier="sentry-dbid-d210d9bd-299a-4267-9db1-6955b38d8d21")}catch{}})();const F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=s.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
5
5
  flex-direction: column;
6
6
  background-color: ${i=>i.theme.colors.grey4};
7
- `,Se=r.div`
8
- padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
7
+ `,Se=s.div`
8
+ padding: ${i=>i.windowSize==="small"?`${r.sp0} ${r.sp3}`:`${r.sp0} ${r.sp8}`};
9
9
  text-align: center;
10
- `,ke=r(me)`
10
+ `,ke=s(ce)`
11
11
  max-width: 648px;
12
12
  margin: auto;
13
- padding: ${s.sp7} ${s.sp0};
13
+ padding: ${r.sp7} ${r.sp0};
14
14
  color: ${i=>i.theme.colors.primary};
15
- `,ze=r(ce)`
15
+ `,ze=s(me)`
16
16
  max-width: 600px;
17
17
  margin: auto;
18
- padding: ${s.sp5} ${s.sp0};
18
+ padding: ${r.sp5} ${r.sp0};
19
19
  color: ${i=>i.theme.colors.primary};
20
- `,F=r.div`
20
+ `,O=s.div`
21
21
  display: flex;
22
22
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
23
  align-items: center;
24
24
  justify-content: center;
25
25
  margin-bottom: ${i=>ye.midContainerMarginBottom.valuePx(i.windowSize)};
26
- `,ve=r.div``,L=r.div`
26
+ `,ve=s.div``,L=s.div`
27
27
  display: flex;
28
28
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
29
29
  align-items: center;
30
30
  justify-content: center;
31
- `,g=r.img``,G=r.div`
31
+ `,g=s.img``,_=s.div`
32
32
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
33
33
  display: flex;
34
34
  flex-direction: column;
35
- `,N=r.div`
35
+ `,N=s.div`
36
36
  width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
37
37
  overflow: hidden;
38
38
  max-width: 712px;
@@ -40,45 +40,45 @@ import{ay as ne,y as S,Q as k,aS as le,V as e,ac as a,fz as ae,bE as de,a as u,a
40
40
  align-content: center;
41
41
  justify-content: center;
42
42
  align-items: center;
43
- `,O=r.div`
44
- margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
45
- margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
43
+ `,W=s.div`
44
+ margin-left: ${i=>i.windowSize==="small"?r.sp0:r.sp6};
45
+ margin-bottom: ${i=>i.windowSize==="small"?r.sp4:r.sp0};
46
46
  background: ${i=>i.theme.colors.grey3};
47
47
  border-radius: 12px;
48
48
  border: ${i=>`1px solid ${i.theme.colors.grey3}`};
49
49
  padding: 15px;
50
- `,c=r.div`
51
- border-radius: ${s.sp12};
50
+ `,m=s.div`
51
+ border-radius: ${r.sp12};
52
52
  border: ${i=>`1px solid ${i.theme.colors.grey2}`};
53
- padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
53
+ padding: ${i=>i.windowSize==="small"?`${r.sp2} ${r.sp4} ${r.sp2} ${r.sp0}`:`${r.sp3} ${r.sp5} ${r.sp3} ${r.sp0}`};
54
54
  background: ${i=>i.theme.colors.grey5};
55
55
  position: relative;
56
- margin-bottom: ${s.sp3};
56
+ margin-bottom: ${r.sp3};
57
57
  display: flex;
58
58
  align-items: center;
59
59
  text-align: start;
60
60
  box-sizing: border-box;
61
- `,f=r(ge)`
61
+ `,b=s(ge)`
62
62
  color: ${i=>i.theme.colors.champion};
63
- `,b=r(ue)`
63
+ `,f=s(ue)`
64
64
  color: ${i=>i.theme.colors.champion};
65
- `,y=r(V)`
65
+ `,y=s(E)`
66
66
  color: ${i=>i.theme.colors.champion};
67
- `,$=r(he)`
67
+ `,$=s(he)`
68
68
  color: ${i=>i.theme.colors.champion};
69
- `,m=r.div``,p=r.div`
70
- padding-left: ${s.sp3};
71
- `,M=r(V)`
72
- margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
69
+ `,c=s.div``,p=s.div`
70
+ padding-left: ${r.sp3};
71
+ `,M=s(E)`
72
+ margin: ${i=>i.windowSize==="small"?r.sp1:`auto ${r.sp5}`};
73
73
  color: ${i=>i.theme.colors.grey1};
74
- `,Q=r(v)`
74
+ `,G=s(v)`
75
75
  color: ${z.graphColor16Dark};
76
- `,W=r(v)`
76
+ `,H=s(v)`
77
77
  color: ${z.graphColor09Dark};
78
- `,H=r(v)`
78
+ `,q=s(v)`
79
79
  color: ${z.success};
80
- `,D=r(pe)`
81
- margin: ${s.sp3} auto;
80
+ `,D=s(pe)`
81
+ margin: ${r.sp3} auto;
82
82
  max-width: 772px;
83
83
  color: ${i=>i.theme.colors.hero};
84
- `,t=E.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=E.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(F,{windowSize:o,children:[e.jsx(N,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:_,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(G,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(Q,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(F,{windowSize:o,children:[e.jsxs(G,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(Q,{})}),e.jsxs(p,{children:[e.jsx(b,{children:t.simplestText.bold}),e.jsx(f,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx(b,{children:t.aiPoweredText.bold}),e.jsx(f,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(b,{children:t.multiLevelApprovalText.bold}),e.jsx(f,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(N,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:_,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Ge=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:q,onCreateNewRemiButtonClick:K,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),re=je(P.loggedInUserRoleMap),w=fe(P.loggedInUserRoleMap)&&!re,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(be,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:se.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:q,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{Ge as default};
84
+ `,t=V.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=V.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(O,{windowSize:o,children:[e.jsx(N,{windowSize:o,children:e.jsx(W,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(O,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.simplestText.bold}),e.jsx(b,{children:t.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.aiPoweredText.bold}),e.jsx(b,{children:t.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.multiLevelApprovalText.bold}),e.jsx(b,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(N,{windowSize:o,children:e.jsx(W,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),re=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),se=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!se,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:re.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{_e as default};
@@ -1,4 +1,4 @@
1
- import{y as Ee,Q as Te,aS as N,aa as qe,cJ as Ge,b as Ve,aX as Ce,V as t,fh as Je,p as J,x as s,bE as Ze,L as Qe,ae as Xe,fA as ve,dT as Ye,fB as Ke,by as et,dJ as tt,aT as it,o as a,fD as nt,u as n,cl as ot,cN as at,ez as lt,fM as ke,fN as $e,gm as st,a as rt,ac as Pe,O as Ae,bO as dt,ak as ct,bv as ut}from"./index-DceSoL0X.js";import{a as o}from"./sentry-DSwgNZrO.js";import{n as i}from"./mui-B9ZZxqGv.js";import{bJ as mt}from"./zeni-epic-state-BKQAT3eK.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="45116d23-133e-4a06-909e-4626315f71af",e._sentryDebugIdIdentifier="sentry-dbid-45116d23-133e-4a06-909e-4626315f71af")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Te(),D=Ee(),{formState:{errors:Q},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Q,E),{localData:d,updateStatus:U,mileageStatus:b}=p,F=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:K}=Ve.getLocalizedStrings(),{reimbursement:ee}=K,[S,T]=o.useState(F),[te,W]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&T(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=Y,ne=S===!1||U.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(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(Tt,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:V=>V!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(It,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&F&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:U.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:V=>{V.stopPropagation(),T(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Vt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
1
+ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as Je,p as J,y as s,bE as Ze,T as Ye,ad as Xe,fy as ve,dS as Ke,fz as Qe,by as et,dI as tt,aT as it,o as a,fB as nt,u as n,ck as ot,cL as at,ex as lt,fK as ke,fL as $e,gk as st,i as rt,aR as Pe,H as Ae,bO as dt,aj as ct,bv as ut}from"./index-sotzB3Mx.js";import{a as o}from"./sentry-2bqpslFP.js";import{n as i}from"./mui-CWqpJBOf.js";import{bJ as mt}from"./zeni-epic-state-DM-Ak8Gv.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="f8026d5f-da5a-4043-9d2a-40409df31169",e._sentryDebugIdIdentifier="sentry-dbid-f8026d5f-da5a-4043-9d2a-40409df31169")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Te(),D=Ee(),{formState:{errors:Y},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Y,E),{localData:d,updateStatus:U,mileageStatus:b}=p,F=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:K,spendManagement:Q}=Ve.getLocalizedStrings(),{reimbursement:ee}=Q,[S,T]=o.useState(F),[te,H]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&T(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||H(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=K,ne=S===!1||U.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(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(Tt,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:V=>V!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(It,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&F&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:U.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:V=>{V.stopPropagation(),T(!0),H(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Vt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
@@ -103,7 +103,7 @@ import{y as Ee,Q as Te,aS as N,aa as qe,cJ as Ge,b as Ve,aX as Ce,V as t,fh as J
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Yt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Q,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:U,updateMileageDetails:b,onUpdateAccountClick:F,onUpdatePrimaryFundingAccount:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:T,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:V})=>{const H=Ee(),u=Te(),[O,I]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ie,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:B,approvalRulesStatus:Ue}=$,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=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!O&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&I(!0),O&&_==="In-Progress"&&v==="Completed"&&I(!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 Fe=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),We=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&Y(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"),F(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(G)){const w=R[G];b(w)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>We(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&T()},[T,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:He}=Ve.getLocalizedStrings(),{reimbursement:Oe}=He,{reimbursementSetup:M}=Oe,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Be=de?Se.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Ce(H.colors.brandColorJadeLight):new Ce(H.colors.brandColorJadeDark),Ne=()=>{!O&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?I(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:O,onClose:()=>I(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>I(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Q,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Be}),_e?t.jsx(Ut,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(je),onSubmit:Fe,children:t.jsxs(Ft,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Ke,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:U,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:V,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:B.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:B.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:B.length>0?Ue:void 0})]})})})]}),de&&!ce&&B.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ie.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
106
+ `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Kt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:U,updateMileageDetails:b,onUpdateAccountClick:F,onUpdatePrimaryFundingAccount:K,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:T,onSaveMileageClick:te,onClickMenuIcon:H,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:V})=>{const W=Ee(),u=Te(),[B,I]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ie,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Ue}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),we=N(se.fetchState),be=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&I(!0),B&&_==="In-Progress"&&v==="Completed"&&I(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||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 Fe=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),He=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&K(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),F(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(G)){const w=R[G];b(w)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>He(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&T()},[T,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:We}=Ve.getLocalizedStrings(),{reimbursement:Be}=We,{reimbursementSetup:M}=Be,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Se.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=W.mode==="light"?new Ce(W.colors.brandColorJadeLight):new Ce(W.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?I(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>I(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>I(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:H,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ut,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(je),onSubmit:Fe,children:t.jsxs(Ft,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ke,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:U,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:V,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:O.length>0?Ue:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ie.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
107
107
  display: flex;
108
108
  min-height: 100%;
109
109
  flex-direction: column;
@@ -137,4 +137,4 @@ import{y as Ee,Q as Te,aS as N,aa as qe,cJ as Ge,b as Ve,aX as Ce,V as t,fh as J
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  row-gap: ${e=>g.sectionRowGap.valuePx(e.windowSize)};
140
- `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:c}=j;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Yt as default,De as uniqueName};
140
+ `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:c}=j;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Kt as default,De as uniqueName};
@@ -0,0 +1 @@
1
+ import{V as f,cr as V,cs as M,ct as K,ke as W,a_ as q,O as z}from"./index-sotzB3Mx.js";import{a as b}from"./sentry-2bqpslFP.js";import{Gp as G}from"./zeni-epic-state-DM-Ak8Gv.js";import{u as X}from"./ReviewOverlay-BidXwnVw-CvEYNCbr.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./mui-CWqpJBOf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="68100a13-4ed1-4476-92cb-bba161f8f976",e._sentryDebugIdIdentifier="sentry-dbid-68100a13-4ed1-4476-92cb-bba161f8f976")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=b.useState(!1),[m,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===m.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[m.length,B,h,e.fetchState,v,e,o]);const D=m.length,S=m.filter(d=>d.reviewStatus.code!=="error").length,F=()=>{const{title:d,description:C}=Y(S);A({type:"reject",title:d,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:d=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,G(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},O=()=>{let d=a.footer.approve;return T?d=a.texts.close:t==="send_for_approval"&&(d=a.footer.submit),{label:d,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},N={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[x?f.jsx(V,{titleComponent:f.jsx(K,{children:w.title}),descriptionComponent:f.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(X,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:O(),cancelButton:N,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=W(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},Y=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let m="",_="";return e==="Completed"&&!u?(m=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(m=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:m,description:_}};export{ce as default};