@zeniai/web-cockpit-ui 1.14.19-dev → 1.14.19-dev-betaSK01

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 (371) hide show
  1. package/dist/assets/ACHDetailsPage-TewccRkX-DetITKOl.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BuQApbEf-iP9bvKhu.js → AIPerformancePage-CJ0myi1p-CyCBKn16.js} +63 -63
  3. package/dist/assets/AccountInfoPage-CuytgM09-DMWlq-IF.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DQJFmREl-DoaILqqU.js → AccountInfoPageContent-CVV20YhW-q-TI4Dr6.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-D2B9Na3--BPjptdtd.js → AccountReconDetailsDrawerPage-CNT6qZyD-ZHVZJgF9.js} +17 -17
  6. package/dist/assets/{AccountRow-ZcS_RTJN-DNHX6IR1.js → AccountRow-COaolUm5-Bsrm5YYV.js} +40 -40
  7. package/dist/assets/{AccountsPromoCardStack-Bh2D-mXh-Yx4rUExR.js → AccountsPromoCardStack-BOmk5qYk-Bnozn1QW.js} +37 -37
  8. package/dist/assets/{AddAddressForCardDrawer-Ds2V5DyG-D2Tq6L1d.js → AddAddressForCardDrawer-DQN-6ztS-C4C6h_V9.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DQ_gwAcu-Bv5nxp9i.js → AddToWalletPage-CT9nivqI-BnXCEk6P.js} +122 -122
  10. package/dist/assets/{AgingReportsPage-BU_tqV13-C2Yi_y38.js → AgingReportsPage-DGzFK69_-DgqwpnRI.js} +15 -15
  11. package/dist/assets/{AllUserItems-DBXzXO61-sIPVSbAT.js → AllUserItems-diZQlFqb-DwUtiew2.js} +17 -17
  12. package/dist/assets/{ApAgingDetailPage-Crv9EDe5-Dm92urnR.js → ApAgingDetailPage-CtXSUVGC-DdWwytoq.js} +3 -3
  13. package/dist/assets/AppBasePage-D6MgS-da-2jH4Fzgr.js +70 -0
  14. package/dist/assets/{AppDrawerContent-rw39Hn3s-Aoghs5SQ.js → AppDrawerContent-Z3Hny9GH-BBS5jJHD.js} +59 -46
  15. package/dist/assets/ApprovalRulesSettingsPage-BwnaDPqA-BMHJ2n3v.js +47 -0
  16. package/dist/assets/ArAgingChart-BvG_iPlt-BYubF9ZD.js +24 -0
  17. package/dist/assets/ArAgingDetailPage-Sm4672LS-o1itnQt5.js +46 -0
  18. package/dist/assets/{AttachmentView-BTAMhgXU-BizBD4c6.js → AttachmentView-ChlYn2cr-DueA245P.js} +8 -8
  19. package/dist/assets/AuditReportDrawerPage-CaFo0k9s-NaTvWx96.js +369 -0
  20. package/dist/assets/{BankAccountSection-DVO3xzgl-BbF3_Xvy.js → BankAccountSection-DdvqFTBS-3WhABy0l.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-CQsqUFKg-CEwje_vW.js → BankAccountWarningSection-VrRQxdkB-DFivrjf8.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-CEyhk8v--D1MZcFK5.js → BankConnectionsSettingsPage-D1Y3V93C-Bfvr_pF_.js} +23 -23
  23. package/dist/assets/{BillDetailPage-CP6QCrla-C-q234bH.js → BillDetailPage-XL8GxSiQ-Cxb-3w9d.js} +18 -18
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Bem5LvtY-ByYY2uP-.js → BillPayApprovalRuleDetailPage-wIEW2R5G-CC_GZTsX.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-DhDaCfQa-cqstNfVf.js → BillPayApprovalRulesPage-kGddvG8V-rTKT6DIU.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-BjH9lvnR-7aNAb2i3.js → BillPayPromoPage-VBLYqFtx-CSmxPHYz.js} +10 -10
  27. package/dist/assets/BillPaySetUpPage-CTNtHQBM-CpoUfnMM.js +42 -0
  28. package/dist/assets/BillingSettingsPage-CR0doM6R-DRs8JS8S.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B0ebreRX-D7v6qOnU.js +1 -0
  30. package/dist/assets/{BoxItem-BL-UVx2X-CDUWJCC4.js → BoxItem-DJq3mny1-nPTLB__B.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-B6lyqGIK-BfLlNZ0a.js +140 -0
  32. package/dist/assets/BusyIndication-_H8LL7GJ-BjR55KdD.js +9 -0
  33. package/dist/assets/{CardNumberSubText-CNMNL0y--CRLH2YxV.js → CardNumberSubText-Bo_ZeAR0-DocU3odv.js} +4 -4
  34. package/dist/assets/{CashbackDetailPage-Cj26I5CB-DNKm6NdF.js → CashbackDetailPage-0Yl3lHzq-CJUtuV5y.js} +31 -31
  35. package/dist/assets/{ChargeCardDetailPage-herJK06r-Jj0sML3r.js → ChargeCardDetailPage-BaceF_92-G63YAG6z.js} +78 -78
  36. package/dist/assets/{ChargeCardListPage-LYVKm-0u-CGVPXLUW.js → ChargeCardListPage-_YORyJOy-uqdfjUZk.js} +37 -37
  37. package/dist/assets/{ChargeCardListTable-DxE-nRR4-Dc_afx90.js → ChargeCardListTable-DE1xnRyd-D2F1GAJW.js} +62 -62
  38. package/dist/assets/ChargeCardPromoPage-DO2UJyXm-Dwx7STGG.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-De5jDB3D-CMdmpmLu.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-DkCHd5c6-y_ZysAG_.js → ChargeCardStatementsPage-bpyamxR5-WxHdE5xc.js} +9 -9
  41. package/dist/assets/ChargeCardUtils-DYpmF85C-qBaPG14m.js +1 -0
  42. package/dist/assets/{ChaseOverlay-N7gGQaMQ-Bh9lkzpe.js → ChaseOverlay-YVpKSII6-BIyjTgCz.js} +10 -10
  43. package/dist/assets/CheckDepositDrawerPage-Dj2do0Un-DCNBKUNr.js +206 -0
  44. package/dist/assets/{CollapsableReportTable-NSlKGCNZ-9GlkRzVX.js → CollapsableReportTable-CDe76ha7-3Q7qsS_e.js} +18 -18
  45. package/dist/assets/{CompanyOfficerDetailsSection-C1IpMsWw-4riCbcJi.js → CompanyOfficerDetailsSection-CeVdKqY7-DWrcELqw.js} +25 -25
  46. package/dist/assets/{CompanyPassportCard-D5gkzDNU-DdCNWaie.js → CompanyPassportCard-O7LbMSSb-D53wb0da.js} +8 -8
  47. package/dist/assets/{CompanyPassportPage-6_6yWHxX-BzKkvM2X.js → CompanyPassportPage-B05q2F4S-DiyGLc2N.js} +154 -154
  48. package/dist/assets/CompleteProfile-B_dl9xEx-DFZ3KU15.js +52 -0
  49. package/dist/assets/ConfettiBurst-ChCmpiHq-BBDSx_jo.js +1 -0
  50. package/dist/assets/ControlledCheckBoxField-BIqM2o6X-Ml88Uf7U.js +74 -0
  51. package/dist/assets/{CreateOrEditVendorPage-DQW4Wobx-CiIXGaQB.js → CreateOrEditVendorPage-BZ6ZfaSo-Dn1DLrma.js} +15 -15
  52. package/dist/assets/{CreditCardPaymentDrawerPage-BEpQXn9g-DzfCHeLI.js → CreditCardPaymentDrawerPage-cABpaIqh-BIRd807Z.js} +16 -16
  53. package/dist/assets/{CreditCardPaymentPlgSection-BGh2TJeK-DFQxSPk-.js → CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js} +11 -11
  54. package/dist/assets/{CurrencySelectField-C2if0NUa-ChKY5K5U.js → CurrencySelectField-BfgtNimH-BYHOS_CH.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingActivationPage-_zjv9RZY-5MkPCW8D.js → CustomerOnboardingActivationPage-Czg8rmEW-YInlsWzY.js} +4 -4
  56. package/dist/assets/CustomerOnboardingContainerPage-Ciaw11Nw-O_DtjvXM.js +1 -0
  57. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CXApNm6A-BSR-PhTi.js → CustomerOnboardingDetailPageSkeleton-DtYTYPnO-DzMzbH73.js} +17 -17
  58. package/dist/assets/CustomerOnboardingNoStepsPage-CdOEZjmC-HqvGWI7K.js +66 -0
  59. package/dist/assets/{CustomerOnboardingPage-CWpmMXrh-CRkiPpz7.js → CustomerOnboardingPage-CXZCAc_N-BfMJFDq7.js} +10 -10
  60. package/dist/assets/{CustomerOnboardingProductSuitePage-CGYRoz3v-BhEGdWj7.js → CustomerOnboardingProductSuitePage-ucFJ1PHr-BwZiAWEx.js} +10 -10
  61. package/dist/assets/{Dashboard-Dyt4nvyG-CkNduEQV.js → Dashboard-CAWL19Rr-CvQLInkH.js} +229 -229
  62. package/dist/assets/{DashboardReportPage-BSbTlRwW-gHAkcokq.js → DashboardReportPage-DYgKY1Ns-_VZzH9Ck.js} +27 -27
  63. package/dist/assets/DashboardSidebarBackgroundAnimation-CblfOXOJ-B4cbMZpc.js +12 -0
  64. package/dist/assets/{DepositAccTransactionItem-CuTp6qxI-Ce2SFbUX.js → DepositAccTransactionItem-DeOMizAI-BUL1onQj.js} +10 -10
  65. package/dist/assets/DepositAccTransactionListPage-2kpIHXLb-j8eQ9Syw.js +66 -0
  66. package/dist/assets/{DomesticWireDetailsPage-C5hxxGsr-D-EvElMb.js → DomesticWireDetailsPage-FsJvVULE-cMWuJpE8.js} +1 -1
  67. package/dist/assets/{DownloadOverlay-B9O7jf-4-BeIpOSC8.js → DownloadOverlay-CVCKyDWO-CyzPCm3f.js} +40 -40
  68. package/dist/assets/{DrawerPage-Dpd6lRf7-l9nV_5N2.js → DrawerPage-l697kk-T-C0lMqvCR.js} +14 -14
  69. package/dist/assets/EditPeoplePage-CwhUp4W2-CnFSjC3L.js +55 -0
  70. package/dist/assets/{EditReimbursementDetailPage-BL-W1hPs-D4iR-8Yt.js → EditReimbursementDetailPage-COuH1JPm-DF1XIZnj.js} +68 -68
  71. package/dist/assets/EmptySearchResults-CB9-FwYT-DCczU5qh.js +46 -0
  72. package/dist/assets/EntityDetailPage-BqjWJTDI-qcUtYQZh.js +18 -0
  73. package/dist/assets/{EntitySummarySection-eNxIwvHt-CkeObU85.js → EntitySummarySection-B1zP9dKH-kkSLVqaS.js} +10 -10
  74. package/dist/assets/ExpenseAutomationOverviewPage-CKokJTC4-C9VvWXen.js +222 -0
  75. package/dist/assets/{ExpenseAutomationPage-LPWPrpwm-T8iyqKP1.js → ExpenseAutomationPage-DP0P07VH-DhP4-CZe.js} +91 -91
  76. package/dist/assets/{ExpressPayPage-COQrt-KL-sn6b2-XB.js → ExpressPayPage-CuuS2EDn-D3uvvYo2.js} +9 -9
  77. package/dist/assets/{FeaturePreviewPage-Coe53hoK-Doq3zPCz.js → FeaturePreviewPage-D90G_5Q8-CnQvTfz2.js} +2 -2
  78. package/dist/assets/{FollowStepsSection-BJFJzQrz-CGmrm9Lr.js → FollowStepsSection-DbS5XlIB--DgM9Akw.js} +10 -10
  79. package/dist/assets/{GlobalReviewListPage-DDQb-plt-B7MJAdcL.js → GlobalReviewListPage-D1a2gbca-BjGUSD3w.js} +13 -13
  80. package/dist/assets/Header-DLZFUQF8-BI2bQ6MH.js +226 -0
  81. package/dist/assets/HealthListRow-iF093_lw-DegqmjBi.js +210 -0
  82. package/dist/assets/HealthMonitorDetailDrawer-BJRgJJOH-BzVkHFE6.js +401 -0
  83. package/dist/assets/HealthMonitorPage-BT0gIPV6-BAgQvawR.js +108 -0
  84. package/dist/assets/{HelpButton-BT_HyQ5k-B4E1vZtk.js → HelpButton-Dw0OujKs-8AApGgt1.js} +7 -7
  85. package/dist/assets/{InformationCardStack-B9E29_zj-DokGK6g8.js → InformationCardStack-QA9nEJlH-BHcB9j6E.js} +4 -4
  86. package/dist/assets/{InsightsCardStack-7XbkZ-A3-BxqeB-iN.js → InsightsCardStack-DKM6Xigy-B12rMXAv.js} +13 -13
  87. package/dist/assets/InsightsSection-DxpsNIIy-D73VhmA2.js +27 -0
  88. package/dist/assets/IntegrationsSettingsPage-DEOHHrS4-xD8BgFGo.js +57 -0
  89. package/dist/assets/{InternationalWireSwiftDetailsPage-BeSYu2Dm-y3Tu_Xyi.js → InternationalWireSwiftDetailsPage-KC-9TwlR-DtVQ4upN.js} +17 -17
  90. package/dist/assets/{InternationalWireVerificationPage-Ctcaggen-Cihfrd35.js → InternationalWireVerificationPage-D59omOr2-BqyFDoPr.js} +17 -17
  91. package/dist/assets/InviteFormPage-CU5_JoYd-DtlUlrhp.js +312 -0
  92. package/dist/assets/{InvitePageListView-BMMOpM9O-B8oUxVru.js → InvitePageListView-BO-RmmHm-B9WEWx8n.js} +55 -55
  93. package/dist/assets/InvitePeoplePage-Btu9ayOz-bG-WZTzF.js +12 -0
  94. package/dist/assets/{InvoiceUploadSection-C6Dx8Web-CBeOBAnd.js → InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js} +9 -9
  95. package/dist/assets/{IssueChargeCardPage-DWRhiOzj-DCnENqBq.js → IssueChargeCardPage-CB5DhzQb-Dowc3uml.js} +75 -75
  96. package/dist/assets/LabeledAddressValue-tO6Kg-ki-DIZXgDEF.js +49 -0
  97. package/dist/assets/LabeledAddressValueField-CkveEJJG-BEvwzrCB.js +45 -0
  98. package/dist/assets/LabeledControlledCheckBoxField-B50HdRDc-BPCXXpG-.js +16 -0
  99. package/dist/assets/{LabeledCreatableSingleSelectField-CTwToXIo-Cle-L6Nt.js → LabeledCreatableSingleSelectField-CIhXQBns-C3KOt5qj.js} +5 -5
  100. package/dist/assets/LabeledDocumentField-B8uyJA2N-B3iZ1bpr.js +41 -0
  101. package/dist/assets/{LabeledDropDownFormattedTextField-mOxkCT-G-CFeF0x5h.js → LabeledDropDownFormattedTextField-pClUx8A9-Dtg8BoKW.js} +4 -4
  102. package/dist/assets/LabeledEmailInputField-D5OBo0RU-Cn7DEiyr.js +182 -0
  103. package/dist/assets/LabeledGroupedCheckBoxField-DLSgfRui-CIvqEp4U.js +82 -0
  104. package/dist/assets/LabeledItemWithButton-CNlRAl-1-D8RdmCNz.js +21 -0
  105. package/dist/assets/LabeledNameField-B73hOD1K-DrzOl55q.js +141 -0
  106. package/dist/assets/LabeledSingleSelectField-nPVDbcr0-DXhzL0iF.js +136 -0
  107. package/dist/assets/LabeledSingleSelectWithoutClearableField-DgT7faZC-Or3zfyeO.js +38 -0
  108. package/dist/assets/{LabeledText-CExeogkg-361xlNV7.js → LabeledText-CW-bei7--hAClqsQN.js} +3 -3
  109. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DrloYoze-DB50WeN3.js → LabeledUserSingleSelectWithSubtitlesField-DZUt2T7b-B09ph3mF.js} +15 -15
  110. package/dist/assets/{LabeledZeniRolesDropDownField-BZKMSlzI-B3-a-Sde.js → LabeledZeniRolesDropDownField-DNZUBYDP-ltAbPko_.js} +11 -11
  111. package/dist/assets/LinkJETransactionPage-ChyKb7xl-LR_CFAXE.js +98 -0
  112. package/dist/assets/Loader-Cqmoylhp-CKPikayq.js +32 -0
  113. package/dist/assets/{LowBalancePopup-DqY0lHvk-Bg-BhJJe.js → LowBalancePopup-DcVkWdb3-vRNfAVIB.js} +6 -6
  114. package/dist/assets/{MagicLinkACHDetailsPage-BctRnNGY-DEYW76Ne.js → MagicLinkACHDetailsPage-B3NEKP0z-DUbPO0xw.js} +1 -1
  115. package/dist/assets/{MagicLinkDomesticWireDetailsPage-UjO7TGNI-jNwBg57q.js → MagicLinkDomesticWireDetailsPage-SvX8hE_J-6LOmcKRH.js} +1 -1
  116. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ex7nPlxc-Cv717ajH.js → MagicLinkInternationalWireDetailsPage-DnrUY7JS-nyREbLmz.js} +1 -1
  117. package/dist/assets/MagicLinkSuccessPage-7bTkYgEa-CPPkAGGs.js +31 -0
  118. package/dist/assets/MagicLinkTitleSection-BlxCsth7-BHITpmKu.js +17 -0
  119. package/dist/assets/{MailingDetailsSection-D7d7fV5j-Cs19YBt0.js → MailingDetailsSection-DFxnpK8F-CiXDBg4h.js} +1 -1
  120. package/dist/assets/ManagementPage-D5egEDwP-uTkBBFJq.js +556 -0
  121. package/dist/assets/MatchingOperatorDropdown-C5zSNKmV-DBpzsPUC.js +130 -0
  122. package/dist/assets/{MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js → MeetingCalenderPopup-LNaVbSrR-TEQEw5Mb.js} +3 -3
  123. package/dist/assets/{Menu-FcKyIIWS-5DaRICk4.js → Menu-BCNEnlpd-D3With3F.js} +3 -3
  124. package/dist/assets/MonthEndEmailDrawerCustomerRequestPage-CK7yjkYx-Dj2GK4HO.js +39 -0
  125. package/dist/assets/MonthEndReportHistoricDataPage-BuRBd_9k-DDKlEI2q.js +124 -0
  126. package/dist/assets/MonthEndReportPage-DOTCU96W-VybM2w9h.js +28 -0
  127. package/dist/assets/MoreMenuButton-Cj6SIPVt-CYCCFBqM.js +134 -0
  128. package/dist/assets/{MyBankConnectionsSettingsPage-B4NuqJVI-C5C-Tkbz.js → MyBankConnectionsSettingsPage-DCURGC-R-BMFNqNjE.js} +13 -13
  129. package/dist/assets/MyPendingActivationChargeCardListPage-BFe1hoDt-CfBCldAO.js +6 -0
  130. package/dist/assets/MyProfileSettingsPage-B7zND-Ux-BN19QlhA.js +85 -0
  131. package/dist/assets/NavBar-BjyxKUvF-gwYjTp7H.js +189 -0
  132. package/dist/assets/{NavBarWithPicker-Bu03gVw7-BBANsf51.js → NavBarWithPicker-CBOGjIl3-ajX8qLcM.js} +6 -6
  133. package/dist/assets/NavHeader-9VET6uub-DBlTa1KF.js +236 -0
  134. package/dist/assets/{NavigationArrow-D7Eb-FlF-DFK_OGPD.js → NavigationArrow-C6KDDKXh-BuGIAK_3.js} +2 -2
  135. package/dist/assets/{NavigationDots-CFjUchuX-BbVX67wD.js → NavigationDots-CGOsNTLj-ZRX96j5F.js} +1 -1
  136. package/dist/assets/{NewGlobalMerchantPage-rhhm0o-f-DpBge9cX.js → NewGlobalMerchantPage-C478pZIu-cHWkOmAB.js} +11 -11
  137. package/dist/assets/{NoDataChart-D5DKMqIS-BEaaizBY.js → NoDataChart-BSoXaJD0-JxM1S3Cy.js} +8 -8
  138. package/dist/assets/{NoDataTable-CPEKYH-4-ChRW7vff.js → NoDataTable-iH1r029I-DLkBIcoK.js} +1 -1
  139. package/dist/assets/{NotFoundPage-Cfk62GPw-D375IgXA.js → NotFoundPage-BQLKWvT9-wlLCbXww.js} +6 -6
  140. package/dist/assets/{NotificationSettingsPage-BZtsKPBO-AXQQWsyF.js → NotificationSettingsPage-R7veJvze-BqnLD-ld.js} +25 -25
  141. package/dist/assets/NotificationsListConfig-CyQxEQ13-D7e4Z7fR.js +1 -0
  142. package/dist/assets/{NotificationsPage-CgABP7O1-BFGmWSCt.js → NotificationsPage-D_vooxhV-BtfMVNB5.js} +60 -60
  143. package/dist/assets/OnboardingCustomerPage-jmb-3M9K-C-4WzmwX.js +476 -0
  144. package/dist/assets/OnboardingPage-LCaIErMj-Bhag4ahh.js +408 -0
  145. package/dist/assets/{OpExByVendorPage-CMEokGbw-5aOd51kS.js → OpExByVendorPage-DWCdLRPc-peo3zX7H.js} +14 -14
  146. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-DmDVJorJ.js → OverlayContainerPage-1M2CZQoK-DROfCTrK.js} +1 -1
  147. package/dist/assets/PandLWithForecastPage-3h8Q4kZg-CZgSqzQW.js +107 -0
  148. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D6cW0hFS-DO3Osr4s.js → PaymentAccountSetupBillingAddressSection-YLuS3VUf-CaBoPPAw.js} +10 -10
  149. package/dist/assets/{PeoplePage-lD4QPAkF-28PZT7ir.js → PeoplePage-CRZ7ywRU-CZLazd8w.js} +36 -36
  150. package/dist/assets/{PortfolioAllocationFormPage-pynkIQMX-BFz04Oo7.js → PortfolioAllocationFormPage-QP1Aoj30-7H62H89u.js} +13 -13
  151. package/dist/assets/{PortfolioDetails-Cs8o8xzm-bO5l1T7Z.js → PortfolioDetails-DOlYfVij-TNjtwW2_.js} +42 -42
  152. package/dist/assets/PortfolioPage-BfNGByGB-ea6OEgaP.js +237 -0
  153. package/dist/assets/{ProductsCarousel-vPy7zk53-DjiVBmpl.js → ProductsCarousel-CzJnAk3w-MortVhyi.js} +10 -10
  154. package/dist/assets/{PromoBaseCards-CWGpTa57-Bj-bRm1l.js → PromoBaseCards-CLKhsYfl-BEkL1oHo.js} +4 -4
  155. package/dist/assets/{QBOConnectionDialog-66XnPKaW-8EXYy72U.js → QBOConnectionDialog-CiAUTeD2-D061mOJX.js} +10 -10
  156. package/dist/assets/QBOSetupSection-D-Q_DVva-q5JlqA-2.js +79 -0
  157. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSI9Lg6a-wX6i8H_B.js → ReimbursementApprovalRuleDetailPage-DCzX_1-a-BNW7pXC_.js} +1 -1
  158. package/dist/assets/{ReimbursementApprovalRulesPage-XxC6pXqt-Bzz5uq1t.js → ReimbursementApprovalRulesPage-DfHVzdAB-hV-2mfna.js} +9 -9
  159. package/dist/assets/{ReimbursementDetailPage-BwtY21D5-BOkbylET.js → ReimbursementDetailPage-Di8XpCvg-B7b0ZH64.js} +17 -17
  160. package/dist/assets/{ReimbursementPromoPage-CmO1DP-8-DpBTbSy4.js → ReimbursementPromoPage-CJSuqONm-DlocTKyV.js} +24 -24
  161. package/dist/assets/ReimbursementSetUpPage-5OtsfDPV-DQz8dNtG.js +140 -0
  162. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BX722SXa-YTQZVgWe.js +1 -0
  163. package/dist/assets/{ReloadCard-CJfjUA_Q-iqgRrGxj.js → ReloadCard-BuBuLupE-Cty15m_t.js} +5 -5
  164. package/dist/assets/ReloadContainer-BRXUxBxu-BAp5l7-f.js +13 -0
  165. package/dist/assets/ReloadContainer-fx3kImdJ-D2lKf-Yd.js +17 -0
  166. package/dist/assets/ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js +150 -0
  167. package/dist/assets/{ReportsPage-BJqldqjR-p6MwUSO1.js → ReportsPage-R29_iuow-B4_GPbvP.js} +6 -6
  168. package/dist/assets/{RevenueChart-BUnSkoUN-CWdeY5GO.js → RevenueChart-D3r_Mgmm-XyYx-Hfz.js} +1 -1
  169. package/dist/assets/{ReviewDetailsPage-8I09Puca-B9BkrydV.js → ReviewDetailsPage-Cimq9su3-CRN9WHDV.js} +20 -20
  170. package/dist/assets/ReviewOverlay-Bz1kr6zu-Dw4JE5ud.js +152 -0
  171. package/dist/assets/ReviewPage-Cel3qzEQ-DiaZxW5f.js +306 -0
  172. package/dist/assets/RoleWithToolTip-CUogd8qi-BfjjZiS9.js +22 -0
  173. package/dist/assets/{ScheduleDetailsFixedAssetsPage-1Y1ZylI7-BDsLy1RB.js → ScheduleDetailsFixedAssetsPage-Cbe0zp9o-DxmW_LFp.js} +13 -13
  174. package/dist/assets/{ScheduleDetailsPage-BcRuA_7y-mmMtrxsU.js → ScheduleDetailsPage-DxmJdx3I-Bant9wup.js} +3 -3
  175. package/dist/assets/{ScheduleSequenceTable-DC75D2Dx-BSdJrIG_.js → ScheduleSequenceTable-srpDx2n6-l1UT781V.js} +28 -28
  176. package/dist/assets/{ScreenRoutes-DRpA2l4T.js → ScreenRoutes-DPjLo75W.js} +1 -1
  177. package/dist/assets/SetUpAccountSection-2UGQI7fx-D_tNKXyG.js +378 -0
  178. package/dist/assets/{SetUpDefaultSection-a6NTauck-C-i38hil.js → SetUpDefaultSection-BWt_kYKx-Dc8telSj.js} +15 -15
  179. package/dist/assets/{SignIn-_ZPdER_K-0cn49L67.js → SignIn-BF4ojxcy-ignSyaGW.js} +21 -21
  180. package/dist/assets/SignInScreen-DjQXT0cG.js +1 -0
  181. package/dist/assets/SpendManagementListViewPage-DbfQ_jzA-sW1BTRjR.js +123 -0
  182. package/dist/assets/{SpendManagementPerTabPage-CbjC0IBF-BthyUtDp.js → SpendManagementPerTabPage-CZaPjNjx-Bhxn4ZLQ.js} +64 -64
  183. package/dist/assets/{SpendManagementSection-BKTkeRK6-DIa3Rn7O.js → SpendManagementSection-atmLAM4T-DeXVF-9S.js} +22 -22
  184. package/dist/assets/{SpendMgmtSetupAccountSection-D8Yv-Jng-D3WoppPf.js → SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js} +21 -21
  185. package/dist/assets/{StatementItem-DSJvKpAv-DV7N47r3.js → StatementItem-DgZtQdC5-CijP321B.js} +4 -4
  186. package/dist/assets/StatementsPage-Az4ZzxA6-CY7Q-Hv-.js +58 -0
  187. package/dist/assets/{StatusSwitcher-CTDNbKqC-Bv4PZo8C.js → StatusSwitcher-BTTEP3yZ-DwSqL8zG.js} +2 -2
  188. package/dist/assets/StatusTag-MQXQGj2--SPp-Hljk.js +38 -0
  189. package/dist/assets/{SubTabSwitcher-D33kV-tw-BTeEHhHa.js → SubTabSwitcher-BedfItte-C-XhL99Y.js} +6 -6
  190. package/dist/assets/SubscriptionAddPlanPage-Bn4CUx_v-BcoEoxy8.js +59 -0
  191. package/dist/assets/SubscriptionDetailPage-BZDJEjR1-DavSO9K8.js +216 -0
  192. package/dist/assets/SubscriptionPage-Tpj1RZco-CfI0x1AO.js +282 -0
  193. package/dist/assets/SubscriptionSnackBar-CwdSE1Xz-BYx3vQ0D.js +57 -0
  194. package/dist/assets/SubscriptionSummaryPage-Dep_cm58-D3JscAEe.js +176 -0
  195. package/dist/assets/SubscriptionUpdatePlanPage-5_wWKxme-CSTH4683.js +408 -0
  196. package/dist/assets/SuccessAnimation-BtFsm6Oj-BU_bae75.js +13 -0
  197. package/dist/assets/{SummaryCard-tsJZnge3-DE5AVV4x.js → SummaryCard--FoJZECU-DjUF26i-.js} +1 -1
  198. package/dist/assets/TaskDetailPage-aleDjLBo-DJGRUSEM.js +775 -0
  199. package/dist/assets/TaskListRow-xLyzXOYn-CLZGelcY.js +403 -0
  200. package/dist/assets/{TaskManagementPage-BW9M6AQs-DyLPADr6.js → TaskManagementPage-DchOWpNF-n_asmH-l.js} +41 -41
  201. package/dist/assets/TaskManagerPage-Dye8P0ua-jLCJwLcT.js +176 -0
  202. package/dist/assets/TextHighlightSection-Y0L_w9RR-D8_NKTqM.js +584 -0
  203. package/dist/assets/{TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js → TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js} +2 -2
  204. package/dist/assets/{TimeframeSwitcher-B-S09J4A-MdxeQVLH.js → TimeframeSwitcher-DABwUJSm-DPkuAUy9.js} +4 -4
  205. package/dist/assets/{TimeframeSwitcherWithToggle-B9Lo2-pD-oHueEdHK.js → TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js} +2 -2
  206. package/dist/assets/{TopExCard-DwP8Cppq-BA7R-fYL.js → TopExCard-BwOpZFuj-CBPfgwzP.js} +7 -7
  207. package/dist/assets/{TopExDetailPage-CIMSDSxd-DWJg2Rhe.js → TopExDetailPage-BLaZA-dy-BH7Jcbvo.js} +19 -19
  208. package/dist/assets/{TransactionDetailPage-rwzAZT-Q-kE9Vj_Gw.js → TransactionDetailPage-BSDcUBWF-RsUJuQC6.js} +54 -54
  209. package/dist/assets/TransactionList-CnOj_LA1-DJxHv2ky.js +147 -0
  210. package/dist/assets/{TransactionListBig-BidYBgz3-mdU3i6TS.js → TransactionListBig-vNVdUmc6-C0TF6R2i.js} +26 -26
  211. package/dist/assets/TransactionListPage-CrUtG598-DR2tdFwA.js +35 -0
  212. package/dist/assets/TransactionVendorDetailPage-DjuFdK9S-Bn1DMv6P.js +80 -0
  213. package/dist/assets/{TransferDrawerPage-CztFCYxm-CBCCBWte.js → TransferDrawerPage-BMfeqbNy-BPjvRE9M.js} +46 -46
  214. package/dist/assets/{TreasuryOverviewPage-E5E5Gr3g-D2CrCBTV.js → TreasuryOverviewPage-B0vqbfmt-Cncu2g9Z.js} +47 -47
  215. package/dist/assets/{TreasuryPromoPage-D2F4Y8gV-CYlJ3kU9.js → TreasuryPromoPage-CQDA9os9-W40fA_vr.js} +28 -28
  216. package/dist/assets/{TreasurySetupPage-Dxa4l6Ec-D8eLBdo9.js → TreasurySetupPage-ChKM9npc-DNsYbGBz.js} +9 -9
  217. package/dist/assets/TreasuryStatementsPage-C0oRa1nh-BiT4V4PF.js +58 -0
  218. package/dist/assets/TreasuryTaxLetterPage-BuGFH3YF-BkeOYDmd.js +58 -0
  219. package/dist/assets/{TreasuryTransferOrReviewPage-BfReLw_V-7MLhWFB6.js → TreasuryTransferOrReviewPage-wt-8Okdj-CDylzOrV.js} +96 -96
  220. package/dist/assets/TrendChart-a95Aii8O-Crc1NrOm.js +16 -0
  221. package/dist/assets/{TrendWithTransactions-BslpnJTN-CCs7L3oP.js → TrendWithTransactions-CaExMJVA-C_0n3oh-.js} +13 -13
  222. package/dist/assets/{UncategorizedAccountsMappingPage-Brm7fcuy-1WMghiUv.js → UncategorizedAccountsMappingPage-CEHiflWp-D5pq-zY_.js} +5 -5
  223. package/dist/assets/{UnitIntegrationPage-DhiEmm9g-CyoCc7wN.js → UnitIntegrationPage-CNZbRdtN-B7b4N3wp.js} +4 -4
  224. package/dist/assets/{UploadAdditionalDocumentOverlay-Dq1ToFCn-BQjCguyB.js → UploadAdditionalDocumentOverlay-Bxc2MMx0-Cpl1vzGP.js} +2 -2
  225. package/dist/assets/UserMultiSelectField-UsIy6n-8-DdaF7B7O.js +154 -0
  226. package/dist/assets/UserWithTimestamp-i09mOCAu-Cw5lsbIN.js +38 -0
  227. package/dist/assets/{Vendor2FAPopup-Brg14-Cw-BfoPqsuP.js → Vendor2FAPopup-CqQOI5F6-CXSUTyq5.js} +1 -1
  228. package/dist/assets/{VendorACHDetailsPage-mk0vAyqE-BSy-kLup.js → VendorACHDetailsPage-BwYEhxJe-BB1a4fFU.js} +1 -1
  229. package/dist/assets/{VendorDetailPage-CRhCXEsq-qmv0EtV4.js → VendorDetailPage-C5zTkWhA-Uj3MwLUr.js} +23 -23
  230. package/dist/assets/{VendorDomesticWireDetailsPage-DhWkYV9N-CfYo0l4g.js → VendorDomesticWireDetailsPage-DrwX_ukC-DBWePN-A.js} +1 -1
  231. package/dist/assets/VendorFiling1099EditablePage-C3wjgkez-Dr8QyAeR.js +175 -0
  232. package/dist/assets/{VendorFirstReviewPage-XHOyQIOp-D3qnz2ww.js → VendorFirstReviewPage-BmRvA38Y-B_gKBGgZ.js} +45 -45
  233. package/dist/assets/{VendorInternationalWireDetailsPage-B13qu8u3-XGuYC0bw.js → VendorInternationalWireDetailsPage-DtG2HQ0g-WjpK5qgH.js} +15 -15
  234. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dtgusj3r-lncQfKmQ.js → VendorInternationalWireSwiftDetailsPage-DLSMDEiO-DSuW-yyD.js} +1 -1
  235. package/dist/assets/{VendorsAccountsSection-B-qorJ8x-D7fZrn7B.js → VendorsAccountsSection-5QJEJeCr-ovimcD6K.js} +6 -6
  236. package/dist/assets/{VerifyDevice-CBO1Uzra-0Sdb0n5n.js → VerifyDevice-DBnFzHim-C-LQbPfS.js} +13 -13
  237. package/dist/assets/{WarningsDrawerPage-B4Nic3gX-jDmAJMW0.js → WarningsDrawerPage-rcWR2KXe-BgEVT8fd.js} +8 -8
  238. package/dist/assets/{ZeniAccountDetailPage-IDGYSZVs-DmZJYRcm.js → ZeniAccountDetailPage-i8C1YB1W-CGdZ9Fyc.js} +22 -22
  239. package/dist/assets/{ZeniAccountListViewPage-IlPP8Yit-dH-QXkwU.js → ZeniAccountListViewPage-DyHxeqvW-CBT4R7Fd.js} +22 -22
  240. package/dist/assets/ZeniAccountNavBarPieces-CsSdfTKg-5k_P9-6W.js +14 -0
  241. package/dist/assets/{ZeniAccountPromoPage-BhFf42Fz-TRhbuR-7.js → ZeniAccountPromoPage-C5icpLpX-DtIf5jxs.js} +21 -21
  242. package/dist/assets/ZeniAccountSetupPage-BXHIQxgf-DcysatW3.js +36 -0
  243. package/dist/assets/ZeniAvatar-Cendj_Bv-Dp3oXY0H.js +13 -0
  244. package/dist/assets/{ZeniCopyright-C4Ze2E8o-C33E_V5I.js → ZeniCopyright-BX1-vpnA-B9MOS9At.js} +1 -1
  245. package/dist/assets/ZeniDatePicker-El_phkQ0-z80YcUbm.js +187 -0
  246. package/dist/assets/ZeniDatePickerField-3DaqcxMB-QK1YG1pI.js +1 -0
  247. package/dist/assets/ZeniTransferAmountSlider-CxxqQPB_-BqeHyBds.js +63 -0
  248. package/dist/assets/add-C0nqJFLa-C2eApjPK.js +1 -0
  249. package/dist/assets/{add-to-wallet-DgdBD8_G-DcfyMc0W.js → add-to-wallet-DgdBD8_G-XP_wmSR7.js} +1 -1
  250. package/dist/assets/{analyticsHelper-CsfdC0kT-BpVlkMRS.js → analyticsHelper-B3JHS_Qr-D08xKZsr.js} +1 -1
  251. package/dist/assets/{analyticsHelper-BuNdZ9jh.js → analyticsHelper-BFpl-Msc.js} +1 -1
  252. package/dist/assets/{arrow-south-east-round-PEovUgvH-DBLhwZXJ.js → arrow-south-east-round-PEovUgvH-DnzbA_s-.js} +1 -1
  253. package/dist/assets/{auto-transfer-rule-mbafm5D3-D6YoufI_.js → auto-transfer-rule-mbafm5D3-BA0iOPjL.js} +1 -1
  254. package/dist/assets/avatar-Dz7aEm3d-D64JGSQG.js +1 -0
  255. package/dist/assets/calculateSize-BUfcd-gF-DqmEdKsX.js +1 -0
  256. package/dist/assets/{chartTypes-CPj7oOMJ-Cv2ANOse.js → chartTypes-CICM6xJ3-DAE7LSQz.js} +1 -1
  257. package/dist/assets/clock-CJkylEKt-CJ3FIZ_o.js +1 -0
  258. package/dist/assets/cockpitConstants-CT7OARAT-C430UcjZ.js +1 -0
  259. package/dist/assets/cockpitHelpers-CSVzBgeI-BARdDEyf.js +1 -0
  260. package/dist/assets/cockpitHelpers-Y5_CbmvR-BhJ5C_6h.js +1 -0
  261. package/dist/assets/common-CU4uS1La-DdHnWUCD.js +1 -0
  262. package/dist/assets/{commonDimensions-CKs-7p-V-CmlPem1Z.js → commonDimensions-EDu7gcyc-DiuxcTjp.js} +1 -1
  263. package/dist/assets/{crypto-BURQLTgV.js → crypto-DPjkCRYF.js} +1 -1
  264. package/dist/assets/{detailCommon-BJ8iCchG-CdCS4VPM.js → detailCommon-DAG_rX2o-B0QDOSIy.js} +9 -9
  265. package/dist/assets/dollar-round-D18u7nlm-CXc5TAek.js +1 -0
  266. package/dist/assets/double-tick-D6s_OvsM-DFvZDijg.js +1 -0
  267. package/dist/assets/{downloadPdf-hPck-AA1-CD5ZG46J.js → downloadPdf-DCmFpTS--B48gcxsA.js} +1 -1
  268. package/dist/assets/filter-cZIFUNvj-B9dfJXS9.js +1 -0
  269. package/dist/assets/getCockpitColor-YYDF6h1T-D0_aeMEA.js +1 -0
  270. package/dist/assets/{gift-box-Cmt9OgIZ-DKWN92w0.js → gift-box-Cmt9OgIZ-Bnh-gm_T.js} +1 -1
  271. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BalbEtqQ.js → graphic-no-data-l-DU4J8fDt-DTLZpyxa.js} +1 -1
  272. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js → graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js} +1 -1
  273. package/dist/assets/groupHelper-CTA_J_U7-CPJTcSSg.js +1 -0
  274. package/dist/assets/hyperlink-DQyCeXx2-ChMvASRu.js +1 -0
  275. package/dist/assets/{index-CyJdCOlu.js → index-D9zAXs3-.js} +5886 -14388
  276. package/dist/assets/index-DVThwdcI.css +1 -0
  277. package/dist/assets/intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js +1 -0
  278. package/dist/assets/{liveblocks-DZpRS25q.js → liveblocks-C2xecagE.js} +2 -2
  279. package/dist/assets/loader-BwDk7JSW-DoE-nOgh.js +1 -0
  280. package/dist/assets/{lodash-Dq_mKlGB.js → lodash-D52QloPU.js} +1 -1
  281. package/dist/assets/{mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js → mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js} +1 -1
  282. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B20NECa8-DENXzcIZ.js → mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js} +1 -1
  283. package/dist/assets/{mapSpacerToTreeNode-CLYF1Foh-BkgQTnh2.js → mapSpacerToTreeNode-CY5XRFK--DC8NIrxN.js} +1 -1
  284. package/dist/assets/{mapTimeframeBalancesToTreeNode-fLAswzPX-uvgKr4WV.js → mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js} +1 -1
  285. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-iRb2_j-BOYVHL5U.js → mapTimeframeBalancesToTreeNode-DVzQl7Bb-DDS_OBZQ.js} +1 -1
  286. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js} +1 -1
  287. package/dist/assets/money-2cg1MuG4-BaDu1jFd.js +1 -0
  288. package/dist/assets/{mui-Bi8r7UDG.js → mui-Ty75qFQF.js} +1 -1
  289. package/dist/assets/note-DCtChU1T-DArfpxk4.js +1 -0
  290. package/dist/assets/{page-detail-CWX5S47F-B6DjZ3Gi.js → page-detail-CWX5S47F-lMo0MYzU.js} +1 -1
  291. package/dist/assets/page-summary-D7_VQHwN-DEY33DNc.js +1 -0
  292. package/dist/assets/{play-icon-BZYr9mDs-DofqQFSd.js → play-icon-KtJH-UgF-Bm3lFkFZ.js} +3 -3
  293. package/dist/assets/{radio-default-CiSgisfh-ub7QGXr8.js → radio-default-CiSgisfh-Cuu8ymvq.js} +1 -1
  294. package/dist/assets/{redux-CC-tnuv1.js → redux-CEhZD0hA.js} +1 -1
  295. package/dist/assets/{routing-CxYXTKiv.js → routing-lj7oVq6C.js} +1 -1
  296. package/dist/assets/sectionColor-euXcOIkp-Cmmp8esL.js +1 -0
  297. package/dist/assets/{sentry-HDxG13yk.js → sentry-BE5FTzpq.js} +1 -1
  298. package/dist/assets/{shield-DOlUxcFf-BCUrujod.js → shield-DOlUxcFf-CDkNAu2o.js} +1 -1
  299. package/dist/assets/tick-round-CPC394H5-C8roQJBa.js +1 -0
  300. package/dist/assets/{toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js → toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js} +1 -1
  301. package/dist/assets/{toChartData-Cp_80Bi6-Dfd3dSx4.js → toChartData-D_8GUwpP-CFofR1sw.js} +1 -1
  302. package/dist/assets/{transaction-placeholder-CpOwZAMG-CJJQqrcA.js → transaction-placeholder-CpOwZAMG-CGEA36Na.js} +1 -1
  303. package/dist/assets/{treasuryColorHelper-CnKoJBRW-CDwAxole.js → treasuryColorHelper-C2d7wCjK-BWDQfCvz.js} +1 -1
  304. package/dist/assets/undo-b_3XZ5CX-Xpx_MAU7.js +1 -0
  305. package/dist/assets/{uploadAttachment-Cx3LGzsg-DDC6BFL5.js → uploadAttachment-CxwBrcm3-DDVTRYQ0.js} +29 -29
  306. package/dist/assets/{uploadReceipts-CwjPukNh-BNp5wSMb.js → uploadReceipts-DIYsXeyf-_3VvjCR-.js} +1 -1
  307. package/dist/assets/{useLongPress-GCK2COYQ-gxLtL5O4.js → useLongPress-GCK2COYQ-B0RUPzZV.js} +1 -1
  308. package/dist/assets/{usp-line-BBd1wKwW-CgKq8-Xn.js → usp-line-BBd1wKwW-ZlUrfnG1.js} +1 -1
  309. package/dist/assets/{vendor-CnQcJ2Lu.js → vendor-Bs1fkIUX.js} +7 -7
  310. package/dist/assets/{verification-CW6uEyev-DdkqedMU.js → verification-CW6uEyev-CQXAdM_w.js} +1 -1
  311. package/dist/assets/zeniDatePicker.helpers-Bv0wGqkO-0jS7nOtw.js +1 -0
  312. package/dist/index.html +1 -1
  313. package/package.json +2 -2
  314. package/dist/assets/ACHDetailsPage-BahbefPk-CJUwOp-5.js +0 -21
  315. package/dist/assets/AccountInfoPage-TD30edES-B2dxCd6A.js +0 -18
  316. package/dist/assets/AppBasePage-BK_b0fFf-DXr3P5KV.js +0 -70
  317. package/dist/assets/ApprovalRulesSettingsPage-C6jxuvhu-S4p-j-Jr.js +0 -47
  318. package/dist/assets/ArAgingChart-DVMlvNTF-DuCGC2Pt.js +0 -24
  319. package/dist/assets/ArAgingDetailPage-CbmOL5tx-Bg8YQJ9n.js +0 -46
  320. package/dist/assets/BillPaySetUpPage-X8X9gq1a-DvsjYi7w.js +0 -42
  321. package/dist/assets/BillingSettingsPage-CyyR8GW1-3x2HPXEj.js +0 -44
  322. package/dist/assets/BillsBulkReviewDrawerPage-D_xxZjcU-M0WKN8pE.js +0 -1
  323. package/dist/assets/BusinessVerificationPage-Tr-N_rHo-BFVLh_Kq.js +0 -140
  324. package/dist/assets/ChargeCardPromoPage-LVuaSVsQ-xG3b-_Ag.js +0 -222
  325. package/dist/assets/ChargeCardSetupPage-CWoHclOr-CLs_UkHN.js +0 -36
  326. package/dist/assets/ChargeCardUtils-6kq_92Ri-BhC-mlU5.js +0 -1
  327. package/dist/assets/CheckDepositDrawerPage-w7IziUHI-DeTxsGVS.js +0 -206
  328. package/dist/assets/CompleteProfile-1xeOWkGT-CSILrADl.js +0 -52
  329. package/dist/assets/ConfettiBurst-b1-NNKbl-Dk_0sV_i.js +0 -1
  330. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-CIUqDhfe.js +0 -1
  331. package/dist/assets/CustomerOnboardingNoStepsPage-BaBxG1Yn-DqlQrhK_.js +0 -66
  332. package/dist/assets/DepositAccTransactionListPage-CrQrOyrm-LYbEgddo.js +0 -66
  333. package/dist/assets/EditPeoplePage-C7uOWg9F-BdboEEOc.js +0 -55
  334. package/dist/assets/EntityDetailPage-BsQ9bSpC-Do5rjOCb.js +0 -18
  335. package/dist/assets/ExpenseAutomationOverviewPage-CKBACgsI-pcAU6Tzl.js +0 -222
  336. package/dist/assets/InsightsSection-DtBq9eII-CGUvYjY9.js +0 -27
  337. package/dist/assets/IntegrationsSettingsPage-TjdF0ahh-BOCCfb_h.js +0 -57
  338. package/dist/assets/InviteFormPage-DEDBu0OO-Dsi8hwhI.js +0 -312
  339. package/dist/assets/InvitePeoplePage-BzPRCgA6-C4LT3zxO.js +0 -12
  340. package/dist/assets/LabeledAddressValue-CSb0EGEx-owkgfzr7.js +0 -49
  341. package/dist/assets/LabeledAddressValueField-DJHY_wPN-ChfMLz4N.js +0 -45
  342. package/dist/assets/LabeledControlledCheckBoxField-rRmtlmRJ-ZOoy4ee7.js +0 -16
  343. package/dist/assets/LabeledDocumentField-sIz4Fhet-CBqe5ksA.js +0 -41
  344. package/dist/assets/LinkJETransactionPage-D9Kae7Qd-CXNveZ-N.js +0 -98
  345. package/dist/assets/MagicLinkSuccessPage-D3ORpbmL-DiCQcMcn.js +0 -31
  346. package/dist/assets/MagicLinkTitleSection-Di20DmsJ-Dweea4Ge.js +0 -17
  347. package/dist/assets/MyPendingActivationChargeCardListPage-C4eMpxAr-CvtH5135.js +0 -6
  348. package/dist/assets/MyProfileSettingsPage-D0ALOEls-D9BtQ_Rr.js +0 -85
  349. package/dist/assets/NotificationsListConfig-DiJLl-YW-Be2lRZvs.js +0 -1
  350. package/dist/assets/PandLWithForecastPage-IizA8WJN-C3H0uMBf.js +0 -107
  351. package/dist/assets/QBOSetupSection-T0b8qjoq-C3lySFCv.js +0 -79
  352. package/dist/assets/ReimbursementSetUpPage-CrCsRxAy-Bpo-Mk0A.js +0 -140
  353. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-DC9qwxGH.js +0 -1
  354. package/dist/assets/ReportTableViewSelector-CkuvvlJm-btt9uZlN.js +0 -150
  355. package/dist/assets/ReviewOverlay-Czmj4HG0-BLH60HLe.js +0 -152
  356. package/dist/assets/RoleWithToolTip-CNQZHC7h-LUv0Jw-2.js +0 -22
  357. package/dist/assets/SetUpAccountSection-CaLxl4l3-BRnWdFeV.js +0 -378
  358. package/dist/assets/SignInScreen-BGUfMUqo.js +0 -1
  359. package/dist/assets/SpendManagementListViewPage-Cvev9izU-BZzSvbIK.js +0 -123
  360. package/dist/assets/StatementsPage-Bhk6u845-C7EltSZm.js +0 -58
  361. package/dist/assets/TransactionList-CFYj7bYL-GEiFuum0.js +0 -147
  362. package/dist/assets/TransactionListPage-CImIYabg-BI9Hn9ZN.js +0 -35
  363. package/dist/assets/TransactionVendorDetailPage-LzIzQGZ1-NlBjctZ1.js +0 -80
  364. package/dist/assets/TreasuryStatementsPage-DEhWu0S0-CbB6wAo4.js +0 -58
  365. package/dist/assets/TreasuryTaxLetterPage-CEMU2CI9-BGxkDpux.js +0 -58
  366. package/dist/assets/TrendChart-D1gtjDe3-DWpkP03z.js +0 -16
  367. package/dist/assets/VendorFiling1099EditablePage-Bp5FgSiJ-DJr2e5wU.js +0 -175
  368. package/dist/assets/ZeniAccountNavBarPieces-2j-ZQRIF-DhfLCa9V.js +0 -14
  369. package/dist/assets/ZeniAccountSetupPage-DcYDO3x8-DOdNLBlO.js +0 -36
  370. package/dist/assets/ZeniTransferAmountSlider-DFB0ntiR-IB41czFT.js +0 -63
  371. package/dist/assets/index-BAKoUD4u.css +0 -1
