@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
@@ -1,92 +0,0 @@
1
- import{ax as de,I as ce,P as ue,q as T,bl as pe,V as n,bm as be,bn as me,bo as fe,bp as he,ab as ge,bq as xe,o as t,br as Ee,aw as b,b7 as m}from"./index-WR35fJ_g.js";import{a as o,P as ye}from"./sentry-Bp-C2lie.js";import{n as l}from"./mui-Brvp17ej.js";import{bk as Ce}from"./zeni-epic-state-C5X_gOJX.js";import{v as we}from"./DashboardSidebarBackgroundAnimation-8LKlc-IA--VyG_ExD.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:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="78eeca93-1a79-4e4e-ae5f-add29723e54b",e._sentryDebugIdIdentifier="sentry-dbid-78eeca93-1a79-4e4e-ae5f-add29723e54b")}catch{}})();const Ae=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ke,{children:n.jsx(m,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ke=l.div`
2
- position: absolute;
3
- z-index: 0;
4
- bottom: -${t.sp3};
5
- display: flex;
6
- height: auto;
7
- right: ${t.sp0};
8
- `,Se=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ve,{children:n.jsx(m,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
9
- position: absolute;
10
- z-index: 0;
11
- bottom: ${t.sp0};
12
- display: flex;
13
- height: auto;
14
- right: ${t.sp0};
15
- width: 100%;
16
- `,je=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(Te,{children:n.jsx(m,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Te=l.div`
17
- position: absolute;
18
- z-index: 0;
19
- width: 100%;
20
- bottom: ${t.sp0};
21
- display: flex;
22
- height: 135px;
23
- background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/halloween-bg.svg);
24
- background-size: auto;
25
- background-repeat: no-repeat;
26
- background-position-y: bottom;
27
- left: 0;
28
- `,$e=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(De,{children:n.jsx(m,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),De=l.div`
29
- position: absolute;
30
- z-index: 0;
31
- bottom: ${t.sp0};
32
- display: flex;
33
- height: auto;
34
- right: ${t.sp0};
35
- `,Ie=o.memo(function({christmasAnimationEnabled:e=!1,halloweenAnimationEnabled:i=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return i?n.jsx(je,{animationEnabled:i}):a?n.jsx($e,{animationEnabled:a}):e?n.jsx(Se,{animationEnabled:e}):s?n.jsx(Ae,{animationEnabled:s}):null}),Me=l.div`
36
- display: flex;
37
- flex: 1 1 auto;
38
- flex-direction: column;
39
- padding-left: ${t.sp4};
40
- width: 240px;
41
- position: relative;
42
- overflow: hidden;
43
- box-shadow: ${e=>e.isOnDashboard?"none":`inset -2px 0 ${t.sp1} -2px ${e.theme.colors.dropShadowNormal}`};
44
- `,Pe=l.div`
45
- padding-left: ${t.sp3};
46
- `,Ve=l.div`
47
- display: flex;
48
- flex-direction: column;
49
- flex: 1 1 auto;
50
- padding: 0 ${t.sp1} 0 12px;
51
- overflow-y: auto;
52
- overflow-x: visible;
53
- min-height: 0;
54
- margin-top: ${t.sp4};
55
-
56
- /* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
57
- &::-webkit-scrollbar {
58
- display: none;
59
- }
60
-
61
- /* Hide scrollbar for Firefox */
62
- scrollbar-width: none;
63
-
64
- /* Hide scrollbar for IE and Edge */
65
- -ms-overflow-style: none;
66
- `,Ue=l.div`
67
- margin: ${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0};
68
- width: fit-content;
69
- display: flex;
70
- flex-direction: row;
71
- align-items: center;
72
- position: relative;
73
- z-index: 1;
74
- `,Ye=l.div`
75
- display: flex;
76
- align-items: center;
77
- justify-content: center;
78
- position: relative;
79
- margin-left: ${t.sp2};
80
- cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
81
- color: ${e=>e.theme.colors.hero};
82
- &:hover {
83
- color: ${e=>e.theme.colors.primary};
84
- }
85
- z-index: 1;
86
- `,ze=l(Ee)`
87
- display: flex;
88
- width: ${t.sp4};
89
- height: ${t.sp4};
90
- align-items: center;
91
- justify-content: center;
92
- `;function Ke({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:$,isChargeCardEnabled:D,rewardsConfiguration:I,selectedMenu:M,isTenantDropdownDisabled:P,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:U,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:E,signedInUser:f,aiCfoView:R,currentTenant:y,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:C=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:A=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:F,isTaskManagerAccessEnabled:B,treasuryYieldPercentage:L,onNotificationIconClick:N,handleLogOutClick:_,handleMenuChange:G,onZeniLogoClick:H,handlePopupClose:Z,handleBackClick:k,handleCockpitClick:O,handleMyProfileClick:S,handleReferralsClick:q,handleTenantSelect:W,onDeleteChatSession:K,updateCurrentChatSessionId:J}){const[d,Q]=o.useState(c&&E),g=ye.useRef("noAnimation"),v=Ce(f),X=de(),{useFeatureGate:j,useDynamicConfig:ee}=ce(),{configValue:x}=ee(ue.expenseAutomationEnablementZeniUsers),ne=x.expenseAutomationEnabledCompanies!=null&&Array.isArray(x.expenseAutomationEnabledCompanies)?x.expenseAutomationEnabledCompanies:[],{isFeatureEnabled:ie}=j(T.isReimbursementCommentingEnabled),{isFeatureEnabled:te}=j(T.isBillPayCommentingEnabled),ae=pe(),se=()=>{g.current="slide-in-right-to-left",S&&S()},oe=()=>{g.current="slide-in-left-to-right",d&&k&&k()};o.useEffect(()=>{c!==d&&Q(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",le=g.current,re=v||ie&&te&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Me,{isOnDashboard:U,children:[n.jsxs(Pe,{children:[n.jsx(be,{onClick:H,halloweenAnimationEnabled:C,thanksGivingAnimationEnabled:A,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(me,{currentTenantId:e??"",tenants:i,isDisabled:P,isZeniUser:v,expenseAutomationEnabledCompanies:ne,onTenantSelect:W})]}),n.jsx(Ve,{children:n.jsx(fe,{className:le,signedInUser:f,selectedMenu:M,currentTenant:y,isVendorsTabVisible:s,rewardsConfiguration:I,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:R,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:$,treasuryYieldPercentage:L,isChargeCardEnabled:D,isNotificationsTabVisible:z,isPerformanceEnabledForUser:ae,isExpenseAutomationEnabledForUser:F,isTaskManagerAccessEnabled:B,onSelectionChanged:G,onDeleteChatSession:K,updateCurrentChatSessionId:J,onBackClick:oe,onPopupClose:Z})}),n.jsx(we,{christmasAnimationEnabled:h}),n.jsxs(Ue,{children:[n.jsx(he,{signedInUser:f,onLogOutClick:_,onMyProfileClick:se,onReferralsClick:q,onCockpitClick:O,currentTenant:y,isSettingsFeatureEnabled:E}),re?n.jsx(ge,{controller:u!=null,children:n.jsxs(Ye,{isDisabled:p,onClick:p?void 0:N,children:[n.jsx(xe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(ze,{})]})}):null]}),n.jsx(Ie,{halloweenAnimationEnabled:C,thanksGivingAnimationEnabled:A,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Ke as default};
@@ -1,47 +0,0 @@
1
- import{d as _,J,ax as V,O as p,aX as v,V as t,bE as E,T as F,fy as b,dI as S,y as d,o as k,an as O,b as j,u as o}from"./index-WR35fJ_g.js";import{n as l}from"./mui-Brvp17ej.js";import{FJ as G,FK as N}from"./zeni-epic-state-C5X_gOJX.js";import"./sentry-Bp-C2lie.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:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="967d99d5-26d6-4588-8ee8-a8e314f42e74",e._sentryDebugIdIdentifier="sentry-dbid-967d99d5-26d6-4588-8ee8-a8e314f42e74")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:T,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:P})=>{const r=_(),i=J(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:W}=$,{billPaySetup:M}=B,{reimbursementSetup:D}=W,{setUp:s}=C,L=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",y=r.mode==="light"?new v(r.colors.brandColorJadeLight):new v(r.colors.brandColorJadeDark),H=G(c,u.loggedInUserRoleMap),U=N(c,u.loggedInUserRoleMap);return t.jsxs(K,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:T}),t.jsx(Q,{windowSize:i,children:L?t.jsx(Y,{children:t.jsx(F,{size:"ExtraLarge",start:!0})}):t.jsxs(X,{children:[t.jsx(q,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[H===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:y},onClick:I,status:m.length>0?z:void 0}),U===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:y},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:P,status:f.length>0?A:void 0})]})]})})]})},X=l.div`
2
- width: 100%;
3
- margin: auto;
4
- display: flex;
5
- justify-content: flex-start;
6
- height: 100%;
7
- overflow-y: auto;
8
- flex-direction: column;
9
- align-items: center;
10
- `,K=l.div`
11
- display: flex;
12
- min-height: 100%;
13
- flex-direction: column;
14
- row-gap: ${k.sp3};
15
- width: 100%;
16
- background-color: ${e=>e.theme.colors.grey4};
17
- `,Q=l.div`
18
- display: flex;
19
- height: 100%;
20
- overflow-y: auto;
21
- justify-content: center;
22
- `,Y=l.div`
23
- display: flex;
24
- width: 100%;
25
- height: calc(100vh - 110px);
26
- flex-direction: row;
27
- justify-content: center;
28
- align-items: center;
29
- background-color: ${e=>e.theme.colors.grey4};
30
- `,Z=l.div`
31
- display: flex;
32
- flex-direction: column;
33
- row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
34
- `,q=l(O)`
35
- display: flex;
36
- justify-content: center;
37
- align-items: center;
38
- width: ${e=>n.subtitleSectionWidth.valuePx(e.windowSize)};
39
- margin-bottom: ${k.sp5};
40
- `,ee=l.div`
41
- display: flex;
42
- align-items: center;
43
-
44
- color: ${e=>e.theme.colors.hero};
45
- font-family: ${j.largeMedium.fontFamily};
46
- ${j.standardRegular.css};
47
- `;export{ue as default};
@@ -1,266 +0,0 @@
1
- import{J as Zn,ax as Un,d as Kn,gl as Vn,gm as Hn,gn as Xn,go as qn,cf as Gn,aS as Yn,y,V as t,fc as ct,fd as Qn,o as a,fe as Jn,ff as ea,fg as ta,aP as Se,fh as na,aR as b,bE as pt,bq as mt,dx as ut,cr as yt,cs as ht,ct as bt,gp as aa,gq as ia,gr as la,gs as oa,fm as j,gt as $,fo as A,fp as k,fl as ra,b as gt,p as oe,fn as Ot,fv as sa,fq as da,fr as ca,gu as pa,gv as ma,aT as ua,ap as ft,bV as ve,gw as ya,gx as L,O as ha,u as s,ah as ba,c4 as ga,gy as fa,x as xa,gz as wa,fw as xt,H as Ta,d5 as va,ck as Da,gA as wt,b9 as Ia,bb as ja,a as $a,bX as Ft,d6 as Aa,gB as ka,aj as Et,aw as Sa,b7 as Ca,bv as Pa,gC as Ba,am as Ra}from"./index-WR35fJ_g.js";import{a as p}from"./sentry-Bp-C2lie.js";import{n as i}from"./mui-Brvp17ej.js";import{a as za}from"./liveblocks-C4P3eYZH.js";import{bO as Ma,bL as Na,bP as La,FS as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-C5X_gOJX.js";import{o as Wa,t as Za}from"./LowBalancePopup-DTwIs75G-BRD9r8mS.js";import"./core-9fRi0Mt4.js";import"./lottie-Bc1XI_mg.js";import"./recharts-3nFTO0WQ.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:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="9c5f1404-8102-433f-82a2-34f6583c59b8",e._sentryDebugIdIdentifier="sentry-dbid-9c5f1404-8102-433f-82a2-34f6583c59b8")}catch{}})();const Ua=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new Ta("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Va,common:{noText:C,strings:{empty:c},currency:Tt,via:Ha,more:Xa,edit:qa},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:It,title:{comments:Ga}}}}=ha.getLocalizedStrings(),Ie=Va.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:re,isAdmin:Wt,isRealTimeApprovalEnabled:Zt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Vt,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:Ht,redirectToEditableBillScreen:Xt,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:ze,deleteBill:qt,cancelAndDeleteBill:Me,approveOrRejectBill:Ne,onAddNewRule:Gt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Qt,onBackClick:Oe,updateEditRealTimeApproverClicked:Jt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Zn(),o=Un(),Fe=Kn(),[an,V]=p.useState(!1),[Ee,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[We,Q]=p.useState(!1),h=e.transactionDetails?.id,on=Vt?Vn:Hn,{requestToOpenThread:ue,setRequestToOpenThread:J,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&J(K)},[K,J]);const[rn,H]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:X,isLoading:P}=Xn(T,"both",!1),x=Be&&h!=null,Ze=p.useMemo(()=>h==null?[]:X.filter(r=>r.resolved===!1&&!r.id.includes(qn)),[X,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),H(!1)},[ee,H]);p.useEffect(()=>{ue?.threadId!=null&&X.length>0&&!P&&(ee(ue.threadId),J(null))},[ue,X,P,ee,J]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Gn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Ve]=p.useState("approved"),[mn,He]=p.useState(!1),[un,Xe]=p.useState(!1),[qe,Ge]=p.useState(!1),Ye=()=>He(!1),yn=()=>He(!0),Qe=Yn(e.zeniAssist?.refundStatus.fetchState),ne=p.useCallback(()=>{Y()},[Y]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(ze(),Y())},[e,Y,ze]),p.useEffect(()=>{Qe==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Qe,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,q=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&q?.code?q:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:q?.code!=null&&(ae?.code=="approved"||q.code==="mark_as_paid")?q:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Je=()=>{e.transactionDetails?.id!=null&&Xt(e.transactionDetails?.id??"")},bn=()=>{te({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),V(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),V(!0)},xn=()=>{M.trackRefundClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),te({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),ce(!0)},wn={onOkClick:()=>{V(!1),N.primaryButtonText===n.delete?qt?.(e.isRecurring):N.title===n.cancelBillTitle?Me?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Me?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{V(!1),ce(!1)}},Tn={onOkClick:r=>{me(!1),Ne({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{me(!1)}},vn=()=>{const[r]=Sa("ZeniAssist");return r!=null?t.jsx(Ca,{"data-testid":b("bill-details-zeni-assist-icon",h),onClick:()=>{pe(!_e),M.trackZeniAssistClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},ie={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??Tt.currencyCode},be=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],Dn=e.transactionDetails?.recipientTotalAmount.amount??0,ge=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},I=m.labelWidth.value(l),In=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,jn=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",$n=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${jn}`,An=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx(Ii,{})})]}):void 0,et=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),kn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Aa(r.toLowerCase()):r??"";return`${De.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
2
- ${De.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${De.achDetails.accountTypeLabel} ${u}`},le=e.transactionDetails?.billPayInfo!=null?Ma(e.transactionDetails?.billPayInfo):void 0,Sn=le!=null&&e.paymentMethodType?.maxPeriod?.value!=null?Na(La(le?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,tt=e.transactionDetails?.billPayInfo.expectedDepositDate??Sn,nt=ct(d?.paymentType?.method??"").replace("Same Day",""),Cn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Qn,{paymentTypeLabel:nt,onClick:yn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Pn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(ka,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,at=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,fe=!(D?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&at),it=!((w?.code==="scheduled"||w?.code==="pending_approval")&&at),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,we=e.zeniAssist?.isEligibleForRefund===!0,Bn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Rn=Kt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||we)&&Bn===!1,Te=xe||we,zn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,Mn=!zn&&(!et||D?.code==="processing"&&!B),lt=!et,ot=["small","medium-compact","medium-regular"].includes(l),G=Oa(e.transactionDetails?.bulkProcessingDetail?.type),F=Fa(e.paymentMethodType?.method),Nn=!G&&(E!=="processing"&&it||E==="processing"&&!B||E==="processing"&&lt||f&&F&&Pe),Ln=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,qe,r)},rt=()=>{Xe(!0),M.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Ge(!0),rt()},Fn=()=>{Qt(),Xe(!1),qe&&Ge(!1)},En=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:h??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,h]),_=Ht&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Jn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,st=()=>{Ve("approved"),We===!0&&Q(!1),_!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Ne({billId:e.transactionDetails?.id??"",type:"approved"})},_n=()=>{Ve("rejected"),_!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",xt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),me(!0)},dt=p.useRef(null);return t.jsxs(pi,{windowSize:l,ref:dt,children:[t.jsx(ea,{anchor:"right",open:mn,onClose:Ye,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(ta,{companyName:na(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format(Ie)??"",paymentType:nt,amount:Se("0,0.[00]",ge),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ye})}),t.jsxs(hi,{ref:pn.current,windowSize:l,children:[t.jsx(ki,{windowSize:l,children:l==="small"?t.jsx(pt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),source:"BillDetailPage"}):t.jsx(pt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[he,e.isRecurring?t.jsx(ke,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Ct,{windowSize:l,children:[x?t.jsxs(Nt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>ut(u)),void 0,void 0,"page icon")},children:[t.jsx(mt,{count:P?void 0:Ze,isLoading:P,style:{left:"12px"}}),t.jsx(Lt,{})]}):null,t.jsx(Pt,{onClick:()=>ne(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(St,{})})]}),leftSideComponent:t.jsx(kt,{windowSize:l,onClick:Oe,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Re?"visible":"hidden"}`},children:t.jsx(At,{})}),enableTitleOnScroll:!0,scrollableContent:dt,source:"BillDetailPage"})}),t.jsxs(bi,{windowSize:l,children:[We?t.jsx(Wa,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:st,onCancelClick:()=>{Q(!1),Je()},onClickAway:()=>{Q(!1)}}):null,un?t.jsx(Za,{onCancel:Fn,onProceedForMarkAsPaid:Ln,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,an||de?t.jsx(yt,{titleComponent:t.jsx(bt,{children:N.title}),descriptionComponent:t.jsx(ht,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:de?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:wn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:de?Qa(l,e):null}):null,ln?t.jsx(yt,{titleComponent:t.jsx(bt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(ht,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Tn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(fi,{windowSize:l,children:[l!=="small"?t.jsxs(xi,{windowSize:l,children:[he,e.isRecurring?t.jsx(ke,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Ce.tabsById.overdue?t.jsx(Bt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(aa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(ia,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:tt,scheduleDate:le,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ti(G,e,_),t.jsx(la,{sectionId:oa,currentVendorOption:{defaultOptions:[]},billId:h,isBillPayCommentingEnabled:Be,isBillPaid:ye,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Le,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs($e,{children:[t.jsx(Ae,{children:n.whatForTitle}),t.jsxs(je,{children:[t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx($,{label:{label:n.invoiceNumber,width:I},text:ie.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx($,{label:{label:n.invoiceDate,width:I},text:ie.invoiceDate?.format(Ie)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx($,{label:{label:n.billDueDate,width:I},text:ie.billDueDate?.format(Ie)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"memo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx($,{label:{label:n.memo,width:I},text:ie.memo??C,style:{width:"auto"}})})]})]}),t.jsxs($e,{children:[t.jsx(gi,{windowSize:l,children:t.jsx(Ae,{children:n.lineItemsTitle})}),be.length>0?be.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Wn=>Wn.id===r.lineId)?.recipientAmount;return t.jsxs(mi,{children:[be.length>1?t.jsx(ui,{windowSize:l,children:t.jsx(yi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(je,{children:[t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx($,{label:{label:n.amount,width:I},text:R!=null?Se("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx($,{label:{label:n.description,width:I},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx($,{label:{label:n.category,width:I},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx($,{label:{label:n.class,width:I},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx($,{label:{label:n.billable,width:I},text:r.billable!=null?In(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx($,{label:{label:n.customer,width:I},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(wi,{windowSize:l,children:[t.jsx(Ti,{children:n.total}),t.jsx(vi,{children:ge!=null?t.jsx(ra,{amount:ge,integerStyles:gt.h6Medium.cssObject,decimalStyles:gt.standardMedium.cssObject}):C})]}),t.jsxs($e,{children:[t.jsx(Ae,{children:n.paymentDetailsTitle}),t.jsxs(je,{children:[F?null:t.jsxs(t.Fragment,{children:[t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx($,{label:{label:n.withdrawFrom,width:I},text:e.withdrawFrom!=null?Ot(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:oe.brandColorGoldDark},additionalInfoLabel:_!=null&&w?.code==="pending_approval"?_t.addMoney:_})}),t.jsx(z,{})]}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx($,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(Ea)&&Ut&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ai,{children:sa(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:I},text:F&&e.outsideZeniPaymentInfo!=null?ei(e.outsideZeniPaymentInfo):ct(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx($,{label:{label:n.paymentTo,width:I},text:d.paymentToBankAccount!=null?$n:d.paymentToPI!=null?d.paymentToPI.displayText:An,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:kn(),additionalInfoLabel:t.jsx(ni,{children:Cn})}),Pn()]})})]}),F||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(j,{isThreadAllowed:x,entityId:h,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:v,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx($,{label:{label:n.paymentType,width:I},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ca(e.isRecurring,F,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:da(l,e.isRecurring,F,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx($i,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(pa,{onAttachmentClick:Le,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??Tt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ma,{amount:Dn,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Gt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:Wt,signedInUserId:re?.userId,showRealTimeApproval:Zt,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Jt,onSaveRealTimeApprovals:en},historicActivities:e.billHistory.activities}),t.jsx(Di,{})]}),e.transactionDetails?.vendor!=null&&!ye&&!e.transactionDetails.isDeleted?t.jsx(ua,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||f,showCancel:!U&&f,cancelBtn:{label:ot?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:_n,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Ja(U,ot),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?rt:()=>{_!=null?Q(!0):st()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(ii,{children:t.jsxs(ci,{windowSize:l,children:[!G&&Ee?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-container"),children:[E!=="processing"&&it?t.jsx(W,{onClick:bn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,E==="processing"&&!B?t.jsx(W,{onClick:gn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,E==="processing"&&lt?t.jsx(W,{onClick:fn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,f&&F&&Pe?t.jsx(W,{onClick:On,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,_e?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs($t,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(W,{onClick:()=>{M.trackRetryClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),tn()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,we?t.jsx(W,{onClick:xn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(di,{windowSize:l,children:[Rn===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Te?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:Te,"data-testid":b("other-actions-icon-container"),children:Te?t.jsx(vn,{}):t.jsx(oi,{})})}):null,!G&&fe===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,placement:"top",children:t.jsx(si,{onClick:Je,"data-testid":b("edit-bill-icon-container"),children:t.jsx(ri,{})})}):null,!G&&Mn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Xa,placement:"top",children:t.jsx(jt,{windowSize:l,showEditIcon:fe,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(li,{onClick:()=>se(!Ee)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(za,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Ga,threads:X,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:Dt.addANewComment,replyComposerPlaceholder:Dt.replyAComment,threadResolve:It.resolveComment,threadUnResolve:It.unResolveComment},threadMetadata:En,onThreadClick:sn,onCloseAllThreadsDrawer:()=>H(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Fe.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Ya=(e,g)=>{const f=e?.code;if(e!=null&&f!=null)return g?.isDeleted===!0?{value:Ce.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:f==="pending_approval"&&g?.dueDate?.isBefore(_a(),"date")===!0?{value:Ce.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[f].color,bgColor:L[f].bgColor,borderColor:L[f].borderColor}},Qa=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ai,{windowSize:e,children:[t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.accountNumber}),t.jsx(Mt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(zt,{children:n.zeniAssist.amount}),t.jsx(Mt,{children:f!=null?Se("0,0[.]00",f):C})]})]})},Ja=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,ei=e=>{const g=e.paymentMode,f=n.paymentOutsideZeni.offline;if(g==null||g==="other")return f;const Z=n.paymentOutsideZeni.paymentModeOptions.find(re=>re.value===g)?.label;return`${f} ${Ha} ${Z}`},ti=(e,g,f)=>{if(e)return t.jsx(wt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:vt.duplicateWarning.title,description:vt.duplicateWarning.description});if(f!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(wt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${_t.lowBalanceIn.replace("__account__",Z)}`,description:f.replace("Low balance! ","")})}else return null},ni=i.div``,ai=i.div``,ii=i.div`
3
- display: flex;
4
- justify-content: flex-end;
5
- `,li=i(Ba)`
6
- cursor: pointer;
7
- color: ${e=>e.theme.colors.hero};
8
- width: ${a.sp4};
9
- height: ${a.sp4};
10
- &:hover {
11
- color: ${e=>e.theme.colors.primary};
12
- }
13
- `,jt=i.div`
14
- display: flex;
15
- margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
16
- cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
17
- color: ${e=>e.theme.colors.grey1};
18
- &:hover {
19
- color: ${e=>e.theme.colors.primary};
20
- }
21
- `,oi=i(Ua)`
22
- color: ${e=>e.theme.colors.hero};
23
- width: ${a.sp5};
24
- height: ${a.sp5};
25
- margin-bottom: ${a.sp2};
26
- &:hover {
27
- color: ${e=>e.theme.colors.primary};
28
- }
29
- `,ri=i(Pa)`
30
- cursor: pointer;
31
- color: ${e=>e.theme.colors.hero};
32
- width: ${a.sp4};
33
- height: ${a.sp4};
34
- &:hover {
35
- color: ${e=>e.theme.colors.primary};
36
- }
37
- `,si=i.div`
38
- display: flex;
39
- cursor: pointer;
40
- color: ${e=>e.theme.colors.grey1};
41
- margin-left: ${a.sp4};
42
- &:hover {
43
- color: ${e=>e.theme.colors.primary};
44
- }
45
- `,di=i.div`
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- `,$t=i.div`
50
- display: flex;
51
- width: max-content;
52
- align-items: center;
53
- justify-content: center;
54
- flex-direction: column;
55
- background-color: ${e=>e.theme.colors.grey5};
56
- color: ${e=>e.theme.colors.hero};
57
- cursor: pointer;
58
- padding-top: ${a.sp1};
59
- padding-bottom: ${a.sp1};
60
- position: absolute;
61
- bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
62
- z-index: 3;
63
- border: ${e=>`1px solid ${e.theme.colors.grey3}`};
64
- border-radius: ${a.sp1};
65
- right: ${e=>m.right.valuePx(e.windowSize)};
66
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
67
- `,ci=i.div`
68
- width: auto;
69
- justify-content: flex-end;
70
- position: ${e=>e.windowSize==="small"?"static":"relative"};
71
- right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
72
- height: 100%;
73
- display: flex;
74
- `,W=i(Et)`
75
- display: flex;
76
- align-items: center;
77
- width: 100%;
78
- padding-left: ${a.sp3};
79
- padding-right: ${a.sp3};
80
- height: ${a.sp6};
81
- box-sizing: border-box;
82
- &:hover {
83
- background-color: ${e=>e.theme.colors.background};
84
- }
85
- `,At=i(ga)`
86
- cursor: pointer;
87
- color: ${e=>e.theme.colors.hero};
88
- width: 20px;
89
- height: 20px;
90
- &:hover {
91
- color: ${e=>e.theme.colors.primary};
92
- }
93
- `,kt=i.div`
94
- margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
95
- display: flex;
96
- align-items: center;
97
- `,St=i(xa)`
98
- cursor: pointer;
99
- width: ${a.sp4};
100
- height: ${a.sp4};
101
- color: ${e=>e.theme.colors.hero};
102
- &:hover {
103
- color: ${e=>e.theme.colors.primary};
104
- }
105
- `,Ct=i.div`
106
- display: flex;
107
- flex-direction: row;
108
- align-items: center;
109
- gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
110
- margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
111
- `,Pt=i.div`
112
- float: right;
113
- width: ${a.sp4};
114
- height: ${a.sp4};
115
- display: flex;
116
- `,pi=i.div`
117
- height: 100%;
118
- overflow: scroll;
119
- `,je=i.div`
120
- display: flex;
121
- flex-direction: column;
122
- background-color: ${e=>e.theme.colors.grey5};
123
- border: 1px solid ${e=>e.theme.colors.grey3};
124
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
125
- border-radius: ${a.sp2};
126
- margin: ${a.sp3} 0;
127
- `,$e=i.div`
128
- display: flex;
129
- flex-direction: column;
130
- padding-top: ${a.sp3};
131
- `,mi=i.div``,Ae=i(Ia)`
132
- color: ${e=>e.theme.colors.primary};
133
- `,z=i.div`
134
- display: flex;
135
- flex: 1;
136
- background-color: ${e=>e.theme.colors.grey3};
137
- min-height: 1px;
138
- max-height: 1px;
139
- `,ui=i(ja)`
140
- display: flex;
141
- align-items: center;
142
- justify-content: space-between;
143
- color: ${e=>e.theme.colors.champion};
144
- margin-top: ${a.sp2};
145
- height: 31px;
146
- `,yi=i($a)`
147
- color: ${e=>e.theme.colors.champion};
148
- `,hi=i.div`
149
- display: flex;
150
- flex-direction: column;
151
- `,bi=i.div`
152
- display: flex;
153
- flex-direction: column;
154
- background-color: ${e=>e.theme.colors.grey4};
155
- padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
156
- padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
157
- overflow-x: hidden;
158
- margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
159
- `,gi=i.div`
160
- display: flex;
161
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
162
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
163
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
164
- `,fi=i.div`
165
- display: flex;
166
- margin-bottom: ${a.sp3};
167
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
168
- align-items: ${e=>e.windowSize==="small"?"unset":"center"};
169
- width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
170
- `,xi=i(va)`
171
- display: flex;
172
- align-items: center;
173
- flex-grow: 1;
174
- ${e=>`${Ka.formTitle.style(e.windowSize)}`};
175
- color: ${e=>e.theme.colors.primary};
176
- margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
177
- margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
178
- word-break: break-all;
179
- padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
180
- `,wi=i.div`
181
- padding: ${a.sp3};
182
- display: flex;
183
- align-items: center;
184
- justify-content: center;
185
- background-color: ${e=>e.theme.colors.grey3};
186
- border: 1px solid ${e=>e.theme.colors.grey3};
187
- border-radius: ${a.sp2};
188
- color: ${e=>e.theme.colors.hero};
189
- margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
190
- `,Ti=i(Ft)`
191
- display: flex;
192
- width: 176px;
193
- color: ${e=>e.theme.colors.primary};
194
- `,vi=i(Ft)`
195
- display: flex;
196
- width: calc(100% - 176px);
197
- justify-content: flex-end;
198
- color: ${e=>e.theme.colors.primary};
199
- `,Bt=i(Da)`
200
- display: flex;
201
- color: ${e=>e.borderColor};
202
- align-items: center;
203
- justify-content: flex-end;
204
- padding: 1px 6px 1px 6px;
205
- border: ${e=>`1px solid ${e.borderColor}`};
206
- border-radius: ${a.sp1};
207
- min-width: fit-content;
208
- `,Di=i.div`
209
- display: flex;
210
- flex-direction: column;
211
- height: ${a.sp11};
212
- `,Ii=i(ba)`
213
- height: ${a.sp3};
214
- width: ${a.sp3};
215
- color: ${e=>e.theme.colors.hero};
216
- `,ji=i.div`
217
- display: flex;
218
- align-items: center;
219
- margin-left: ${a.sp2};
220
- margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
221
- align-self: center;
222
- `,ke=i(wa)`
223
- margin-left: ${a.sp2};
224
- color: ${e=>e.theme.colors.hero};
225
- `,$i=i.div``,Ai=i.div`
226
- display: flex;
227
- flex-direction: column;
228
- gap: ${a.sp2};
229
- margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
230
- `,Rt=i.div`
231
- display: flex;
232
- justify-content: space-between;
233
- width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
234
- `,zt=i(Et)`
235
- text-align: left;
236
- color: ${e=>e.theme.colors.grey1};
237
- `,Mt=i(Ra)`
238
- justify-content: end;
239
- display: flex;
240
- flex: 1;
241
- `,Nt=i.div`
242
- display: flex;
243
- align-items: center;
244
- justify-content: center;
245
- position: relative;
246
- cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
247
- color: ${e=>e.theme.colors.hero};
248
- opacity: ${e=>e.isDisabled?.5:1};
249
- &:hover {
250
- color: ${e=>e.theme.colors.primary};
251
- }
252
- `,Lt=i(fa)`
253
- display: flex;
254
- width: ${a.sp4};
255
- height: ${a.sp4};
256
- align-items: center;
257
- justify-content: center;
258
- `,ki=i.div`
259
- display: flex;
260
- justify-content: space-evenly;
261
- margin-top: 0px;
262
- position: fixed;
263
- top: 0px;
264
- width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
265
- z-index: 3;
266
- `;export{_i as default};
@@ -1,44 +0,0 @@
1
- import{d as Se,J as we,aa as Pe,cH as Ce,aX as k,O as xe,V as t,y as C,bE as Ie,T as Ae,ad as ve,by as je,cI as ke,aT as Te,o as s,hP as $e,f1 as Ve,f2 as De,u as x,am as Ee,gY as Be,p as Oe,H as ze}from"./index-WR35fJ_g.js";import{a as H}from"./sentry-Bp-C2lie.js";import{n as d}from"./mui-Brvp17ej.js";import{M as Le,o as R,t as Me}from"./PaymentAccountSetupBillingAddressSection-DFCQGlZ--O_NjtLB8.js";import{F as _e}from"./SetUpAccountSection-DBuoMbxP-Cslg712V.js";import"./liveblocks-C4P3eYZH.js";import"./core-9fRi0Mt4.js";import"./recharts-3nFTO0WQ.js";import"./zeni-epic-state-C5X_gOJX.js";import"./lottie-Bc1XI_mg.js";import"./analytics-P_xGl18F.js";import"./lexical-OBpCEASU.js";import"./utils-DYOlPuZo.js";import"./commonTypes-CGdrM7wg-CQNj58rv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="b6bfd1ab-7950-441f-9d73-d5135a50acbe",e._sentryDebugIdIdentifier="sentry-dbid-b6bfd1ab-7950-441f-9d73-d5135a50acbe")}catch{}})();const p={titleWidth:new C(343,580,726,826),setupDetailsRowGap:new C(12,x[5],x[5]),iconWidthHeight:new C(20,x[4]),subTitlePaddingTop:new C(12,x[3])},He={title:new ze("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:r,onClickMenuIcon:A,uiState:F,stripeKey:K,googleAPIKey:N,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:Q,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:de})=>{const w=Se(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=Pe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:J(i),values:J(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:S}=a[n].street,j=Ve(S?.country);u={street:a[n].street??l.strings.empty,city:S?.locality??l.strings.empty,state:S?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:S?.countryCode??l.strings.empty,postalCode:S?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&de(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Ce(()=>me(g,a))});return()=>{c.unsubscribe()}});const E=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:b}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,O=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,P=Le(b.header,b.titleText,b.protectedCardNo,h);let M;O&&(M={header:P.header,title:P.title,subtitle:P.subtitle,status:P.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:O===!0,icon:{element:t.jsx("img",{src:R(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(z).name}),color:new k(E)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,be]=H.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(Je,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Fe,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:re,allBankAccounts:le,header:b.header,sectionTitle:b.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:r,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:E},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,r)]})})})}),ke(f.formState.dirtyFields)?t.jsx(Te,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:F.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:be})]})},J=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(r=>({label:r.accountName,value:r.accountId}))}},[n]:$e(n,e.subscriptionBillingAddress)[n]}},Re=d.div`
2
- display: flex;
3
- justify-content: space-between;
4
- height: 100%;
5
- overflow-y: auto;
6
- flex-direction: column;
7
- align-items: center;
8
- row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,We=d.div`
10
- display: flex;
11
- min-height: 100%;
12
- flex-direction: column;
13
- width: 100%;
14
- background-color: ${e=>e.theme.colors.grey4};
15
- `,Je=d(Ee)`
16
- color: ${e=>e.theme.colors.hero};
17
- display: flex;
18
- justify-content: center;
19
- width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
- padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
- padding-bottom: ${s.sp3};
22
- text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
- `,Ue=d.div`
24
- display: flex;
25
- width: 100%;
26
- height: calc(100vh - 110px);
27
- flex-direction: row;
28
- justify-content: center;
29
- align-items: center;
30
- background-color: ${e=>e.theme.colors.grey4};
31
- `,Fe=d.div`
32
- display: flex;
33
- flex-direction: column;
34
- `,Ke=(e,i,m,r,A)=>t.jsxs(Ne,{children:[t.jsx(qe,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:r??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=d.div`
35
- margin-top: ${s.sp3};
36
- margin-bottom: ${s.sp4};
37
- `,qe=d.div`
38
- ${e=>`${He.title.style(e.windowSize)}`};
39
- margin-bottom: ${s.sp3};
40
- margin-top: ${s.sp4};
41
- color: ${e=>e.isError===!0?Oe.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
- `,Ge=d.div`
43
- flex: 1;
44
- `,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
@@ -1,21 +0,0 @@
1
- import{J as f,V as r,O as y,b as w,o as a,H as b,B as x}from"./index-WR35fJ_g.js";import{n as o}from"./mui-Brvp17ej.js";import{a as c}from"./sentry-Bp-C2lie.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="e36745d1-ad43-4876-9e2b-aee077a57e60",e._sentryDebugIdIdentifier="sentry-dbid-e36745d1-ad43-4876-9e2b-aee077a57e60")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(H,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${m}`,children:[h,r.jsx(v,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},H=o(x)`
2
- ${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
3
- color: ${e=>e.theme.colors.hero};
4
- max-width: 100%;
5
- overflow: hidden;
6
- text-overflow: ellipsis;
7
- white-space: nowrap;
8
- display: flex;
9
- align-items: center;
10
- gap: ${a.sp1};
11
- `,v=o.span`
12
- height: ${a.sp1};
13
- width: ${a.sp1};
14
- background-color: ${e=>e.theme.colors.grey1};
15
- border-radius: 50%;
16
- margin: ${a.sp0} ${a.sp1};
17
- `,u=o($)`
18
- width: ${a.sp3};
19
- height: ${a.sp3};
20
- color: ${e=>e.theme.colors.hero};
21
- `;export{j};