@zeniai/web-cockpit-ui 1.15.56-qa → 1.15.57-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/dist/assets/ACHDetailsPage-CUEH8rCg-CIX9LCVV.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BWhcStZE-OZZWOwhI.js → AIPerformancePage-C-7kZpzd-DnU-CnU0.js} +32 -32
  3. package/dist/assets/AccountInfoPage-D6R4uR87-CauYgBnD.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-XBo-oJV1-Da0bieZO.js → AccountInfoPageContent-CaAlcViW-DD8DzME3.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-DQXLZ2LO-C0aOsoiG.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DwzrCq7I-DRO35nGz.js → AccountReconDetailsDrawerPage-BeVU7eNW-DnvK_eyt.js} +20 -20
  7. package/dist/assets/AccountRow-CGg3Gvpj-2LubTGsx.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-D-iNswM8-Cpv3KiBl.js → AccountsPromoCardStack-W21wtjzz-BzBECEOs.js} +11 -11
  9. package/dist/assets/AddAddressForCardDrawer-BEt3wVEb-DjZ-MTg6.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DX8xInYJ-oY_8kc5z.js → AddToWalletPage-CNqNAmD1-BAMChQys.js} +15 -15
  11. package/dist/assets/{AgingReportsPage-CXj1Tifk-Bo-rrYDt.js → AgingReportsPage-tl0jPK38-BjO71f63.js} +8 -8
  12. package/dist/assets/{AllUserItems-DU78kWqE-DhNwAIBb.js → AllUserItems-Q1lO4Ln3-CuR2BE-L.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-BV5m2F3a-DRpWO7ks.js → ApAgingDetailPage-D2Z4kxTX-DwVh7bmZ.js} +6 -6
  14. package/dist/assets/AppBasePage-X40fGmvM-B3sSuk1o.js +71 -0
  15. package/dist/assets/AppDrawerContent-CvJTJq58-BGDMCBjA.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-C4lEfWTu-yCUuOf0u.js +47 -0
  17. package/dist/assets/{ArAgingChart-B0wn2vDP-f7oGxVU8.js → ArAgingChart-DVt6kJYF-BIJAb2VF.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-C-agUa8y-BOcc6BGV.js → ArAgingDetailPage-IHDBT7mF-wxBgjehQ.js} +3 -3
  19. package/dist/assets/{AttachmentView-9Vrv319r-DVVqaraT.js → AttachmentView-CwRBUVxC-B-A8o2yf.js} +7 -7
  20. package/dist/assets/BalancesInsightWithToolTip-XPRUqEEA-Kn1TsaRI.js +38 -0
  21. package/dist/assets/{BankAccountSection-Bv9Iogxn-BLcgKijp.js → BankAccountSection-W3gEhXh6-DFHw2sKM.js} +4 -4
  22. package/dist/assets/{BankAccountWarningSection-DAxaKIg3-CQatpV3z.js → BankAccountWarningSection-9u-04CXU-aDzsUImF.js} +9 -9
  23. package/dist/assets/{BankConnectionsSettingsPage-ZUWw604G-BRehKaig.js → BankConnectionsSettingsPage-DV_X9ctb-CDyQw7u-.js} +27 -27
  24. package/dist/assets/BillDetailPage-C0r7XIcc-BFWDSS_J.js +266 -0
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-BfJ2F03Y-B4Sw2z30.js → BillPayApprovalRuleDetailPage-DJID_-tr-BTp82A3G.js} +4 -4
  26. package/dist/assets/{BillPayApprovalRulesPage-DQ0MRCLa-YnoDd_eN.js → BillPayApprovalRulesPage-73C2kwjc-DV2esjtr.js} +7 -7
  27. package/dist/assets/{BillPayPromoPage-DdxRC1p4-CeUDiYiI.js → BillPayPromoPage-FW3B8U-w-n5VnpHD-.js} +6 -6
  28. package/dist/assets/{BillPaySetUpPage-DBFcp1Yq-DN8GCbic.js → BillPaySetUpPage-rgzWSOQM-C-ZdDZzJ.js} +2 -2
  29. package/dist/assets/BillingSettingsPage-AcYS3TSu--RATyZn_.js +44 -0
  30. package/dist/assets/{BillsBulkReviewDrawerPage-HXDlOpw3-Cm0uTk27.js → BillsBulkReviewDrawerPage-CM8-szf_-D9duXPwz.js} +1 -1
  31. package/dist/assets/{BoxItem-DaxLyqVe-B9VgEFUi.js → BoxItem-u890NmTk-GdZH4g2N.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-BG1rOYOk-D5qCYDOp.js → BusinessVerificationPage-CzrVGb5K-CmS-O7sQ.js} +13 -13
  33. package/dist/assets/CardNumberSubText-CxypsknQ-C5MjjYIg.js +21 -0
  34. package/dist/assets/{CashbackDetailPage-CpVmCjts-DdBqQYGO.js → CashbackDetailPage-fBR9M8sC-Dh5E8gW1.js} +27 -27
  35. package/dist/assets/{ChargeCardDetailPage-u6hMCosx-DtARLgQT.js → ChargeCardDetailPage-CYv8doUs-CC359HTm.js} +18 -18
  36. package/dist/assets/{ChargeCardListPage-D_7gwi3K-BPR6_79h.js → ChargeCardListPage-CrwBff5O-BIYKDbQO.js} +36 -36
  37. package/dist/assets/{ChargeCardListTable-DJmStpnO-BzLArBYX.js → ChargeCardListTable-B9P82JB2-DT4hRxIU.js} +37 -37
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-BRGJ-5y3-DkMANxUm.js → ChargeCardPaymentHistoryPage-BzsNSIp4-CyZrJgN7.js} +42 -42
  39. package/dist/assets/ChargeCardPromoPage-D40YUEIh-CzX92eqi.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-CRDfRFf1-DwGVvYiG.js → ChargeCardSetupPage-BJ0ruCk3-BaTLJK3K.js} +3 -3
  41. package/dist/assets/{ChargeCardStatementsPage-l4X9T8zd-Buh-S4ZJ.js → ChargeCardStatementsPage-CCn6jmK3-B65SJzNg.js} +10 -10
  42. package/dist/assets/{CheckDepositDrawerPage-DR6LIuPw-DKvVXdmj.js → CheckDepositDrawerPage-COW-uu-_-B15TUyNY.js} +10 -10
  43. package/dist/assets/CollapsableReportTable-oX8IRAxt-DmgpCuxO.js +2941 -0
  44. package/dist/assets/{CompanyOfficerDetailsSection-DoGF7khv-Wy_dQ_8T.js → CompanyOfficerDetailsSection-IqJVtLZK-C3OYrk_8.js} +21 -21
  45. package/dist/assets/{CompanyPassportCard-BHFj9sK6-_Dc-s-J2.js → CompanyPassportCard-BiGjFwZ5-DaDkL0aZ.js} +8 -8
  46. package/dist/assets/{CompanyPassportPage-CH-dqy03-OxH27UIz.js → CompanyPassportPage-Dg-Q0eMl-B0lK1QQa.js} +36 -36
  47. package/dist/assets/{CompleteProfile-Ck4Baf4z-BiDJ7-lr.js → CompleteProfile-Ccg2CHq4-rKD1q2iz.js} +4 -4
  48. package/dist/assets/ConfettiBurst-yXo14QzY-AOku3ebT.js +1 -0
  49. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D8Z-iftf.js → ConstrainedInnerElement-CgdnMeoA-DBQlMIjc.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-D-0WG9pO-xKEqlz3T.js → CreateOrEditVendorPage-DQYLvgGA-xCTJk5Wj.js} +13 -13
  51. package/dist/assets/{CreditCardPaymentDrawerPage-B7voVDUs-DhCFlSxU.js → CreditCardPaymentDrawerPage-izuZXkqy-ofdy6ysD.js} +14 -14
  52. package/dist/assets/CurrencySelectField-CneumAPd-B7hTgri2.js +139 -0
  53. package/dist/assets/{CustomerOnboardingActivationPage-D42sb2F9-C12j7ObB.js → CustomerOnboardingActivationPage-C4y0EhXQ-Bs3PD2DS.js} +29 -29
  54. package/dist/assets/CustomerOnboardingContainerPage-DbMXDaX1-Bt7wIkF_.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n6GMQZP5-YVUGziza.js → CustomerOnboardingDetailPageSkeleton-D8UmruuK-BIBD0SgP.js} +12 -12
  56. package/dist/assets/CustomerOnboardingNoStepsPage-hN3TzkAz-Cl3v7kHV.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-BPX2w8Fg-DWYY9hzE.js → CustomerOnboardingPage-C-lYffqT-BHmAdBeO.js} +7 -7
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-CZXqXXFj-DbtnPgDW.js → CustomerOnboardingProductSuitePage-_UgeXE48-BukwqaM7.js} +11 -11
  59. package/dist/assets/{Dashboard-Q5gt63wS-BSx4ra46.js → Dashboard-BqIm-EyG-DjEf_UGj.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DJsc3Nx7-Ci5wRkW7.js → DashboardReportPage-Dnwy7uOD-B5yKdlc5.js} +39 -39
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-D0fh4PIm-DM5qHrdk.js +12 -0
  62. package/dist/assets/DepositAccTransactionItem-C6yQhPjj-l11w2Y5D.js +76 -0
  63. package/dist/assets/DepositAccTransactionListPage-BtncOXZP-BnXQt5-Q.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-Dptv-ebx-DSZ1aqIn.js → DomesticWireDetailsPage-DmtO34lv-CxwBDMGE.js} +1 -1
  65. package/dist/assets/DownloadOverlay-CWHxxKW_-UDgVlxY5.js +439 -0
  66. package/dist/assets/{DrawerPage-DtJQE-UA-Cqtpkmhn.js → DrawerPage-DSU5oir8-DRsRlHno.js} +12 -12
  67. package/dist/assets/EditPeoplePage-D2n0Hqby-DTz2-JYI.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-CFLBOcFT-DS-9_HAs.js +865 -0
  69. package/dist/assets/EntityDetailPage-Mmx3DFuG-MVIaVfxx.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BiIPehv4-Du95DQYP.js → EntitySummarySection-HHASyTi6-mpUEq7ck.js} +16 -16
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Bo5Eu3Ju-BIhPjW_P.js → ExpenseAutomationOverviewPage-DJlmx9Oe-B6myEsyW.js} +52 -52
  72. package/dist/assets/ExpenseAutomationPage-Djk1vwnA-DbEUK9XH.js +3001 -0
  73. package/dist/assets/{ExpressPayPage-D18sY5VJ-BzfFkgkp.js → ExpressPayPage-BeCtQ7TL-Ds7KSKVG.js} +21 -21
  74. package/dist/assets/{FeaturePreviewPage-De2_m2xD-dAXyeyrD.js → FeaturePreviewPage-Dr96evH6-D1kxI8yP.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-D5ln-mii-B_5eRfWe.js → FollowStepsSection-CH5j9Kb4-BJ9-zsQc.js} +13 -13
  76. package/dist/assets/GlobalReviewListPage-C32MoCYm-BNlLd0Dn.js +291 -0
  77. package/dist/assets/{InformationCardStack-B4z6RgwP-BT1JNK_O.js → InformationCardStack-OBOt0eaS-CKdLlnik.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-CwBBEkZ7-i2yqT7-p.js → InsightsCardStack-BaaSbxvA-DSePDCyn.js} +13 -13
  79. package/dist/assets/InsightsSection-H8voYHTz-DN8-jvkA.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-DBiomD_q-SEyeefZG.js → IntegrationsSettingsPage-B_2KNKJF-BtmEIfKI.js} +6 -6
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-h4bchKo3--aqneqa5.js → InternationalWireSwiftDetailsPage-DvZU7o6p-BObKTwl6.js} +26 -26
  82. package/dist/assets/InternationalWireVerificationPage-D_jydE0q-DqIfVs5O.js +65 -0
  83. package/dist/assets/{InviteFormPage-Dgb-LZKf-B4zbJlb8.js → InviteFormPage-Dr6gx_W_-B4h2mADz.js} +29 -29
  84. package/dist/assets/{InvitePageListView-DC-Dp4Zc-B-7d1O44.js → InvitePageListView-Dva8LR_u-gmKNm5Jm.js} +39 -39
  85. package/dist/assets/InvitePeoplePage-bg-XFo6D-C4ZVJYSx.js +12 -0
  86. package/dist/assets/InvoiceUploadSection-CnYvPpZv-Gp4_i4AV.js +140 -0
  87. package/dist/assets/{IssueChargeCardPage-DiUKL-rT-BdVoOcei.js → IssueChargeCardPage-Z5WdMvKc-BWkEUK7g.js} +35 -35
  88. package/dist/assets/{LabeledAddressValue-DYTDoPER-SnTlZNct.js → LabeledAddressValue-DGXMQaW1-Fv-4gy9z.js} +2 -2
  89. package/dist/assets/{LabeledAddressValueField-DVNSaKBc-DiqNlFEG.js → LabeledAddressValueField-DR8V5Kty-DLCCRDRb.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-CZlavM3Q-o9j3g7Xs.js → LabeledControlledCheckBoxField-CWjC7vEV-9UTpUa1T.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-BM1jU3hl-DUjzUpNU.js → LabeledCountryMultiSelectField-CvCgQPY6-BWmECH3i.js} +12 -12
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BkI0vyax-B-WErV8z.js → LabeledCreatableSingleSelectField-BZ8L7RY0-DX5NmRdy.js} +6 -6
  93. package/dist/assets/LabeledDocumentField-B44mt0a7-C0VfTm18.js +41 -0
  94. package/dist/assets/LabeledDropDownFormattedTextField-6YP1FaQA-BrHR3rfW.js +59 -0
  95. package/dist/assets/{LabeledText-BaYp8lyd-DsouujPF.js → LabeledText-Q6xdsHJ6-CFwsR7ll.js} +6 -6
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-CvgIxOeV.js → LabeledUserSingleSelectWithSubtitlesField-ClUfUqjp-BZp8hOi3.js} +19 -19
  97. package/dist/assets/{LabeledZeniRolesDropDownField-Bgf26ek0-CC9PqeMV.js → LabeledZeniRolesDropDownField-hbA4Pwlf-D_cCYzYL.js} +31 -31
  98. package/dist/assets/{LinkJETransactionPage-ByQktBdK-CF0EgNmk.js → LinkJETransactionPage-CH7I7Hke-Bsatheht.js} +17 -17
  99. package/dist/assets/{LockCardPage-M7Pcx6mB-CzjxHABW.js → LockCardPage-DLFjGMIe-CJwxHBTx.js} +19 -19
  100. package/dist/assets/{LowBalancePopup-DTwIs75G-BRD9r8mS.js → LowBalancePopup-DPe7elRO-Bgii0mzY.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-DQc3pum0-C2Dyu42Z.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DtD1wZUs-CVU818YE.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-p1K2cYou-BMU75zJW.js +1 -0
  104. package/dist/assets/MagicLinkSuccessPage-uTUHm3oK-BGx1QWS3.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-B985JuE8-VlS0_Ueo.js → MagicLinkTitleSection-CrGigZw5-BF_Mel0J.js} +5 -5
  106. package/dist/assets/MailingDetailsSection-BEpTd3QP-CtqpR-Gb.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-2x0kDozt-B-DkgfNl.js → MyBankConnectionsSettingsPage-CPHG_qZj-Cv2vkFlb.js} +13 -13
  108. package/dist/assets/MyPendingActivationChargeCardListPage-CvMl9E2P-C40qfFQ1.js +6 -0
  109. package/dist/assets/{MyProfileSettingsPage-BQx9m8r--CCbDAOvO.js → MyProfileSettingsPage-CDUxWW5P-BV8AekOH.js} +9 -9
  110. package/dist/assets/NavBarWithPicker-ukJ-8SxD-DzuBOs4j.js +30 -0
  111. package/dist/assets/{NavigationArrow-BpKepWMa-BdqB62PO.js → NavigationArrow-DLfHmE8t-CJQw-tog.js} +7 -7
  112. package/dist/assets/NavigationDots-TTIuTGav-Dpl3-lZ_.js +15 -0
  113. package/dist/assets/{NewGlobalMerchantPage-rAYrEwup-DX3zbNGn.js → NewGlobalMerchantPage-qrkVsl71-Gy1heqbr.js} +37 -37
  114. package/dist/assets/{NoDataChart-SlgxXIjJ-DxbYX5JM.js → NoDataChart-CHLcGmJY-o60E8S1E.js} +2 -2
  115. package/dist/assets/{NoDataTable-CePwfuWH-63JcLMeG.js → NoDataTable-Bv2f24Dy-BxdDK0Sh.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CdmLYWbu-4ugV08yh.js → NotFoundPage-De1VvWXR-CTgXCngp.js} +7 -7
  117. package/dist/assets/{NotificationSettingsPage-KThnHYOw-B6fPh0uG.js → NotificationSettingsPage-BA6OA31--CBfWO-I3.js} +19 -19
  118. package/dist/assets/NotificationsListConfig-e5U6zFaL-CLHC4HiN.js +1 -0
  119. package/dist/assets/NotificationsPage-B7xvgP8z-DCZ8FuvH.js +685 -0
  120. package/dist/assets/OpExByVendorPage-C5DN3Ujz-CwGzpZxP.js +100 -0
  121. package/dist/assets/{OverlayContainerPage-D4QU0p4o-VhNl4Ji-.js → OverlayContainerPage-BG9y5C0t-BmISyMhw.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C6FwSybq-DFlEavl5.js → PandLWithForecastPage-BBINfNiw-BOBMU-KK.js} +13 -13
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DFCQGlZ--O_NjtLB8.js → PaymentAccountSetupBillingAddressSection-D0U3JmOv-vufqhDlQ.js} +16 -16
  124. package/dist/assets/PeoplePage-5vcxUe01-C3vcjFOm.js +727 -0
  125. package/dist/assets/{Preview-DrZGwz9y.js → Preview-CA1Ro8Pa.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-Bq0uDCW7-DVlFZNxE.js → ProductsCarousel-CdRGFDrq-BqWqsGo2.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-Bs1TPBeA-BgeB60k7.js → PromoBaseCards-CnRAEsCq-Bliwh9DN.js} +19 -19
  128. package/dist/assets/{QBOConnectionDialog-CGH6M1BO-BLYU__Ef.js → QBOConnectionDialog-DVZWEDpK-Bc0_cD5P.js} +6 -6
  129. package/dist/assets/QBOSetupSection-qpeMgFEQ-C_--S51D.js +79 -0
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CUf8BGfB-B_xupcTv.js → ReimbursementApprovalRuleDetailPage-BxdIzE6u-CQKnW4o9.js} +4 -4
  131. package/dist/assets/{ReimbursementApprovalRulesPage-SKRjcth4-Bz6bYIZs.js → ReimbursementApprovalRulesPage-DTWRo5Ie-DjHMSjnE.js} +11 -11
  132. package/dist/assets/ReimbursementDetailPage-E6DAkd-i-BjsPRzGO.js +314 -0
  133. package/dist/assets/{ReimbursementPromoPage-X1o2D5fz-COdO7cLo.js → ReimbursementPromoPage-DIb3qZ6_-SpJeCRSI.js} +32 -32
  134. package/dist/assets/{ReimbursementSetUpPage-DfAhrvlw-nYuoapwW.js → ReimbursementSetUpPage-BB1W8YH--B00Vhwv5.js} +6 -6
  135. package/dist/assets/ReimbursementsBulkReviewDrawerPage-LVIfhug4-BO74jBI4.js +1 -0
  136. package/dist/assets/{ReloadCard-DvIzOHkJ-N-AxqgLX.js → ReloadCard-D84Lsd_5-BzO2KGeI.js} +5 -5
  137. package/dist/assets/ReportTableViewSelector-Db3_WDLJ-DUTYFa_F.js +151 -0
  138. package/dist/assets/ReportsPage-Blkv8tLt-UF7wvIxP.js +237 -0
  139. package/dist/assets/{RevenueChart-VvZ0y1TP-CMupOCrE.js → RevenueChart-Dfh_D_Vp-00E7CM78.js} +18 -18
  140. package/dist/assets/{ReviewDetailsPage-DC5Pr6t5-CqFNly7B.js → ReviewDetailsPage-DvFKpxt5-x-cocqaX.js} +22 -22
  141. package/dist/assets/{ReviewOverlay-BidXwnVw-aLFcTmHD.js → ReviewOverlay-B22mWGHc-CSe4tQzR.js} +21 -21
  142. package/dist/assets/RoleWithToolTip-Z-Qz5ghD-BF3ViIqp.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-P4en048K-Bk9b9_R0.js → ScheduleDetailsFixedAssetsPage-B1Tu4OmB-BoWzKj3F.js} +13 -13
  144. package/dist/assets/ScheduleDetailsPage-hMZQawbc-B5K8qyv9.js +37 -0
  145. package/dist/assets/ScheduleSequenceTable-EKOr-6FS-CIMOW3Lv.js +324 -0
  146. package/dist/assets/{ScreenRoutes-GMpQIqvy.js → ScreenRoutes-Bsr7kGfq.js} +29 -51
  147. package/dist/assets/{SetUpAccountSection-DBuoMbxP-Cslg712V.js → SetUpAccountSection-Bc1EdtKp-0yaISOWV.js} +14 -14
  148. package/dist/assets/SignIn-DYdZJ_1z-gBNUWjHV.js +491 -0
  149. package/dist/assets/SignInScreen-BUAoHqsZ.js +1 -0
  150. package/dist/assets/SpendManagementListViewPage-C3b_1mS_-DDW1AA6H.js +134 -0
  151. package/dist/assets/SpendManagementPerTabPage-BctgHJjH-BYX0TtFW.js +754 -0
  152. package/dist/assets/{SpendManagementSection-C-EIQv7m-CV_Wxyh4.js → SpendManagementSection-DjGyXgmL-Cmes-08v.js} +21 -21
  153. package/dist/assets/{StatementItem-BSVnuQ3e-yqvWSMaE.js → StatementItem-DkYczigh-CSnHMTYV.js} +4 -4
  154. package/dist/assets/{StatementsPage-CgOC5W_I-8JR2miwM.js → StatementsPage-CgNLCUZ1-C1Zt1XYf.js} +2 -2
  155. package/dist/assets/{StatusSwitcher-BnSFSpJ0-CBUPADr-.js → StatusSwitcher-CU6EtKkZ-C1BL7O8L.js} +5 -5
  156. package/dist/assets/SubTabSwitcher-BKn38ZMT-B9w-rcp8.js +58 -0
  157. package/dist/assets/{SummaryCard-BTnU1LYd-B0v15J8Z.js → SummaryCard-ROGEOK04-BgGopNGq.js} +1 -1
  158. package/dist/assets/TaskManagementPage-B5otKSZb-BFE0mAT-.js +508 -0
  159. package/dist/assets/TimeRangeSwitcher-JnO2pOTw-N9yivG4V.js +64 -0
  160. package/dist/assets/TimeframeSwitcher-DfDRlQ7n-CpbdT0B7.js +31 -0
  161. package/dist/assets/TimeframeSwitcherWithToggle-CaxIUKDr-DQWeAlGt.js +53 -0
  162. package/dist/assets/{TopExCard-Bc812PB9-COWkoZkp.js → TopExCard-BdqEYR_a-Px7omjuw.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-19FwjeX_-CuNIFiR3.js → TopExDetailPage-CsnKTK9E-RTm78wxT.js} +14 -14
  164. package/dist/assets/{TransactionActivityLogPage-7Lfwq_IY-DnHmLebY.js → TransactionActivityLogPage-D9gPySqM-BB8d-BVV.js} +17 -17
  165. package/dist/assets/TransactionDetailPage-m6wkPmbZ-BkoyM4F5.js +903 -0
  166. package/dist/assets/TransactionList-fHfxF4uV-LtxJekW-.js +153 -0
  167. package/dist/assets/{TransactionListBig-gSPdjYSs-BdSow7ov.js → TransactionListBig-8tRV7xaa-Jk-ZnUXx.js} +16 -16
  168. package/dist/assets/TransactionListPage-C6ZUsD4l-B2cnsaR4.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-rcOVwgxy-B8MBpZCv.js → TransactionVendorDetailPage-Di-VFMud-BTshDO7x.js} +6 -6
  170. package/dist/assets/{TransferDrawerPage-IeuD-8y4-DB9WOT1Q.js → TransferDrawerPage-BYVv35xE-Da_CHRTD.js} +45 -45
  171. package/dist/assets/TreasuryOverviewPage-CXOmwW6t-BcQs0RHi.js +725 -0
  172. package/dist/assets/{TreasuryPromoPage-KuuzWIYO-BDZfrTam.js → TreasuryPromoPage-B-PDUb2u-B-T-cvTP.js} +131 -131
  173. package/dist/assets/{TreasuryStatementsPage-BAfN8DAx-BToIYFN6.js → TreasuryStatementsPage-hjW6l23C-C-DgyZev.js} +6 -6
  174. package/dist/assets/TreasuryTaxLetterPage-DYwjPZ9c-DOWoHFiR.js +58 -0
  175. package/dist/assets/{TrendChart-BJqnjEu6-D4oToyZQ.js → TrendChart-wH6MSice-DJRpqJPt.js} +5 -5
  176. package/dist/assets/TrendWithTransactions-C4RoOFet-B4g09uS7.js +116 -0
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DlxWCGZg-BAwb-_vk.js → UncategorizedAccountsMappingPage-Blk80xZv-CW9X7gIW.js} +22 -22
  178. package/dist/assets/{UnitIntegrationPage-U85XCs_D-D9O_ROgv.js → UnitIntegrationPage-B8yOgT6I-DGHJCnWv.js} +5 -5
  179. package/dist/assets/UploadAdditionalDocumentOverlay-CSfIPVfJ-BDLDUOxO.js +38 -0
  180. package/dist/assets/{Vendor2FAPopup-DLU7H22p-bh-wu--S.js → Vendor2FAPopup-pOBQ1C8g-B_aiKxPv.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-vLOpvill-CqCIfcoF.js +1 -0
  182. package/dist/assets/VendorDetailPage-D_6A3zAl-tXWG3blq.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-CibBnVcZ-BoJ0ATIU.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-DIvLStyg-BQ8_Q099.js → VendorFiling1099EditablePage-ORFpUADS-rHSTxH-v.js} +32 -32
  185. package/dist/assets/VendorFirstReviewPage-B2GFRqrs-DYmryaKj.js +730 -0
  186. package/dist/assets/{VendorInternationalWireDetailsPage-Ctwg_CTY-Cwh4VXpi.js → VendorInternationalWireDetailsPage-DCI8Yjx2-DMlPUggt.js} +19 -19
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C2TqWbKk-CfEJ4hqR.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Bj840XXA-CgKV8slk.js → VendorsAccountsSection-CpHLUjT0-DtbgyO3N.js} +2 -2
  189. package/dist/assets/{VerifyDevice-D5ce0rEk-DWZM5mzw.js → VerifyDevice-B7mUvk_I-DOI_nJJs.js} +9 -9
  190. package/dist/assets/{VideoPlayer-XhlPd-AK-BnsTqJgD.js → VideoPlayer-uODifSjz-C5_6EW14.js} +2 -2
  191. package/dist/assets/VideoPopup-vRgVcJFh-DUXScMWN.js +31 -0
  192. package/dist/assets/{WarningsDrawerPage-CXHMQPmw-BWpof2zn.js → WarningsDrawerPage-GqThVUqO-BliCg9jp.js} +7 -7
  193. package/dist/assets/ZeniAccountDetailPage-Dplz1Jte-CmvovpKF.js +300 -0
  194. package/dist/assets/ZeniAccountListViewPage-CXVzZ4jo-OfYDDT9h.js +443 -0
  195. package/dist/assets/ZeniAccountNavBarPieces-DymlaQkB-raQlgOHA.js +33 -0
  196. package/dist/assets/{ZeniAccountPromoPage-DGttDJGp-hSxOffm6.js → ZeniAccountPromoPage-BBNUZmma-BaNIxJaE.js} +30 -30
  197. package/dist/assets/ZeniAccountSetupPage-CHHGMoCM-Bpe-HUos.js +36 -0
  198. package/dist/assets/{ZeniCopyright-Ct2Gx1TW-C8K8JRc8.js → ZeniCopyright-BgmdPASs-DelYiDhm.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-CtSVUxFX-Dwsmf36y.js → ZeniTransferAmountSlider-DMsck2bu-DCLTW9RT.js} +7 -7
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-ML9MGMdm.js → add-to-wallet-DgdBD8_G-D-4o-88L.js} +1 -1
  201. package/dist/assets/{analytics-P_xGl18F.js → analytics-C31yhYYa.js} +1 -1
  202. package/dist/assets/{analyticsHelper-XlFGO0fA.js → analyticsHelper-B7l4_BHB.js} +1 -1
  203. package/dist/assets/{analyticsHelper-BZApS5V7-CQ7w4UrQ.js → analyticsHelper-DmrBYvLC-BYxc55FI.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-CaCPY8nT.js → arrow-south-east-round-PEovUgvH-BlzMDlPl.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-NgJPDzL7.js → auto-transfer-rule-mbafm5D3-BYUDU2ca.js} +1 -1
  206. package/dist/assets/chartTypes-xMrDPcl9-DKVI72OS.js +1 -0
  207. package/dist/assets/commonDimensions-BeMzLvmC-DeA_97Hu.js +1 -0
  208. package/dist/assets/{commonTypes-CGdrM7wg-CQNj58rv.js → commonTypes-DYUaD7k3-CaDbaWCj.js} +1 -1
  209. package/dist/assets/{constants-DOyZLfgU.js → constants-9sygGEgN.js} +1 -1
  210. package/dist/assets/{core-9fRi0Mt4.js → core-D_TfeHIh.js} +3 -53
  211. package/dist/assets/{dash.all.min-CF_THag5.js → dash.all.min-Ch2VCoo5.js} +1 -1
  212. package/dist/assets/downloadPdf-vnuUU3X8-B7Q2l1ET.js +1 -0
  213. package/dist/assets/{empty-B5Q0rRHT.js → empty-BiJ0vfXH.js} +1 -1
  214. package/dist/assets/{empty-CAQ4ZkXH.js → empty-DNhRmYaU.js} +1 -1
  215. package/dist/assets/epic-DgXJ8ekR.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-UGNcWPn9.js → gift-box-Cmt9OgIZ-BEAvT8rf.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOhNpsDD.js → graphic-no-data-l-DU4J8fDt-CYOuVrsL.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-emGPe0Ve.js → graphic-no-data-net-burn-l-CzmycA0m-CwMRb5f1.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B0o7WHoi.js → handshake-BPg58FML-DG913wOo.js} +1 -1
  220. package/dist/assets/{helper-kGYJRbxq-Dou-1Hvg.js → helper-BabSYuW2-DU5KaXId.js} +3 -3
  221. package/dist/assets/{index-Yp99NR_9.js → index-B69DilQP.js} +1 -1
  222. package/dist/assets/{index-BIjhkiZM.js → index-BidMB_0T.js} +1 -1
  223. package/dist/assets/{index-CLu6elou.js → index-Bv_arhgP.js} +1 -1
  224. package/dist/assets/{index-xQWNfy_j.js → index-COD15W4T.js} +2 -8
  225. package/dist/assets/{index-WR35fJ_g.js → index-CQD_nutl.js} +4740 -4814
  226. package/dist/assets/{index-Bsy-GBiE.js → index-D7j2t6WX.js} +1 -1
  227. package/dist/assets/{index-LDC8nb34.js → index-l2Ugf91P.js} +1 -1
  228. package/dist/assets/{lexical-OBpCEASU.js → lexical-CBxUxgf7.js} +1 -1
  229. package/dist/assets/{liveblocks-C4P3eYZH.js → liveblocks-CtZCL_Pz.js} +2 -15
  230. package/dist/assets/lottie-CVJxkEeH.js +2 -0
  231. package/dist/assets/mapLoadingInProgressToTreeNode-Bs8-HXsR-byZZ2UVu.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-oqbfssc7-Dcmf_p1v.js → mapSectionWithAcOnlyToTreeNode-O-hSpwLG-CBm5dWL6.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BhgPzzom-CExmYnCM.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Ldd39Ct5-CMF3q4cV.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-nYrRWCim-DX2Ouhk3.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-BE2VzwOR.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D8UYLJpF-CA2QnDit.js} +1 -1
  237. package/dist/assets/{mui-Brvp17ej.js → mui-Dk05P7Hv.js} +1 -9
  238. package/dist/assets/{page-detail-CWX5S47F-ChR2-yvA.js → page-detail-CWX5S47F-DkWNpJ9N.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-BuTIFt9p.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-CXFHpW2r.js → radio-default-CiSgisfh-D0KDYg5a.js} +1 -1
  241. package/dist/assets/react-BRl-ICJH.js +19 -0
  242. package/dist/assets/{react-BhtBasS0.js → react-BgX7cXZF.js} +3 -13
  243. package/dist/assets/{react-kWaLU55M.js → react-BwERS3QF.js} +2 -12
  244. package/dist/assets/{react-CWcYCkHQ.js → react-Bxl9Z8Qh.js} +2 -12
  245. package/dist/assets/{react-B62ffbg2.js → react-DDFsdGD8.js} +2 -12
  246. package/dist/assets/{react-D3G0H1Pz.js → react-DQw_p84_.js} +2 -12
  247. package/dist/assets/{react-Be9s5WWp.js → react-klqgMUCw.js} +2 -12
  248. package/dist/assets/{react-DXoHWgeC.js → react-q9e7Zd9C.js} +2 -12
  249. package/dist/assets/{recharts-3nFTO0WQ.js → recharts-CgI_z3-h.js} +19 -27
  250. package/dist/assets/{sentry-Bp-C2lie.js → sentry-B9mdFwQp.js} +2 -17
  251. package/dist/assets/{shield-DOlUxcFf-C7KHbQMV.js → shield-DOlUxcFf-DFrS0m-m.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BghIFr09-Cj1ZDevr.js +1 -0
  253. package/dist/assets/toChartData-DRKQ5lEf-o8RM5Syw.js +1 -0
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DZz1sA_Y.js +1 -0
  255. package/dist/assets/{uploadAttachment-CPTMCWWz-BsMxClN1.js → uploadAttachment-DrIqsgBH-KXnF0yC8.js} +34 -34
  256. package/dist/assets/uploadReceipts-CIgkuVpu-DVqh43Th.js +1 -0
  257. package/dist/assets/{url-BgfWw6hk.js → url-1RDcEwn0.js} +1 -1
  258. package/dist/assets/{url-C3X-Ohpm.js → url-OCPnhlmx.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-aiANt-Y6.js → useLongPress-GCK2COYQ-Bdc_o-8-.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-TqZcDLho.js → usp-line-BBd1wKwW-BUoEX_Hw.js} +1 -1
  261. package/dist/assets/{utils-DYOlPuZo.js → utils-DZ3Subia.js} +4 -38
  262. package/dist/assets/zeni-epic-state-ksdE_TIc.js +14 -0
  263. package/dist/index.html +1 -1
  264. package/package.json +6 -6
  265. package/dist/assets/ACHDetailsPage-CfGEDzSb-DV0Eamud.js +0 -21
  266. package/dist/assets/AccountInfoPage-D6sv-ieC-Bi0ZTjMk.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-DTEWzR6U-LlwPq_cj.js +0 -59
  268. package/dist/assets/AccountRow-BsjoBGWz-DZpihkys.js +0 -298
  269. package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-BKhmiajL.js +0 -6
  270. package/dist/assets/AppBasePage-1U1M1WD9-C_v4CyTj.js +0 -71
  271. package/dist/assets/AppDrawerContent-ilzYI49f-YkJW8OTT.js +0 -92
  272. package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-ZWS4PutA.js +0 -47
  273. package/dist/assets/BillDetailPage-Cf4PYoYQ-BDF2h_o1.js +0 -266
  274. package/dist/assets/BillingSettingsPage-DsMjw0qG-BHFQfcoR.js +0 -44
  275. package/dist/assets/CardNumberSubText-bkAPzhoK-xPg_Vz-Z.js +0 -21
  276. package/dist/assets/ChargeCardPromoPage-Dx4Lni50-DqToHrb8.js +0 -222
  277. package/dist/assets/CollapsableReportTable-4bJMcvHV-Mhl0eZKS.js +0 -2844
  278. package/dist/assets/ConfettiBurst-CVLXMknu-xHcyRPzb.js +0 -1
  279. package/dist/assets/CurrencySelectField-DrL1sFLq-DKlwkEgI.js +0 -139
  280. package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-DkyMsJ2e.js +0 -1
  281. package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-CyYXEVAV.js +0 -66
  282. package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA--VyG_ExD.js +0 -12
  283. package/dist/assets/DepositAccTransactionItem-DB7Oz4GA-Cxjn3epT.js +0 -76
  284. package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-CIILPZQP.js +0 -66
  285. package/dist/assets/DownloadOverlay-B61S0t5X-ChBbIlkz.js +0 -439
  286. package/dist/assets/EditPeoplePage-Dd1g1r37-YXzUsk-J.js +0 -55
  287. package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-CXWrMZff.js +0 -865
  288. package/dist/assets/EntityDetailPage-q_kzXlBV-BMAnc8Y1.js +0 -18
  289. package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DXQLO7aa.js +0 -1703
  290. package/dist/assets/GlobalReviewListPage-Ch51_Flw-Bp8qtPIo.js +0 -291
  291. package/dist/assets/InsightsSection-CQD6KXLg-CwZowiTB.js +0 -27
  292. package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-SZTMjIa_.js +0 -65
  293. package/dist/assets/InvitePeoplePage-CjJOyA8E-CRqZcE-n.js +0 -12
  294. package/dist/assets/InvoiceUploadSection-BJ_Sbytw-S2-9Zj1d.js +0 -140
  295. package/dist/assets/LabeledDocumentField-B7TETIva-C4iXsbqy.js +0 -41
  296. package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B-muR79Q.js +0 -59
  297. package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-DeQKBNgp.js +0 -1
  298. package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-D9I776xf.js +0 -1
  299. package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DW-l5QcU.js +0 -1
  300. package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Ca3PQPOI.js +0 -31
  301. package/dist/assets/MailingDetailsSection-detuRa7l-iQO9MOji.js +0 -21
  302. package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-HpMjRdS6.js +0 -6
  303. package/dist/assets/NavBarWithPicker-BXsxMlBP-Yw922VyS.js +0 -30
  304. package/dist/assets/NavigationDots-CxV99fd--DHe0JJ6H.js +0 -15
  305. package/dist/assets/NotificationsListConfig-6ay7Y8AS-C6rUrmqa.js +0 -1
  306. package/dist/assets/NotificationsPage-BmNwL81h-SvvKfJOs.js +0 -685
  307. package/dist/assets/OpExByVendorPage-DQPUJmPx-BSvUE-Xz.js +0 -100
  308. package/dist/assets/PeoplePage-Df6QdrX5-DiOY0BT9.js +0 -675
  309. package/dist/assets/QBOSetupSection-BsFbgysY-CKfysLHU.js +0 -79
  310. package/dist/assets/ReimbursementDetailPage-BzqZlk2B-CTZbBMQs.js +0 -314
  311. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-Dr3nLXgh.js +0 -1
  312. package/dist/assets/ReportTableViewSelector-DikZuwk8-SNjapZLW.js +0 -150
  313. package/dist/assets/ReportsPage-CgwJh87H-D5Dh_2rJ.js +0 -121
  314. package/dist/assets/RoleWithToolTip-CUpngYu7-Bv4aTWNw.js +0 -22
  315. package/dist/assets/ScheduleDetailsPage-Bm8IOCpE-DXeoQ75s.js +0 -37
  316. package/dist/assets/ScheduleSequenceTable-Cz46lcuv-JJwBSAjp.js +0 -324
  317. package/dist/assets/SignIn-ogxsR98p-CQtefyen.js +0 -491
  318. package/dist/assets/SignInScreen-BhGickKe.js +0 -1
  319. package/dist/assets/SpendManagementListViewPage-DP6uWx2T-CF2QC1sF.js +0 -134
  320. package/dist/assets/SpendManagementPerTabPage-DSXg_agw-D7L-1Tg8.js +0 -754
  321. package/dist/assets/SubTabSwitcher-VHMqXmGa-eHcHFn5d.js +0 -58
  322. package/dist/assets/TaskManagementPage-CeQkRFbn-Dt9eiknk.js +0 -508
  323. package/dist/assets/TimeRangeSwitcher-BifUYnpe-Cm1SHSWE.js +0 -64
  324. package/dist/assets/TimeframeSwitcher-9X-6amWo-DNzeRE8K.js +0 -31
  325. package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-uGCvLn9v.js +0 -31
  326. package/dist/assets/TransactionDetailPage-C7Tv82YB-BzmjMKCy.js +0 -903
  327. package/dist/assets/TransactionList-CSZxHqad-DMqYfu_m.js +0 -153
  328. package/dist/assets/TransactionListPage-9ezEzYvU-DvKHNHiW.js +0 -35
  329. package/dist/assets/TreasuryOverviewPage-bmv1c3nO-pwlj55Pc.js +0 -708
  330. package/dist/assets/TreasuryTaxLetterPage-BRDygaXn-BYUu-RLt.js +0 -58
  331. package/dist/assets/TrendWithTransactions-2pBj6qUR-CstRDLdO.js +0 -116
  332. package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-CQpeMTAN.js +0 -38
  333. package/dist/assets/VendorACHDetailsPage-B-Zle7l9-DmwsHf4H.js +0 -1
  334. package/dist/assets/VendorDetailPage-prrUwTR_-DAtjrsms.js +0 -257
  335. package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-BlQReF5b.js +0 -1
  336. package/dist/assets/VendorFirstReviewPage-BJKFcgOq-DxNWypjV.js +0 -730
  337. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-BLYwxV4T.js +0 -1
  338. package/dist/assets/VideoPopup-8ebccUQt-Tnc2J4oh.js +0 -31
  339. package/dist/assets/ZeniAccountDetailPage-BCEccrGo-BB2c1P9y.js +0 -300
  340. package/dist/assets/ZeniAccountListViewPage-f_9PSaYv-BA_wKmpL.js +0 -441
  341. package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-BSImrbVQ.js +0 -14
  342. package/dist/assets/ZeniAccountSetupPage-5hc6Dfls-DVsTiUTp.js +0 -36
  343. package/dist/assets/chartTypes-DcNGo46a-8Wbx66DS.js +0 -1
  344. package/dist/assets/commonDimensions-C5V1GwCs-MODdkiG5.js +0 -1
  345. package/dist/assets/detailCommon-DEXTnYE7-DLq8Xlss.js +0 -38
  346. package/dist/assets/downloadPdf-Cd1RR1sH-4x5kEIho.js +0 -1
  347. package/dist/assets/epic-Ng2EVSPh.js +0 -2
  348. package/dist/assets/lottie-Bc1XI_mg.js +0 -9
  349. package/dist/assets/mapLoadingInProgressToTreeNode-BXVk4dIp-BOP1nsZO.js +0 -1
  350. package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BeUvXbCM.js +0 -1
  351. package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-CfD51fLc.js +0 -1
  352. package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-DmgDklT3.js +0 -1
  353. package/dist/assets/panelSelectedMixin-CzfD5-Zs-cmGIfAj7.js +0 -4
  354. package/dist/assets/react-BgiuPaJ9.js +0 -37
  355. package/dist/assets/toCOABalancesWithID-Ckyq_c20-B6i1AWVq.js +0 -1
  356. package/dist/assets/toChartData-N0pkfSXY-B_HjSMac.js +0 -1
  357. package/dist/assets/uploadReceipts-Dge0cNF1-D9Xfc9pM.js +0 -1
  358. package/dist/assets/zeni-epic-state-C5X_gOJX.js +0 -151
@@ -0,0 +1,314 @@
1
+ import{ay as tt,V as t,gn as Bt,a9 as Pt,J as Nt,y as _t,cg as Lt,x as m,O as it,go as Ot,gq as Et,gr as Wt,ct as Ae,cu as Me,cv as Re,bE as Be,ac as f,bq as Kt,dx as Vt,gs as Ft,gD as Pe,o as a,gt as Ne,fo as b,gw as g,fr as w,aQ as _e,fn as Le,w as Y,gy as Oe,aT as Ut,aq as Gt,gz as Yt,gA as ne,bz as qt,gB as Ht,c as Zt,b as Jt,M as Xt,an as at,bb as rt,p as q,ao as Qt,bZ as ei,ak as ti,gY as ii,gS as ai,u as c,cl as ri,d1 as oi}from"./index-CQD_nutl.js";import{a as u}from"./sentry-B9mdFwQp.js";import{n as r}from"./mui-Dk05P7Hv.js";import{bL as ni,bZ as li,GC as si}from"./zeni-epic-state-ksdE_TIc.js";import di from"./InvoiceUploadSection-CnYvPpZv-Gp4_i4AV.js";import{r as ci,h as x,u as mi}from"./types-DyvtCprH-NFPm5TaG.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";import"./AttachmentView-CwRBUVxC-B-A8o2yf.js";import"./uploadReceipts-CIgkuVpu-DVqh43Th.js";import"./upload-reimbursement-receipt-O2N8vcO7-DZz1sA_Y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new e.Error().stack;v&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[v]="97ba5dbc-ba3e-4588-b99f-dd1b3fcc24f6",e._sentryDebugIdIdentifier="sentry-dbid-97ba5dbc-ba3e-4588-b99f-dd1b3fcc24f6")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},pi={formTitle:new Jt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:v,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:H,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=Pt().analytics,n=Nt(),ge=_t(),[mt,M]=u.useState(!1),[Z,J]=u.useState(!1),[pt,X]=u.useState(!1),[Q,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,ut]=u.useState(null),[ht,O]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>mi(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&H()},[e,H]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]);const yt=()=>{H()};Lt({componentName:"reimbursement.details"});const bt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:gt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:wt,replyAComment:xt},tooltip:{resolveComment:ft,unResolveComment:$t}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,K=e.remiDetails?.reimbursementInfo.billStatus,V=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",vt=Te?W:K?.code=="approved"&&V?.code?V:K,T=ui(e.remiDetails),B=K?.code=="approved"&&V?.code?V:K,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},Tt=()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},jt=()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},De=()=>{nt()},St={onOkClick:l=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!1)}},It=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},Dt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),X(!0))},kt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ni(li(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,ae=e.remiDetails?.reimbursementInfo.expectedDepositDate??kt,Ct=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,ke=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!Ct,zt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",re=vt?.code,At=ci(e.duplicateLineByLineId),Ce=e.duplicateReimbursementStatus.fetchState==="Completed"&&At>0,{requestToOpenThread:oe,setRequestToOpenThread:U,setOpenThread:G}=u.useContext(Ot);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&U(A)},[A,U]);const{threads:P,isLoading:k}=Et(),Mt=u.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Wt)),[P]).length,Rt=u.useCallback((l,o)=>{G(o),O(!1)},[G,O]);u.useEffect(()=>{oe?.threadId!=null&&P.length>0&&!k&&(G(oe.threadId),U(null))},[oe,P,k,G,U]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=si(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Ei,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:bt}):null,pt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:St,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ri,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Be,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Bi,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(zi,{}):null,t.jsx(Be,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ni,{children:[p?t.jsxs(_i,{isDisabled:k,onClick:k?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),O(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Vt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(Kt,{count:k?void 0:Mt,isLoading:k,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(Oi,{size:n,onClick:()=>yt(),"data-testid":f("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Yi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ze,{windowSize:n,children:t.jsx(Je,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(Ye,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,B?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:B,createDate:e.remiDetails?.createTime,paymentDate:ae,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),N?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):Ce?t.jsxs(We,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Ve,{children:[t.jsx(Ke,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:B,createDate:e.remiDetails?.createTime,paymentDate:ae,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Fi,{windowSize:n,children:t.jsx(Ui,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(di,{showAutofill:!1,uploadInvoiceEndPoint:v,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Vi,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Ze,{windowSize:n,children:[t.jsx(Je,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(Ye,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,B?.code!=null?t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:B,createDate:e.remiDetails?.createTime,paymentDate:ae,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,N?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):Ce?t.jsxs(We,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Ve,{children:[t.jsx(Ke,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(xi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(wi,{children:t.jsx(fi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs($i,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(bi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&&lt(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx($,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx($,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(Ki,{windowSize:n,children:[t.jsxs(Xe,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:Y.h6Regular.cssObject,decimalStyles:Y.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(qe,{}),t.jsxs(hi,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsxs(Xe,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:Y.h6Regular.cssObject,decimalStyles:Y.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(yi,{windowSize:n,children:t.jsx(Oe,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Gi,{})]}),Te||F===!0?null:t.jsxs(Mi,{children:[n!=="small"?t.jsx(qe,{}):null,t.jsx(Ti,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Z===!0&&J(!1)},children:t.jsx(Ut,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:Dt,style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:It,style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(vi,{children:t.jsxs(Ai,{windowSize:n,children:[!N&&Z?t.jsx(Gt,{onClickAway:()=>J(!1),children:t.jsxs(Ci,{windowSize:n,children:[re!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,re==="processing"?t.jsx(le,{onClick:Tt,"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,re==="processing"?t.jsx(le,{onClick:jt,"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(ki,{windowSize:n,children:[!N&&ke?t.jsx(Di,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(Ii,{})}):null,!N&&zt===!0?t.jsx(Si,{windowSize:n,showEditIcon:ke,children:t.jsx(ji,{onClick:()=>J(!Z),"data-testid":f("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Yt,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:gt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:k,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:wt,replyComposerPlaceholder:xt,threadResolve:ft,threadUnResolve:$t},onThreadClick:(l,o)=>Rt(l,o),onCloseAllThreadsDrawer:()=>O(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},ca=e=>{const v=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!(e.isReimbursementCommentingEnabled&&z!=null&&v!=null))return t.jsx(Ee,{...e});const _=`dashboard_${v}`;return t.jsx(Bt,{roomId:_,filter:{application:"dashboard",companyId:v,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},ui=e=>{const v=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:v.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},hi=r.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
5
+ `,yi=r.div`
6
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
7
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
8
+ margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
9
+ `,bi=r(Qt)`
10
+ padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
11
+ background-color: ${q.alertLight};
12
+ color: ${q.brandColorGoldDark};
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ `,gi=r.span`
16
+ border-bottom: 1px solid currentColor;
17
+ cursor: pointer;
18
+ `,We=r.div`
19
+ display: flex;
20
+ gap: ${a.sp2};
21
+ padding: ${a.sp3};
22
+ border-radius: ${a.sp2};
23
+ align-items: start;
24
+ margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
25
+ margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
26
+ margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
27
+ margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
+ background-color: ${q.alertLight};
29
+ border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
+ `,Ke=r(ri)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Ve=r.div`
33
+ width: 100%;
34
+ `,Fe=r(at)`
35
+ color: ${e=>e.theme.colors.brandColorGoldDark};
36
+ `,Ue=r(oi)`
37
+ width: ${a.sp4};
38
+ height: ${a.sp4};
39
+ color: ${q.brandColorGoldDark};
40
+ `,Ge=r(at)`
41
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
42
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
43
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
44
+ color: ${e=>e.theme.colors.primary};
45
+ `,wi=r.div`
46
+ display: flex;
47
+ justify-content: space-between;
48
+ `,xi=r.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,fi=r(rt)`
52
+ color: ${e=>e.theme.colors.primary};
53
+ margin-bottom: ${a.sp3};
54
+ `,$i=r.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ background-color: ${e=>e.theme.colors.grey5};
58
+ border: 1px solid ${e=>e.theme.colors.grey3};
59
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ border-radius: ${a.sp2};
61
+ margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ `,vi=r.div`
64
+ display: flex;
65
+ justify-content: flex-end;
66
+ `,Ti=r.div`
67
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
68
+ `,ji=r(ai)`
69
+ cursor: pointer;
70
+ color: ${e=>e.theme.colors.hero};
71
+ width: ${a.sp5};
72
+ height: ${a.sp5};
73
+ &:hover {
74
+ color: ${e=>e.theme.colors.primary};
75
+ }
76
+ `,Si=r.div`
77
+ display: flex;
78
+ margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
79
+ cursor: pointer;
80
+ color: ${e=>e.theme.colors.grey1};
81
+ &:hover {
82
+ color: ${e=>e.theme.colors.primary};
83
+ }
84
+ `,Ii=r(ii)`
85
+ cursor: pointer;
86
+ color: ${e=>e.theme.colors.hero};
87
+ width: ${a.sp5};
88
+ height: ${a.sp5};
89
+ &:hover {
90
+ color: ${e=>e.theme.colors.primary};
91
+ }
92
+ `,Di=r.div`
93
+ display: flex;
94
+ cursor: pointer;
95
+ color: ${e=>e.theme.colors.grey1};
96
+ margin-left: ${a.sp4};
97
+ &:hover {
98
+ color: ${e=>e.theme.colors.primary};
99
+ }
100
+ `,Ye=r(rt)`
101
+ display: flex;
102
+ color: ${e=>e.borderColor};
103
+ align-items: center;
104
+ justify-content: flex-end;
105
+ margin-left: ${a.sp3};
106
+ padding: 1px 6px 1px 6px;
107
+ border: ${e=>`1px solid ${e.borderColor}`};
108
+ border-radius: ${a.sp1};
109
+ min-width: fit-content;
110
+ max-width: fit-content;
111
+ `,ki=r.div`
112
+ display: flex;
113
+ justify-content: center;
114
+ align-items: center;
115
+ `,Ci=r.div`
116
+ display: flex;
117
+ width: max-content;
118
+ align-items: center;
119
+ justify-content: center;
120
+ flex-direction: column;
121
+ background-color: ${e=>e.theme.colors.grey5};
122
+ color: ${e=>e.theme.colors.hero};
123
+ cursor: pointer;
124
+ padding-top: ${a.sp1};
125
+ padding-bottom: ${a.sp1};
126
+ position: absolute;
127
+ bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
128
+ z-index: 3;
129
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
130
+ border-radius: ${a.sp1};
131
+ right: ${e=>s.right.valuePx(e.windowSize)};
132
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
133
+ `,zi=r.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 42vw;
137
+ width: 100%;
138
+ height: 100vh;
139
+ background: transparent;
140
+ box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
141
+ pointer-events: none;
142
+ z-index: 1;
143
+ `,Ai=r.div`
144
+ width: auto;
145
+ justify-content: flex-end;
146
+ position: ${e=>e.windowSize==="small"?"static":"relative"};
147
+ right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
148
+ height: 100%;
149
+ display: flex;
150
+ `,le=r(ti)`
151
+ display: flex;
152
+ align-items: center;
153
+ width: 100%;
154
+ padding-left: ${a.sp3};
155
+ padding-right: ${a.sp3};
156
+ height: ${a.sp6};
157
+ box-sizing: border-box;
158
+ &:hover {
159
+ background-color: ${e=>e.theme.colors.background};
160
+ }
161
+ `,Mi=r.div`
162
+ display: flex;
163
+ width: 100%;
164
+ position: sticky;
165
+ bottom: 0;
166
+ z-index: 2;
167
+ `,Ri=r.div`
168
+ min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
169
+ height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
170
+ display: flex;
171
+ align-items: center;
172
+ width: 100%;
173
+ justify-content: space-between;
174
+ position: fixed;
175
+ z-index: 4;
176
+ `,Bi=r(qt)`
177
+ color: ${e=>e.theme.colors.brandColorJade};
178
+ cursor: pointer;
179
+ width: ${a.sp4};
180
+ height: ${a.sp4};
181
+ `,$=r.div`
182
+ display: flex;
183
+ flex: 1;
184
+ background-color: ${e=>e.theme.colors.grey3};
185
+ min-height: 1px;
186
+ max-height: 1px;
187
+ `,Pi=r(Zt)`
188
+ cursor: pointer;
189
+ width: ${a.sp4};
190
+ height: ${a.sp4};
191
+ float: right;
192
+ color: ${e=>e.theme.colors.hero};
193
+ &:hover {
194
+ color: ${e=>e.theme.colors.primary};
195
+ }
196
+ `,Ni=r.div`
197
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
198
+ display: flex;
199
+ float: right;
200
+ `,_i=r.div`
201
+ display: flex;
202
+ align-items: center;
203
+ justify-content: center;
204
+ position: relative;
205
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
206
+ color: ${e=>e.theme.colors.hero};
207
+ &:hover {
208
+ color: ${e=>e.theme.colors.primary};
209
+ }
210
+ `,Li=r(Ht)`
211
+ display: flex;
212
+ width: ${a.sp4};
213
+ height: ${a.sp4};
214
+ align-items: center;
215
+ justify-content: center;
216
+ `,Oi=r.div`
217
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
218
+ margin-left: ${a.sp5};
219
+ `,Ei=r.div`
220
+ display: flex;
221
+ flex-direction: column;
222
+ width: 100vw;
223
+ background: -webkit-linear-gradient(
224
+ to right,
225
+ ${e=>e.theme.colors.background} 42%,
226
+ ${e=>e.theme.colors.grey4} 42%
227
+ );
228
+ background: -moz-linear-gradient(
229
+ to right,
230
+ ${e=>e.theme.colors.background} 42%,
231
+ ${e=>e.theme.colors.grey4} 42%
232
+ );
233
+ background: -o-linear-gradient(
234
+ to right,
235
+ ${e=>e.theme.colors.background} 42%,
236
+ ${e=>e.theme.colors.grey4} 42%
237
+ );
238
+ background: linear-gradient(
239
+ to right,
240
+ ${e=>e.theme.colors.background} 42%,
241
+ ${e=>e.theme.colors.grey4} 42%
242
+ );
243
+ ${e=>e.windowSize==="small"&&`
244
+ background: ${e.theme.colors.grey4};
245
+ `}
246
+ height: 100vh;
247
+ overflow: scroll;
248
+ `,qe=r.div`
249
+ width: 42%;
250
+ `,Wi=r.div`
251
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
252
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
253
+ `,He=r.div`
254
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
255
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
256
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
257
+ `,Ze=r.div`
258
+ display: flex;
259
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
260
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
261
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
262
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
263
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
264
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
+ `,Je=r(Xt)`
266
+ flex-grow: 1;
267
+ ${e=>`${pi.formTitle.style(e.windowsSize)}`};
268
+ color: ${e=>e.theme.colors.primary};
269
+ word-break: break-all;
270
+ `,Ki=r.div`
271
+ display: flex;
272
+ flex-direction: column;
273
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
274
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
275
+ `,Xe=r.div`
276
+ padding: ${a.sp3};
277
+ display: flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ background-color: ${e=>e.theme.colors.grey3};
281
+ border: 1px solid ${e=>e.theme.colors.grey3};
282
+ border-radius: ${a.sp2};
283
+ color: ${e=>e.theme.colors.hero};
284
+ margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
+ justify-content: space-between;
286
+ `,Qe=r(ei)`
287
+ display: flex;
288
+ width: 176px;
289
+ color: ${e=>e.theme.colors.primary};
290
+ `,Vi=r.div`
291
+ display: flex;
292
+ flex-direction: column;
293
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
294
+ `,et=r.div`
295
+ display: flex;
296
+ width: 100%;
297
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
+ align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
+ `,Fi=r.div`
300
+ width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
301
+ `,Ui=r.div`
302
+ background: ${e=>e.theme.colors.grey3};
303
+ border-radius: ${a.sp2};
304
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
305
+ margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
306
+ margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
307
+ margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
308
+ `,Gi=r.div`
309
+ display: flex;
310
+ flex-direction: column;
311
+ height: ${a.sp11};
312
+ `,Yi=r.div`
313
+ margin-top: 78px;
314
+ `;export{ca as default};
@@ -1,38 +1,38 @@
1
- import{ax as ne,d as S,J as k,aS as le,V as e,aR as a,fx as ae,bE as de,i as u,af as d,O as V,o as r,ar as me,R as ce,aV as E,an as pe,y as xe,p as z,cG as he,aW as ue,bc as ge,u as we}from"./index-WR35fJ_g.js";import{a as j}from"./sentry-Bp-C2lie.js";import{n as s}from"./mui-Brvp17ej.js";import{FR as je,bT as be}from"./zeni-epic-state-C5X_gOJX.js";import{C as fe}from"./VideoPopup-8ebccUQt-Tnc2J4oh.js";import{M as v}from"./usp-line-BBd1wKwW-TqZcDLho.js";import"./liveblocks-C4P3eYZH.js";import"./core-9fRi0Mt4.js";import"./recharts-3nFTO0WQ.js";import"./lottie-Bc1XI_mg.js";import"./analytics-P_xGl18F.js";import"./lexical-OBpCEASU.js";import"./utils-DYOlPuZo.js";import"./VideoPlayer-XhlPd-AK-BnsTqJgD.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="d210d9bd-299a-4267-9db1-6955b38d8d21",i._sentryDebugIdIdentifier="sentry-dbid-d210d9bd-299a-4267-9db1-6955b38d8d21")}catch{}})();const F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=s.div`
1
+ import{ay as ne,y as S,J as k,aS as le,V as e,ac as a,fz as ae,bE as de,a as u,ag as d,O as E,o as s,as as ce,e as me,aV as V,ao as pe,x as xe,p as z,cI as he,aW as ue,bc as ge,u as we}from"./index-CQD_nutl.js";import{a as j}from"./sentry-B9mdFwQp.js";import{n as r}from"./mui-Dk05P7Hv.js";import{GB as je,bQ as be}from"./zeni-epic-state-ksdE_TIc.js";import{C as fe}from"./VideoPopup-vRgVcJFh-DUXScMWN.js";import{M as v}from"./usp-line-BBd1wKwW-BUoEX_Hw.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";import"./VideoPlayer-uODifSjz-C5_6EW14.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="20048394-0b5b-4c05-9022-45b096397c3a",i._sentryDebugIdIdentifier="sentry-dbid-20048394-0b5b-4c05-9022-45b096397c3a")}catch{}})();const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",_="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
5
5
  flex-direction: column;
6
6
  background-color: ${i=>i.theme.colors.grey4};
7
- `,Se=s.div`
8
- padding: ${i=>i.windowSize==="small"?`${r.sp0} ${r.sp3}`:`${r.sp0} ${r.sp8}`};
7
+ `,Se=r.div`
8
+ padding: ${i=>i.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
9
  text-align: center;
10
- `,ke=s(ce)`
10
+ `,ke=r(me)`
11
11
  max-width: 648px;
12
12
  margin: auto;
13
- padding: ${r.sp7} ${r.sp0};
13
+ padding: ${s.sp7} ${s.sp0};
14
14
  color: ${i=>i.theme.colors.primary};
15
- `,ze=s(me)`
15
+ `,ze=r(ce)`
16
16
  max-width: 600px;
17
17
  margin: auto;
18
- padding: ${r.sp5} ${r.sp0};
18
+ padding: ${s.sp5} ${s.sp0};
19
19
  color: ${i=>i.theme.colors.primary};
20
- `,O=s.div`
20
+ `,F=r.div`
21
21
  display: flex;
22
22
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
23
  align-items: center;
24
24
  justify-content: center;
25
25
  margin-bottom: ${i=>ye.midContainerMarginBottom.valuePx(i.windowSize)};
26
- `,ve=s.div``,L=s.div`
26
+ `,ve=r.div``,L=r.div`
27
27
  display: flex;
28
28
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
29
29
  align-items: center;
30
30
  justify-content: center;
31
- `,g=s.img``,_=s.div`
31
+ `,g=r.img``,O=r.div`
32
32
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
33
33
  display: flex;
34
34
  flex-direction: column;
35
- `,N=s.div`
35
+ `,G=r.div`
36
36
  width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
37
37
  overflow: hidden;
38
38
  max-width: 712px;
@@ -40,45 +40,45 @@ import{ax as ne,d as S,J as k,aS as le,V as e,aR as a,fx as ae,bE as de,i as u,a
40
40
  align-content: center;
41
41
  justify-content: center;
42
42
  align-items: center;
43
- `,W=s.div`
44
- margin-left: ${i=>i.windowSize==="small"?r.sp0:r.sp6};
45
- margin-bottom: ${i=>i.windowSize==="small"?r.sp4:r.sp0};
43
+ `,J=r.div`
44
+ margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
45
+ margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
46
46
  background: ${i=>i.theme.colors.grey3};
47
47
  border-radius: 12px;
48
48
  border: ${i=>`1px solid ${i.theme.colors.grey3}`};
49
49
  padding: 15px;
50
- `,m=s.div`
51
- border-radius: ${r.sp12};
50
+ `,c=r.div`
51
+ border-radius: ${s.sp12};
52
52
  border: ${i=>`1px solid ${i.theme.colors.grey2}`};
53
- padding: ${i=>i.windowSize==="small"?`${r.sp2} ${r.sp4} ${r.sp2} ${r.sp0}`:`${r.sp3} ${r.sp5} ${r.sp3} ${r.sp0}`};
53
+ padding: ${i=>i.windowSize==="small"?`${s.sp2} ${s.sp4} ${s.sp2} ${s.sp0}`:`${s.sp3} ${s.sp5} ${s.sp3} ${s.sp0}`};
54
54
  background: ${i=>i.theme.colors.grey5};
55
55
  position: relative;
56
- margin-bottom: ${r.sp3};
56
+ margin-bottom: ${s.sp3};
57
57
  display: flex;
58
58
  align-items: center;
59
59
  text-align: start;
60
60
  box-sizing: border-box;
61
- `,b=s(ge)`
61
+ `,b=r(ge)`
62
62
  color: ${i=>i.theme.colors.champion};
63
- `,f=s(ue)`
63
+ `,f=r(ue)`
64
64
  color: ${i=>i.theme.colors.champion};
65
- `,y=s(E)`
65
+ `,y=r(V)`
66
66
  color: ${i=>i.theme.colors.champion};
67
- `,$=s(he)`
67
+ `,$=r(he)`
68
68
  color: ${i=>i.theme.colors.champion};
69
- `,c=s.div``,p=s.div`
70
- padding-left: ${r.sp3};
71
- `,M=s(E)`
72
- margin: ${i=>i.windowSize==="small"?r.sp1:`auto ${r.sp5}`};
69
+ `,m=r.div``,p=r.div`
70
+ padding-left: ${s.sp3};
71
+ `,M=r(V)`
72
+ margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
73
73
  color: ${i=>i.theme.colors.grey1};
74
- `,G=s(v)`
74
+ `,N=r(v)`
75
75
  color: ${z.graphColor16Dark};
76
- `,H=s(v)`
76
+ `,W=r(v)`
77
77
  color: ${z.graphColor09Dark};
78
- `,q=s(v)`
78
+ `,H=r(v)`
79
79
  color: ${z.success};
80
- `,D=s(pe)`
81
- margin: ${r.sp3} auto;
80
+ `,D=r(pe)`
81
+ margin: ${s.sp3} auto;
82
82
  max-width: 772px;
83
83
  color: ${i=>i.theme.colors.hero};
84
- `,t=V.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=V.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(O,{windowSize:o,children:[e.jsx(N,{windowSize:o,children:e.jsx(W,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(O,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.simplestText.bold}),e.jsx(b,{children:t.simplestText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.aiPoweredText.bold}),e.jsx(b,{children:t.aiPoweredText.regular})]})]}),e.jsxs(m,{windowSize:o,style:{width:"376px"},children:[e.jsx(c,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.multiLevelApprovalText.bold}),e.jsx(b,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(N,{windowSize:o,children:e.jsx(W,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),re=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),se=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!se,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:re.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{_e as default};
84
+ `,t=E.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=E.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(F,{windowSize:o,children:[e.jsx(G,{windowSize:o,children:e.jsx(J,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:_,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(O,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(N,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(F,{windowSize:o,children:[e.jsxs(O,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(N,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.simplestText.bold}),e.jsx(b,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.aiPoweredText.bold}),e.jsx(b,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.multiLevelApprovalText.bold}),e.jsx(b,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(G,{windowSize:o,children:e.jsx(J,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:_,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Oe=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:Q,analytics:x,onSetupButtonClick:q,onCreateNewRemiButtonClick:K,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),re=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!re,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:Q,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:se.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:q,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{Oe as default};
@@ -1,4 +1,4 @@
1
- import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as Je,p as J,y as s,bE as Ze,T as Ye,ad as Xe,fy as ve,dS as Ke,fz as Qe,by as et,dI as tt,aT as it,o as a,fB as nt,u as n,ck as ot,cL as at,ex as lt,fK as ke,fL as $e,gk as st,i as rt,aR as Pe,H as Ae,bO as dt,aj as ct,bv as ut}from"./index-WR35fJ_g.js";import{a as o}from"./sentry-Bp-C2lie.js";import{n as i}from"./mui-Brvp17ej.js";import{bJ as mt}from"./zeni-epic-state-C5X_gOJX.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-5-avyqy0-CQpeMTAN.js";import"./liveblocks-C4P3eYZH.js";import"./core-9fRi0Mt4.js";import"./recharts-3nFTO0WQ.js";import"./lottie-Bc1XI_mg.js";import"./analytics-P_xGl18F.js";import"./lexical-OBpCEASU.js";import"./utils-DYOlPuZo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="f8026d5f-da5a-4043-9d2a-40409df31169",e._sentryDebugIdIdentifier="sentry-dbid-f8026d5f-da5a-4043-9d2a-40409df31169")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Te(),D=Ee(),{formState:{errors:Y},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Y,E),{localData:d,updateStatus:U,mileageStatus:b}=p,F=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:K,spendManagement:Q}=Ve.getLocalizedStrings(),{reimbursement:ee}=Q,[S,T]=o.useState(F),[te,H]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&T(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||H(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=K,ne=S===!1||U.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(bt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:$e(b.code)}):null]}),t.jsxs(wt,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:b.name,textColor:$e(b.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(Tt,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:V=>V!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(It,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&F&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:U.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:V=>{V.stopPropagation(),T(!0),H(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Vt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
1
+ import{y as Ee,J as Te,aS as N,aa as Je,cJ as qe,O as Ve,aX as Ce,V as t,fh as Ge,p as G,x as s,bE as Ze,L as Qe,ae as Xe,fA as ve,dT as Ye,fB as Ke,by as et,dJ as tt,aT as it,o as a,fD as nt,u as n,cl as ot,cN as at,ez as lt,fM as ke,fN as $e,gm as st,a as rt,ac as Pe,b as Ae,bO as dt,ak as ct,bv as ut}from"./index-CQD_nutl.js";import{a as o}from"./sentry-B9mdFwQp.js";import{n as i}from"./mui-Dk05P7Hv.js";import{bJ as mt}from"./zeni-epic-state-ksdE_TIc.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-CSfIPVfJ-BDLDUOxO.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="331de0c2-e3ee-4e62-8f70-8d36d47f17dd",e._sentryDebugIdIdentifier="sentry-dbid-331de0c2-e3ee-4e62-8f70-8d36d47f17dd")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Te(),D=Ee(),{formState:{errors:Q},trigger:X}=at(),E=ht(P,"mileageAmountInDenomination"),x=lt(Q,E),{localData:d,updateStatus:U,mileageStatus:b}=p,F=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:K}=Ve.getLocalizedStrings(),{reimbursement:ee}=K,[S,T]=o.useState(F),[te,W]=o.useState(!1);o.useEffect(()=>{x||X(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&T(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||W(S)},[S]);const{reimbursementSetup:y}=ee,{setUp:ie}=Y,ne=S===!1||U.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(bt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(St,{children:y.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:$e(b.code)}):null]}),t.jsxs(wt,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:b.name,textColor:$e(b.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Et,{children:[t.jsxs(Tt,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:S||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:V=>V!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(It,{children:S?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&F&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:U.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:V=>{V.stopPropagation(),T(!0),W(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(Vt,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
@@ -13,7 +13,7 @@ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as J
13
13
  display: flex;
14
14
  `,bt=i.div`
15
15
  ${e=>`${ge.title.style(e.windowSize)}`};
16
- color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
16
+ color: ${e=>e.isError===!0?G.important:e.theme.colors.primary};
17
17
  `,St=i(ct)`
18
18
  display: flex;
19
19
  align-items: center;
@@ -33,7 +33,7 @@ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as J
33
33
  border-radius: ${a.sp11};
34
34
  width: fit-content;
35
35
  height: fit-content;
36
- color: ${e=>e.isDarkMode?J.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
36
+ color: ${e=>e.isDarkMode?G.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
37
37
  max-width: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
38
38
  max-height: ${e=>h.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
39
39
  margin-right: ${e=>h.iconContainerMarginRight.valuePx(e.windowSize)};
@@ -85,7 +85,7 @@ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as J
85
85
  `,Vt=i.label`
86
86
  display: flex;
87
87
  padding-left: ${e=>h.infoLabelPaddingLeft.valuePx(e.size)};
88
- color: ${e=>e.hasError===!0?J.important:e.additionalInfoTextColor??e.theme.colors.hero};
88
+ color: ${e=>e.hasError===!0?G.important:e.additionalInfoTextColor??e.theme.colors.hero};
89
89
  ${e=>`${ge.infoLabel.style(e.size)}`};
90
90
  margin-top: ${a.sp1};
91
91
  `,It=i.div`
@@ -103,7 +103,7 @@ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as J
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Kt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:U,updateMileageDetails:b,onUpdateAccountClick:F,onUpdatePrimaryFundingAccount:K,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:T,onSaveMileageClick:te,onClickMenuIcon:H,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:V})=>{const W=Ee(),u=Te(),[B,I]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ie,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Ue}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),we=N(se.fetchState),be=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&I(!0),B&&_==="In-Progress"&&v==="Completed"&&I(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||we==="In-Progress"&&se.fetchState==="Completed"||be==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,we,se.fetchState,be,re.fetchState]);const Fe=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),He=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&K(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),F(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(G)){const w=R[G];b(w)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>He(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&T()},[T,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:We}=Ve.getLocalizedStrings(),{reimbursement:Be}=We,{reimbursementSetup:M}=Be,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Se.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=W.mode==="light"?new Ce(W.colors.brandColorJadeLight):new Ce(W.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?I(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>I(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>I(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:H,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ut,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(je),onSubmit:Fe,children:t.jsxs(Ft,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ke,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:U,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:V,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:O.length>0?Ue:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ie.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
106
+ `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",J="remiAccount",q="remiMileage",Yt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Q,onBusinessVerificationSectionClick:X,onSetupApprovalRulesSectionClick:E,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:U,updateMileageDetails:b,onUpdateAccountClick:F,onUpdatePrimaryFundingAccount:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:S,onEnableRemiSuccess:T,onSaveMileageClick:te,onClickMenuIcon:W,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:V})=>{const H=Ee(),u=Te(),[O,I]=o.useState(!1),{fetchState:v,primaryFundingAccount:C,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ie,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:B,approvalRulesStatus:Ue}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),we=N(se.fetchState),be=N(re.fetchState),z=Je({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!O&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&I(!0),O&&_==="In-Progress"&&v==="Completed"&&I(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||we==="In-Progress"&&se.fetchState==="Completed"||be==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,we,se.fetchState,be,re.fetchState]);const Fe=z.handleSubmit(A=>{l.trackEnableReimbursement(),S()}),We=async(A,R)=>{const m=R[J];if(A.includes(J)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&C?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&Y(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&C?.id!=null&&C?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),F(m.account.selectedOption,C.id,C.accType)}}else if(A.includes(q)){const w=R[q];b(w)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&qe(()=>We(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&T()},[T,ye,L.fetchState]);const{commonSetUp:Se,spendManagement:He}=Ve.getLocalizedStrings(),{reimbursement:Oe}=He,{reimbursementSetup:M}=Oe,{setUp:k}=Se,de=he?.isBusinessVerified===!0&&(C?.accType==="depositAccount"||mt(C?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Be=de?Se.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Ce(H.colors.brandColorJadeLight):new Ce(H.colors.brandColorJadeDark),Ne=()=>{!O&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?I(!0):X?.()};return t.jsxs(zt,{children:[t.jsx(Ge,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:O,onClose:()=>I(!1),style:{backgroundColor:G.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>I(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Q,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:W,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Be}),_e?t.jsx(Ut,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsx(Xe,{...z,children:t.jsx("form",{id:De(je),onSubmit:Fe,children:t.jsxs(Ft,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Ye,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Ke,{connectedAccountProvider:j,primaryFundingAccount:C,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:J,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:U,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:V,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:q,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:B.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:B.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:E,status:B.length>0?Ue:void 0})]})})})]}),de&&!ce&&B.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ie.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
107
107
  display: flex;
108
108
  min-height: 100%;
109
109
  flex-direction: column;
@@ -137,4 +137,4 @@ import{d as Ee,J as Te,aS as N,aa as qe,cH as Ge,O as Ve,aX as Ce,V as t,ff as J
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  row-gap: ${e=>g.sectionRowGap.valuePx(e.windowSize)};
140
- `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:c}=j;return{[q]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[G]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Kt as default,De as uniqueName};
140
+ `,pe=e=>{const{allBankAccounts:p,allFundingAccounts:$,mileageDetails:j,primaryFundingAccount:P}=e,{localData:c}=j;return{[J]:{fundingAccount:{selectedOption:P?.id,allOptions:$.map(r=>({label:r.label,value:r.id,isRecommended:r.accType==="depositAccount"}))},account:{selectedOption:P?.zeniAccountId,allOptions:p.map(r=>({label:r.accountName,value:r.accountId}))}},[q]:{mileageAmount:c?.mileageUnitAmount?.amount,mileageCurrencyCode:c?.mileageCurrencyCode??"USD",mileageCurrencySymbol:c?.mileageCurrencySymbol??"$",mileageUnit:c?.mileageUnit??"",description:c?.description??"",mileageAmountInDenomination:c?.mileageAmountInDenomination,denomination:c?.denomination??"dollars",denominationSymbol:c?.denominationSymbol??""}}},De=e=>`${e}_form`;export{Yt as default,De as uniqueName};