@@ -1,4 +1,4 @@
1
- import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c as y}from"./index-CyJdCOlu.js";import{b as w,n as i}from"./vendor-CnQcJ2Lu.js";const u=M.getLocalizedStrings(),j={large:{labelComp:q,title:G,subtitle:_,seeMoreLink:_}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=J.large,Y=i.div`
1
+ import{F as O,j as t,cT as R,o as l,bt as N,af as B,cU as G,p as H,k as P,cV as J,h as y}from"./index-D9zAXs3-.js";import{b as w,n as i}from"./vendor-Bs1fkIUX.js";const u=O.getLocalizedStrings(),j={large:{labelComp:G,title:H,subtitle:P,seeMoreLink:P}},q={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=q.large,K=i.div`
2
2
  width: ${e=>e.scale*o.width}px;
3
3
  height: ${e=>e.scale*o.height}px;
4
4
  overflow: hidden;
@@ -18,20 +18,20 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
18
18
  box-shadow: ${e=>`${e.variant==="large"?y.Elevation2Light:y.Elevation1Light}`};
19
19
  border-radius: ${e=>e.scale*o.borderRadius}px;
20
20
  }
21
- `,Z=i(j.large.labelComp)`
21
+ `,Q=i(j.large.labelComp)`
22
22
  color: ${e=>e.theme.colors.brandColorRuby};
