@zeniai/web-cockpit-ui 1.14.98-qa → 1.14.99-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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-BRWOdhMx-B-izv--D.js +21 -0
  2. package/dist/assets/{AIPerformancePage-TtdFArUl-uXser-uf.js → AIPerformancePage-4v4Fkm9f-8H5taohv.js} +108 -108
  3. package/dist/assets/AccountInfoPage-Ca_vKG58--BfC_vXh.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BXX4TyeS-C4EJ3VMJ.js → AccountInfoPageContent-Dv1IPcdF-BHWFRnzI.js} +19 -19
  5. package/dist/assets/AccountLockedInfoModal-CEk5d9hq-BMstREsN.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BZsVhDyw-B570cCNk.js → AccountReconDetailsDrawerPage-DYKjrPwN-Drg0SGIJ.js} +54 -54
  7. package/dist/assets/{AccountRow-COxNWv3J-B4EUrg0i.js → AccountRow-BM3xLbeh-BSdpkM-d.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-BW7r2R96-D8N78ah8.js → AccountsPromoCardStack-CTkwARBJ-Cy5pYNXf.js} +30 -30
  9. package/dist/assets/AddAddressForCardDrawer-DfOyebHX-DhjpIE6j.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CXhBOHda-BeDX9RGw.js → AddToWalletPage-OJBvAKUj-B4ZmMeKh.js} +13 -13
  11. package/dist/assets/{AgingReportsPage-CX3Te0mD-BIMPcWZD.js → AgingReportsPage-n-UKn3Ei-CZEEMMir.js} +10 -10
  12. package/dist/assets/{AllUserItems-Cd2jEIM9-B9hdjONU.js → AllUserItems-BsvKEVcx-lxn8aic0.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-BCBhgQDY-C0EKPdXU.js → ApAgingDetailPage-Duu2uAEr-DUMvdGKK.js} +5 -5
  14. package/dist/assets/{AppBasePage-BRcQ7IPJ-DutcAwno.js → AppBasePage-DoCF494Z-qPWVG34b.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-DQlHQEcs-DLSmKyRJ.js → AppDrawerContent-DM1t0oLS-9US_DgsB.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-Cqt8FvLJ-Dcokd50I.js → ApprovalRulesSettingsPage-GZCo6_i2-CJH6P32S.js} +6 -6
  17. package/dist/assets/{ArAgingChart-BvAQf_dB-DuZvWO-Q.js → ArAgingChart-CsFDVdeO-C4PujVrW.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-CaOr6vAU-B5uL9zyI.js +46 -0
  19. package/dist/assets/{AttachmentView-e6OZT5St-DqYOouQl.js → AttachmentView-B0d42oAf-DVHm34mB.js} +6 -6
  20. package/dist/assets/{BankAccountSection-DWKYMZid-VBEJaF0G.js → BankAccountSection-Bgdk93V0-Cg5PjZDc.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-DMRmF2yM-BgfDzJHZ.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-DLnQeHtD-BXUv6CG7.js → BankConnectionsSettingsPage-BpwKq93l-Brctq4SF.js} +16 -16
  23. package/dist/assets/BillDetailPage-BG7FhHEq-DUv2nuJK.js +266 -0
  24. package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-A9_oblKa.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-BjMEKdHG.js +235 -0
  26. package/dist/assets/BillPayPromoPage-aGKOv8Ur-eBwd93N4.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-CneIMbul-BFdnuBwg.js → BillPaySetUpPage-DRCjyEfB-XKTwWmRS.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-35KDGxi0-CUXbiJI4.js → BillingSettingsPage-CdYb74V7-HQVzU-6G.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2SeSM_K-KjC1YEHo.js → BillsBulkReviewDrawerPage-D8EGfY5P-B0Wqyx4s.js} +1 -1
  30. package/dist/assets/{BoxItem-BGDuiQll-SbLnCH_S.js → BoxItem-WOrvBzns-DN4WYKEf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-GZnJ9G9I-BIwYlUUz.js → BusinessVerificationPage-CbqJIVpz-DVX5hTQl.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-COHmqgEx-CwfhKSB3.js → CardNumberSubText-DBOH0_yP-3HOBgKpF.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-DvA_0POP-zs6KXs-G.js → CashbackDetailPage-D-kXy6LW-CbbkR_T0.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-DF69jsTG-hPfyciQI.js → ChargeCardDetailPage-BQnJsfn5-C0NtbZa-.js} +244 -244
  35. package/dist/assets/ChargeCardListPage-130ILwkr-ZB2yzsHG.js +412 -0
  36. package/dist/assets/{ChargeCardListTable-BEYWfP5G-BRCBGTIM.js → ChargeCardListTable-EGkwcy7i-DEc29h5o.js} +67 -67
  37. package/dist/assets/ChargeCardPromoPage-BwqrXrY--IstKF_Na.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-BsTAJGSf-CKUm4_l7.js → ChargeCardSetupPage-DRzB7Rt4-DmQFjafd.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-BwuOooT4-CHM4k28L.js → ChargeCardStatementsPage-C3NxKjmB-C8FsLWHJ.js} +8 -8
  40. package/dist/assets/{CheckDepositDrawerPage-CC3EUXpO-CF5fGfSc.js → CheckDepositDrawerPage-ClxKj2js-Do24RzJh.js} +17 -17
  41. package/dist/assets/{CollapsableReportTable-Bju2JSCg-BSE4kNvo.js → CollapsableReportTable-xkNXkjfh-CtzSwjPt.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-CtHtINKb-CFehJGSv.js → CompanyOfficerDetailsSection-BtUBatbQ-Con3Jm3w.js} +30 -30
  43. package/dist/assets/{CompanyPassportCard-ClihOV6I-GVUlJP8e.js → CompanyPassportCard-BOxM716U-TVvNmGP9.js} +7 -7
  44. package/dist/assets/{CompanyPassportPage-Bzbp9vtj-4dA0AY_q.js → CompanyPassportPage-DzE7sm8S-Bu9tLN80.js} +40 -40
  45. package/dist/assets/{CompleteProfile-C88rpvIR-DxWKc-5-.js → CompleteProfile-BjGSPASa-AWB6Qzlv.js} +3 -3
  46. package/dist/assets/ConfettiBurst-1rYKpbAj-DRsprSNw.js +1 -0
  47. package/dist/assets/{CreateOrEditVendorPage-DJWcJCPR-Dl9O0TVh.js → CreateOrEditVendorPage-WQeDCj-E-D6Y6HtQ7.js} +20 -20
  48. package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-CloaEiop.js +224 -0
  49. package/dist/assets/{CurrencySelectField-9MMlAXHh-ORBioImf.js → CurrencySelectField-AjAWhg6e-BY-FVQ5N.js} +4 -4
  50. package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-BRcGbX9s.js +88 -0
  51. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-ByC2CvtB.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-EBEAYH3x-XKk3Vj6i.js → CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-DKx0xsM-.js} +15 -15
  53. package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-pyXbZEvq.js +66 -0
  54. package/dist/assets/{CustomerOnboardingPage-BWvGF8wk-BF0Atf4b.js → CustomerOnboardingPage-CvN9Jrdy-CzriWSkS.js} +4 -4
  55. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-7zbQywoe.js +202 -0
  56. package/dist/assets/{Dashboard-Zq5BpBhF-Clq5EYRk.js → Dashboard-_o0Ftdv8-_2fT5Ubv.js} +55 -55
  57. package/dist/assets/{DashboardReportPage-Pie-FQ1e-WfSD6Vb-.js → DashboardReportPage-Cu5wqWkj-BHVvAcwu.js} +20 -20
  58. package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-Ds_VkWfq.js +12 -0
  59. package/dist/assets/{DepositAccTransactionItem-C6o7UraM-13lTBs69.js → DepositAccTransactionItem-BOPK7-7P-CUK10p36.js} +2 -2
  60. package/dist/assets/{DepositAccTransactionListPage-DWIzj9EC-aUyx_5K-.js → DepositAccTransactionListPage-oj9tntbI-BS3VI9z2.js} +4 -4
  61. package/dist/assets/{DomesticWireDetailsPage-BbuaFhlm-Dq9oLE4F.js → DomesticWireDetailsPage-FGdEilUB-DiafQBWa.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-smXqu_-_-HaHQ4oPo.js → DownloadOverlay-c57lEf_V-LFGP7g4c.js} +39 -39
  63. package/dist/assets/{DrawerPage-C-NGhaFc-C_xh6M62.js → DrawerPage-inbhWwND-Db0y8xmo.js} +18 -18
  64. package/dist/assets/EditPeoplePage-DJthuIP4-C5mu6ajz.js +55 -0
  65. package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-CsQHoeMv.js +865 -0
  66. package/dist/assets/EntityDetailPage-DbTiF9Hs-C-1lJOCB.js +18 -0
  67. package/dist/assets/{EntitySummarySection-D7ui3VxW-CERyjpXQ.js → EntitySummarySection-CHgrPo86-DQf0eS91.js} +9 -9
  68. package/dist/assets/{ExpenseAutomationOverviewPage-Cci1pEY4-1sL_AHg7.js → ExpenseAutomationOverviewPage-QZT_UFXf-CqWIAvtS.js} +27 -27
  69. package/dist/assets/{ExpenseAutomationPage-DsPGEQpL-DKHafJ5b.js → ExpenseAutomationPage-Y7V_Z8rd-BtMIiHAT.js} +63 -63
  70. package/dist/assets/{ExpressPayPage-ddPMg7wE-DPR1g8Lc.js → ExpressPayPage-CIp_R6ZQ-bLqdW2c-.js} +10 -10
  71. package/dist/assets/{FeaturePreviewPage-B7rx89MJ-D3LB_wGw.js → FeaturePreviewPage-qsUO3mUu-Bg5tciIN.js} +3 -3
  72. package/dist/assets/{FollowStepsSection-WUNvyjJh-B3nIPwPh.js → FollowStepsSection-ebmR-eLP-DUvk8yUe.js} +49 -49
  73. package/dist/assets/{GlobalReviewListPage-CrEL8cxP-qAlR9aFX.js → GlobalReviewListPage-9V-xoqvs-DgQFHT5d.js} +14 -14
  74. package/dist/assets/{InformationCardStack-cYN7bwE3-sO0pAOzz.js → InformationCardStack-DnB7TmOk-DRRzuuUg.js} +8 -8
  75. package/dist/assets/{InsightsCardStack-CAuhoPST-B5pOanGY.js → InsightsCardStack-BBczCYEz-DTWoyTqN.js} +12 -12
  76. package/dist/assets/InsightsSection-BTXj5WUe-ByTIWrkc.js +27 -0
  77. package/dist/assets/{IntegrationsSettingsPage-CBqEJpyq-GRgtPKr0.js → IntegrationsSettingsPage-CByj2tO4-C70tL_8j.js} +10 -10
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-Bg2_G0O4-BSPnTjV8.js → InternationalWireSwiftDetailsPage-4-pl1ozv-BerAwOXU.js} +17 -17
  79. package/dist/assets/{InternationalWireVerificationPage-BdaKAePs-CkGYQoGn.js → InternationalWireVerificationPage-kIajgPZt-CeT00ZG8.js} +26 -26
  80. package/dist/assets/{InviteFormPage-a7CtHDQi-DSGkeOn0.js → InviteFormPage-XsnZcAvb-CP-m9x5T.js} +24 -24
  81. package/dist/assets/{InvitePageListView-D0flsJMi-0Jk6a2Yk.js → InvitePageListView-HfsehyxK-NVvr8Ith.js} +78 -78
  82. package/dist/assets/InvitePeoplePage-DrBtwpMH-CbYg413Q.js +12 -0
  83. package/dist/assets/{InvoiceUploadSection-D6gMuygS-DsLHKXnW.js → InvoiceUploadSection-DPd4VmqZ-CDlXjsFg.js} +4 -4
  84. package/dist/assets/{IssueChargeCardPage-_zy-SJN0-pxLtKqbn.js → IssueChargeCardPage-xbfFhV0O-D9cPo91Q.js} +34 -34
  85. package/dist/assets/{LabeledAddressValue-CXqpyfBQ-C92S2n2L.js → LabeledAddressValue-CB_KH7v5-BfaoCJC2.js} +2 -2
  86. package/dist/assets/{LabeledAddressValueField-D-0wb98p-CikvqVxv.js → LabeledAddressValueField-Bt41wdNQ-C-99cOeY.js} +4 -4
  87. package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-BqFptUno.js +16 -0
  88. package/dist/assets/{LabeledCreatableSingleSelectField-B-OgiRpS-OWY6lxtT.js → LabeledCreatableSingleSelectField-fycRE7PX-Hf4cCYiq.js} +4 -4
  89. package/dist/assets/LabeledDocumentField-C73vQNgq-BAncal8r.js +41 -0
  90. package/dist/assets/{LabeledDropDownFormattedTextField-D54g8qxW-StSaD31c.js → LabeledDropDownFormattedTextField-DGb_bDyp-BCPR37EJ.js} +7 -7
  91. package/dist/assets/{LabeledText-BJi28Cmu-D9lfYP7U.js → LabeledText-yhm8qxrA-Bs5CTGJn.js} +3 -3
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-DWc0c9MZ.js → LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-DC0r0kWN.js} +23 -23
  93. package/dist/assets/{LabeledZeniRolesDropDownField--9AjGtEh-BGkQVvtD.js → LabeledZeniRolesDropDownField-DGkU72cd-ub025LyJ.js} +25 -25
  94. package/dist/assets/LinkJETransactionPage-C0onrP5t-BH-iwj4o.js +98 -0
  95. package/dist/assets/{LockCardPage-4ihNCAhG-BCEngBp6.js → LockCardPage-DaVzuRMw-Dq4q5Qyn.js} +21 -21
  96. package/dist/assets/{LowBalancePopup-YdUL24Wb-Cp0qxN-v.js → LowBalancePopup-Dd9HLWlh-9AO78nGr.js} +4 -4
  97. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-CbO6Gy8N.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-6hv3VXVe.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-DGyc9KKZ.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-B-YTZWYj-Dgy0fFVg.js → MagicLinkSuccessPage-DbhdGmhh-Dlqur3CF.js} +5 -5
  101. package/dist/assets/{MagicLinkTitleSection-RHv_GuEq-y4Cr3bt2.js → MagicLinkTitleSection-Bx92291D-eyJD0RqY.js} +4 -4
  102. package/dist/assets/MailingDetailsSection-D-tnK244-DkMA7qYY.js +21 -0
  103. package/dist/assets/Menu-0YHUdU0n-DClJzSBJ.js +17 -0
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CryrCaA2-BKVxzlg0.js → MyBankConnectionsSettingsPage-Dn9AT8p1-DOZcDQsI.js} +4 -4
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-DmmwfwjV-D-UqXttD.js → MyPendingActivationChargeCardListPage-DrQu6s7j-CuceVEXz.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BspAqqsh-DUIa5pOA.js → MyProfileSettingsPage-CBvjEd7r-BTYXHZnd.js} +10 -10
  107. package/dist/assets/{NavBarWithPicker-C7xr7tTs-CXcnIkbM.js → NavBarWithPicker-aXn2QYh1-wbQMsyuO.js} +5 -5
  108. package/dist/assets/{NavigationArrow-rBOsZ92g-fpwJrM5H.js → NavigationArrow-JLUXaIrz-Dqbhc2Cm.js} +8 -8
  109. package/dist/assets/{NavigationDots-CautbD-g-BZ85pLrg.js → NavigationDots-B0_dDbgu-D0YfkCXB.js} +4 -4
  110. package/dist/assets/{NewGlobalMerchantPage-DD4raaWT-DqQ8tI0s.js → NewGlobalMerchantPage-B_019EtP-DM6Ow8UK.js} +12 -12
  111. package/dist/assets/NoDataChart-DLKHNXD4-tDLmbg2P.js +26 -0
  112. package/dist/assets/NoDataTable-BMD2qygC-BimI42bf.js +8 -0
  113. package/dist/assets/{NotFoundPage-D-nIKeoL-BrOOdcPB.js → NotFoundPage-BEya4LS2-BAtVahFo.js} +7 -7
  114. package/dist/assets/{NotificationSettingsPage-DP3xTLvr-D68mpAoX.js → NotificationSettingsPage-C9SjRKCu-AB1K2bpw.js} +23 -23
  115. package/dist/assets/NotificationsListConfig-OCeJNw1G-D_0tuWLm.js +1 -0
  116. package/dist/assets/{NotificationsPage-DkDGBzhT-BJUrRrH6.js → NotificationsPage-FJHx_WBG-DVMmN4nH.js} +49 -49
  117. package/dist/assets/{OpExByVendorPage-CtcdC3f9-2hXVNqVf.js → OpExByVendorPage-Dxk68R6U-DAiWfakx.js} +12 -12
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DZQfrAEK.js → OverlayContainerPage-Daz3A7cI-8v0sqF2w.js} +1 -1
  119. package/dist/assets/PandLWithForecastPage-Bu49FbWD-CfqbniUD.js +107 -0
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BjcqKBLG-CUIvRQIH.js → PaymentAccountSetupBillingAddressSection-s9EEHxoG-ByN70cgf.js} +8 -8
  121. package/dist/assets/{PeoplePage-DCI7v6ru-BGUJ5TP9.js → PeoplePage-DN5VtG7Q-BobeSyfg.js} +29 -29
  122. package/dist/assets/Preview-B4cYjk3Q.js +1 -0
  123. package/dist/assets/{ProductsCarousel-Dqm1bC2_-D6IxIf3S.js → ProductsCarousel-6gthLCkf-CBWUX5-H.js} +8 -8
  124. package/dist/assets/{PromoBaseCards-dqE7GIJ6-D0yVIiC6.js → PromoBaseCards-CzPzj69A-VNtWOXHP.js} +6 -6
  125. package/dist/assets/{QBOConnectionDialog-CGPNOde4-CR0zHLvc.js → QBOConnectionDialog-BFy0lMZd-DQ6dF1fn.js} +6 -6
  126. package/dist/assets/{QBOSetupSection-HhIe91hw-DHN5dIMI.js → QBOSetupSection-DcLYyQ5m-BZmieU8G.js} +16 -16
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-DMhGskvy.js +26 -0
  128. package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-17BV5IdU.js +237 -0
  129. package/dist/assets/ReimbursementDetailPage-DatcF8rt-DDHL4NDq.js +314 -0
  130. package/dist/assets/{ReimbursementPromoPage-BZoZAydM-gLfgxCqS.js → ReimbursementPromoPage-MweW-4DO-DOu17agw.js} +10 -10
  131. package/dist/assets/{ReimbursementSetUpPage-C8Oat8g_-B0DjcA85.js → ReimbursementSetUpPage-BD2LWlbW-CPGJalxA.js} +10 -10
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DX28exoT.js → ReimbursementsBulkReviewDrawerPage-DV_PLm_g-C-hMp3nk.js} +1 -1
  133. package/dist/assets/{ReloadCard-BMn_7fNI-yFHo4tad.js → ReloadCard-9KpQCrce-CJxth4v-.js} +5 -5
  134. package/dist/assets/{ReportTableViewSelector-BE2BuEqj-BMoVH1Lv.js → ReportTableViewSelector-BPliEsuo-CYSspAKt.js} +8 -8
  135. package/dist/assets/{ReportsPage-C4HDLBDq-Dbvzy9RX.js → ReportsPage-h2DAaQfK-BbjLhSlv.js} +14 -14
  136. package/dist/assets/{RevenueChart-q15U89i8-9Vc-OWiF.js → RevenueChart-DY2s_upY-BrlpK408.js} +2 -2
  137. package/dist/assets/{ReviewDetailsPage-4mhC2jOb-Dm0CnUM2.js → ReviewDetailsPage-BiYxRnvA-B6yUj6Im.js} +20 -20
  138. package/dist/assets/{ReviewOverlay-Co22Cju1-CN_x1DtX.js → ReviewOverlay-BvPN7IKD-Dzf2W2o-.js} +12 -12
  139. package/dist/assets/RoleWithToolTip-aW95rpRe-BSqBI82l.js +22 -0
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-2Be8yY-W.js → ScheduleDetailsFixedAssetsPage-DlXqz1QQ-DCo0J0MC.js} +13 -13
  141. package/dist/assets/{ScheduleDetailsPage-B98XJtoQ-C92Z9nEO.js → ScheduleDetailsPage-DebosLND-Dr3_f1Ao.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-DXLxjeWw-D6kfx-k4.js → ScheduleSequenceTable-Dd4Ep_c0-BGLZarfG.js} +36 -36
  143. package/dist/assets/ScreenRoutes-RCtfctxM.js +201 -0
  144. package/dist/assets/{SetUpAccountSection-AZk8_IC3-BgpEt7W0.js → SetUpAccountSection-Dhb8A0Oe-DTgzquEa.js} +8 -8
  145. package/dist/assets/SignIn-DQBJB5ad-Df-bXPXY.js +448 -0
  146. package/dist/assets/{SignInScreen-BeMNwV2Z.js → SignInScreen-ymJeGv_l.js} +1 -1
  147. package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DDL7odAh.js +123 -0
  148. package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-B-iCv2wr.js +754 -0
  149. package/dist/assets/SpendManagementSection-Ci2yOCJ9-Cl4Y2hmX.js +230 -0
  150. package/dist/assets/StatementItem-hcBoe79o-3MewkfUT.js +31 -0
  151. package/dist/assets/{StatementsPage-CBIa00EK-CDNYK1KG.js → StatementsPage-DVR5LhTi-yR6sBvKB.js} +3 -3
  152. package/dist/assets/{StatusSwitcher-Blc3-MDg-DCe5aCTB.js → StatusSwitcher-Cy5ITFgi-BPjCuaKT.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-3oir5lzq-BbfbzkBT.js → SubTabSwitcher-DhsES2OW-Bo9PDg54.js} +4 -4
  154. package/dist/assets/{SummaryCard-DO09QLUp-Cm1UBlTE.js → SummaryCard-Byv4Hw8Q-CRXX5OyN.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-C_EZJRtM-DEHqnRmR.js → TaskManagementPage-CVXMOPf2-BPgLGH37.js} +42 -42
  156. package/dist/assets/TimeRangeSwitcher-jct2_5PE-CLdBT1H-.js +64 -0
  157. package/dist/assets/{TimeframeSwitcher-BsGp8KOv-CZ-VtILM.js → TimeframeSwitcher-BK-qliOX-H_AqcOc6.js} +6 -6
  158. package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-B90xLHLZ.js +31 -0
  159. package/dist/assets/{TopExCard-Cn8iW3fO-CG_XDz13.js → TopExCard-o4Q3ze1b-BhWZC02k.js} +12 -12
  160. package/dist/assets/{TopExDetailPage-BS8qCkLq-DlPS1xGU.js → TopExDetailPage-BsCwwwDi-CQb-1xKa.js} +12 -12
  161. package/dist/assets/{TransactionDetailPage-CUeVImfA-FAGZgaG8.js → TransactionDetailPage-rpCG65yC-DrwxmLfQ.js} +36 -36
  162. package/dist/assets/{TransactionList-CnjoEn7K-C0NzRtWS.js → TransactionList-YI4oZaim-BA7WlPL4.js} +15 -15
  163. package/dist/assets/{TransactionListBig-xVKV1MCm-BPazwMDR.js → TransactionListBig-D_Jw9Ip2-D2rLxw32.js} +12 -12
  164. package/dist/assets/TransactionListPage-B2yWm7eA-DHwvAIPN.js +35 -0
  165. package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-cB0L9hlJ.js +80 -0
  166. package/dist/assets/{TransferDrawerPage-uBmvyc-P-26b9HxZW.js → TransferDrawerPage-BnEVH7Mc-BoQvOiLs.js} +34 -34
  167. package/dist/assets/{TreasuryOverviewPage-DJcUyLa4-BnA9LVmq.js → TreasuryOverviewPage-C927Rdkg-CauQRw4k.js} +47 -47
  168. package/dist/assets/{TreasuryPromoPage-DymCO6nN-YVkYCZi3.js → TreasuryPromoPage-C6D3bF2f-OrOyQ7OO.js} +14 -14
  169. package/dist/assets/{TreasuryStatementsPage-YEgI38zU-CTshBTHF.js → TreasuryStatementsPage-BE54gWl6-D5_ViYZY.js} +4 -4
  170. package/dist/assets/{TreasuryTaxLetterPage-CYO6JXCO-C06DT4sF.js → TreasuryTaxLetterPage-BaHut8Wc-CEbpmHg1.js} +3 -3
  171. package/dist/assets/{TrendChart-Dzc9yPKs-DCcvZ56Z.js → TrendChart-BI4Tz813-fFdjYEGq.js} +4 -4
  172. package/dist/assets/{TrendWithTransactions-C2HIrxbU-DAMM6QVL.js → TrendWithTransactions-BicIDSlC-CR1UupOW.js} +7 -7
  173. package/dist/assets/{UncategorizedAccountsMappingPage-CN3CI6bw-CpvcuXEX.js → UncategorizedAccountsMappingPage-sbn4Sdr2-Cp0yxgAi.js} +13 -13
  174. package/dist/assets/{UnitIntegrationPage-EaVWz4pX-Bz0x6lsY.js → UnitIntegrationPage-CZUyjeh5-CHXW7rW2.js} +11 -11
  175. package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-BN630Ftn.js +38 -0
  176. package/dist/assets/Vendor2FAPopup-C_PmEAQ7-CPcuM1Lv.js +1 -0
  177. package/dist/assets/VendorACHDetailsPage-DMMoCytX-D0o8agib.js +1 -0
  178. package/dist/assets/{VendorDetailPage-C_B_CmoV-DhDUfade.js → VendorDetailPage-CLFKkF8I-C1yDRJ_V.js} +87 -87
  179. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-C47siTp3.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-Dzgzl_4E-C6CtI7F3.js → VendorFiling1099EditablePage-CrWrhHZl-jwDcG4lR.js} +17 -17
  181. package/dist/assets/{VendorFirstReviewPage-mfIvCyFK-BDtrVL1t.js → VendorFirstReviewPage-C6MnbIan-DEgAFFp_.js} +60 -60
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CNs1VqUa-AxRoZVqc.js → VendorInternationalWireDetailsPage-CzPRK4E2-DPbUqt-0.js} +17 -17
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-OZPxcMNL.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection-B6DkSP2a-TGZHJo6b.js → VendorsAccountsSection-CVh1n81R-DKMXaRY8.js} +5 -5
  185. package/dist/assets/{VerifyDevice-Cu9P83rS-BXogqvvq.js → VerifyDevice-BHocExfO-BBG3ubvW.js} +7 -7
  186. package/dist/assets/{VideoPlayer-Dml6r7Q7-kG7O2GEB.js → VideoPlayer-9rYRtSLf-BqgUiaDS.js} +2 -2
  187. package/dist/assets/{VideoPopup-B7E5ZfFp-2GwUp8oI.js → VideoPopup-D1o92dj6-CPKE8Mhx.js} +4 -4
  188. package/dist/assets/{WarningsDrawerPage-BZU8XDHH-5F-nZ5Wh.js → WarningsDrawerPage-CzufXgaN-PU9KYQuW.js} +3 -3
  189. package/dist/assets/{ZeniAccountDetailPage-Do5LJYN4-C5VZ1IHc.js → ZeniAccountDetailPage-ZZ3Ra-Jf-C6vBQEO7.js} +31 -31
  190. package/dist/assets/{ZeniAccountListViewPage-Be5rl4e6-B2LuzKy3.js → ZeniAccountListViewPage-Cxid0mfh-BWdmN1tO.js} +10 -10
  191. package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-CakYiqJV.js +14 -0
  192. package/dist/assets/{ZeniAccountPromoPage-BMULic13-DqiBlrLz.js → ZeniAccountPromoPage-YIYFkPIB-DeTeBxx_.js} +22 -22
  193. package/dist/assets/{ZeniAccountSetupPage-D_doc0Sf-DbkyYaRI.js → ZeniAccountSetupPage-BJ9UJ0dP-BVBV8wvJ.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-CDfvakjf-DdFXxWan.js → ZeniCopyright-CztmWsFm-BfzonAhy.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-BdZ5l3Hh-B0z6Ak2I.js → ZeniTransferAmountSlider-g9qU5Lsq-Xlt7u852.js} +7 -7
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-Bp_adk0W.js → add-to-wallet-DgdBD8_G-C9HdEEg2.js} +1 -1
  197. package/dist/assets/{analytics-GoB8GGlk.js → analytics-DHoFVrJa.js} +1 -1
  198. package/dist/assets/{analyticsHelper-C164AjRf-BUQv6elD.js → analyticsHelper-D4lKCWjQ-D3kvyQYi.js} +1 -1
  199. package/dist/assets/analyticsHelper-ogjXN0a1.js +1 -0
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-BlptIYjS.js → arrow-south-east-round-PEovUgvH-DTpfnp7v.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-DNmdc0t7.js → auto-transfer-rule-mbafm5D3-Drj2iH_J.js} +1 -1
  202. package/dist/assets/{chartTypes-DQ1OffIu-DkB5GpFi.js → chartTypes-BPPSjkhb-B7nnCmyE.js} +1 -1
  203. package/dist/assets/{commonDimensions-j5_IHOmP-BbAWTMhB.js → commonDimensions-Ds75pRzR-BWQNp0GW.js} +1 -1
  204. package/dist/assets/{constants-DTxI1rHn.js → constants-JMxq3kKJ.js} +1 -1
  205. package/dist/assets/{core-cG0U1y2d.js → core-DbjebHB2.js} +2 -2
  206. package/dist/assets/{dash.all.min-CKz_ZRDI.js → dash.all.min-DW9Kl4IB.js} +1 -1
  207. package/dist/assets/{detailCommon-BdYIBs8o-C7RP83q0.js → detailCommon-DdZdfmYT-DKTM1aWX.js} +6 -6
  208. package/dist/assets/downloadPdf-B8UMaJCC-DUveB_dN.js +1 -0
  209. package/dist/assets/{empty-DAIP1XxB.js → empty-6lxZMaF0.js} +1 -1
  210. package/dist/assets/{index-BMQnSjFr.js → empty-wNjVfCDj.js} +1 -1
  211. package/dist/assets/epic-DThgZpcq.js +2 -0
  212. package/dist/assets/{gift-box-Cmt9OgIZ-CTtI5cXz.js → gift-box-Cmt9OgIZ-CNk2xYWr.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-PUQeicgl.js → graphic-no-data-l-DU4J8fDt-ClpG2ri3.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js → graphic-no-data-net-burn-l-CzmycA0m-BOz-3nes.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-BXfsCAUf.js → handshake-BPg58FML-k1WIZYu1.js} +1 -1
  216. package/dist/assets/{index-BqrFe7eC.js → index-7ciVtOQ7.js} +1 -1
  217. package/dist/assets/{index-DL_zrSsq.js → index-BqVFY7NZ.js} +4410 -4418
  218. package/dist/assets/{index-DVGnYxP0.js → index-C1PhqSzi.js} +1 -1
  219. package/dist/assets/{index-uRSEmDsl.js → index-Cryszh5n.js} +1 -1
  220. package/dist/assets/{index-CpulHfxu.js → index-JDXIN5Fj.js} +1 -1
  221. package/dist/assets/index-JN-1XlIu.js +1 -0
  222. package/dist/assets/index-TZkjLPoA.js +1 -0
  223. package/dist/assets/{lexical-CUq6kk0g.js → lexical-B-aBuW2Y.js} +1 -1
  224. package/dist/assets/{liveblocks-BOlC_Koo.js → liveblocks-DBgNWxtT.js} +1 -1
  225. package/dist/assets/{lottie-DQ5EyuJ6.js → lottie-DbNQVAcx.js} +2 -2
  226. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-DGzOqzir.js +1 -0
  227. package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-TBViCt8n.js +1 -0
  228. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-HhIsCvlh.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-CrmG1KLX.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-D-1vMkLl.js +1 -0
  231. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DDk9yv3G.js +1 -0
  232. package/dist/assets/{mui-ByF8ZmHV.js → mui-BdKs9UwT.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-C2KjOx45.js → page-detail-CWX5S47F-Dil4tjIc.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-B7-vB3nP.js → radio-default-CiSgisfh-DIcxqpZX.js} +1 -1
  235. package/dist/assets/{react-B3-oq61_.js → react--GRYl8Vw.js} +2 -2
  236. package/dist/assets/{react-B1eYDq6e.js → react-1ymFMNft.js} +3 -3
  237. package/dist/assets/{react-B20ZDkLv.js → react-2NSNcP_P.js} +2 -2
  238. package/dist/assets/{react-osFWCkxJ.js → react-D1OXMWSN.js} +2 -2
  239. package/dist/assets/{react-D74rpLXu.js → react-DEyP-vQs.js} +1 -1
  240. package/dist/assets/{react-CeCukAHo.js → react-DaVNNE91.js} +1 -1
  241. package/dist/assets/{react-BU_tzuye.js → react-DfSxWhpD.js} +1 -1
  242. package/dist/assets/{react-iY_JqSpg.js → react-Dmst1txh.js} +2 -2
  243. package/dist/assets/{recharts-C9z9JCsM.js → recharts-CU0wfbyQ.js} +1 -1
  244. package/dist/assets/{sentry-DdXOXL3j.js → sentry-DfYwagp9.js} +2 -2
  245. package/dist/assets/{shield-DOlUxcFf-hMFlex27.js → shield-DOlUxcFf-C7eXS_DD.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-BaA2_x3K.js +1 -0
  247. package/dist/assets/toChartData-CMi2WgAy-JL4zgl5e.js +1 -0
  248. package/dist/assets/transaction-placeholder-CpOwZAMG-C6Cgts33.js +1 -0
  249. package/dist/assets/{uploadAttachment-DiJJciQx-CTJnPHjt.js → uploadAttachment-B4ddYCCL-BXwz-FZi.js} +27 -27
  250. package/dist/assets/{uploadReceipts-CPw64UYa-BiBffXJB.js → uploadReceipts-CPw64UYa-CTZvsl83.js} +1 -1
  251. package/dist/assets/{url-PLN9h9fH.js → url-CNQZElM1.js} +1 -1
  252. package/dist/assets/{url-DnfeNFje.js → url-K5H6qIZr.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-aie8BHVS.js → useLongPress-GCK2COYQ-hK0wtujH.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-nbZRH-xL.js → usp-line-BBd1wKwW-C0__t1n1.js} +1 -1
  255. package/dist/assets/{utils-BMrfBn9K.js → utils-DTmuLq6q.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-BiQIJCwr.js → zeni-epic-state-DcbIZGFH.js} +32 -32
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/ACHDetailsPage-DSdNOxQ9-BUDY7ebN.js +0 -21
  260. package/dist/assets/AccountInfoPage-BVK7wWF2-DkuUb7hY.js +0 -18
  261. package/dist/assets/AccountLockedInfoModal-CiHVEVZY-DS_3He1-.js +0 -59
  262. package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-JKCzRF55.js +0 -6
  263. package/dist/assets/ArAgingDetailPage-BjvQEK0m-CiJw0H2M.js +0 -46
  264. package/dist/assets/BankAccountWarningSection-neFg-P9--TJDw43tL.js +0 -51
  265. package/dist/assets/BillDetailPage-Caang31I-DbNvy9BW.js +0 -266
  266. package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-DclQvVS0.js +0 -27
  267. package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-D9MJjP_M.js +0 -241
  268. package/dist/assets/BillPayPromoPage-KojRs3th-BYB9Z023.js +0 -84
  269. package/dist/assets/ChargeCardListPage-BaxxkyMM-MzCs1Y26.js +0 -412
  270. package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-B3dNp_0o.js +0 -534
  271. package/dist/assets/ChargeCardPromoPage-DXHFY90F-BtTao1XR.js +0 -222
  272. package/dist/assets/ConfettiBurst-fYnxwqdQ-C4yZDZVx.js +0 -1
  273. package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-EyB92Kcq.js +0 -227
  274. package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--Cb3ro4zs.js +0 -88
  275. package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-C56kqXXZ.js +0 -1
  276. package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-U2wzBaVr.js +0 -66
  277. package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-BM98ceTr.js +0 -202
  278. package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-Ch7XCa5X.js +0 -12
  279. package/dist/assets/EditPeoplePage-Ck6tbODS-ubBGSkLn.js +0 -55
  280. package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-BrP9Twu0.js +0 -865
  281. package/dist/assets/EntityDetailPage-DEzsWzSU-YUiOx1kj.js +0 -18
  282. package/dist/assets/InsightsSection-9xZ9BN4e-DNtCiXCr.js +0 -27
  283. package/dist/assets/InvitePeoplePage-xJZ4CmaB-z8ULVrxL.js +0 -12
  284. package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-CaFIYxzs.js +0 -16
  285. package/dist/assets/LabeledDocumentField-Bo6fnkUs-BiNfrt85.js +0 -41
  286. package/dist/assets/LinkJETransactionPage-CejrEmB0-CbM_tuHa.js +0 -98
  287. package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DxEBt3UQ.js +0 -1
  288. package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-NsxxIUno.js +0 -1
  289. package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-jXdIObjE.js +0 -1
  290. package/dist/assets/MailingDetailsSection-DAryNhi6-CuFuumI_.js +0 -21
  291. package/dist/assets/Menu-IHf_FfRX-BtY6fG9T.js +0 -17
  292. package/dist/assets/NoDataChart-58kSyixy-C8J9Kl-k.js +0 -26
  293. package/dist/assets/NoDataTable-aDUu8tCI-CaXH8kWv.js +0 -8
  294. package/dist/assets/NotificationsListConfig-CAW8P9gG-6D54Tubf.js +0 -1
  295. package/dist/assets/PandLWithForecastPage-CpCiLOIl-BiGua3ch.js +0 -107
  296. package/dist/assets/Preview-D56XCw0A.js +0 -1
  297. package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-xuDoSOD3.js +0 -32
  298. package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-CwdWvhQr.js +0 -243
  299. package/dist/assets/ReimbursementDetailPage-DToZctqy-CNjKjgjE.js +0 -314
  300. package/dist/assets/RoleWithToolTip-DUEwWP4s-C_YDFJH-.js +0 -22
  301. package/dist/assets/ScreenRoutes-BbQAiTN4.js +0 -201
  302. package/dist/assets/SignIn-C5PcCpLW-U8wNP0Mh.js +0 -480
  303. package/dist/assets/SpendManagementListViewPage-BmZeAl5K-Dl61C1Zj.js +0 -134
  304. package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-C0rTj6cX.js +0 -785
  305. package/dist/assets/SpendManagementSection-DoJcpweo-CSStq-Fq.js +0 -246
  306. package/dist/assets/StatementItem-Bw66NYeY-DPAgwnTs.js +0 -31
  307. package/dist/assets/TimeRangeSwitcher-mYZQR43P-B8L8C54A.js +0 -64
  308. package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DeXcelpz.js +0 -31
  309. package/dist/assets/TransactionListPage-DDNtUv3t-BvPpANOB.js +0 -35
  310. package/dist/assets/TransactionVendorDetailPage-BTufZurh-C2D6Zsr6.js +0 -80
  311. package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-nr87DyQG.js +0 -38
  312. package/dist/assets/Vendor2FAPopup-BxAm0k92-pzvF3dzq.js +0 -1
  313. package/dist/assets/VendorACHDetailsPage-DF0jHzqw-BjdrHpXc.js +0 -1
  314. package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-CuThrVrd.js +0 -1
  315. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-Cqzq-YZ_.js +0 -1
  316. package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-C3yFjXgV.js +0 -14
  317. package/dist/assets/analyticsHelper-Cg6AQnia.js +0 -1
  318. package/dist/assets/downloadPdf-BduTAGPj-D606RiQz.js +0 -1
  319. package/dist/assets/empty-D_oWKko5.js +0 -1
  320. package/dist/assets/epic-4bGyY7Fz.js +0 -2
  321. package/dist/assets/index-D4nV_3XK.js +0 -1
  322. package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-DMbKtDeY.js +0 -1
  323. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-DzJLlKZa.js +0 -1
  324. package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-CTSMNsLI.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-CJ4Nigud.js +0 -1
  326. package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-BTC8ZLHF.js +0 -1
  327. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-DQz_5jDI.js +0 -1
  328. package/dist/assets/toCOABalancesWithID-BA4WkU1y-IaWUt-zn.js +0 -1
  329. package/dist/assets/toChartData-DrvhJgTD-RZQRJ7Js.js +0 -1
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-DL_zrSsq.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-DdXOXL3j.js"><link rel="modulepreload" crossorigin href="/assets/core-cG0U1y2d.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-BiQIJCwr.js"><link rel="modulepreload" crossorigin href="/assets/recharts-C9z9JCsM.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-BOlC_Koo.js"><link rel="modulepreload" crossorigin href="/assets/mui-ByF8ZmHV.js"><link rel="modulepreload" crossorigin href="/assets/lottie-DQ5EyuJ6.js"><link rel="modulepreload" crossorigin href="/assets/analytics-GoB8GGlk.js"><link rel="modulepreload" crossorigin href="/assets/lexical-CUq6kk0g.js"><link rel="modulepreload" crossorigin href="/assets/utils-BMrfBn9K.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-BqVFY7NZ.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-DfYwagp9.js"><link rel="modulepreload" crossorigin href="/assets/core-DbjebHB2.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-DcbIZGFH.js"><link rel="modulepreload" crossorigin href="/assets/recharts-CU0wfbyQ.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-DBgNWxtT.js"><link rel="modulepreload" crossorigin href="/assets/mui-BdKs9UwT.js"><link rel="modulepreload" crossorigin href="/assets/lottie-DbNQVAcx.js"><link rel="modulepreload" crossorigin href="/assets/analytics-DHoFVrJa.js"><link rel="modulepreload" crossorigin href="/assets/lexical-B-aBuW2Y.js"><link rel="modulepreload" crossorigin href="/assets/utils-DTmuLq6q.js"><link rel="stylesheet" crossorigin href="/assets/index-t8y498Dk.css"></head><body><div id="root"></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-cockpit-ui",
3
- "version": "1.14.98-qa",
3
+ "version": "1.14.99-dev",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -26,9 +26,9 @@
26
26
  "@sentry/core": "^9.42.1",
27
27
  "@sentry/react": "^9.42.1",
28
28
  "@types/crypto-js": "^4.1.0",
29
- "@zeniai/client-analytics": "1.6.80",
30
- "@zeniai/client-epic-state": "4.19.56",
31
- "@zeniai/web-components": "3.17.30",
29
+ "@zeniai/client-analytics": "1.6.81",
30
+ "@zeniai/client-epic-state": "4.19.60",
31
+ "@zeniai/web-components": "3.17.26",
32
32
  "color": "3.1.3",
33
33
  "cross-fetch": "^4.0.0",
34
34
  "crypto-js": "4.2.0",
@@ -1,21 +0,0 @@
1
- import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,d as t}from"./index-DL_zrSsq.js";import{a as k}from"./sentry-DdXOXL3j.js";import{n as u}from"./mui-ByF8ZmHV.js";import{W as G,A as J}from"./BankAccountWarningSection-neFg-P9--TJDw43tL.js";import{M as K}from"./MagicLinkTitleSection-RHv_GuEq-y4Cr3bt2.js";import{e as X}from"./BankAccountSection-DWKYMZid-VBEJaF0G.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="84ead54b-0131-4cb6-bc6b-0a853c178c86",e._sentryDebugIdIdentifier="sentry-dbid-84ead54b-0131-4cb6-bc6b-0a853c178c86")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},T="achDetailsPage",f="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(p,d)=>{const s=d[f].bankRoutingNumber;N(d),p===`${f}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const p=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>M(s,d))});return()=>{p.unsubscribe()}});const R=i.handleSubmit(p=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:f,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
2
- padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
- padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
- padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
5
- padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
6
- `,ne=u.div`
7
- display: flex;
8
- flex-direction: column;
9
- width: 100%;
10
- height: 100%;
11
- `,te=u.div`
12
- display: flex;
13
- flex-direction: column;
14
- flex-grow: 1;
15
- `,ae=u(U)`
16
- color: ${e=>e.theme.colors.champion};
17
- margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
18
- margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
19
- `,ie=u.div`
20
- margin-top: ${Z.sp5};
21
- `;export{ue as f};
@@ -1,18 +0,0 @@
1
- import{f as y,q as b,V as t,gK as x,o as r,y as d,hw as D,d as i}from"./index-DL_zrSsq.js";import{a as $}from"./sentry-DdXOXL3j.js";import{n as o}from"./mui-ByF8ZmHV.js";import{K as P}from"./StatusSwitcher-Blc3-MDg-DCe5aCTB.js";import{r as z}from"./AccountInfoPageContent-BXX4TyeS-C4EJ3VMJ.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./downloadPdf-BduTAGPj-D606RiQz.js";import"./commonDimensions-j5_IHOmP-BbAWTMhB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f8b36f42-cfa5-43b7-a387-074eecb4d0d3",e._sentryDebugIdIdentifier="sentry-dbid-f8b36f42-cfa5-43b7-a387-074eecb4d0d3")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},F=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=b(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(x,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(v,{windowSize:c,children:a.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},A=o.div`
2
- padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
- padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,T=o.div`
5
- display: flex;
6
- flex-direction: column;
7
- background-color: ${e=>e.theme.colors.grey4};
8
- overflow-x: hidden;
9
- height: 100%;
10
- width: 100%;
11
- `,v=o(D)`
12
- color: ${e=>e.theme.colors.primary};
13
- padding: ${r.sp3} ${r.sp0};
14
- margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,S=o.div`
16
- display: flex;
17
- justify-content: flex-start;
18
- `;export{F as default};
@@ -1,59 +0,0 @@
1
- import{f as g,F as l,V as t,al as x,b9 as d,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-DL_zrSsq.js";import{n as r}from"./mui-ByF8ZmHV.js";import{t as v}from"./handshake-BPg58FML-BXfsCAUf.js";import"./sentry-DdXOXL3j.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="8619bca6-f1cb-4c94-95f0-7d7bf1c2b6a2",e._sentryDebugIdIdentifier="sentry-dbid-8619bca6-f1cb-4c94-95f0-7d7bf1c2b6a2")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(C,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: center;
6
- row-gap: ${o.sp6};
7
- `,D=r(y)`
8
- color: ${p.important};
9
- text-align: center;
10
- `,I=r.div`
11
- display: flex;
12
- flex-direction: column;
13
- align-items: center;
14
- justify-content: center;
15
- row-gap: ${o.sp5};
16
- `,a=r.div`
17
- display: flex;
18
- align-items: center;
19
- justify-content: flex-start;
20
- column-gap: 12px;
21
- text-align: start;
22
- width: 100%;
23
- color: ${e=>e.theme.colors.primary};
24
- `,_=r.a`
25
- text-decoration: underline;
26
- color: ${e=>e.theme.colors.primary};
27
- `,C=r(d)`
28
- font-weight: ${w.medium};
29
- `,L=r.span`
30
- color: ${e=>e.theme.colors.hero};
31
- margin-left: ${o.sp1};
32
- margin-right: ${o.sp1};
33
- `,c=r.div`
34
- width: ${o.sp7};
35
- height: ${o.sp7};
36
- background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
37
- border-radius: 50%;
38
- flex-shrink: 0;
39
- color: ${e=>e.theme.colors.primary};
40
- display: flex;
41
- align-items: center;
42
- justify-content: center;
43
- `,z=r($)`
44
- width: ${o.sp4};
45
- height: ${o.sp4};
46
- `,Y=r(j)`
47
- width: ${o.sp4};
48
- height: ${o.sp4};
49
- `,A=r(v)`
50
- width: ${o.sp4};
51
- height: ${o.sp4};
52
- `,F=r.div`
53
- display: flex;
54
- flex-direction: column;
55
- width: 456px;
56
- padding: ${o.sp5} ${o.sp6};
57
- background: ${e=>e.theme.colors.grey5};
58
- border-radius: ${o.sp2};
59
- `,R=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,R as a};
@@ -1,6 +0,0 @@
1
- import{f as y,q as S,aO as T,b as r,V as l,jo as w,o as t,y as m,aN as B,F as x,d as n}from"./index-DL_zrSsq.js";import{a as C}from"./sentry-DdXOXL3j.js";import{n as j}from"./mui-ByF8ZmHV.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="34235f3b-9a1f-4de8-a513-a2b1909333b8",e._sentryDebugIdIdentifier="sentry-dbid-34235f3b-9a1f-4de8-a513-a2b1909333b8")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:I}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:a,customAddressStatus:o,onDismissClick:d,onSubmitHandler:u})=>{const c=y(),s=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&d()},[o.fetchState,d,i]);const f=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,b=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:a,onSubmitHandler:h=>u(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:c.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:I.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=j.div`
2
- display: flex;
3
- background-color: ${e=>e.theme.colors.grey4};
4
- height: 100%;
5
- width: 100%;
6
- `;export{K as default};
@@ -1,46 +0,0 @@
1
- import{f as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as q,bB as K,y as z,cd as U,ce as J,cf as V,d as y}from"./index-DL_zrSsq.js";import{a as _}from"./sentry-DdXOXL3j.js";import{n as s}from"./mui-ByF8ZmHV.js";import{W,L as Z}from"./EntitySummarySection-D7ui3VxW-CERyjpXQ.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="019c9da1-df0f-4910-8d1a-2dc6f1c7a32a",e._sentryDebugIdIdentifier="sentry-dbid-019c9da1-df0f-4910-8d1a-2dc6f1c7a32a")}catch{}})();const b={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:G,reports:{common:Q,aging:{agingDetail:X}},dateFormat:M}=S.getLocalizedStrings();function be(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:C,timezone:v}=d,{fetchState:p,invoices:I,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[P,j]=_.useState(!1),E=_.useCallback((g,f)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,f)},[r.customer,m,a,t]);if(_.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:v,reportDate:t};await ee(C,k,f),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}P&&u!=="In-Progress"&&(j(!1),w("In-Progress"),g())},[k,C,d.companyName,u,P,t,x,D,v,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(L,{})}),o.jsx(ne,{children:Q.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(O,{fetchState:p});const R=o.jsx(K,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:G.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:R,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(W,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:I.length===0||i==null?o.jsx(H,{message:X.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(Z,{uiState:$,invoices:I,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await U({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();V(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
2
- height: 100%;
3
- display: flex;
4
- flex-direction: column;
5
- max-width: 99.9%;
6
- `,te=s.div`
7
- display: flex;
8
- width: 100%;
9
- height: calc(100% - 60px);
10
- flex-direction: column;
11
- justify-content: center;
12
- align-items: center;
13
- `,ae=s.div`
14
- height: 96px;
15
- width: 96px;
16
- background: ${e=>e.theme.colors.background};
17
- border-radius: 50%;
18
- cursor: pointer;
19
- & svg {
20
- margin: ${A.sp5};
21
- color: ${e=>e.theme.colors.grey1};
22
- }
23
- &:hover {
24
- & svg {
25
- color: ${e=>e.theme.colors.primary};
26
- }
27
- }
28
- `,ne=s(q)`
29
- margin-top: ${A.sp3};
30
- color: ${e=>e.theme.colors.hero};
31
- `,ie=s.div`
32
- display: flex;
33
- min-height: 100%;
34
- flex-direction: column;
35
- width: 100%;
36
- background-color: ${e=>e.theme.colors.grey5};
37
- `,se=s.div`
38
- display: block;
39
- background-color: ${e=>e.theme.colors.grey4};
40
- height: calc(100vh - 178px);
41
- margin-top: ${e=>b.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
- `,le=s.div`
43
- margin-left: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
- margin-right: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
- height: 100%;
46
- `;export{be as default,oe as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,51 +0,0 @@
1
- import{q as w,V as n,aN as u,bR as b,o as i,y as t,c0 as x,M as f,a as y,F as k,p as s,g as v,al as z,d as o}from"./index-DL_zrSsq.js";import{n as r}from"./mui-ByF8ZmHV.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]="934b0238-c243-4a19-8b5e-e1d3efe3b7ed",e._sentryDebugIdIdentifier="sentry-dbid-934b0238-c243-4a19-8b5e-e1d3efe3b7ed")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,o[3]),customTitleMarginBottom:new t(o[0],o[3]),customTitleMarginLeft:new t(o[3],o[6]),customTitleMarginRight:new t(o[5],o[8])},M={formTitle:new f("h6Medium","h5Medium")},I=({header:e,isDirty:a,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const l=w();return n.jsxs(n.Fragment,{children:[l==="small"?n.jsxs(S,{windowSize:l,children:[g?null:n.jsx(h,{onClick:()=>a?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),n.jsx($,{windowSize:l,children:e})]}):n.jsx(P,{children:g?null:n.jsx(b,{title:j,enterDelay:600,placement:"bottom",children:n.jsx(h,{onClick:()=>a?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),l!=="small"?n.jsx($,{windowSize:l,children:e}):null]})},$=r(y)`
2
- ${e=>`${M.formTitle.style(e.windowSize)}`};
3
- color: ${e=>e.theme.colors.primary};
4
- margin-bottom: ${e=>d.customTitleMarginBottom.valuePx(e.windowSize)};
5
- margin-top: ${i.sp3};
6
- margin-left: ${e=>d.customTitleMarginLeft.valuePx(e.windowSize)};
7
- margin-right: ${e=>d.customTitleMarginRight.valuePx(e.windowSize)};
8
- `,h=r(x)`
9
- cursor: pointer;
10
- color: ${e=>e.theme.colors.hero};
11
- width: 20px;
12
- height: 20px;
13
- &:hover {
14
- color: ${e=>e.theme.colors.primary};
15
- }
16
- `,P=r.div`
17
- margin: ${i.sp3} ${i.sp8} ${i.sp3} ${i.sp6};
18
- `,S=r.div`
19
- display: flex;
20
- align-items: center;
21
- position: absolute;
22
- top: ${i.sp0};
23
- padding-top: ${e=>d.navBarContainerPadding.valuePx(e.windowSize)};
24
- padding-bottom: ${e=>d.navBarContainerPadding.valuePx(e.windowSize)};
25
- padding-right: ${i.sp5};
26
- padding-left: ${i.sp0};
27
- z-index: 2;
28
- background-color: ${e=>e.theme.colors.grey4};
29
- `,c={marginBottom:new t(o[5],o[3]),marginRight:new t(o[3],o[8]),marginLeft:new t(o[3],o[6])},_=({warningText:e})=>{const a=w();return n.jsxs(B,{size:a,children:[n.jsx(T,{children:n.jsx(D,{})}),n.jsx(C,{children:e})]})},B=r.div`
30
- display: flex;
31
- background-color: ${s.alertLight};
32
- border: 1px solid ${s.brandColorGoldDark};
33
- border-radius: ${i.sp2};
34
- color: ${s.alertDark};
35
- margin-bottom: ${e=>c.marginBottom.valuePx(e.size)};
36
- padding: ${i.sp3} ${i.sp4} ${i.sp3} ${i.sp4};
37
- margin-right: ${e=>c.marginRight.valuePx(e.size)};
38
- margin-left: ${e=>c.marginLeft.valuePx(e.size)};
39
- `,C=r(z)`
40
- display: flex;
41
- flex-grow: 1;
42
- color: ${s.brandColorGoldDark};
43
- `,T=r.div`
44
- display: flex;
45
- align-items: center;
46
- margin-right: ${i.sp2};
47
- `,D=r(v)`
48
- width: ${i.sp4};
49
- height: ${i.sp4};
50
- color: ${s.brandColorGoldDark};
51
- `;export{_ as A,I as W};
@@ -1,266 +0,0 @@
1
- import{q as Zn,aw as Un,f as Kn,gd as Hn,ge as Vn,gf as qn,gg as Gn,cb as Xn,aO as Yn,y,V as t,f4 as ct,f5 as Jn,o as a,f6 as Qn,f7 as ea,f8 as ta,aL as Se,f9 as na,aN as b,bA as pt,bn as mt,ds as ut,cn as yt,co as ht,cp as bt,gh as aa,gi as ia,gj as la,gk as oa,fe as j,gl as I,fg as A,fh as k,fd as ra,b as gt,p as oe,ff as Ot,fn as sa,fi as da,fj as ca,gm as pa,gn as ma,aP as ua,ao as ft,bR as ve,go as ya,gp as L,F as ha,d as s,ag as ba,c0 as ga,gq as fa,_ as xa,gr as wa,fo as xt,M as Ta,d1 as va,cg as Da,gs as wt,b6 as $a,b8 as ja,l as Ia,bT as Ft,d2 as Aa,gt as ka,ai as Et,aX as Sa,b4 as Ca,bs as Pa,eK as Ba,al as Ra}from"./index-DL_zrSsq.js";import{a as p}from"./sentry-DdXOXL3j.js";import{n as i}from"./mui-ByF8ZmHV.js";import{a as Ma}from"./liveblocks-BOlC_Koo.js";import{bO as za,bL as Na,bP as La,FH as Oa,bN as Fa,bH as Ea,bh as _a}from"./zeni-epic-state-BiQIJCwr.js";import{o as Wa,t as Za}from"./LowBalancePopup-YdUL24Wb-Cp0qxN-v.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./recharts-C9z9JCsM.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="aac1f7ce-84fb-4edc-a5cb-273b077d064c",e._sentryDebugIdIdentifier="sentry-dbid-aac1f7ce-84fb-4edc-a5cb-273b077d064c")}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:Ha,common:{noText:C,strings:{empty:c},currency:Tt,via:Va,more:qa,edit:Ga},spendManagement:{billPay:{billDetails:n,billsByTabs:Ce,bulkActions:vt,vendorCreation:De,insufficientFunds:_t}},collaboration:{threads:{placeholder:Dt,tooltip:$t,title:{comments:Xa}}}}=ha.getLocalizedStrings(),$e=Ha.visual.MMMDCommaYYYYformat,_i=({billDetails:e,currentTenant:g,showApproveRejectBtns:f,isShowDeletedBillsEnabled:Z,signedInUser:re,isAdmin:Wt,isRealTimeApprovalEnabled:Zt,isInternationalPaymentShaVsOurEnabled:Ut,hasZeniAssistAccess:Kt,analytics:z,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Pe,isBillPayCommentingEnabled:Be,isZeniUser:Ht,showBackButton:Re=!0,isDetectInsufficientFundsEnabled:Vt,redirectToEditableBillScreen:qt,redirectToBillsScreen:Y,discardBillDetailsFromLocalStore:Me,deleteBill:Gt,cancelAndDeleteBill:ze,approveOrRejectBill:Ne,onAddNewRule:Xt,onAttachmentClick:Le,saveBillDetails:Yt,discardOutsideZeniPaymentData:Jt,onBackClick:Oe,updateEditRealTimeApproverClicked:Qt,onSaveRealTimeApprovals:en,onRetryPaymentClick:tn,onRefundPaymentClick:nn,initialOpenThreadRequest:K})=>{const l=Zn(),o=Un(),Fe=Kn(),[an,H]=p.useState(!1),[Ee,se]=p.useState(!1),[de,ce]=p.useState(!1),[_e,pe]=p.useState(!1),[ln,me]=p.useState(!1),[We,J]=p.useState(!1),h=e.transactionDetails?.id,on=Ht?Hn:Vn,{requestToOpenThread:ue,setRequestToOpenThread:Q,setOpenThread:ee}=p.useContext(on);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&Q(K)},[K,Q]);const[rn,V]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:h,isGlobalComment:!1},{threads:q,isLoading:P}=qn(T,"both",!1),x=Be&&h!=null,Ze=p.useMemo(()=>h==null?[]:q.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[q,h]).length,v=`dashboard_${o.currentTenant?.companyId}`,sn=p.useCallback((r,u)=>{ee(u),V(!1)},[ee,V]);p.useEffect(()=>{ue?.threadId!=null&&q.length>0&&!P&&(ee(ue.threadId),Q(null))},[ue,q,P,ee,Q]);const Ue=p.useRef(!1),[dn,cn]=p.useState(!1),pn=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,cn(!0))});Xn({componentName:"bill.details",enabled:dn});const[N,te]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,He]=p.useState("approved"),[mn,Ve]=p.useState(!1),[un,qe]=p.useState(!1),[Ge,Xe]=p.useState(!1),Ye=()=>Ve(!1),yn=()=>Ve(!0),Je=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")&&(Me(),Y())},[e,Y,Me]),p.useEffect(()=>{Je==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(ce(!1),ne())},[Je,e.zeniAssist?.refundStatus,ne]);const w=e.transactionDetails?.billPayInfo.stage,ae=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,hn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,ye=w?.code==="paid",D=ye?w:ae?.code=="approved"&&G?.code?G:ae,S=Ya(D,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?hn:G?.code!=null&&(ae?.code=="approved"||G.code==="mark_as_paid")?G:ae,he=e.transactionDetails?.vendor?.name,B=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&qt(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}),H(!0)},gn=()=>{te({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),H(!0)},fn=()=>{te({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),H(!0)},xn=()=>{z.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:()=>{H(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?ze?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?ze?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(z.trackRefundConfirmClick(D?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),nn())},onCancelClick:()=>{H(!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),z.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},$=m.labelWidth.value(l),$n=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):"",In=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($i,{})})]}):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?za(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(Jn,{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,Mn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,E=D?.code,zn=!Mn&&(!et||D?.code==="processing"&&!B),lt=!et,ot=["small","medium-compact","medium-regular"].includes(l),X=Oa(e.transactionDetails?.bulkProcessingDetail?.type),F=Fa(e.paymentMethodType?.method),Nn=!X&&(E!=="processing"&&it||E==="processing"&&!B||E==="processing"&&lt||f&&F&&Pe),Ln=r=>{z.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",D?.code??""),Yt(!0,Ge,r)},rt=()=>{qe(!0),z.trackBillPayMarkAsPaid(w?.code??"",D?.code??"")},On=()=>{Xe(!0),rt()},Fn=()=>{Jt(),qe(!1),Ge&&Xe(!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]),_=Vt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&D?.code!=="failed"&&D?.code!=="processing"&&D?.code!=="cancelled"&&D?.code!=="returned"&&D?.code!=="rejected"?Qn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,st=()=>{He("approved"),We===!0&&J(!1),_!=null&&z.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=()=>{He("rejected"),_!=null&&z.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($e)??"",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(),V(!0),z.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(),V(!0),z.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:()=>{J(!1),Qe()},onClickAway:()=>{J(!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?Ja(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(X,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(Ie,{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(I,{label:{label:n.invoiceNumber,width:$},text:ie.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.invoiceDate,width:$},text:ie.invoiceDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.billDueDate,width:$},text:ie.billDueDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.memo,width:$},text:ie.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(Ie,{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(I,{label:{label:n.amount,width:$},text:R!=null?Se("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.description,width:$},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.category,width:$},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.class,width:$},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.billable,width:$},text:r.billable!=null?$n(r.billable):C,style:{width:"auto"}})}),t.jsx(M,{}),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(I,{label:{label:n.customer,width:$},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(Ie,{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(I,{label:{label:n.withdrawFrom,width:$},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(M,{})]}),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(I,{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:$},text:F&&e.outsideZeniPaymentInfo!=null?ei(e.outsideZeniPaymentInfo):ct(d.paymentType?.method??""),style:{width:"auto"}})}),F?null:t.jsxs(t.Fragment,{children:[t.jsx(M,{}),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(I,{label:{label:n.paymentTo,width:$},text:d.paymentToBankAccount!=null?In: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(M,{}),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(I,{label:{label:n.paymentType,width:$},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(Ii,{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:Xt,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:Qt,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:Qa(U,ot),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?rt:()=>{_!=null?J(!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:[!X&&Ee?t.jsx(ft,{onClickAway:()=>{se(!1),pe(!1)},children:t.jsxs(It,{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(It,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(W,{onClick:()=>{z.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,!X&&fe===!0?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ga,placement:"top",children:t.jsx(si,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(ri,{})})}):null,!X&&zn===!0&&Nn?t.jsx(ve,{enterDelay:600,style:{color:oe.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,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(Ma,{id:v,children:t.jsx(ya,{isDrawerOpen:rn,allowComposer:!0,drawerTitle:Xa,threads:q,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:Dt.addANewComment,replyComposerPlaceholder:Dt.replyAComment,threadResolve:$t.resolveComment,threadUnResolve:$t.unResolveComment},threadMetadata:En,onThreadClick:sn,onCloseAllThreadsDrawer:()=>V(!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}},Ja=(e,g)=>{const f=g.transactionDetails?.recipientTotalAmount;return t.jsxs(Ai,{windowSize:e,children:[t.jsxs(Rt,{windowSize:e,children:[t.jsx(Mt,{children:n.zeniAssist.accountNumber}),t.jsx(zt,{children:g.withdrawFrom!=null?Ot(g.withdrawFrom,e):c})]}),t.jsxs(Rt,{windowSize:e,children:[t.jsx(Mt,{children:n.zeniAssist.amount}),t.jsx(zt,{children:f!=null?Se("0,0[.]00",f):C})]})]})},Qa=(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} ${Va} ${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
- `,It=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
- `,Ie=i.div`
128
- display: flex;
129
- flex-direction: column;
130
- padding-top: ${a.sp3};
131
- `,mi=i.div``,Ae=i($a)`
132
- color: ${e=>e.theme.colors.primary};
133
- `,M=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(Ia)`
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
- `,$i=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
- `,Ii=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
- `,Mt=i(Et)`
235
- text-align: left;
236
- color: ${e=>e.theme.colors.grey1};
237
- `,zt=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,27 +0,0 @@
1
- import{y as O,d as L,q as M,F as U,a9 as W,aO as G,aH as H,cC as X,V as o,bA as J,ac as K,aP as Q,o as u,g3 as Y}from"./index-DL_zrSsq.js";import{a as T}from"./sentry-DdXOXL3j.js";import{n as h}from"./mui-ByF8ZmHV.js";import{b as Z,f as ee,o as _,l as C}from"./FollowStepsSection-WUNvyjJh-B3nIPwPh.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="9f87a65a-8f2d-47e4-913b-0fc49a0bfa00",e._sentryDebugIdIdentifier="sentry-dbid-9f87a65a-8f2d-47e4-913b-0fc49a0bfa00")}catch{}})();const k="billPayApprovalRuleDetailPage",j="lowerBound",E="upperBound",w="steps",b="applyToExistingBills",ae={footerPadding:new O(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:a,onBackClick:l,onApprovalRuleDataUpdated:r,onResetClick:s,isLowerBoundDisabled:n=!1,isUpperBoundDisabled:y=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const P=M(),t=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.billPay.billPayApproval,g=le(e,a==="approval_create"&&!n),x=W({mode:"all",reValidateMode:"onChange",defaultValues:g}),c=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(c?.fetchState),{upperBound:$}=g,{allApprovalRules:d,allAccountingClasses:F,billPaySetupApproverViewUpdateData:f}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=d.findIndex(p=>p.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const V=x.handleSubmit(()=>{N()}),q=async(i,p)=>{r(p)};return T.useEffect(()=>{const i=x.watch((p,{name:D})=>{if(D!=null&&p!=null){const z=H(p);X(()=>q(D,z))}});return()=>{i.unsubscribe()}}),T.useEffect(()=>{B==="In-Progress"&&c?.fetchState==="Completed"&&I()},[B,c?.fetchState,I]),o.jsxs(se,{children:[o.jsx(J,{title:a==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{l()},source:"BillPayApprovalRuleDetailPage"}),o.jsxs(K,{...x,children:[o.jsx(ne,{children:o.jsx("form",{id:R(k),onSubmit:V,children:o.jsxs(ie,{children:[o.jsx(Z,{label:{label:A?S.amountPerBillGreaterLabel:S.amountPerBillLabel},firstText:{type:"number",name:j,placeholder:"$0",options:{required:!0,max:$===1/0?Number.MAX_SAFE_INTEGER-1:$-1,min:v,validate:i=>n?!0:i!=null&&i>v},isDisabled:n,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:y,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),o.jsx(de,{}),o.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:g[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),o.jsx(Q,{formId:R(k),primaryBtn:{label:t.saveBtnText,isLoading:c?.fetchState==="In-Progress",isDisabled:c?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:a==="approval_create"?null:o.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:s},containerStyle:{justifyContent:P==="small"?"space-between":"center"},style:{padding:ae.footerPadding.valuePx(P)},separatorStyle:{marginRight:u.sp4}})]})]})}const le=(e,a)=>{const{criteria:l,steps:r}=e.billPaySetupApproverViewUpdateData?.data??{};return{[b]:[b],[w]:te(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),_(e.allAttributes),_(e.filteredAttributes),r??[])??[],[j]:a?void 0:l!=null?l.range.min.amount??0:0,[E]:l!=null?l.range.max==null?1/0:l.range.max.amount:1/0}},te=(e,a,l,r,s)=>s&&s.length>0?s.map((n,y)=>({stepIndex:y,stepType:{selectedOption:n.action,allOptions:C},actors:{allUsers:a,selectedUsers:oe(e,n.actors),allNonUsers:r,selectedNonUsers:re(l,n.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:C},actors:{allUsers:a,selectedUsers:[],allNonUsers:r,selectedNonUsers:[]}}],oe=(e,a)=>e.filter(l=>l.userId!=null&&a.findIndex(r=>r.userId===l.userId)>-1),re=(e,a)=>e.filter(l=>a.findIndex(r=>r.subType===l.value)>-1),R=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
2
- display: flex;
3
- height: 100%;
4
- flex-direction: column;
5
- width: 100%;
6
- background-color: ${e=>e.theme.colors.grey4};
7
- box-shadow: ${e=>`${u.sp0} 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
8
- `,ie=h.div`
9
- display: flex;
10
- flex-direction: column;
11
- border: 1px solid ${e=>e.theme.colors.grey3};
12
- box-shadow: ${e=>`${u.sp0} 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
13
- border-radius: ${u.sp2};
14
- `,ne=h.div`
15
- display: flex;
16
- justify-content: flex-start;
17
- height: 100%;
18
- overflow-y: auto;
19
- flex-direction: column;
20
- align-items: center;
21
- `,de=h.div`
22
- display: flex;
23
- flex: 1;
24
- background-color: ${e=>e.theme.colors.grey3};
25
- min-height: 1px;
26
- max-height: 1px;
27
- `;export{ae as D,Ae as default,R as uniqueFormName,Ie as uniqueName};