23
23
  text-transform: uppercase;
24
24
  margin-bottom: ${e=>e.scale*o.gap}px;
25
25
  text-align: left;
26
- `,K=i(j.large.title)`
26
+ `,V=i(j.large.title)`
27
27
  color: ${e=>e.theme.colors.primary};
28
28
  margin-bottom: ${e=>e.scale*o.gap}px;
29
29
  text-align: left;
30
- `,Q=i(j.large.subtitle)`
30
+ `,Y=i(j.large.subtitle)`
31
31
  color: ${e=>e.theme.colors.champion};
32
32
  margin-bottom: ${e=>e.scale*o.gap}px;
33
33
  text-align: left;
34
- `,V=i(j.large.seeMoreLink)`
34
+ `,Z=i(j.large.seeMoreLink)`
35
35
  color: ${e=>e.theme.colors.brandColorJadeDark};
36
36
  `,W=i.div`
37
37
  width: ${e=>e.scale*o.width}px;
@@ -58,7 +58,7 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
58
58
  align-items: center;
59
59
  height: ${e=>e.scale*o.svgContainerHeight}px;
60
60
  margin-bottom: ${e=>e.scale*o.imageGap}px;
61
- `,re=i(H)`
61
+ `,re=i(J)`
62
62
  width: ${e=>e.scale*o.svgSize}px;
63
63
  min-width: ${e=>e.scale*o.svgSize}px;
64
64
  height: ${e=>e.scale*o.svgSize}px;
@@ -76,18 +76,18 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
76
76
  height: 100%;
77
77
  object-fit: fill;
78
78
  object-position: center;
79
- `,ne=({scale:e=1,variant:s="large",label:a,title:n,subtitle:c,seeMoreLink:p,image:m})=>{const h=t.jsx(W,{scale:e,variant:s,padding:o.padding*e,children:t.jsxs(te,{children:[t.jsxs(ie,{children:[a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:a}):null,n!=null&&n.trim()!==u.common.strings.empty?t.jsx(K,{scale:e,children:n}):null,c!=null&&c.trim()!==u.common.strings.empty?t.jsx(Q,{scale:e,children:c}):null,p!=null&&p.trim()!==u.common.strings.empty?t.jsxs(oe,{scale:e,children:[t.jsx(V,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(re,{scale:e})]}):null]}),m!=null&&m.trim()!==u.common.strings.empty?t.jsx(se,{children:t.jsx(ae,{src:m,loading:"lazy"})}):null]})});return t.jsx(Y,{scale:e,variant:s,children:s==="large"&&p!=null&&p.trim()!==u.common.strings.empty?t.jsx(ee,{href:p,target:"_blank",rel:"noopener noreferrer",children:h}):h})},x=2,F=5,X=1328,le=i.div`
79
+ `,ne=({scale:e=1,variant:s="large",label:a,title:n,subtitle:c,seeMoreLink:p,image:m})=>{const h=t.jsx(W,{scale:e,variant:s,padding:o.padding*e,children:t.jsxs(te,{children:[t.jsxs(ie,{children:[a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Q,{scale:e,children:a}):null,n!=null&&n.trim()!==u.common.strings.empty?t.jsx(V,{scale:e,children:n}):null,c!=null&&c.trim()!==u.common.strings.empty?t.jsx(Y,{scale:e,children:c}):null,p!=null&&p.trim()!==u.common.strings.empty?t.jsxs(oe,{scale:e,children:[t.jsx(Z,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(re,{scale:e})]}):null]}),m!=null&&m.trim()!==u.common.strings.empty?t.jsx(se,{children:t.jsx(ae,{src:m,loading:"lazy"})}):null]})});return t.jsx(K,{scale:e,variant:s,children:s==="large"&&p!=null&&p.trim()!==u.common.strings.empty?t.jsx(ee,{href:p,target:"_blank",rel:"noopener noreferrer",children:h}):h})},x=2,_=5,A=1328,le=i.div`
80
80
  width: 100%;
81
81
  height: 100%;
82
82
  position: relative;
83
83
  display: flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- `,ce=i(U)`
86
+ `,ce=i(B)`
87
87
  width: ${l.sp3};
88
88
  height: ${l.sp3};
89
89
  color: ${e=>e.theme.colors.hero};
90
- `,A=i.div`
90
+ `,X=i.div`
91
91
  ${({useFixedArrowPosition:e,position:s,arrowOffset:a})=>e?`
92
92
  position: absolute;
93
93
  top: 50%;
@@ -141,4 +141,4 @@ import{M,j as t,d6 as B,o as l,bt as N,af as U,d7 as q,s as G,n as _,d8 as H,c a
141
141
  transform: translate(-50%, -50%) translateX(0px) translateZ(10px) scale(${s})
142
142
  }
143
143
  `}
144
- `,me=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],he=({cards:e,showUpdatePaymentDetailButton:s,stopCarousel:a,scale:n=1,useFixedArrowPosition:c=!1})=>{const[p,m]=w.useState(2),[h,b]=w.useState(!1),[v,C]=w.useState(!1),f=e.length,S=B().analytics,L=(X-X*n)/2*-1,$=w.useCallback(r=>{v||(C(!0),m(d=>(d+r+f)%f),setTimeout(()=>C(!1),1e3))},[v,f]);w.useEffect(()=>{if(h||a||v)return;const r=setInterval(()=>{$(1)},3e3);return()=>clearInterval(r)},[h,a,v,$]);const P=r=>(p+r-x+f)%f,O=r=>{const d=Array.from({length:F},(g,k)=>P(k)).indexOf(r)-x;d!==0&&$(d),s?S.trackOnboardingLandingPageCardClick(e[r].cardTitle):S.trackOnboardingInterimCard(e[r].cardTitle)};return t.jsxs(le,{children:[t.jsx(A,{arrowOffset:L,position:"left",useFixedArrowPosition:c,onClick:()=>$(-1),children:t.jsx(pe,{className:"btnsvg"})}),t.jsx(de,{useFixedArrowPosition:c,children:e.map((r,d)=>{const g=Array.from({length:F},(be,R)=>P(R)).indexOf(d);if(g===-1)return null;const{positionX:k,scale:E}=me[g],z=g===x,T=E*n,D=k*n,I=1.02*n;return t.jsx(ge,{isForeFront:z,positionX:D,scale:T,hoverScale:I,onClick:()=>O(d),onMouseEnter:()=>z&&b(!0),onMouseLeave:()=>z&&b(!1),style:{zIndex:g===x?5:5-Math.abs(g-x)},children:t.jsx(ne,{label:r.cardTitle,title:r.sectionTitle,subtitle:r.sectionSubTitle,seeMoreLink:r.redirectLink,image:r.imageLink,variant:g===x?"large":g===x-1?"medium":"small"})},d)})}),t.jsx(A,{arrowOffset:L,position:"right",useFixedArrowPosition:c,onClick:()=>$(1),children:t.jsx(ce,{className:"btnsvg"})})]})},ue=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],xe=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],we=({scale:e=1,showUpdatePaymentDetailButton:s=!1,stopCarousel:a=!1,useFixedArrowPosition:n=!1})=>{const{customerOnboardingPage:c}=M.getLocalizedStrings(),{productSuite:p}=c,m=p.productCard.cards.map((h,b)=>({...h,imageLink:ue[b],redirectLink:xe[b]}));return t.jsx(he,{cards:m,scale:e,showUpdatePaymentDetailButton:s,stopCarousel:a,useFixedArrowPosition:n})};export{we as S};
144
+ `,me=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],he=({cards:e,showUpdatePaymentDetailButton:s,stopCarousel:a,scale:n=1,useFixedArrowPosition:c=!1})=>{const[p,m]=w.useState(2),[h,b]=w.useState(!1),[v,C]=w.useState(!1),f=e.length,S=R().analytics,L=(A-A*n)/2*-1,$=w.useCallback(r=>{v||(C(!0),m(d=>(d+r+f)%f),setTimeout(()=>C(!1),1e3))},[v,f]);w.useEffect(()=>{if(h||a||v)return;const r=setInterval(()=>{$(1)},3e3);return()=>clearInterval(r)},[h,a,v,$]);const F=r=>(p+r-x+f)%f,E=r=>{const d=Array.from({length:_},(g,k)=>F(k)).indexOf(r)-x;d!==0&&$(d),s?S.trackOnboardingLandingPageCardClick(e[r].cardTitle):S.trackOnboardingInterimCard(e[r].cardTitle)};return t.jsxs(le,{children:[t.jsx(X,{arrowOffset:L,position:"left",useFixedArrowPosition:c,onClick:()=>$(-1),children:t.jsx(pe,{className:"btnsvg"})}),t.jsx(de,{useFixedArrowPosition:c,children:e.map((r,d)=>{const g=Array.from({length:_},(be,I)=>F(I)).indexOf(d);if(g===-1)return null;const{positionX:k,scale:M}=me[g],z=g===x,T=M*n,D=k*n,U=1.02*n;return t.jsx(ge,{isForeFront:z,positionX:D,scale:T,hoverScale:U,onClick:()=>E(d),onMouseEnter:()=>z&&b(!0),onMouseLeave:()=>z&&b(!1),style:{zIndex:g===x?5:5-Math.abs(g-x)},children:t.jsx(ne,{label:r.cardTitle,title:r.sectionTitle,subtitle:r.sectionSubTitle,seeMoreLink:r.redirectLink,image:r.imageLink,variant:g===x?"large":g===x-1?"medium":"small"})},d)})}),t.jsx(X,{arrowOffset:L,position:"right",useFixedArrowPosition:c,onClick:()=>$(1),children:t.jsx(ce,{className:"btnsvg"})})]})},ue=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],xe=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],we=({scale:e=1,showUpdatePaymentDetailButton:s=!1,stopCarousel:a=!1,useFixedArrowPosition:n=!1})=>{const{customerOnboardingPage:c}=O.getLocalizedStrings(),{productSuite:p}=c,m=p.productCard.cards.map((h,b)=>({...h,imageLink:ue[b],redirectLink:xe[b]}));return t.jsx(he,{cards:m,scale:e,showUpdatePaymentDetailButton:s,stopCarousel:a,useFixedArrowPosition:n})};export{we as S};
@@ -1,4 +1,4 @@
1
- import{e as c,j as r,dc as b,dd as z,de as L,aT as v,C as a,o as e,c as d,b as f,q as l}from"./index-CyJdCOlu.js";import{j as i,n as p,k as m}from"./vendor-CnQcJ2Lu.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(B,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
1
+ import{K as c,j as r,cZ as b,c_ as v,c$ as L,aT as z,x as a,o as e,h as d,V as f,n as l}from"./index-D9zAXs3-.js";import{i,n as p,k as m}from"./vendor-Bs1fkIUX.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(H,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -136,7 +136,7 @@ import{e as c,j as r,dc as b,dd as z,de as L,aT as v,C as a,o as e,c as d,b as f
136
136
  height: 10px;
137
137
  bottom: ${e.sp1};
138
138
  `:null}
139
- `,k=p.div`
139
+ `,B=p.div`
140
140
  position: absolute;
141
141
  right: ${o=>t.styledFullLogoRight.valuePx(o.windowSize)};
142
142
  top: ${o=>t.styledFullLogoTop.valuePx(o.windowSize)};
@@ -154,7 +154,7 @@ import{e as c,j as r,dc as b,dd as z,de as L,aT as v,C as a,o as e,c as d,b as f
154
154
  height: 12px;
155
155
  top: 11px;
156
156
  `:null}
157
- `,B=p.div`
157
+ `,k=p.div`
158
158
  width: ${o=>t.chargeCardWidth.valuePx(o.windowSize)};
159
159
  height: ${o=>t.chargeCardHeight.valuePx(o.windowSize)};
160
160
  background: ${o=>o.cardPromoType==="debit"?o.theme.colors.brandColorOnyx:o.theme.colors.brandColorSapphire};
@@ -183,7 +183,7 @@ import{e as c,j as r,dc as b,dd as z,de as L,aT as v,C as a,o as e,c as d,b as f
183
183
  border-radius: 3px;
184
184
  border-width: 0.1px;
185
185
  `:null}
186
- `,W=p.div`
186
+ `,H=p.div`
187
187
  width: ${o=>t.chargeCardWidth.valuePx(o.windowSize)};
188
188
  height: ${o=>t.chargeCardHeight.valuePx(o.windowSize)};
189
189
  background: ${o=>o.cardPromoType==="debit"?o.theme.colors.brandColorJadeDark:o.theme.colors.brandColorJade};
@@ -1,4 +1,4 @@
1
- import{e as j,M as t,j as n,bn as w,k as l,C as s,o as i,s as P,n as y,O as b,aR as f,eJ as v,q as a}from"./index-CyJdCOlu.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},S=o.div`
1
+ import{K as w,F as a,j as n,bn as j,r as l,x as s,o as i,p as f,k as P,e as y,aR as b,n as t}from"./index-D9zAXs3-.js";import{n as o}from"./vendor-Bs1fkIUX.js";import{V as v}from"./intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";const r={containerPaddingTop:new s(t[5],t[7]),containerPaddingBottom:new s(t[5],t[5]),containerPaddingLeftRight:new s(t[6],t[11])},S=o.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
@@ -8,23 +8,23 @@ import{e as j,M as t,j as n,bn as w,k as l,C as s,o as i,s as P,n as y,O as b,aR
8
8
  padding-bottom: ${e=>r.containerPaddingBottom.valuePx(e.windowSize)};
9
9
  padding-right: ${e=>r.containerPaddingLeftRight.valuePx(e.windowSize)};
10
10
  padding-left: ${e=>r.containerPaddingLeftRight.valuePx(e.windowSize)};
11
- `,k=o(P)`
11
+ `,k=o(f)`
12
12
  color: ${e=>e.theme.colors.primary};
13
13
  padding: ${i.sp0} ${i.sp0} ${i.sp4};
14
14
  min-width: 260px;
15
- `,A=o(y)`
15
+ `,_=o(P)`
16
16
  color: ${e=>e.theme.colors.hero};
17
17
  max-width: 360px;
18
- `,C=o.div`
18
+ `,A=o.div`
19
19
  margin: 20px ${i.sp0};
20
20
  `,L=o.div`
21
21
  margin: 20px ${i.sp0};
22
- `,_=o.hr`
22
+ `,B=o.hr`
23
23
  width: 100%;
24
24
  border: 0.2px solid ${e=>e.theme.colors.grey3};
25
25
  margin-top: auto;
26
26
  margin-bottom: 0;
27
- `,B=o.div`
27
+ `,C=o.div`
28
28
  display: flex;
29
29
  align-items: center;
30
30
  justify-content: center;
@@ -37,15 +37,15 @@ import{e as j,M as t,j as n,bn as w,k as l,C as s,o as i,s as P,n as y,O as b,aR
37
37
  justify-content: center;
38
38
  padding-top: ${i.sp3};
39
39
  color: ${e=>e.theme.colors.primary};
40
- `,O=o(b)`
40
+ `,T=o(y)`
41
41
  color: ${e=>e.theme.colors.primary};
42
42
  height: 20px;
43
43
  width: auto;
44
- `,T=o(f)`
44
+ `,I=o(b)`
45
45
  color: ${e=>e.theme.colors.hero};
46
46
  height: ${i.sp4};
47
47
  width: ${i.sp4};
48
- `,I=o(v)`
48
+ `,O=o(v)`
49
49
  height: ${i.sp4};
50
50
  color: ${e=>e.theme.colors.primary};
51
- `;function X({companyName:e="",isGoBackAllowed:c,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=j(),u=t.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),$=t.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(w,{open:g,children:n.jsxs(S,{windowSize:x,children:[n.jsxs(z,{children:[n.jsx(k,{children:t.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(A,{children:d?u:$}),n.jsxs(R,{children:[n.jsx(O,{}),n.jsx(T,{}),n.jsx(I,{})]})]}),d||c?n.jsxs(n.Fragment,{children:[n.jsx(_,{}),n.jsxs(B,{children:[c===!0?n.jsx(L,{children:n.jsx(l,{variant:"secondary",label:t.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(C,{children:n.jsx(l,{variant:"primary",label:t.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{X as default};
51
+ `;function q({companyName:e="",isGoBackAllowed:c,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const x=w(),u=a.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),$=a.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(j,{open:g,children:n.jsxs(S,{windowSize:x,children:[n.jsxs(z,{children:[n.jsx(k,{children:a.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(_,{children:d?u:$}),n.jsxs(R,{children:[n.jsx(T,{}),n.jsx(I,{}),n.jsx(O,{})]})]}),d||c?n.jsxs(n.Fragment,{children:[n.jsx(B,{}),n.jsxs(C,{children:[c===!0?n.jsx(L,{children:n.jsx(l,{variant:"secondary",label:a.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(A,{children:n.jsx(l,{variant:"primary",label:a.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{q as default};
@@ -0,0 +1,79 @@
1
+ import{K as O,F as $,j as i,r as k,o,x as a,h as d,fH as T,V as W,e as B,aR as E,f4 as H,a8 as m,$ as u,n as t}from"./index-D9zAXs3-.js";import{n as s}from"./vendor-Bs1fkIUX.js";import R from"./QBOConnectionDialog-CiAUTeD2-D061mOJX.js";import{V as A}from"./intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js";const n={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},D={title:new W("standardMedium","largeMedium")},ie=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:y,companyName:f,updateQBOPopupState:h,handleOnConnectClick:j})=>{const r=O(),{qbo_connection:S}=$.getLocalizedStrings().customerOnboardingPage.sections,{title:z,sucessText:b,button:v,errorText:P,requiredText:C}=S;return i.jsxs(F,{windowSize:r,children:[i.jsxs(G,{windowSize:r,children:[r==="small"?i.jsx(L,{children:l?i.jsx(_,{}):i.jsx(U,{})}):null,i.jsx(I,{windowSize:r,children:z})]}),i.jsxs(N,{windowSize:r,children:[i.jsxs(Q,{windowSize:r,children:[i.jsxs(q,{children:[i.jsx(K,{}),i.jsx(M,{windowSize:r}),i.jsx(J,{})]}),l?r!=="small"?i.jsx(w,{}):null:i.jsx(k,{variant:"primary",size:r!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(V,{children:b}),r==="small"?i.jsx(w,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:r,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:r,children:C})}):null]}),i.jsx(R,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:f,saveConnectionState:p,handleOnConnectClick:j,handleGoBack:()=>h(!1)})]})},w=()=>{const{tags:e}=$.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new m(d.successDark),borderColor:new m(d.successDark)}})},F=s.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ justify-content: center;
6
+ `,G=s.div`
7
+ display: flex;
8
+ align-items: center;
9
+ padding-top: ${o.sp3};
10
+ padding-bottom: ${o.sp3};
11
+ width: ${e=>n.sectionWidth.valuePx(e.windowSize)};
12
+ `,I=s.div`
13
+ display: flex;
14
+ align-items: center;
15
+ color: ${e=>e.theme.colors.primary};
16
+ ${e=>`${D.title.style(e.windowSize)}`};
17
+ `,N=s.div`
18
+ display: flex;
19
+ flex-direction: column;
20
+ width: ${e=>n.sectionWidth.valuePx(e.windowSize)};
21
+ background-color: ${e=>e.theme.colors.grey5};
22
+ border: 1px solid ${e=>e.theme.colors.grey3};
23
+ box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
24
+ border-radius: ${o.sp2};
25
+ fill: ${e=>e.theme.colors.grey1};
26
+ justify-content: space-between;
27
+ box-sizing: border-box;
28
+ padding: ${e=>n.containerPadding.valuePx(e.windowSize)};
29
+ &:hover {
30
+ border: 1px solid ${e=>e.theme.colors.primary};
31
+ fill: ${e=>e.theme.colors.primary};
32
+ }
33
+ `,x=s.div`
34
+ width: 100%;
35
+ display: flex;
36
+ margin-top: ${o.sp4};
37
+ `,g=s(u)`
38
+ display: flex;
39
+ color: ${d.important};
40
+ `,Q=s.div`
41
+ width: 100%;
42
+ display: flex;
43
+ justify-content: space-between;
44
+ row-gap: ${e=>n.topElementsRowGap.valuePx(e.windowSize)};
45
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
46
+ `,V=s(u)`
47
+ display: flex;
48
+ margin-top: ${o.sp2};
49
+ color: ${e=>e.theme.colors.hero};
50
+ `,q=s.div`
51
+ display: flex;
52
+ align-items: center;
53
+ gap: ${o.sp4};
54
+ justify-content: left;
55
+ color: ${e=>e.theme.colors.primary};
56
+ `,K=s(B)`
57
+ height: 20px;
58
+ width: auto;
59
+ color: ${e=>e.theme.colors.primary};
60
+ cursor: pointer;
61
+ `,M=s(E)`
62
+ height: ${e=>n.arrowIconWidthHeight.valuePx(e.windowSize)};
63
+ width: ${e=>n.arrowIconWidthHeight.valuePx(e.windowSize)};
64
+ color: ${e=>e.theme.colors.hero};
65
+ `,J=s(A)`
66
+ height: ${o.sp4};
67
+ color: ${e=>e.theme.colors.primary};
68
+ `,L=s.div`
69
+ margin-right: ${o.sp2};
70
+ `,_=s(T)`
71
+ width: ${o.sp3};
72
+ height: ${o.sp3};
73
+ color: ${d.success};
74
+ `,U=s.div`
75
+ height: ${o.sp3};
76
+ width: ${o.sp3};
77
+ border: 1px solid ${e=>e.theme.colors.primary};
78
+ border-radius: 50%;
79
+ `;export{ie as t};
@@ -1,4 +1,4 @@
1
- import{C as V,q as U,u as M,e as W,M as D,a as G,a2 as X,j as s,S as H,c7 as J,aW as K,F as Q,a4 as Y,o as f}from"./index-CyJdCOlu.js";import{b as L,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as $,o as j}from"./FollowStepsSection-BJFJzQrz-CGmrm9Lr.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const B="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new V(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const F=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const q=g.handleSubmit(()=>{N()}),z=async(i,p)=>{b(p)};return L.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const O=H(p);J(()=>z(R,O))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C(B),onSubmit:q,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C(B),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),j(e.allAttributes),j(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:$},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:$},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
1
+ import{x as q,n as U,u as W,K as M,F as $,a as G,a2 as K,j as s,S as X,c2 as H,aW as J,c as Q,a4 as Y,o as f}from"./index-D9zAXs3-.js";import{b as D,n as h}from"./vendor-Bs1fkIUX.js";import{b as Z,f as ee,l as L,o as j}from"./FollowStepsSection-DbS5XlIB--DgM9Akw.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";const B="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new q(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const F=W(),S=M(),a=$.getLocalizedStrings().commonSetUp.approval,I=$.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=K(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const V=g.handleSubmit(()=>{N()}),z=async(i,p)=>{b(p)};return D.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const O=X(p);H(()=>z(R,O))}});return()=>{i.unsubscribe()}}),D.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(J,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C(B),onSubmit:V,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C(B),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),j(e.allAttributes),j(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:L},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:L},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z,bS as G,bU as U,bV as V,cu as q,q as l,ao as F,b as P,an as _,c as j,cr as J,aP as O,v as Q}from"./index-CyJdCOlu.js";import{n as i,b as Y}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},W={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Z=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=Y.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},A={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return t.jsxs(K,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[t.jsxs(X,{windowSize:n,children:[t.jsxs(ae,{children:[t.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),t.jsxs(ee,{children:[t.jsx(k,{}),t.jsx(te,{}),t.jsx(k,{})]}),c.max==null?t.jsx(ce,{}):t.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e?t.jsx(pe,{onClick:$}):null,t.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),t.jsx(oe,{windowSize:n,children:t.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,N)=>t.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(le,{children:a.requireText}):t.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(R,{children:[t.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>t.jsxs(R,{children:[t.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},N))})}),g?t.jsx(G,{titleComponent:t.jsx(V,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},K=i.div`
1
+ import{u as M,K as B,F as b,j as t,aW as H,i as E,Z as S,o,x as r,k as L,a0 as z,bP as V,bR as G,bS as U,cl as q,n as l,ao as Z,V as P,an as F,h as j,ci as _,aP as J,y as K}from"./index-D9zAXs3-.js";import{n as i,b as O}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},W={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Y=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=O.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},A={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return t.jsxs(Q,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[t.jsxs(X,{windowSize:n,children:[t.jsxs(ae,{children:[t.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),t.jsxs(ee,{children:[t.jsx(k,{}),t.jsx(te,{}),t.jsx(k,{})]}),c.max==null?t.jsx(ce,{}):t.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),t.jsxs(ne,{className:"icons",children:[e?t.jsx(pe,{onClick:$}):null,t.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),t.jsx(oe,{windowSize:n,children:t.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,N)=>t.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(le,{children:a.requireText}):t.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,D)=>t.jsxs(C,{children:[t.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},`${p.subType}_${D}`)),h.actors.map(p=>t.jsxs(C,{children:[t.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(R,{className:"operator",children:h.operator}):null]},p.userId))]},N))})}),g?t.jsx(V,{titleComponent:t.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(G,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},Q=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -14,7 +14,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
14
14
  border-color: ${e=>e.theme.colors.primary};
15
15
  }
16
16
  }
17
- `,X=i(F)`
17
+ `,X=i(Z)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -117,7 +117,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
117
117
  height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
118
118
  top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
119
119
  left: -${o.sp6};
120
- ${Q.standardMedium.css};
120
+ ${K.standardMedium.css};
121
121
  text-align: center;
122
122
  color: ${e=>e.theme.colors.grey1};
123
123
  border: 2px solid ${e=>e.theme.colors.grey1};
@@ -141,7 +141,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
141
141
  `,ne=i.div`
142
142
  display: flex;
143
143
  gap: ${o.sp5};
144
- `,pe=i(J)`
144
+ `,pe=i(_)`
145
145
  width: ${o.sp3};
146
146
  height: ${o.sp3};
147
147
  cursor: pointer;
@@ -149,7 +149,7 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
149
149
  &:hover {
150
150
  color: ${j.important};
151
151
  }
152
- `,de=i(O)`
152
+ `,de=i(J)`
153
153
  width: ${o.sp3};
154
154
  height: ${o.sp3};
155
155
  cursor: pointer;
@@ -157,20 +157,20 @@ import{u as D,e as B,M as b,j as t,aW as H,m as E,_ as S,o,C as r,n as L,a0 as z
157
157
  &:hover {
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  }
160
- `,ce=i(_)`
160
+ `,ce=i(F)`
161
161
  width: ${o.sp4};
162
162
  height: ${o.sp4};
163
163
  color: ${e=>e.theme.colors.hero};
164
- `,C=i.span`
164
+ `,R=i.span`
165
165
  color: ${e=>e.theme.colors.hero};
166
- `,R=i.div`
166
+ `,C=i.div`
167
167
  display: inherit;
168
168
  gap: inherit;
169
169
  `,I=i.span`
170
170
  ${e=>`${W.amount.style(e.windowSize)}`};
171
171
  color: ${e=>e.theme.colors.primary};
172
172
  word-break: break-word;
173
- `,u={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:x,onDeleteRuleClick:v})=>{const y=D(),g=B(),{fetchState:d,deleteStatus:n}=e,c=b.getLocalizedStrings().commonSetUp.approval,w=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=n.fetchState;return t.jsxs(he,{children:[t.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(me,{children:[t.jsx(we,{windowSize:g,children:w.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?t.jsx(xe,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,$)=>t.jsx(Z,{showDeleteBtn:$!==0,approvalRule:a,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:x,onDeleteRuleClick:v},a.approvalRuleId)),t.jsxs(ue,{windowSize:g,onClick:()=>{x()},"data-testid":S("add-approval-rule"),children:[t.jsx(ge,{}),t.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
173
+ `,u={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Te=({approvalView:e,onBackClick:f,onEditRuleClick:x,onDeleteRuleClick:v})=>{const y=M(),g=B(),{fetchState:d,deleteStatus:n}=e,c=b.getLocalizedStrings().commonSetUp.approval,w=b.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,m=n.fetchState;return t.jsxs(he,{children:[t.jsx(H,{title:c.approvalPageHeader,backgroundColor:y.colors.grey4,style:{zIndex:4},onBackClick:()=>{f()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(me,{children:[t.jsx(we,{windowSize:g,children:w.approvalPageSubTitle}),d==="In-Progress"||d==="Not-Started"||m==="In-Progress"?t.jsx(xe,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):d==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,$)=>t.jsx(Y,{showDeleteBtn:$!==0,approvalRule:a,isLastSection:$===e.allApprovalRules.length-1,onEditRuleClick:x,onDeleteRuleClick:v},a.approvalRuleId)),t.jsxs(ue,{windowSize:g,onClick:()=>{x()},"data-testid":S("add-approval-rule"),children:[t.jsx(ge,{}),t.jsx($e,{children:c.addApprovalText})]})]}):null]})]})},he=i.div`
174
174
  display: flex;
175
175
  min-height: 100%;
176
176
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt,fN as Lt,fO as _t,j as t,bS as ze,bU as Ae,bV as Me,_ as y,aW as Re,aK as Ot,du as Wt,fP as Et,f_ as Pe,o as a,fQ as Be,cT as b,cV as w,fT as x,a0 as Ne,cS as Le,v as F,fV as _e,a4 as Ft,p as Kt,fW as Vt,fX as ae,aT as Ut,fY as Yt,a3 as Gt,b as Ht,h as qt,n as et,ao as tt,c as K,B as Jt,bq as Qt,d as Xt,gd as Zt,g9 as ei,q as c,bL as ti,cp as ii}from"./index-CyJdCOlu.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import{_ as ai}from"./liveblocks-DZpRS25q.js";import ri from"./InvoiceUploadSection-C6Dx8Web-CBeOBAnd.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-BTAMhgXU-BizBD4c6.js";import"./uploadReceipts-CwjPukNh-BNp5wSMb.js";const l={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])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:V,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:U,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,k]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,J]=p.useState("approved"),P=p.useRef(null),[j,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&U()},[e,U]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{U()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{k(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Ze.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,X=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,_=e.remiDetails?.reimbursementInfo.billStatus,O=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:_?.code=="approved"&&O?.code?O:_,$=si(e.remiDetails),A=_?.code=="approved"&&O?.code?O:_,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),Se()):(J("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,Z=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(_t)),[M]).length,zt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:X??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!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(Ot,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:X})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ue,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Oi,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:V,authParams:it,entityId:e.remiDetails?.id,file:s.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:"receipt"})})}),t.jsxs(_i,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ue,{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,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(Oe,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`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:s.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,s.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:z},text:s.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,{}),s.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:z},text:s.transactionDate?.format(fe.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:z},text:s.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:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.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:s.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:s.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:z},text:s.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:z},text:s.transactionDate?.format(fe.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:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.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:s.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:s.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:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(_e,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,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:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.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:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Kt,{onClickAway:()=>G(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const V=Ze.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:V.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
1
+ import{z as At,cT as Mt,K as Rt,u as Pt,bF as Bt,x as m,F as Xe,l as ie,cp as Nt,co as Lt,cu as Ot,j as t,bP as ze,bR as Ae,bS as Me,Z as y,aW as Re,aK as _t,cQ as Wt,gf as Et,gm as Pe,o as a,gg as Be,fu as b,fw as w,cN as x,a0 as Ne,ft as Le,y as F,gk as Oe,a4 as Ft,C as Kt,cq as Ut,gl as ae,aT as Vt,cr as Gt,a3 as Yt,V as Ht,Q as qt,k as et,ao as tt,h as K,O as Qt,bq as Zt,$ as Jt,gE as Xt,gB as ei,n as c,bK as ti,cg as ii}from"./index-D9zAXs3-.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-C2xecagE.js";import ri from"./InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-DPjkCRYF.js";import"./AttachmentView-ChlYn2cr-DueA245P.js";import"./uploadReceipts-DIYsXeyf-_3VvjCR-.js";const l={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])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:U,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,k]=p.useState(!1),[G,Y]=p.useState(!1),[ct,H]=p.useState(!1),[q,Q]=p.useState("approved"),P=p.useRef(null),[j,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{k(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Xe.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,J=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{Z({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{Z({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(Q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Se()):(Q("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,X=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,zt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{titleComponent:t.jsx(Me,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:J??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!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(_t,{count:D?void 0:kt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:J})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Je,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:U,authParams:it,entityId:e.remiDetails?.id,file:s.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:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:J}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`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:s.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,s.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:z},text:s.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,{}),s.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:z},text:s.transactionDate?.format(fe.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:z},text:s.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:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.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:s.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:s.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:z},text:s.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:z},text:s.transactionDate?.format(fe.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:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.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:s.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:s.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:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),S.length===1&&t.jsxs(Je,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),G===!0&&Y(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,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:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.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:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&G?t.jsx(Kt,{onClickAway:()=>Y(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>Y(!G),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const U=Xe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:U.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
@@ -6,7 +6,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
6
6
  margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
7
7
  margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
8
8
  margin-bottom: ${e=>l.activityBottomMargin.valuePx(e.windowSize)};
9
- `,mi=r(Jt)`
9
+ `,mi=r(Qt)`
10
10
  padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
11
  background-color: ${K.alertLight};
12
12
  color: ${K.brandColorGoldDark};
@@ -15,7 +15,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
15
15
  `,pi=r.span`
16
16
  border-bottom: 1px solid currentColor;
17
17
  cursor: pointer;
18
- `,Oe=r.div`
18
+ `,_e=r.div`
19
19
  display: flex;
20
20
  gap: ${a.sp2};
21
21
  padding: ${a.sp3};
@@ -37,7 +37,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
37
37
  width: ${a.sp4};
38
38
  height: ${a.sp4};
39
39
  color: ${K.brandColorGoldDark};
40
- `,Ve=r(et)`
40
+ `,Ue=r(et)`
41
41
  margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
42
42
  margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
43
43
  margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
@@ -81,7 +81,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
81
81
  &:hover {
82
82
  color: ${e=>e.theme.colors.primary};
83
83
  }
84
- `,$i=r(Zt)`
84
+ `,$i=r(Xt)`
85
85
  cursor: pointer;
86
86
  color: ${e=>e.theme.colors.hero};
87
87
  width: ${a.sp5};
@@ -97,7 +97,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
97
97
  &:hover {
98
98
  color: ${e=>e.theme.colors.primary};
99
99
  }
100
- `,Ue=r(tt)`
100
+ `,Ve=r(tt)`
101
101
  display: flex;
102
102
  color: ${e=>e.borderColor};
103
103
  align-items: center;
@@ -147,7 +147,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
147
147
  right: ${e=>l.actionsContainerRight.valuePx(e.windowSize)};
148
148
  height: 100%;
149
149
  display: flex;
150
- `,re=r(Xt)`
150
+ `,re=r(Jt)`
151
151
  display: flex;
152
152
  align-items: center;
153
153
  width: 100%;
@@ -173,7 +173,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
173
173
  justify-content: space-between;
174
174
  position: fixed;
175
175
  z-index: 4;
176
- `,ki=r(Ut)`
176
+ `,ki=r(Vt)`
177
177
  color: ${e=>e.theme.colors.brandColorJade};
178
178
  cursor: pointer;
179
179
  width: ${a.sp4};
@@ -184,7 +184,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
184
184
  background-color: ${e=>e.theme.colors.grey3};
185
185
  min-height: 1px;
186
186
  max-height: 1px;
187
- `,zi=r(Gt)`
187
+ `,zi=r(Yt)`
188
188
  cursor: pointer;
189
189
  width: ${a.sp4};
190
190
  height: ${a.sp4};
@@ -207,7 +207,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
207
207
  &:hover {
208
208
  color: ${e=>e.theme.colors.primary};
209
209
  }
210
- `,Ri=r(Yt)`
210
+ `,Ri=r(Gt)`
211
211
  display: flex;
212
212
  width: ${a.sp4};
213
213
  height: ${a.sp4};
@@ -245,12 +245,12 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
245
245
  `}
246
246
  height: 100vh;
247
247
  overflow: scroll;
248
- `,Ye=r.div`
248
+ `,Ge=r.div`
249
249
  width: 42%;
250
250
  `,Ni=r.div`
251
251
  margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
252
252
  margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
253
- `,Ge=r.div`
253
+ `,Ye=r.div`
254
254
  margin-bottom: ${e=>l.bottomMargin.valuePx(e.windowSize)};
255
255
  margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
256
256
  margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
@@ -272,7 +272,7 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
272
272
  flex-direction: column;
273
273
  margin-left: ${e=>l.leftMargin.valuePx(e.windowSize)};
274
274
  margin-right: ${e=>l.rightMargin.valuePx(e.windowSize)};
275
- `,Je=r.div`
275
+ `,Qe=r.div`
276
276
  padding: ${a.sp3};
277
277
  display: flex;
278
278
  align-items: center;
@@ -283,20 +283,20 @@ import{Y as At,d6 as Mt,e as Rt,u as Pt,bG as Bt,C as m,M as Ze,l as ie,fL as Nt
283
283
  color: ${e=>e.theme.colors.hero};
284
284
  margin-bottom: ${e=>l.totalBottomMargin.valuePx(e.windowSize)};
285
285
  justify-content: space-between;
286
- `,Qe=r(Qt)`
286
+ `,Ze=r(Zt)`
287
287
  display: flex;
288
288
  width: 176px;
289
289
  color: ${e=>e.theme.colors.primary};
290
- `,_i=r.div`
290
+ `,Oi=r.div`
291
291
  display: flex;
292
292
  flex-direction: column;
293
293
  width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
294
- `,Xe=r.div`
294
+ `,Je=r.div`
295
295
  display: flex;
296
296
  width: 100%;
297
297
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
298
  align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
- `,Oi=r.div`
299
+ `,_i=r.div`
300
300
  width: ${e=>l.leftSectionWidth.valuePercentage(e.windowSize)};
301
301
  `,Wi=r.div`
302
302
  background: ${e=>e.theme.colors.grey3};