@zeniai/web-cockpit-ui 1.15.13-qa → 1.15.14-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 (323) hide show
  1. package/dist/assets/{ACHDetailsPage-BlujuoRH-Dd5Jdtmf.js → ACHDetailsPage-BOZmOJHO-CTkTIAbj.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-DfgPUakC-ZgXRgVKD.js → AIPerformancePage-ZVCJizP9-lO42v2Da.js} +103 -103
  3. package/dist/assets/AccountInfoPage-DF6IU0EG-Dri9KZDQ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CTvsml8u-BgWKlEhB.js → AccountInfoPageContent-D0wuuzMd-CYUOf7Yy.js} +16 -16
  5. package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-YxipIVg7.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6WT5Co_-Caf4DPub.js → AccountReconDetailsDrawerPage-DbHX6rPG-C26CYTpl.js} +8 -8
  7. package/dist/assets/{AccountRow-FmhkZVL4-B4hjOMzk.js → AccountRow-Bk_25FCy-D6n4Wyn2.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-B5Mri6qW-cjKgMtIm.js → AccountsPromoCardStack-DAXRwY1f-RsUU3rub.js} +29 -29
  9. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CnD6PCyg.js +6 -0
  10. package/dist/assets/{AddToWalletPage-fBplELoj-DIi5wnhQ.js → AddToWalletPage-CzziHgi7-CkYda4Rq.js} +21 -21
  11. package/dist/assets/{AgingReportsPage-CgeLN6Su-CYUQwEno.js → AgingReportsPage-Bdi3krKK-CkVmkoJN.js} +5 -5
  12. package/dist/assets/{AllUserItems-vOFCgjs7-CZxF22QA.js → AllUserItems-XWDuiug6-BJAl8j2p.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-CaM_AzrU-DKImzj6b.js +46 -0
  14. package/dist/assets/{AppBasePage-DrIjva6e-CIH4lORb.js → AppBasePage-B7_L4R6d-C9IdAuSh.js} +9 -9
  15. package/dist/assets/{AppDrawerContent-Co1DpiWD-C1aJG4Zb.js → AppDrawerContent-DSX1364T-B5p_fokJ.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-CtFbj7lh.js +47 -0
  17. package/dist/assets/{ArAgingChart-B2zTJJgb-CxGZOD7f.js → ArAgingChart-M7KUNA4G-B-NjvlhZ.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-7lby5mXn-Dx6TaWmh.js +46 -0
  19. package/dist/assets/{AttachmentView-vlVaH4YF-B4GAfoTh.js → AttachmentView-Bsa0u92o-C5Ith7Dl.js} +9 -9
  20. package/dist/assets/{BankAccountSection-CDKiTWgn-BmAeSXp7.js → BankAccountSection-BkOlwayA-BzRDpgU5.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-tSnRJm3S-B1s5Qbs5.js → BankAccountWarningSection-uMOXLH0B-oIIZXk5D.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-O_L8CHJf-r9FaHN_N.js → BankConnectionsSettingsPage-C_YytTke-D0UJIore.js} +37 -37
  23. package/dist/assets/{BillDetailPage-DR3JefXf-DQcSQBQN.js → BillDetailPage-DvU5_Rsp-BboSjxSV.js} +9 -9
  24. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-ChvhrNL4.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-yFoEpHK8-DvqKTU1y.js → BillPayApprovalRulesPage-CA9eufjt-vJvDNiXo.js} +18 -18
  26. package/dist/assets/{BillPayPromoPage-DZkA_0AV-B7Z2nWn1.js → BillPayPromoPage-DsXPWKAf-y7kYOpnD.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-B2j-es9G-BzaThv8U.js → BillPaySetUpPage-CeMhzZ_3-CRMj2J_Q.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-BygJjDSp-BaaSCOrk.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2LDJ9-N-Bk0TD_dk.js → BillsBulkReviewDrawerPage-WrR46NRa-CIbrXxhM.js} +1 -1
  30. package/dist/assets/{BoxItem-B0bHU_KA-Dy4QmdXc.js → BoxItem-C0M4PSXY-C-i-BYiZ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DZ27apcr-BQW590Mb.js → BusinessVerificationPage-C63pUk4d-D7ADEeIx.js} +15 -15
  32. package/dist/assets/{CardNumberSubText-CpqumrS--CXxxAA8f.js → CardNumberSubText-B4dAoYDE-B-faaYZL.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-C3oNmfln-Cu2JEVGt.js → CashbackDetailPage-B6xvn-y3-yUoVzYGM.js} +20 -20
  34. package/dist/assets/ChargeCardDetailPage-eJJ4MEE6-C0LSLa5V.js +1467 -0
  35. package/dist/assets/{ChargeCardListPage-B_PxtkQX-BnMys8lA.js → ChargeCardListPage-BYI2HIjA-8seyP4-1.js} +22 -22
  36. package/dist/assets/{ChargeCardListTable-kp0WwIZo-Cm-Owd6-.js → ChargeCardListTable-DAVYmKCK-COsfkC8-.js} +45 -45
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-D1l3Qgr_-DI6gSbof.js → ChargeCardPaymentHistoryPage-BX5HtOxd-DIJQAhYy.js} +26 -26
  38. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-CdXkhoNK.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-DG1eKhYR-GcD8Xbgo.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-a5u9wGDg-Brg2gDI9.js → ChargeCardStatementsPage-CvtZtuVC-D5_HpJbR.js} +9 -9
  41. package/dist/assets/{CheckDepositDrawerPage-_DvlXSse-B_BucfsH.js → CheckDepositDrawerPage-BdacGDpy-NH0B7hCl.js} +18 -18
  42. package/dist/assets/{CollapsableReportTable-DgteU0nB-Cxehs4Kl.js → CollapsableReportTable-UADp1m_8-0iD5_esu.js} +41 -41
  43. package/dist/assets/{CompanyOfficerDetailsSection-DG1ZQ-UL-DV2WNNsF.js → CompanyOfficerDetailsSection-CaAR0Wvk-xuxahQFB.js} +29 -29
  44. package/dist/assets/{CompanyPassportCard-JfMVwFHV-yhZW8SN7.js → CompanyPassportCard-BJN2GEVm-BAPQ7zZ1.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-2j8z-oge-BKw2EluX.js → CompanyPassportPage-D2ALJDF_-rREFezcB.js} +35 -35
  46. package/dist/assets/{CompleteProfile-Cm8XlcS3-tX4c8EKJ.js → CompleteProfile-C8X8Z3C2-C4M22bfo.js} +2 -2
  47. package/dist/assets/ConfettiBurst-DxHzdDPp-DbSVEJuf.js +1 -0
  48. package/dist/assets/ConstrainedInnerElement-BeIpAPjB-o1dQwSVr.js +5 -0
  49. package/dist/assets/{CreateOrEditVendorPage-BxSAnKo6-D4OGgB6l.js → CreateOrEditVendorPage-y-COpdhs-Vjb6QXyJ.js} +14 -14
  50. package/dist/assets/{CreditCardPaymentDrawerPage-a2j9Vyid-A-8aAfdw.js → CreditCardPaymentDrawerPage-CntYJJ8v-DG1CtNGi.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-CbBlYqRB-C0JlTtQx.js → CurrencySelectField-Dn-hE2az-FKP6XCyG.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CG508vOx-DfM0MC9z.js → CustomerOnboardingActivationPage-B9MZHJVc-E8apuJFB.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-B417jal6.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BszHZi0e-4lgjtzgv.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DP4PpY7E.js} +12 -12
  55. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-KOMcZLiU.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-DM-gDkp1-DzvdKtNr.js → CustomerOnboardingPage-1LvpVpHC-CqEiTKL-.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BryLMJRG-IKtHrSqJ.js → CustomerOnboardingProductSuitePage-DMYHMJXg-CZpT_ybG.js} +6 -6
  58. package/dist/assets/{Dashboard-BRm1rkFD-CRrn0mlI.js → Dashboard-CCV0_aCP-DgaReFiA.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-rtbUwJSW-DlJn5Hkl.js → DashboardReportPage-CmoH9Vrc-rbpJkvEW.js} +29 -29
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DVTdlTEZ-BGfu-u_U.js → DashboardSidebarBackgroundAnimation-hw3einS7-B0933NPk.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BbKLxsPR-WtW7LWPm.js → DepositAccTransactionItem-DgdkYGjP-Cn-RreCN.js} +4 -4
  62. package/dist/assets/{DepositAccTransactionListPage-0AV-fx2Z-CWuRJMem.js → DepositAccTransactionListPage-CF0WJn9M-Du5Uwrua.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-BKumlfKE-CU_KFPsO.js → DomesticWireDetailsPage-B12tNa6e-D84j30Sh.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-C6GFjg2N-dHGiNNT4.js → DownloadOverlay-Dt9yt4Fz-CZwt4xVi.js} +18 -18
  65. package/dist/assets/{DrawerPage-BjfQ_wvz-BAoek7CI.js → DrawerPage-Clki97FA-CKaiaKnY.js} +12 -12
  66. package/dist/assets/EditPeoplePage-CKS_aEZm-BLkXTTsd.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-D5cPRveU-XVZs5ANF.js → EditReimbursementDetailPage-CXy2ZWfZ-CZqOBA94.js} +36 -36
  68. package/dist/assets/EntityDetailPage-B3TQ5hCP-xkG_PJz4.js +18 -0
  69. package/dist/assets/EntitySummarySection-D_YLsP_P-DnjHmEt2.js +151 -0
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D9JnRKeQ-DcgUsBHj.js → ExpenseAutomationOverviewPage-4z3yzHEA-DHRMbZ6T.js} +23 -23
  71. package/dist/assets/ExpenseAutomationPage-BJ4H_c2z-_vJX_cQS.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-iL1BYLic-DNZMOaZn.js → ExpressPayPage-CTBD4y1v-NypzcPst.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-CFz7RpI6-DGwrwI6h.js → FeaturePreviewPage-CYuTQWpP-B7pk5shZ.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Crd9GwnW-C67UFUxv.js → FollowStepsSection-BrpI2HyW-DjU7Bj21.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-xUatsnwu-B_jOR6kE.js → GlobalReviewListPage-BcvxLqIL-CWsSxlvQ.js} +16 -16
  76. package/dist/assets/{InformationCardStack-CgSYiHdK-TXOis1xL.js → InformationCardStack-CU4Moqky-DbD2DWow.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-dkuf5D9A-Bi0NlGwc.js → InsightsCardStack-D8UQiuXZ-BsOtVtjF.js} +8 -8
  78. package/dist/assets/{InsightsSection-CUk29Ace-Bs7LOW5A.js → InsightsSection-C3X6ZNEt-Dpfjh86q.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-As-313jz-gWQZcbmC.js → IntegrationsSettingsPage-CsLv00HW-40iwxCCz.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CqMsBHlO-hyhi_VT_.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-DjSCCsjb.js} +28 -28
  81. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-C883JmDe.js +65 -0
  82. package/dist/assets/{InviteFormPage-D7yOmbjN-DRh2E_al.js → InviteFormPage-B3KmRWXd-CA_rBrtH.js} +27 -27
  83. package/dist/assets/{InvitePageListView-CUeSQD7S-DqLMS2jC.js → InvitePageListView-DfpJBZru-C-jbSwOL.js} +43 -43
  84. package/dist/assets/InvitePeoplePage-C5Qgk24s-oyDKpik2.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-fjn4uF_l-CtGULxDA.js → InvoiceUploadSection-BO1i-e_D-BbCUnOdb.js} +6 -6
  86. package/dist/assets/{IssueChargeCardPage-B30u11O2-BbnI_a88.js → IssueChargeCardPage-mPsxt52d-D9F3L6UU.js} +28 -28
  87. package/dist/assets/{LabeledAddressValue-CJZ_1zh1-DgOJaHiW.js → LabeledAddressValue-C4fnQSyi-DMq7zZU4.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-D6dEaI69-BamQLjwy.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-DqtbWhaH-DCCVcSia.js → LabeledControlledCheckBoxField-B1QdZmvd-C7yRnNIt.js} +2 -2
  90. package/dist/assets/{LabeledCountryMultiSelectField-t7lnpz15-D8FuO5XK.js → LabeledCountryMultiSelectField-XeBih_-f-j0Io7uqC.js} +5 -5
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DSrFEwMO-BKreuFG-.js → LabeledCreatableSingleSelectField-BPX2Nrlf-CpM2CK18.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-Bjg8sNsg-DrkrUAxI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-IohlqRi7-BIeZ8HiN.js → LabeledDropDownFormattedTextField-A-rgip1E-yZVcOc80.js} +7 -7
  94. package/dist/assets/{LabeledMultiSelectField-CveBXp8L-VcfEoi4D.js → LabeledMultiSelectField-Di9Wnifv-Bms3kN_s.js} +3 -3
  95. package/dist/assets/{LabeledText-C9CoADG4-kebiAoiw.js → LabeledText-38fqkkE--D6H2xkOy.js} +4 -4
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-mzAsluz6.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-CTkTJ07P.js} +19 -19
  97. package/dist/assets/{LabeledZeniRolesDropDownField-B-0ZfQFs-DQJ7lIYd.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-Cs6KyXMg.js} +18 -18
  98. package/dist/assets/{LinkJETransactionPage-CLo-jbfZ-BP0AwRKd.js → LinkJETransactionPage-66mQ4nrK-cIqp9Xxp.js} +9 -9
  99. package/dist/assets/{LockCardPage-CmWzTH0n-BFlTHvg4.js → LockCardPage-BCqN4K17--IT5TUT0.js} +43 -43
  100. package/dist/assets/{LowBalancePopup-BUAKDPHL-B-KZGBlT.js → LowBalancePopup-BPk1-eAb-D_kd3qTx.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-Cq8k80JE.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DnFKtq_b.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BEZ904x4.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-BGSpNBaK-CW6IvAZN.js → MagicLinkSuccessPage-CphaJa4k-DULBLAf5.js} +2 -2
  105. package/dist/assets/{MagicLinkTitleSection-BKIOmha4-DeepZ9HN.js → MagicLinkTitleSection-77rxhjLm-CO0H-7bF.js} +8 -8
  106. package/dist/assets/MailingDetailsSection-BJfZvT0b-Bt66H1X1.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-B3HEwRST-gjCWp3eD.js → MyBankConnectionsSettingsPage-z0tHaSl1-Ctot5bNh.js} +9 -9
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Cy_JIUO5-CYi0CFHo.js → MyPendingActivationChargeCardListPage-CwGYwufd-DusBmTPf.js} +2 -2
  109. package/dist/assets/{MyProfileSettingsPage-D4XR8lj4-Dp3XDCA2.js → MyProfileSettingsPage-8yBXAre6-BxgUU9tS.js} +9 -9
  110. package/dist/assets/NavBarWithPicker-C3LVyiC9-DNxUvw98.js +30 -0
  111. package/dist/assets/{NavigationArrow-C1HvrCIx-eBcwRB_h.js → NavigationArrow-NuJEpE7O-DkE8Jq2l.js} +5 -5
  112. package/dist/assets/{NavigationDots-Ttv3r4BR-BmNd3gQF.js → NavigationDots-C7Na64B9-BQCsm-PU.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-rrVa4Iiv-BIwnJ-_Z.js → NewGlobalMerchantPage-Cus6zYV_-D7RK-O2G.js} +39 -39
  114. package/dist/assets/NoDataChart-B3s_7m2n-6UR_W8KE.js +26 -0
  115. package/dist/assets/NoDataTable-CMpypnTw-DQkMwHu9.js +8 -0
  116. package/dist/assets/{NotFoundPage-C-RS1j9W-DQWzTEg5.js → NotFoundPage-RjXioqc8-D0YYrGvp.js} +7 -7
  117. package/dist/assets/{NotificationSettingsPage-Bt94GV9--BVC4OLZo.js → NotificationSettingsPage-DrDW_LU_-CoIFciaQ.js} +30 -30
  118. package/dist/assets/{NotificationsListConfig-CbWdzORJ-MhsBqOYT.js → NotificationsListConfig-C6_ap0JT-B7HvA4xZ.js} +1 -1
  119. package/dist/assets/{NotificationsPage-kZGgGVaC-zvIXXIC-.js → NotificationsPage-DOM-Gf5P-CLjwV-Lp.js} +17 -17
  120. package/dist/assets/{OpExByVendorPage-BSoM5hsv-Bb8IrTkh.js → OpExByVendorPage-CTuBB827-C5GnWYFy.js} +11 -11
  121. package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bhrq7EM_.js → OverlayContainerPage-D4QU0p4o-CaOVtIUy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C181kEf--TKHh2C5l.js → PandLWithForecastPage-BXaENYdR-C9QORNqG.js} +14 -14
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DqDvhQwH-CYm2Hw3U.js → PaymentAccountSetupBillingAddressSection-DSnQX90O-BNyF-R2t.js} +6 -6
  124. package/dist/assets/{PeoplePage-ByvK4lsu-vcFsHNs3.js → PeoplePage-BlyVVthI-BvlkSarj.js} +29 -29
  125. package/dist/assets/{Preview-B0RnB2Yn.js → Preview-1YaMlOZx.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CCLEQfr4-I7QWzOtX.js → ProductsCarousel-CAcPH--E-CypMj_aV.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-BESaQCrl-CNjEFCSA.js → PromoBaseCards-BVwZMVeE-z_DbgbjQ.js} +12 -12
  128. package/dist/assets/{QBOConnectionDialog-BhmH5aji-CFc8C6Qx.js → QBOConnectionDialog-C3OYyhYO-BwQj_jEn.js} +5 -5
  129. package/dist/assets/QBOSetupSection-DQjol-D0-sxxCB5FU.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Dr8oEiGp.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-CCo730ny-SbXFn_0A.js → ReimbursementApprovalRulesPage-Cx0gs7sS-BPzyINOc.js} +14 -14
  132. package/dist/assets/{ReimbursementDetailPage-D8G3Aoci-bE7GSifH.js → ReimbursementDetailPage-Cs_rmkS8-CDIuQvBq.js} +8 -8
  133. package/dist/assets/ReimbursementPromoPage-CCFl0kQK-DrE0eENq.js +84 -0
  134. package/dist/assets/{ReimbursementSetUpPage-KRQIL0VK-7SnWIfaP.js → ReimbursementSetUpPage-lf3xTVFh-Bme_YQP5.js} +14 -14
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B77ypxnc-C-JnzSc1.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-BXkXcGS3.js} +1 -1
  136. package/dist/assets/{ReloadCard-0KQtayY--Bl87L1FQ.js → ReloadCard-V_tv6YLR-COjEvLaN.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-wrUJSIfk-2LsgXwby.js → ReportTableViewSelector-CWEvGn8L-DJHNnxty.js} +7 -7
  138. package/dist/assets/{ReportsPage-D-r0S90r-lHJmVa6A.js → ReportsPage-BJOH1wgv-BdRcuTXJ.js} +9 -9
  139. package/dist/assets/{RevenueChart-4kIDtnAc-CuxrvYRm.js → RevenueChart-C_tSBw_N-BYRoGv9-.js} +12 -12
  140. package/dist/assets/{ReviewDetailsPage-BqIBTewY-DCDTcOA3.js → ReviewDetailsPage-CScPf4w3-y6nDHfDS.js} +17 -17
  141. package/dist/assets/{ReviewOverlay-DjazNKfI-BvB_z9vd.js → ReviewOverlay-BQVwPzKa-BObyNWD7.js} +27 -27
  142. package/dist/assets/RoleWithToolTip-GCV_l8Ly-CXlGB2I2.js +22 -0
  143. package/dist/assets/ScheduleDetailsFixedAssetsPage-Cgqgn7nk-CcoeiAn4.js +37 -0
  144. package/dist/assets/ScheduleDetailsPage-D1EJbzxN-Cq8TagJn.js +37 -0
  145. package/dist/assets/{ScheduleSequenceTable-Dnapx3YK-B3LHOpVc.js → ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js} +53 -53
  146. package/dist/assets/{ScreenRoutes-Bw_CLYj-.js → ScreenRoutes-B0ae_HKZ.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D7Nf4cYj-D_9hYtq8.js → SetUpAccountSection-AVL_16HQ-5LWynyPp.js} +6 -6
  148. package/dist/assets/{SignIn-Cl1If8Mq-ChOhS8Cq.js → SignIn-BLUwTp1l-DezfyWtW.js} +24 -24
  149. package/dist/assets/SignInScreen-3zG8eu4e.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage-B8AdQD7w-2SnG46U-.js → SpendManagementListViewPage-DJbNFHvP-B8BL4nbi.js} +16 -16
  151. package/dist/assets/{SpendManagementPerTabPage-BJxGbUNp-DBWLG06i.js → SpendManagementPerTabPage-J5pIRm-Q-DcJo9Q94.js} +35 -35
  152. package/dist/assets/{SpendManagementSection-CJ-vMwcf-CkjKdsg7.js → SpendManagementSection-DZaP5ai6-brwNtSLw.js} +25 -25
  153. package/dist/assets/StatementItem-D2Fx65LN-DIl2HCYS.js +31 -0
  154. package/dist/assets/{StatementsPage-BaDmSL9L-CUCTBhjX.js → StatementsPage-BCh51lDW-BlH-XzL8.js} +3 -3
  155. package/dist/assets/{StatusSwitcher-BZ2svcz0-BuztCmym.js → StatusSwitcher-C5ZrzI8Y-BU_eEikH.js} +4 -4
  156. package/dist/assets/{SubTabSwitcher-C3216C6m-Dl7lU-_D.js → SubTabSwitcher-BXZxKeq9-D-owiWdX.js} +1 -1
  157. package/dist/assets/{SummaryCard-CSkw4qa9-Bd0y6BWn.js → SummaryCard-194UToy6-BHlsJtk1.js} +1 -1
  158. package/dist/assets/TaskManagementPage-zcxDUo0t-xKHoHXew.js +508 -0
  159. package/dist/assets/{TimeRangeSwitcher-C9jo91ZR-uL_SpSuM.js → TimeRangeSwitcher-Bsv7zQmN-BpGkJwVm.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-453JT8qD-BpIL1ddE.js → TimeframeSwitcher-DtxsNy1Z-2NM_x6iy.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-CkiICrjF-Ca-cPuHv.js → TimeframeSwitcherWithToggle-B5bFhbvL-I--dN0nD.js} +2 -2
  162. package/dist/assets/{TopExCard-Qae08TpE-CJNE7KqM.js → TopExCard-CBua66Cj-BJvS6xJO.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-BpwMO-8K-BBtgOSB1.js → TopExDetailPage-DtMA-XMp-xn5xDKk9.js} +14 -14
  164. package/dist/assets/TransactionActivityLogPage-C3BPL8hi-CA_HOoFB.js +195 -0
  165. package/dist/assets/TransactionDetailPage-CeKaduBe-BQ8y5vaC.js +903 -0
  166. package/dist/assets/TransactionList-CSx8ZCZ--C1_8IqfL.js +153 -0
  167. package/dist/assets/{TransactionListBig-B6-3iOkU-euksbchR.js → TransactionListBig-B4cNQY2d-DerU8Hj9.js} +41 -41
  168. package/dist/assets/TransactionListPage-DHr64V-b-CrCMOxVS.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-BJzVtpnF-C5UXCtBB.js → TransactionVendorDetailPage-DsxI8U5b-D1fN8ld2.js} +4 -4
  170. package/dist/assets/{TransferDrawerPage-DCxNnGwu-CqUkcOyj.js → TransferDrawerPage-C91TQwZi-DM1mVvlx.js} +29 -29
  171. package/dist/assets/{TreasuryOverviewPage-DfIkj3v1-CgYmBgC-.js → TreasuryOverviewPage-BoBn_gtF-DBcXx8Ip.js} +46 -46
  172. package/dist/assets/{TreasuryPromoPage-BBdOyiO--AbQPyk6J.js → TreasuryPromoPage-CQ-VYEQC-G8WxsccX.js} +23 -23
  173. package/dist/assets/{TreasuryStatementsPage-NgiurO36-BX47gTKN.js → TreasuryStatementsPage-taTRE54D-F5NQNl6B.js} +3 -3
  174. package/dist/assets/{TreasuryTaxLetterPage-DcI8sKk8-_uuJ4o58.js → TreasuryTaxLetterPage-Cxhr51TD-tMoEVMoJ.js} +4 -4
  175. package/dist/assets/{TrendChart-DVp0Led--BygMKz23.js → TrendChart-DATgAEKG-DyojY-Xn.js} +5 -5
  176. package/dist/assets/{TrendWithTransactions-C5Zfe4RN-Dl9T676s.js → TrendWithTransactions-DqPFuOvC-CC97f1Ct.js} +7 -7
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DKQj6Y2Z-CoDcx3gH.js → UncategorizedAccountsMappingPage-BQjXazj4-CJhXrmDs.js} +15 -15
  178. package/dist/assets/{UnitIntegrationPage-DzP4Z8GG-DXvLno6N.js → UnitIntegrationPage-BiRGRtpI-BcDsBpFu.js} +5 -5
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-BGFTh8Ed-37xDqOmK.js → UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js} +4 -4
  180. package/dist/assets/Vendor2FAPopup-BpkAiYTA-DRH1-U3Y.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BuHGP8HY.js +1 -0
  182. package/dist/assets/VendorDetailPage-DY4iaLtz-BCpMBYhZ.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-2vvRJbsc.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-Bw_Igktf-B-WbIArD.js → VendorFiling1099EditablePage-Dep7O8Uz-D-aakTeI.js} +32 -32
  185. package/dist/assets/{VendorFirstReviewPage-CCCVS8n7-CKlRdVUB.js → VendorFirstReviewPage-CJQIZn8g-CYXImF6f.js} +33 -33
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DsBGMjtN-Bfva6Pym.js → VendorInternationalWireDetailsPage-CJG5RIa2-I232damR.js} +15 -15
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-BiiacAMT.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Bd1rg5Tw-CL7IEwEP.js → VendorsAccountsSection-D65ewlO6-qVucxRZa.js} +3 -3
  189. package/dist/assets/{VerifyDevice-B52Vuja4-UTWR3Ig3.js → VerifyDevice-B1_jgwgY-Ch7QTXrL.js} +11 -11
  190. package/dist/assets/{VideoPlayer-Cfh9VY-B-ufbtxIAv.js → VideoPlayer-vWSXteQ6-3WYEiLtc.js} +2 -2
  191. package/dist/assets/{VideoPopup-BLRMOVnP-fkReY2U7.js → VideoPopup-CdsmU6H4-DhRBOj6Y.js} +4 -4
  192. package/dist/assets/{WarningsDrawerPage-CnUUMlFZ-BeDBXJT0.js → WarningsDrawerPage-CjgOsD00-jsNE65_x.js} +8 -8
  193. package/dist/assets/{ZeniAccountDetailPage-DrBVs3G5-Th6GazP4.js → ZeniAccountDetailPage-DiLnoonB-DlTvBibz.js} +27 -27
  194. package/dist/assets/{ZeniAccountListViewPage-C3WwakQr-DfevQgF9.js → ZeniAccountListViewPage-YfPsO8ls-zJTfihep.js} +14 -14
  195. package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-CxRUkBZQ.js +14 -0
  196. package/dist/assets/{ZeniAccountPromoPage-DYAVwX1I-Bfs8WOV7.js → ZeniAccountPromoPage-cEfW88p8-BqXYqpjk.js} +24 -24
  197. package/dist/assets/{ZeniAccountSetupPage-D4y3RRC0-CePwWlun.js → ZeniAccountSetupPage-B20DHYex-Cr26cRx5.js} +2 -2
  198. package/dist/assets/ZeniCopyright-BROHmszx-BdOjLSgU.js +1 -0
  199. package/dist/assets/ZeniTransferAmountSlider-DZZrrFXf-B042YBIr.js +63 -0
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-DsgRUVgA.js → add-to-wallet-DgdBD8_G-BTS0au4y.js} +1 -1
  201. package/dist/assets/{analytics-CSlaNB19.js → analytics-CiM00cgl.js} +1 -1
  202. package/dist/assets/analyticsHelper-CYVcHgk4.js +1 -0
  203. package/dist/assets/{analyticsHelper-C35dM-yG-DEMSy98E.js → analyticsHelper-FJ-cS8qS-BuiSmKz8.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-yHNADvS4.js → arrow-south-east-round-PEovUgvH-D3YhHzhy.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ccdjr6D8.js → auto-transfer-rule-mbafm5D3-TWGQh9DI.js} +1 -1
  206. package/dist/assets/chartTypes-DJdbX13L-kAvAG8Kn.js +1 -0
  207. package/dist/assets/{commonDimensions-Pu55v5lV-z8x_VKwC.js → commonDimensions-BpYNnQtf-ywoc-6eN.js} +1 -1
  208. package/dist/assets/{commonTypes-BElGElM--CDiTtN3P.js → commonTypes-BVbA7QjV-BQLFb0kw.js} +1 -1
  209. package/dist/assets/{constants-D-PeI_mM.js → constants-B0jEPb-7.js} +1 -1
  210. package/dist/assets/{core-CqdPXR9B.js → core-C99WDMlL.js} +1 -1
  211. package/dist/assets/{dash.all.min-DbcV3v7u.js → dash.all.min-0Hz96YMr.js} +1 -1
  212. package/dist/assets/{detailCommon-CM8F8nQy-BxwdCC90.js → detailCommon-BRja9H93-DkTefmWX.js} +4 -4
  213. package/dist/assets/downloadPdf-WDHjFv79-CcJ5DqX0.js +1 -0
  214. package/dist/assets/empty-C_JxotMu.js +1 -0
  215. package/dist/assets/{empty-DTh_Ij2M.js → empty-Dxj4kD7e.js} +1 -1
  216. package/dist/assets/epic-D-wOw91K.js +2 -0
  217. package/dist/assets/{gift-box-Cmt9OgIZ-Bn-y1hvl.js → gift-box-Cmt9OgIZ-5rTUYVv5.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-a_iKaRv1.js → graphic-no-data-l-DU4J8fDt-CfThc3hK.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js → graphic-no-data-net-burn-l-CzmycA0m-BgtCb-Eb.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-DqlUuE7u.js → handshake-BPg58FML-BTJKo4cA.js} +1 -1
  221. package/dist/assets/{index-DzUx431K.js → index-8lR-flGE.js} +1 -1
  222. package/dist/assets/index-B3gry9uw.js +1 -0
  223. package/dist/assets/{empty-DPq645sP.js → index-B66qV-7m.js} +1 -1
  224. package/dist/assets/index-B90BaOpo.js +1 -0
  225. package/dist/assets/{index-BTSZX0gU.js → index-BQLbHD9f.js} +1 -1
  226. package/dist/assets/{index-Bs6vtzGR.js → index-BaUtwdgr.js} +1 -1
  227. package/dist/assets/{index-D-WiwijD.js → index-Kp9YkIA7.js} +4979 -4728
  228. package/dist/assets/{lexical-D6mU3oV8.js → lexical-DuSFg2Qn.js} +1 -1
  229. package/dist/assets/{liveblocks-DXNKZvWw.js → liveblocks-BRWAYUb6.js} +1 -1
  230. package/dist/assets/{lottie-BGCmjFH9.js → lottie-CRJfZNkb.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-4ruPPd2Y-D4RWIi7y.js → mapLoadingInProgressToTreeNode-C_5Bb47i-BdPvIdOh.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B77EOrVX-C6RHHI_E.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-6AgiwAWE.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DbVBrfUp-Bv0PlGyX.js → mapSpacerToTreeNode-DvdWKHfX-3Q13yFIC.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-x9jQgIsR.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DA60r528-6g96AE00.js → mapTimeframeBalancesToTreeNode-AkxvYRty-mSVf73T7.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BPlARaPh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-B0t-DE03.js} +1 -1
  237. package/dist/assets/{mui-CooLgaJO.js → mui-NI7j5KJX.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D0SYshoo.js → page-detail-CWX5S47F-q5tz_pV-.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-d6QWM0fH.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-aKay5Aup.js → radio-default-CiSgisfh-Pj_E6175.js} +1 -1
  241. package/dist/assets/{react-DHuOianZ.js → react-B650luWj.js} +1 -1
  242. package/dist/assets/{react-MtwZeeNV.js → react-CO1rZiqV.js} +2 -2
  243. package/dist/assets/{react-BOYN8kx1.js → react-CU2liPLj.js} +1 -1
  244. package/dist/assets/{react-_XrYtXDi.js → react-Dg8USaCb.js} +2 -2
  245. package/dist/assets/{react-BBgs2Til.js → react-DudL36ZJ.js} +1 -1
  246. package/dist/assets/{react-B3adtom7.js → react-MZHrw8FG.js} +1 -1
  247. package/dist/assets/{react-CrELMTJL.js → react-VfFVTNIz.js} +1 -1
  248. package/dist/assets/{react-CEyM_Slo.js → react-bPRJrhZm.js} +1 -1
  249. package/dist/assets/{recharts-DHPcYqKb.js → recharts-CK-XmmGv.js} +1 -1
  250. package/dist/assets/{sentry-Dlcq8VjX.js → sentry-D0RHYOS9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-D8h0VGFI.js → shield-DOlUxcFf-BO3UIhm7.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C_hxgNjb.js +1 -0
  253. package/dist/assets/toChartData-B3ouXKAd-QkHWiAxq.js +1 -0
  254. package/dist/assets/{uploadAttachment-n14_2p7o-CBuTNS1x.js → uploadAttachment-DNNG-CMy-CV5ASbU8.js} +15 -15
  255. package/dist/assets/uploadReceipts-Dge0cNF1-DEL-YE5n.js +1 -0
  256. package/dist/assets/{url-CfIahVCp.js → url-BH27ZDzK.js} +1 -1
  257. package/dist/assets/{url-d3WjAGv6.js → url-CC9EPZhq.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-B0lPuhDh.js → useLongPress-GCK2COYQ-779sx01-.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CZ22OQAj.js → usp-line-BBd1wKwW-Be4fJkJI.js} +1 -1
  260. package/dist/assets/{utils-CXbV7y1T.js → utils-z9KEKf_W.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-pmiItBju.js → zeni-epic-state-Bk1TvHP-.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/AccountInfoPage-BYwGsz6J-Ch1FHntj.js +0 -18
  265. package/dist/assets/AccountLockedInfoModal-DeYVMh3B-D6y6Bwr0.js +0 -59
  266. package/dist/assets/AddAddressForCardDrawer-Bs4dQyRL-Ctl6nn7e.js +0 -6
  267. package/dist/assets/ApAgingDetailPage-CF5WKuOc-G76Jhct9.js +0 -46
  268. package/dist/assets/ApprovalRulesSettingsPage-tYbxBThK-Cxpify_d.js +0 -47
  269. package/dist/assets/ArAgingDetailPage-0nCr6crv-Devrv-ey.js +0 -46
  270. package/dist/assets/BillPayApprovalRuleDetailPage-2w8HO-NU-DEj9c-_Y.js +0 -27
  271. package/dist/assets/BillingSettingsPage-ayQNGWSW-12xUM18b.js +0 -44
  272. package/dist/assets/ChargeCardDetailPage-C9XhHqSo-BkvxAWzR.js +0 -1462
  273. package/dist/assets/ChargeCardPromoPage-DcmgTF8u-D_3YTdIj.js +0 -222
  274. package/dist/assets/ChargeCardSetupPage-BX9fPIf_-CyjwQIJA.js +0 -36
  275. package/dist/assets/ConfettiBurst-BtmMysff-DSGDjDAM.js +0 -1
  276. package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-DKOxICFF.js +0 -1
  277. package/dist/assets/CustomerOnboardingNoStepsPage-Cg8ti5NY-CNRxBWCb.js +0 -66
  278. package/dist/assets/EditPeoplePage-59PeI1Ul-7BEtuzGE.js +0 -55
  279. package/dist/assets/EntityDetailPage-CiO1dOzo-D_qDJTqi.js +0 -18
  280. package/dist/assets/EntitySummarySection-DBQxz0Ak-DIU4nLDs.js +0 -149
  281. package/dist/assets/ExpenseAutomationPage-isWf-Yjm-mtyufb1k.js +0 -1650
  282. package/dist/assets/InternationalWireVerificationPage-BJ9-Rvqo-BTBmsMoP.js +0 -65
  283. package/dist/assets/InvitePeoplePage-BY6iz4UW-_LkKTuEm.js +0 -12
  284. package/dist/assets/LabeledAddressValueField-3BEuHr_a-BjZNJRNs.js +0 -45
  285. package/dist/assets/LabeledDocumentField-CYvUm3Rk-DVDWNVjk.js +0 -41
  286. package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-CJomAHzE.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-nKGmJ40l.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-DeZUaaBL.js +0 -1
  289. package/dist/assets/MailingDetailsSection-BwgWy_VZ-BUG7NCIc.js +0 -21
  290. package/dist/assets/NavBarWithPicker-Brxnh3kz-BA6BmzeV.js +0 -30
  291. package/dist/assets/NoDataChart--T7v827k-N1NjmdMu.js +0 -26
  292. package/dist/assets/NoDataTable-cJmfr934-B94qPxg7.js +0 -8
  293. package/dist/assets/QBOSetupSection-BevEEFTb-BnGksb95.js +0 -79
  294. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dklp8fND-UoScHaM0.js +0 -32
  295. package/dist/assets/ReimbursementPromoPage-B8BSm0-k-DoAB3kjA.js +0 -84
  296. package/dist/assets/RoleWithToolTip-CjvIxkPO-i8Jvb-Om.js +0 -22
  297. package/dist/assets/ScheduleDetailsFixedAssetsPage-DBfwlnR1-a5rKuO2E.js +0 -37
  298. package/dist/assets/ScheduleDetailsPage-CLEKOymC-D9OGnjW_.js +0 -37
  299. package/dist/assets/SignInScreen-DnCtQXMH.js +0 -1
  300. package/dist/assets/StatementItem-CCXoBC0x-DV-yA8w8.js +0 -31
  301. package/dist/assets/TaskManagementPage-BO9Fcar1-D43wwO7_.js +0 -508
  302. package/dist/assets/TransactionDetailPage-CF5tZCkv-DaE0IPlE.js +0 -912
  303. package/dist/assets/TransactionList-BuFcrTEd-CDNpioP2.js +0 -147
  304. package/dist/assets/TransactionListPage-cSSv81G2-XuOtx5cl.js +0 -35
  305. package/dist/assets/Vendor2FAPopup-CyeLsWVA-BnnYCOfU.js +0 -1
  306. package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-DwT4LvSy.js +0 -1
  307. package/dist/assets/VendorDetailPage-CrEIBnBt-C7KZBHYF.js +0 -257
  308. package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-CKzqrsaT.js +0 -1
  309. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-DLR6ZPyB.js +0 -1
  310. package/dist/assets/ZeniAccountNavBarPieces-CP2pkywN-Ca5ooSBr.js +0 -14
  311. package/dist/assets/ZeniCopyright-DxhdQ6XJ-BBelv_tx.js +0 -1
  312. package/dist/assets/ZeniTransferAmountSlider-COT3DDGF-BEmS_Buf.js +0 -63
  313. package/dist/assets/analyticsHelper-CoCMocx4.js +0 -1
  314. package/dist/assets/chartTypes-BDwrrz9S-Xt8nSCss.js +0 -1
  315. package/dist/assets/downloadPdf-BF8--IAB-CLiDzBIR.js +0 -1
  316. package/dist/assets/epic-96Yt9tV8.js +0 -2
  317. package/dist/assets/index-DQJyhSzl.js +0 -1
  318. package/dist/assets/index-DeNk0spl.js +0 -1
  319. package/dist/assets/index-DfNzwEf5.js +0 -1
  320. package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-5SdDjuyL.js +0 -1
  321. package/dist/assets/toCOABalancesWithID-C8uaUoxX-BzCEqBIC.js +0 -1
  322. package/dist/assets/toChartData-CTG-a8va-BrvbSe1U.js +0 -1
  323. package/dist/assets/uploadReceipts-DJRtId-4-CsfBPoke.js +0 -1
@@ -0,0 +1,37 @@
1
+ import{aQ as G,ir as te,gK as me,eD as Je,is as Me,a9 as _e,it as Ve,cF as Pe,cG as Fe,V as a,ac as Ne,cp as Re,cq as qe,cr as Be,aR as ze,iu as We,iv as Ue,F as be,aa as pe,iw as Se,ix as $e,cJ as Ke,J as Ge,iL as He,gP as ue,u as B,p as De,y as ye,cK as Ye,iy as Ze,iz as Qe,iA as Xe,o as V}from"./index-Kp9YkIA7.js";import{a as f}from"./sentry-D0RHYOS9.js";import{n as W}from"./mui-NI7j5KJX.js";import{G2 as et,G3 as tt}from"./zeni-epic-state-Bk1TvHP-.js";import{i as lt,r as at,n as st,o as ot}from"./ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="b12a7a43-767f-4e22-bc90-92ca21304830",e._sentryDebugIdIdentifier="sentry-dbid-b12a7a43-767f-4e22-bc90-92ca21304830")}catch{}})();const z={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},nt=W.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ border: 1px solid ${e=>e.theme.colors.grey3};
7
+
8
+ border-top-left-radius: ${V.sp2};
9
+ border-top-right-radius: ${V.sp2};
10
+ border-bottom-left-radius: ${V.sp0};
11
+ border-bottom-right-radius: ${V.sp0};
12
+ `,H=W.div`
13
+ display: flex;
14
+ flex: 1;
15
+ background-color: ${e=>e.theme.colors.grey3};
16
+ min-height: 1px;
17
+ `,dt=W.div`
18
+ display: flex;
19
+ flex-direction: column;
20
+ margin: ${V.sp4} ${V.sp8} ${V.sp0} ${V.sp8};
21
+ `,_=(e,d)=>`${e}.${d}`;function it({sectionId:e,jeScheduledTransaction:d,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:C,allMonthOptions:v,uncategorizedAccounts:k,selectedAccount:j,selectedClass:P,selectedAccumulatedDepreciationCategory:F,assetId:L,selectedDate:w,selectedMonths:T,selectedPostingDay:A,lastDayOfMonth:E,isDisabled:h,allowCreateSchedule:J,onCreateSchedule:i,onDelete:se,onMarkAsComplete:Z}){const{resetField:S}=Ke(),oe=_(e,"scheduleExpenseCategory"),ne=_(e,"scheduleClass"),de=_(e,"accumulatedDepreciationCategory"),ie=_(e,"assetId"),Q=_(e,"startDate"),D=_(e,"postingDate"),r=_(e,"months"),t=be.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,g=o=>s.filter(R=>R.qboId===o)[0]?.qboId,b=o=>p.filter(R=>R.qboId===o)[0]?.qboId,ce=o=>u.filter(R=>R.classId===o)[0]?.accountingClassNumber,Y={valueContainer:o=>({...o,overflow:"unset"})},I=Ge(),U=He({startDate:d.baseTransaction.date,endDate:d.baseTransaction.date.add(1,"year")}),$=()=>{S(D)},K=A==null&&E==null?void 0:E===!0?"lastDayOfMonth":"day",N=o=>[k.expense?.qboId,k.income?.qboId].includes(o),X=()=>{d.jeScheduleId!=null&&se(d.jeScheduleId)},y=d.scheduledJournalEntry.flatMap(o=>o.error);return a.jsxs(dt,{children:[a.jsx(st,{status:d.status.code,jeScheduleId:d.jeScheduleId,allowCreateSchedule:J,onDelete:X,isUpdating:m==="In-Progress",onMarkAsComplete:Z,onCreateSchedule:i}),a.jsx(pe,{controller:J===!0,children:a.jsxs(nt,{children:[a.jsx(ue,{isDisabled:y.includes("debit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.expenseCategory,width:z.labelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:y.includes("debit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:oe,placeholder:t.expenseCategoryPlaceholder,valueToId:o=>g(o),defaultValue:{selectedOption:j,allOptions:l},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Y},disableCurrentOption:N,style:{borderTopLeftRadius:B[2],borderTopRightRadius:B[2]}}),a.jsx(H,{}),a.jsx(ue,{isDisabled:h,isLoading:!1,label:{label:t.class,width:z.labelWidth.value(I)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:ne,placeholder:t.classPlaceholder,valueToId:o=>ce(o),defaultValue:{selectedOption:P,allOptions:c},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Y},style:{borderTopLeftRadius:B[0],borderTopRightRadius:B[0]}}),a.jsx(H,{}),a.jsx(ue,{isDisabled:y.includes("credit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.accumulatedDepreciationCategory,width:z.depCategoryLabelWidth.value(I)},groupedSingleSelectField:{customPlaceholderColor:y.includes("credit_category_deleted")?De.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:de,placeholder:t.accumulatedDepreciationCategoryPlaceholder,valueToId:o=>b(o),defaultValue:{selectedOption:F,allOptions:C},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Y},disableCurrentOption:N,style:{borderTopLeftRadius:B[0],borderTopRightRadius:B[0]}}),a.jsx(H,{}),a.jsx(Ye,{label:{label:t.assetId,width:z.labelWidth.value(I)},style:{width:"auto"},text:{type:"text",name:ie,defaultValue:L,placeholder:t.assetIdPlaceholder,autoComplete:"new-password",options:{maxLength:B[3],required:!0,validate:o=>!!o}},isDisabled:h}),a.jsx(H,{}),a.jsx(Ze,{label:{label:t.startMonth,width:z.labelWidth.value(I)},monthSelectorField:{name:Q,placeholder:t.startMonthPlaceholder,defaultValue:w,showDownChevron:!1,isDisabled:h,monthsAndYears:U},isDisabled:h}),a.jsx(H,{}),a.jsx(ot,{label:{label:t.postingDate,width:z.labelWidth.value(I)},isDisabled:h,dayOfMonthField:{placeholder:t.postingDatePlaceholder,name:D,defaultValue:{type:K,dayOfMonth:A},onSaveClick:()=>{},onCancelClick:$}}),a.jsx(H,{}),a.jsx(Qe,{label:{label:t.months,width:z.labelWidth.value(I)},singleSelectNumericField:{name:r,isDisabled:h,placeholder:t.monthsPlaceholder,defaultValue:{selectedOption:T!=null?v[T-1]:void 0,allOptions:v},registerOptions:{required:!0,validate:o=>!!o.selectedOption}}})]})}),a.jsx(pe,{controller:J===!1,children:a.jsx(Xe,{text:t.scheduleMarkedAsCompleted})})]})}const ct=W.div`
22
+ display: flex;
23
+ flex-direction: column;
24
+ width: 100%;
25
+ height: 100%;
26
+ min-height: 100vh;
27
+ background-color: ${e=>e.theme.colors.grey4};
28
+ `,rt=W.div`
29
+ display: flex;
30
+ z-index: 2;
31
+ `,ut=W.div`
32
+ display: flex;
33
+ flex-direction: column;
34
+ `,ht=W.div`
35
+ display: flex;
36
+ justify-content: center;
37
+ `,Ce="scheduleDetailsPage",le="scheduleDetailsFixedAssetsSection",ae="scheduleDetailsListSection",pt=be.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ft}}=pt;function It({analytics:e,controllerUserDetails:d,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:C,onJELinkClick:v,onSave:k,onDelete:j,onDetailPageChange:P,onViewLinkedJE:F,onTransactionClick:L,onMarkAsComplete:w,removeJeScheduleTransactionKey:T}){const[A,E]=f.useState(!1),h=G(l.updateStatus.fetchState),J=G(l.selectedJEScheduleTransaction?.status.code),i=G(l.deleteStatus.fetchState),[se,Z]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,oe=G(S.jeScheduleDetails.length),ne=G(S.selectedDate),de=G(S.selectedDayOfMonth),[ie,Q]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,g=et(d.controllers),b=tt(d.controllerUserIds),ce={onOkClick:()=>{E(!1),p()},onCancelClick:()=>{E(!1)}},Y=n=>{const x=t?.scheduledJournalEntry[n];r!=null&&x!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...$e(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...Se(x)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(n)},I=(n,x)=>{const O=t?.scheduledJournalEntry[x];r!=null&&O!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:Se(O),controllerEmails:g,controllerUserIds:b,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),F(n)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),c===!0&&t?.jeScheduleTransactionKey!=null&&J==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&T(t.jeScheduleTransactionKey,{month:m.month,year:m.year}),p())},[m,J,l.selectedJEScheduleTransaction?.status.code,e,p,h,T,c,l.updateStatus,t,r,D,g,b]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const U=me(l.accountListNestedAccountHierarchy),$=me(l.allDepreciationAccountListNestedAccountHierarchy),K=Je(l.classListNestedAccountHierarchy),N=Me("fixed_assets"),X=f.useRef(),y=_e({mode:"all",reValidateMode:"onChange",defaultValues:he(l,U,K,$,N,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:he(l,U,K,$,N,u.entityAutoCompleteView)}),o=y.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&X.current?.(Ve(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const R=(n,x)=>{s.onAutoCompleteInputChange?.(n,"vendor"),X.current=x},xe=y.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),ve=async(n,x)=>{const O=x[le].vendor;if(n.includes("vendor")){const re=O?.defaultOptions.map(q=>q.value);if(O?.selectedOption!=null&&re?.includes(O.selectedOption)!==!0){const q=u.entityAutoCompleteView.vendor.find(we=>we.id===O.selectedOption);q!=null&&y.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:q.name??"",value:q.id}])}}const ee=n.includes("amount");if(P(x,ee),n.includes("amount")){const re=n.split(".")[1],q=parseInt(re);Z(!0),C(q,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{let n=!0;const x=y.watch((O,{name:ee})=>{ee!=null&&O!=null&&Pe(()=>{n&&ve(ee,O)})});return()=>{n=!1,x.unsubscribe()}}),f.useEffect(()=>{(oe!==S.jeScheduleDetails.length||ne!==S.selectedDate||de!==S.selectedDayOfMonth)&&se===!0&&(y.resetField(ae,{defaultValue:he(l,U,K,$,N,u.entityAutoCompleteView)[ae],keepDirty:!1}),Z(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Q(!1)},[l.selectedJEScheduleTransaction?.status.code]);const fe=(Fe(y.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,Ae=()=>{fe===!0?E(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&L({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},Oe=f.useCallback(()=>{Q(!0)},[]),je=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),w()},[e,g,b,t,w,r,D]),Te=f.useCallback(n=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(te({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:b})),j(n)},[e,g,b,t,j,r,D]),Ie=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(n=>n.error??[]).filter(n=>!!n)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(n=>n.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,ke=a.jsx(mt,{title:Ie??M.strings.empty,onNavigateBack:Ae,onTransactionClick:Ee}),Le=a.jsx(rt,{children:a.jsx(Ne,{...y,children:a.jsxs("form",{style:{width:"100%"},id:ge(Ce),onSubmit:xe,children:[a.jsx(St,{vendorLoadOptions:R,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:U,allClassOptions:K,allMonthOptions:N,allDepAccountOptions:$,onEditAmount:C,onDelete:Te,onJELinkClick:Y,onViewLinkedJE:I,onMarkAsComplete:je,allowCreateSchedule:ie,onCreateSchedule:Oe}),A===!0?a.jsx(Re,{titleComponent:a.jsx(Be,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(qe,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ce}):null,fe===!0?a.jsx(ze,{formId:ge(Ce),primaryBtn:{label:M.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:M.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{E(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(ct,{children:[ke,Le]})}function mt({onNavigateBack:e,onTransactionClick:d,title:m}){return a.jsx(Ue,{title:m,tooltipTextOnLaunch:ft.showTransactionTooltip,onBackClick:e,onLaunchClick:d,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:d,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:C,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:j,onDelete:P,onJELinkClick:F,onViewLinkedJE:L,onMarkAsComplete:w}){const T=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(A=>A.error).filter(A=>!!A)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(lt,{vendorLoadOptions:d,vendorField:e,vendorFieldName:_(le,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:T,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(it,{sectionId:le,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:C,uncategorizedAccounts:s.uncategorizedAccounts,lastDayOfMonth:s.scheduleDetailsLocalData.fixed_assets.lastDayOfMonth,assetId:s.scheduleDetailsLocalData.fixed_assets.assetId,selectedPostingDay:s.scheduleDetailsLocalData.fixed_assets.selectedDayOfMonth,selectedMonths:s.scheduleDetailsLocalData.fixed_assets.selectedMonths,isDisabled:s.selectedJEScheduleTransaction.jeScheduleId!=null&&s.selectedJEScheduleTransaction.status.code!=="draft"&&s.selectedJEScheduleTransaction.status.code!=="marked_as_completed"?"disabled":void 0,updateStatus:s.deleteStatus.fetchState,allowCreateSchedule:v,onDelete:P,onMarkAsComplete:w,onCreateSchedule:k}),a.jsx(pe,{controller:v===!0,children:a.jsx(at,{sectionId:ae,totalAmount:s.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:s.fetchState,scheduleJournalEntries:s.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:s.selectedJEScheduleTransaction.jeScheduleId==null,localData:s.scheduleDetailsLocalData.fixed_assets.jeScheduleDetails,uiState:s.uiState,onEditAmount:j,onJELinkClick:F,onViewLinkedJE:L,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ge=e=>`${e}_form`,he=(e,d,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,C=c.selectedVendor,v=C!=null?u.vendor.find(i=>i.zeniId===C.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,j=c.selectedAccumulatedDepreciationCategory,P=j!=null?e.allDepreciationAccountList.find(i=>i.accountId===j):void 0,F=c.assetId,L=c.selectedClass,w=L!=null?e.allClassList.find(i=>i.classId===L):void 0,T=c.selectedMonths,A=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),E=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=E==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[le]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:d},accumulatedDepreciationCategory:{selectedOption:P?.qboId,allOptions:l},assetId:F,scheduleClass:{selectedOption:w?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:T,allOptions:s},vendor:{selectedOption:v?.id??C?.id,defaultOptions:We(u,v??C)},postingDate:{type:J,dayOfMonth:E}},[ae]:A}};export{It as default};
@@ -0,0 +1,37 @@
1
+ import{aQ as F,ir as X,gK as Ie,eD as Je,is as we,a9 as Le,it as Me,cF as Ve,cG as Pe,V as a,ac as _e,cp as Fe,cq as $e,cr as Be,aR as Ne,iu as ze,iv as Re,F as De,aa as re,iw as pe,ix as Ue,cJ as We,J as qe,gP as me,u as Z,p as Ke,y as Ge,iy as He,iz as Ye,iA as Qe,o as w}from"./index-Kp9YkIA7.js";import{a as D}from"./sentry-D0RHYOS9.js";import{n as P}from"./mui-NI7j5KJX.js";import{G2 as Xe,G3 as Ze,bL as et}from"./zeni-epic-state-Bk1TvHP-.js";import{i as tt,r as lt,n as at,o as st}from"./ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b07d2b1a-e00c-4610-a5ac-b19bb5db00bc",e._sentryDebugIdIdentifier="sentry-dbid-b07d2b1a-e00c-4610-a5ac-b19bb5db00bc")}catch{}})();const z={labelWidth:new Ge(160,160,160)},nt=P.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ border: 1px solid ${e=>e.theme.colors.grey3};
7
+
8
+ border-top-left-radius: ${w.sp2};
9
+ border-top-right-radius: ${w.sp2};
10
+ border-bottom-left-radius: ${w.sp0};
11
+ border-bottom-right-radius: ${w.sp0};
12
+ `,ee=P.div`
13
+ display: flex;
14
+ flex: 1;
15
+ background-color: ${e=>e.theme.colors.grey3};
16
+ min-height: 1px;
17
+ `,ot=P.div`
18
+ display: flex;
19
+ flex-direction: column;
20
+ margin: ${w.sp4} ${w.sp8} ${w.sp0} ${w.sp8};
21
+ `,$=(e,s)=>`${e}.${s}`;function dt({sectionId:e,jeScheduledTransaction:s,updateStatus:p,allAccountOptions:l,allAccountList:t,allClassList:i,allClassOptions:C,allMonthOptions:o,uncategorizedAccounts:m,selectedAccount:r,selectedClass:y,selectedDate:L,selectedMonths:I,selectedPostingDay:O,lastDayOfMonth:k,isDisabled:f,allowCreateSchedule:g,onCreateSchedule:u,onDelete:ae,onMarkAsComplete:_}){const{resetField:R}=We(),U=$(e,"scheduleExpenseCategory"),W=$(e,"scheduleClass"),se=$(e,"startDate"),B=$(e,"postingDate"),b=$(e,"months"),S=De.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,ne=c=>t.filter(N=>N.qboId===c)[0]?.qboId,oe=c=>i.filter(N=>N.classId===c)[0]?.accountingClassNumber,q={valueContainer:c=>({...c,overflow:"unset"})},J=qe(),v=ct({startDate:s.baseTransaction.date,endDate:s.baseTransaction.date.add(1,"year")}),h=()=>{R(B)},n=O==null&&k==null?void 0:k===!0?"lastDayOfMonth":"day",x=c=>[m.expense?.qboId,m.income?.qboId].includes(c),E=()=>{s.jeScheduleId!=null&&ae(s.jeScheduleId)},K=s.scheduledJournalEntry.flatMap(c=>c.error);return a.jsxs(ot,{children:[a.jsx(at,{isUpdating:p==="In-Progress",status:s.status.code,jeScheduleId:s.jeScheduleId,allowCreateSchedule:g,onDelete:E,onMarkAsComplete:_,onCreateSchedule:u}),a.jsx(re,{controller:g===!0,children:a.jsxs(nt,{children:[a.jsx(me,{isDisabled:K.includes("debit_category_deleted")?void 0:f,isLoading:!1,label:{label:S.expenseCategory,width:z.labelWidth.value(J)},groupedSingleSelectField:{customPlaceholderColor:K.includes("debit_category_deleted")?Ke.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:U,placeholder:S.expenseCategoryPlaceholder,valueToId:c=>ne(c),defaultValue:{selectedOption:r,allOptions:l},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},disableCurrentOption:x,style:{borderTopLeftRadius:Z[2],borderTopRightRadius:Z[2]}}),a.jsx(ee,{}),a.jsx(me,{isDisabled:f,isLoading:!1,label:{label:S.class,width:z.labelWidth.value(J)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:W,placeholder:S.classPlaceholder,valueToId:c=>oe(c),defaultValue:{selectedOption:y,allOptions:C},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},style:{borderTopLeftRadius:Z[0],borderTopRightRadius:Z[0]}}),a.jsx(ee,{}),a.jsx(He,{label:{label:S.startMonth,width:z.labelWidth.value(J)},monthSelectorField:{name:se,placeholder:S.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:f,monthsAndYears:v},isDisabled:f}),a.jsx(ee,{}),a.jsx(st,{label:{label:S.postingDate,width:z.labelWidth.value(J)},isDisabled:f,dayOfMonthField:{placeholder:S.postingDatePlaceholder,name:B,defaultValue:{type:n,dayOfMonth:O},onSaveClick:()=>{},onCancelClick:h}}),a.jsx(ee,{}),a.jsx(Ye,{label:{label:S.months,width:z.labelWidth.value(J)},singleSelectNumericField:{name:b,isDisabled:f,placeholder:S.monthsPlaceholder,defaultValue:{selectedOption:I!=null?o[I-1]:void 0,allOptions:o},registerOptions:{required:!0,validate:c=>!!c.selectedOption}}})]})}),a.jsx(re,{controller:g===!1,children:a.jsx(Qe,{text:S.scheduleMarkedAsCompleted})})]})}const ct=e=>{const s={},p=e.endDate.year()-e.startDate.year()+1,l=e.endDate.year(),t=e.startDate.year();return{years:Array(p).fill(l).map((i,C)=>{const o=i-C,m=o.toString();let r=[];if(o===t){const y=e.startDate.month();r=e.startDate.localeData().monthsShort(),y!==0&&r.splice(0,y)}else r=et(`${o}-01-01`).localeData().monthsShort();return s[m]=r,m}).reverse(),months:s}},it=P.div`
22
+ display: flex;
23
+ flex-direction: column;
24
+ width: 100%;
25
+ height: 100%;
26
+ min-height: 100vh;
27
+ background-color: ${e=>e.theme.colors.grey4};
28
+ `,rt=P.div`
29
+ display: flex;
30
+ z-index: 2;
31
+ `,ut=P.div`
32
+ display: flex;
33
+ flex-direction: column;
34
+ `,ht=P.div`
35
+ display: flex;
36
+ justify-content: center;
37
+ `,fe="scheduleDetailsPage",te="scheduleDetailsSection",le="scheduleDetailsListSection",pt=De.getLocalizedStrings(),{common:A,jeSchedules:{scheduleDetails:mt}}=pt;function At({analytics:e,controllerUserDetails:s,expenseAutomationSelectedPeriod:p,scheduleDetailsView:l,scheduleTab:t,usedInExpenseAutomation:i,vendorSearchAutoCompleteActions:C,vendorSearchAutoCompleteData:o,onMarkAsComplete:m,onNavigateBack:r,onEditAmount:y,onJELinkClick:L,onSave:I,onDelete:O,onDetailPageChange:k,onViewLinkedJE:f,onTransactionClick:g,removeJeScheduleTransactionKey:u}){const[ae,_]=D.useState(!1),R=F(l.updateStatus.fetchState),U=F(l.selectedJEScheduleTransaction?.status.code),W=F(l.deleteStatus.fetchState),[se,B]=D.useState(!1),b=l.scheduleDetailsLocalData.prepaid_expenses,S=F(b.jeScheduleDetails.length),ne=F(b.selectedDate),oe=F(b.selectedDayOfMonth),[q,J]=D.useState(!0),v=l.selectedJEScheduleTransaction?.vendor,h=l.selectedJEScheduleTransaction?.baseTransaction,n=l.selectedJEScheduleTransaction,x=Xe(s.controllers),E=Ze(s.controllerUserIds),K={onOkClick:()=>{_(!1),r()},onCancelClick:()=>{_(!1)}},c=d=>{const T=n?.scheduledJournalEntry[d];h!=null&&T!=null&&n!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:t,transaction:{...Ue(h)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...pe(T)},vendorName:v!=null?v.name:A.strings.hyphen,controllerEmails:x,controllerUserIds:E}),L(d)},N=(d,T)=>{const j=n?.scheduledJournalEntry[T];h!=null&&j!=null&&n!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:t,scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:pe(j),controllerEmails:x,controllerUserIds:E}),f(d)};D.useEffect(()=>{R==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(h!=null&&n!=null&&e.trackScheduleDetailsSaved(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),i===!0&&n?.jeScheduleTransactionKey!=null&&U==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&u(n.jeScheduleTransactionKey,{month:p.month,year:p.year}),r())},[U,l.selectedJEScheduleTransaction?.status.code,e,r,p,R,l.updateStatus,u,t,i,n,h,v,x,E]),D.useEffect(()=>{W==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&r()},[W,l.deleteStatus,r]);const G=Ie(l.accountListNestedAccountHierarchy),H=Je(l.classListNestedAccountHierarchy),Y=we(t),ue=D.useRef(),M=Le({mode:"all",reValidateMode:"onChange",defaultValues:ie(l,G,H,Y,o.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ie(l,G,H,Y,o.entityAutoCompleteView)}),de=M.watch("scheduleDetailsSection.vendor");D.useEffect(()=>{o.entityAutoCompleteView.fetchState==="Completed"&&ue.current?.(Me(o.entityAutoCompleteView))},[o.entityAutoCompleteView.fetchState]);const ye=(d,T)=>{C.onAutoCompleteInputChange?.(d,"vendor"),ue.current=T},be=M.handleSubmit(()=>{I(l.selectedJEScheduleTransaction?.jeScheduleId)}),Ce=async(d,T)=>{const j=T[te].vendor;if(d.includes("vendor")){const ce=j?.defaultOptions.map(V=>V.value);if(j?.selectedOption!=null&&ce?.includes(j.selectedOption)!==!0){const V=o.entityAutoCompleteView.vendor.find(Ae=>Ae.id===j.selectedOption);V!=null&&M.setValue("scheduleDetailsSection.vendor.defaultOptions",[{label:V.name??A.strings.empty,value:V.id}])}}const Q=d.includes("amount");if(k(T,Q),d.includes("amount")){const ce=d.split(".")[1],V=parseInt(ce);B(!0),y(V,l.selectedJEScheduleTransaction?.jeScheduleId)}};D.useEffect(()=>{let d=!0;const T=M.watch((j,{name:Q})=>{Q!=null&&j!=null&&Ve(()=>{d&&Ce(Q,j)})});return()=>{d=!1,T.unsubscribe()}}),D.useEffect(()=>{(S!==b.jeScheduleDetails.length||ne!==b.selectedDate||oe!==b.selectedDayOfMonth)&&se===!0&&(M.resetField(le,{defaultValue:ie(l,G,H,Y,o.entityAutoCompleteView)[le],keepDirty:!1}),B(!1))},[b.jeScheduleDetails.length,b.selectedDate,b.selectedDayOfMonth]),D.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&J(!1)},[l.selectedJEScheduleTransaction?.status.code]);const he=(Pe(M.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&b.jeScheduleDetails.length>0,ge=()=>{he===!0?_(!0):(h!=null&&n!=null&&e.trackScheduleDetailsCanceled(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),r())},ve=()=>{l.selectedJEScheduleTransaction!=null&&g({id:l.selectedJEScheduleTransaction?.baseTransaction.id,type:l.selectedJEScheduleTransaction?.baseTransaction.type})},xe=D.useCallback(()=>{J(!0)},[]),Ee=D.useCallback(()=>{h!=null&&n!=null&&e.trackScheduleDetailsMarkedAsCompleted(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),m()},[e,n,m,t,h,v,x,E]),Te=D.useCallback(d=>{h!=null&&n!=null&&e.trackScheduleDetailsDeleted(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),O(d)},[e,n,O,t,h,v,x,E]),je=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?de?.defaultOptions.find(d=>d.value===de?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,Oe=a.jsx(ft,{onNavigateBack:ge,onTransactionClick:ve,title:je??A.strings.empty}),ke=a.jsx(rt,{children:a.jsx(_e,{...M,children:a.jsxs("form",{style:{width:"100%"},id:Se(fe),onSubmit:be,children:[a.jsx(St,{vendorLoadOptions:ye,vendorField:de,vendorSearchAutoCompleteActions:C,vendorSearchAutoCompleteData:o,scheduleDetailsView:l,allAccountOptions:G,allClassOptions:H,allMonthOptions:Y,allowCreateSchedule:q,onEditAmount:y,onDelete:Te,onJELinkClick:c,onViewLinkedJE:N,onMarkAsComplete:Ee,onCreateSchedule:xe}),ae===!0?a.jsx(Fe,{titleComponent:a.jsx(Be,{children:A.confirmationPopup.discardTitle}),descriptionComponent:a.jsx($e,{children:A.confirmationPopup.discardDescription}),primaryButtonText:A.confirmationPopup.discard,secondaryButtonText:A.confirmationPopup.cancel,proceedButtonVariant:"danger",action:K}):null,he===!0?a.jsx(Ne,{formId:Se(fe),primaryBtn:{label:A.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:A.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{_(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(it,{children:[Oe,ke]})}function ft({title:e,onNavigateBack:s,onTransactionClick:p}){return a.jsx(Re,{title:e,tooltipTextOnLaunch:mt.showTransactionTooltip,onBackClick:s,onLaunchClick:p,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:s,vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,scheduleDetailsView:t,allAccountOptions:i,allClassOptions:C,allMonthOptions:o,allowCreateSchedule:m,onCreateSchedule:r,onMarkAsComplete:y,onEditAmount:L,onDelete:I,onJELinkClick:O,onViewLinkedJE:k}){const f=t.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(g=>g.error??[]).filter(g=>!!g)??[];return t.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(tt,{errors:f,vendorLoadOptions:s,vendorField:e,vendorFieldName:$(te,"vendor"),vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,transaction:t.selectedJEScheduleTransaction.baseTransaction,vendor:t.selectedJEScheduleTransaction.vendor})}),a.jsx(dt,{sectionId:te,jeScheduledTransaction:t.selectedJEScheduleTransaction,allAccountOptions:i,allAccountList:t.allAccountList,allClassList:t.allClassList,allClassOptions:C,allMonthOptions:o,uncategorizedAccounts:t.uncategorizedAccounts,lastDayOfMonth:t.scheduleDetailsLocalData.prepaid_expenses.lastDayOfMonth,selectedPostingDay:t.scheduleDetailsLocalData.prepaid_expenses.selectedDayOfMonth,selectedMonths:t.scheduleDetailsLocalData.prepaid_expenses.selectedMonths,isDisabled:t.selectedJEScheduleTransaction.jeScheduleId!=null&&t.selectedJEScheduleTransaction.status.code!=="marked_as_completed"&&t.selectedJEScheduleTransaction.status.code!=="draft"?"disabled":void 0,allowCreateSchedule:m,onCreateSchedule:r,onDelete:I,onMarkAsComplete:y,updateStatus:t.deleteStatus.fetchState}),a.jsx(re,{controller:m===!0,children:a.jsx(lt,{sectionId:le,totalAmount:t.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:t.fetchState,scheduleJournalEntries:t.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:t.selectedJEScheduleTransaction.jeScheduleId==null,localData:t.scheduleDetailsLocalData.prepaid_expenses.jeScheduleDetails,uiState:t.uiState,onEditAmount:L,onJELinkClick:O,onViewLinkedJE:k,jeScheduleId:t.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const Se=e=>`${e}_form`,ie=(e,s,p,l,t)=>{const i=e.scheduleDetailsLocalData.prepaid_expenses,C=i.selectedAccount,o=i.selectedVendor,m=o!=null?t.vendor.find(u=>u.zeniId===o.id):void 0,r=C!=null?e.allAccountList.find(u=>u.accountId===C):void 0,y=i.selectedClass,L=y!=null?e.allClassList.find(u=>u.classId===y):void 0,I=i.selectedMonths,O=i.jeScheduleDetails.map(u=>({postingDate:u.postingDate,amount:u.amount.amount,runningBalance:u.runningBalance.amount,postingStatus:u.postingStatus,jeLink:u.jeLink.thirdPartyTransactionId})),k=i.selectedDayOfMonth,f=i.lastDayOfMonth,g=k==null&&f==null?void 0:f===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:r?.qboId,allOptions:s},scheduleClass:{selectedOption:L?.classId,allOptions:p},startDate:i.selectedDate,months:{selectedOption:I,allOptions:l},vendor:{selectedOption:m?.id??o?.id,defaultOptions:ze(t,m??o)},postingDate:{type:g,dayOfMonth:k}},[le]:O}};export{At as default};
@@ -1,14 +1,14 @@
1
- import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye,b as I,F as R,iz as we,iv as be,o as i,y as b,p as j,f as $e,aa as re,dL as je,co as Se,cq as ke,cI as Z,er as ee,cN as ve,iA as K,iB as De,b3 as Ce,iC as Me,cs as ze,iD as Le,u as h,al as L,b9 as Ee,cp as Oe,ao as pe,eA as Ie,b1 as ne,em as Ae,aR as Fe,iE as F,gf as Ve,aN as Te,iF as Je,aV as H,c_ as Be,bh as Pe}from"./index-D-WiwijD.js";import{n as l,c as B}from"./mui-CooLgaJO.js";import{a as C}from"./sentry-Dlcq8VjX.js";import{bh as G,G0 as Re}from"./zeni-epic-state-pmiItBju.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]="1a9faf6f-7cce-4742-89e6-e53f06341abf",e._sentryDebugIdIdentifier="sentry-dbid-1a9faf6f-7cce-4742-89e6-e53f06341abf")}catch{}})();const N=(e,o)=>`${e}.${o}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function Ne({defaultValue:e,name:o,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:w}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},y=()=>{w(),u(!1)},k=ee(x,o),g=A(),a=X();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Qe,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ie,{name:N(o,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(qe,{children:[t.jsx(We,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ge,{alignLeft:r===!0,children:[t.jsx(et,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Ze,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(o,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Ae,{name:N(o,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...I.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ue,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(_e,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${o}.dayOfMonth`,$),S(`${o}.type`,"day")}})]}),t.jsx(tt,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(o,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Fe,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:Ye(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:y,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function We({placeholder:e,defaultValue:o,isDisabled:s}){return t.jsxs(He,{isDisabled:s!=null,children:[o?.type==null?t.jsx(Ke,{children:e}):null,o?.type=="day"&&o.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${o.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,o?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function _e({defaultValue:e,onClick:o}){return t.jsxs(Xe,{children:[t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(Re(r)),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})})]})}const Ye=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},qe=l.div`
1
+ import{J as A,d as Z,V as t,iB as ie,iC as le,O as oe,iD as xe,dS as fe,fj as ye,b as I,F as P,iE as we,iA as be,o as i,y as b,p as j,c as $e,aa as re,dN as je,cp as Se,cr as ke,cJ as Q,ev as ee,cO as ve,iF as K,iG as De,b3 as Ce,iH as Me,ct as ze,iI as Oe,u as h,al as O,b9 as Ee,cq as Le,ao as pe,eE as Ie,b1 as ne,eq as Ae,aR as Fe,iJ as F,gj as Ve,aN as Te,iK as Je,aV as Y,c$ as Be,bh as Re}from"./index-Kp9YkIA7.js";import{n as o,c as B}from"./mui-NI7j5KJX.js";import{a as C}from"./sentry-D0RHYOS9.js";import{bh as G,G4 as Pe}from"./zeni-epic-state-Bk1TvHP-.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]="d830a6ac-76a1-468b-a3bf-8de5166f4b0d",e._sentryDebugIdIdentifier="sentry-dbid-d830a6ac-76a1-468b-a3bf-8de5166f4b0d")}catch{}})();const N=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=P.getLocalizedStrings();function Ne({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:w}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=Q(),v=()=>{k||(c(),u(!1))},y=()=>{w(),u(!1)},k=ee(x,l),g=A(),a=Z();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Xe,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ie,{name:N(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(We,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ge,{alignLeft:r===!0,children:[t.jsx(et,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Qe,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Ae,{name:N(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...I.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ue,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(_e,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(tt,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Fe,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:qe(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:y,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function We({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(Ye,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Ke,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function _e({defaultValue:e,onClick:l}){return t.jsxs(Ze,{children:[t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(q,{isSelected:r===e,onClick:()=>l(Pe(r)),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const qe=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},He=o.div`
2
2
  position: relative;
3
- `,He=l.div`
3
+ `,Ye=o.div`
4
4
  display: flex;
5
5
  padding-right: ${i.sp3};
6
- `,ae=l.div`
6
+ `,ae=o.div`
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  background-color: ${e=>e.isSelected===!0?e.theme.colors.background:e.theme.colors.grey5};
10
10
  color: ${e=>e.isSelected===!0?e.theme.colors.primary:e.theme.colors.hero};
11
- `,Ge=l.div`
11
+ `,Ge=o.div`
12
12
  position: absolute;
13
13
  z-index: 9;
14
14
  cursor: pointer;
@@ -25,17 +25,17 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
25
25
  display: flex;
26
26
  flex-direction: column;
27
27
  width: 270px;
28
- `,Ke=l(L)`
28
+ `,Ke=o(O)`
29
29
  color: ${e=>e.theme.colors.grey1};
30
30
  margin-right: ${i.sp1};
31
- `,W=l(L)`
31
+ `,W=o(O)`
32
32
  color: ${e=>e.theme.colors.primary};
33
- `,Ue=l(L)`
33
+ `,Ue=o(O)`
34
34
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
35
- `,de=l.div`
35
+ `,de=o.div`
36
36
  display: flex;
37
37
  gap: ${i.sp1};
38
- `,Qe=l.div`
38
+ `,Xe=o.div`
39
39
  display: flex;
40
40
  align-items: center;
41
41
  justify-content: flex-end;
@@ -47,15 +47,15 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
47
47
  &:hover {
48
48
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
49
49
  }
50
- `,Xe=l.div`
50
+ `,Ze=o.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  width: fit-content;
54
54
  margin: ${i.sp0} ${i.sp3};
55
55
  color: ${e=>e.theme.colors.hero};
56
- `,_=l.div`
56
+ `,_=o.div`
57
57
  display: flex;
58
- `,Y=l(L)`
58
+ `,q=o(O)`
59
59
  padding: ${i.sp1} ${i.sp2};
60
60
  max-width: ${i.sp5};
61
61
  min-width: 18px;
@@ -66,7 +66,7 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
66
66
  color: ${e.theme.colors.background};
67
67
  background-color: ${e.theme.colors.primary};
68
68
  `:null}
69
- `,Ze=l.div`
69
+ `,Qe=o.div`
70
70
  display: flex;
71
71
  align-items: center;
72
72
  background-color: ${e=>e.isError?j.importantLight:"transparent"};
@@ -81,15 +81,15 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
81
81
  border-color: ${e=>e.isError?j.important:e.theme.colors.primary};
82
82
  }
83
83
  }
84
- `,et=l.div`
84
+ `,et=o.div`
85
85
  width: 100%;
86
86
  margin-top: ${i.sp1};
87
87
  height: 1px;
88
- `,tt=l.div`
88
+ `,tt=o.div`
89
89
  width: 100%;
90
90
  height: 1px;
91
91
  background-color: ${e=>e.theme.colors.grey3};
92
- `,z={height:new b(h[6],h[6]),controlHeight:new b(h[6],h[6]),paddingTopBottom:new b(h[2],h[2]),marginRight:new b(h[2],h[2]),labelMarginLeft:new b(h[3],h[4]),labelMarginRight:new b(h[3],h[4]),labelMarginTop:new b(h[2],h[2])};function Qt({label:e,dayOfMonthField:o,isDisabled:s,style:r}){const p=A(),{formState:{errors:n}}=Z(),d=ee(n,o.name);return t.jsxs(it,{size:p,style:r,isDisabled:s!=null,isError:d,children:[t.jsx(ve,{isDisabled:s,label:e.label,htmlFor:o.name,style:{marginLeft:z.labelMarginLeft.value(p),marginRight:z.labelMarginRight.value(p),marginTop:z.labelMarginTop.value(p),width:e.width??"auto"}}),t.jsx(ot,{labelWidth:e.width,children:t.jsx(Ne,{...o,isDisabled:s,style:{display:"flex",flexGrow:1,width:"100%",height:z.controlHeight.value(p)}})})]})}const it=l.div`
92
+ `,z={height:new b(h[6],h[6]),controlHeight:new b(h[6],h[6]),paddingTopBottom:new b(h[2],h[2]),marginRight:new b(h[2],h[2]),labelMarginLeft:new b(h[3],h[4]),labelMarginRight:new b(h[3],h[4]),labelMarginTop:new b(h[2],h[2])};function Xt({label:e,dayOfMonthField:l,isDisabled:s,style:r}){const p=A(),{formState:{errors:n}}=Q(),d=ee(n,l.name);return t.jsxs(it,{size:p,style:r,isDisabled:s!=null,isError:d,children:[t.jsx(ve,{isDisabled:s,label:e.label,htmlFor:l.name,style:{marginLeft:z.labelMarginLeft.value(p),marginRight:z.labelMarginRight.value(p),marginTop:z.labelMarginTop.value(p),width:e.width??"auto"}}),t.jsx(lt,{labelWidth:e.width,children:t.jsx(Ne,{...l,isDisabled:s,style:{display:"flex",flexGrow:1,width:"100%",height:z.controlHeight.value(p)}})})]})}const it=o.div`
93
93
  display: flex;
94
94
  flex-direction: row;
95
95
  align-items: flex-start;
@@ -128,48 +128,48 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
128
128
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?j.importantLight:e.theme.colors.background};
129
129
  }
130
130
  }
131
- `,ot=l.div`
131
+ `,lt=o.div`
132
132
  display: flex;
133
133
  flex-direction: column;
134
134
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
135
135
  align-items: flex-end;
136
136
  flex-grow: 1;
137
- `,lt=l.div`
137
+ `,ot=o.div`
138
138
  display: flex;
139
139
  width: 100%;
140
140
  justify-content: space-between;
141
- `,rt=l(Ee)`
141
+ `,rt=o(Ee)`
142
142
  color: ${e=>e.theme.colors.primary};
143
143
  margin: ${i.sp3} ${i.sp1};
144
- `,ce=l.div`
144
+ `,ce=o.div`
145
145
  margin-bottom: ${i.sp2};
146
- `,{common:V,jeSchedules:{scheduleDetails:D}}=R.getLocalizedStrings();function Xt({isUpdating:e,status:o,jeScheduleId:s,allowCreateSchedule:r,onDelete:p,onMarkAsComplete:n,onCreateSchedule:d}){const[c,w]=C.useState(!1),f={onOkClick:()=>{p()},onCancelClick:()=>{w(!1)}},u=()=>null,m=[];return(o==="new"||o=="draft")&&m.push({label:D.scheduleDetailsSection.markAsCompleted,value:D.scheduleDetailsSection.markAsCompleted}),s!=null&&o!=="draft"&&(o==="marked_as_completed"?r===!1&&m.push({label:D.scheduleDetailsSection.createSchedule,value:D.scheduleDetailsSection.createSchedule}):m.push({label:V.delete,value:V.delete})),t.jsxs(lt,{children:[t.jsx(rt,{children:D.scheduleDetailsSection.header}),t.jsx(re,{controller:m.length>0,children:t.jsx(je,{moreIconType:"plain",options:m,customStyleConfig:{valueContainer:()=>({".more-icon":{width:i.sp3,height:i.sp3}})},menuPlacement:"top",onOptionSelection:x=>{x===V.delete&&w(!0),x===D.scheduleDetailsSection.markAsCompleted&&n(),x===D.scheduleDetailsSection.createSchedule&&d()},valueToIcon:u})}),t.jsx(re,{controller:c===!0,children:t.jsx(Se,{titleComponent:t.jsx(ke,{children:D.scheduleDetailsSection.confirmDeletionTitle}),descriptionComponent:t.jsx(nt,{}),action:f,primaryButtonText:V.yes,proceedButtonVariant:"danger",secondaryButtonText:V.no,isLoading:e})})]})}function nt(){return t.jsxs(Oe,{children:[t.jsx(ce,{children:D.scheduleDetailsSection.confirmDeletionDescription}),t.jsx(ce,{children:D.scheduleDetailsSection.confirmDeletionDescriptionNote})]})}const P={containerPadding:new b(h[3],h[8]),containerMarginTop:new b(h[3],h[4]),containerMarginBottom:new b(h[4],h[5]),transactionLabelMarginTop:new b(h[2],h[0]),transactionTitleContainerWidth:new b(187,480)},U={transactionLabel:new le("standardMedium","largeMedium"),transactionTitle:new le("h6SemiBold","h5SemiBold")},st=l.div``,ue=l.div`
146
+ `,{common:V,jeSchedules:{scheduleDetails:D}}=P.getLocalizedStrings();function Zt({isUpdating:e,status:l,jeScheduleId:s,allowCreateSchedule:r,onDelete:p,onMarkAsComplete:n,onCreateSchedule:d}){const[c,w]=C.useState(!1),f={onOkClick:()=>{p()},onCancelClick:()=>{w(!1)}},u=()=>null,m=[];return(l==="new"||l=="draft")&&m.push({label:D.scheduleDetailsSection.markAsCompleted,value:D.scheduleDetailsSection.markAsCompleted}),s!=null&&l!=="draft"&&(l==="marked_as_completed"?r===!1&&m.push({label:D.scheduleDetailsSection.createSchedule,value:D.scheduleDetailsSection.createSchedule}):m.push({label:V.delete,value:V.delete})),t.jsxs(ot,{children:[t.jsx(rt,{children:D.scheduleDetailsSection.header}),t.jsx(re,{controller:m.length>0,children:t.jsx(je,{moreIconType:"plain",options:m,customStyleConfig:{valueContainer:()=>({".more-icon":{width:i.sp3,height:i.sp3}})},menuPlacement:"top",onOptionSelection:x=>{x===V.delete&&w(!0),x===D.scheduleDetailsSection.markAsCompleted&&n(),x===D.scheduleDetailsSection.createSchedule&&d()},valueToIcon:u})}),t.jsx(re,{controller:c===!0,children:t.jsx(Se,{titleComponent:t.jsx(ke,{children:D.scheduleDetailsSection.confirmDeletionTitle}),descriptionComponent:t.jsx(nt,{}),action:f,primaryButtonText:V.yes,proceedButtonVariant:"danger",secondaryButtonText:V.no,isLoading:e})})]})}function nt(){return t.jsxs(Le,{children:[t.jsx(ce,{children:D.scheduleDetailsSection.confirmDeletionDescription}),t.jsx(ce,{children:D.scheduleDetailsSection.confirmDeletionDescriptionNote})]})}const R={containerPadding:new b(h[3],h[8]),containerMarginTop:new b(h[3],h[4]),containerMarginBottom:new b(h[4],h[5]),transactionLabelMarginTop:new b(h[2],h[0]),transactionTitleContainerWidth:new b(187,480)},U={transactionLabel:new oe("standardMedium","largeMedium"),transactionTitle:new oe("h6SemiBold","h5SemiBold")},st=o.div``,ue=o.div`
147
147
  margin: ${i.sp0} ${i.sp3} ${i.sp0} ${i.sp0};
148
- max-width: ${e=>P.transactionTitleContainerWidth.valuePx(e.windowSize)};
149
- `,at=l($e)`
148
+ max-width: ${e=>R.transactionTitleContainerWidth.valuePx(e.windowSize)};
149
+ `,at=o($e)`
150
150
  color: ${j.neutralGrey5Light};
151
- margin-top: ${e=>P.transactionLabelMarginTop.valuePx(e.windowSize)};
151
+ margin-top: ${e=>R.transactionLabelMarginTop.valuePx(e.windowSize)};
152
152
  ${e=>`${U.transactionLabel.style(e.windowSize)}`};
153
153
  background-color: ${e=>e.labelColor.toString()};
154
154
  border-radius: ${i.sp1};
155
155
  padding: ${i.sp0} ${i.sp2} ${i.sp0} ${i.sp2};
156
- `,dt=l.div`
156
+ `,dt=o.div`
157
157
  display: flex;
158
158
  flex-direction: column;
159
- `,ct=l.div`
159
+ `,ct=o.div`
160
160
  display: flex;
161
161
  flex: 0 0 auto;
162
162
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
163
163
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
164
164
  gap: ${i.sp3};
165
- `,ut=l.div`
165
+ `,ut=o.div`
166
166
  display: flex;
167
167
  width: 100%;
168
168
  flex-direction: column;
169
169
  background-color: ${e=>e.theme.colors.grey5};
170
170
  box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
171
- padding: ${e=>`${i.sp0} ${P.containerPadding.valuePx(e.windowSize)}`};
172
- `,ht=l.div`
171
+ padding: ${e=>`${i.sp0} ${R.containerPadding.valuePx(e.windowSize)}`};
172
+ `,ht=o.div`
173
173
  display: flex;
174
174
  flex-direction: row;
175
175
  width: 100%;
@@ -177,33 +177,33 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
177
177
  flex-wrap: wrap;
178
178
  align-items: flex-start;
179
179
  justify-content: space-between;
180
- margin-top: ${e=>P.containerMarginTop.valuePx(e.windowSize)};
181
- margin-bottom: ${e=>P.containerMarginBottom.valuePx(e.windowSize)};
182
- `,pt=l(L)`
180
+ margin-top: ${e=>R.containerMarginTop.valuePx(e.windowSize)};
181
+ margin-bottom: ${e=>R.containerMarginBottom.valuePx(e.windowSize)};
182
+ `,pt=o(O)`
183
183
  color: ${e=>e.theme.colors.hero};
184
184
  height: ${i.sp4};
185
- `,mt=l(L)`
185
+ `,mt=o(O)`
186
186
  color: ${e=>e.theme.colors.primary};
187
187
  word-break: break-all;
188
188
  text-align: right;
189
- `,gt=l.div`
189
+ `,gt=o.div`
190
190
  display: flex;
191
191
  flex-direction: row;
192
192
  justify-content: space-between;
193
193
  gap: ${i.sp3};
194
- `,xt=l.div`
194
+ `,xt=o.div`
195
195
  margin-top: ${i.sp3};
196
196
  width: 100%;
197
- `,ft=l.div`
197
+ `,ft=o.div`
198
198
  display: flex;
199
199
  flex-direction: column;
200
200
  margin: ${i.sp3} ${i.sp0} ${i.sp6} ${i.sp0};
201
- `,yt=l.div`
201
+ `,yt=o.div`
202
202
  display: flex;
203
203
  width: 100%;
204
204
  height: 1px;
205
205
  background-color: ${e=>e.theme.colors.grey3};
206
- `,wt=({title:e,value:o})=>t.jsxs(gt,{children:[t.jsx(pt,{children:e}),t.jsx(mt,{children:o||me})]}),{jeSchedules:{scheduleDetails:{scheduleTransactionsHeader:O},scheduleAccruedDetails:{placeholders:{selectVendor:bt}}},dateFormat:{visual:{MMMDCommaYYYYformat:$t}},common:{strings:{hyphen:me}}}=R.getLocalizedStrings();function Zt({transaction:e,vendorField:o,vendorLoadOptions:s,errors:r,vendorFieldName:p,vendor:n}){const d=A(),c=X(),[w,f]=C.useState(!1),u=jt(e),m=r?.includes("vendor_deleted"),[x,S]=C.useState(r?.includes("vendor_deleted")),v=o?.defaultOptions.find(y=>y.value===o?.selectedOption);return t.jsxs(ut,{windowSize:d,children:[t.jsxs(ht,{windowSize:d,children:[t.jsxs(ct,{windowSize:d,children:[t.jsx(t.Fragment,{children:m===!0?t.jsx(t.Fragment,{children:x===!0?t.jsx(ie,{text:O.addVendor,handleClick:()=>{S(!1),f(!0)}}):t.jsx(t.Fragment,{children:w===!1?t.jsx(st,{onClick:()=>f(!0),children:v!=null?t.jsx(ue,{windowSize:d,children:t.jsx(oe,{itemTextStyle:{...U.transactionTitle.styleObject(d),lineHeight:"unset",color:c.colors.primary,cursor:"default"},text:v.label})}):t.jsx(ie,{text:O.addVendor,handleClick:()=>{S(!1),f(!0)}})}):t.jsx(xe,{autoFocus:!0,menuIsOpen:w,name:p??"",placeholder:bt,valueToId:y=>y,defaultValue:{selectedOption:o?.selectedOption,defaultOptions:o?.defaultOptions??[]},onMenuClose:()=>f(!1),customStyleConfig:{valueContainer:()=>({justifyContent:"flex-start"})},style:{width:250},registerOptions:{required:!0,validate:y=>!!y.selectedOption},loadOptions:s})})}):t.jsx(ue,{windowSize:d,children:t.jsx(oe,{itemTextStyle:{...U.transactionTitle.styleObject(d),lineHeight:"unset",color:c.colors.primary},text:n.name})})}),t.jsx(at,{windowSize:d,labelColor:fe(e.type,c),children:e.typeName??e.type})]}),t.jsx(dt,{children:t.jsx(ye,{amount:e.amount,integerStyles:I.h6SemiBold.cssObject,decimalStyles:I.standardMedium.cssObject})})]}),t.jsx(yt,{}),t.jsx(ft,{children:u.map((y,k)=>t.jsx(xt,{children:t.jsx(wt,{title:y.title,value:y.value})},k))})]})}function jt(e){const o=[];return o.push({title:O.transactionDate,value:e.date.format($t)}),o.push({title:O.category,value:e.account.accountName}),o.push({title:O.class,value:e.classBase?.className??me}),o.push({title:O.memo,value:e.memo}),o}const he=(e,o)=>`${e}.${o}`,St={webkitLineClamp:new b(2,2,1,1,1)},kt=R.getLocalizedStrings(),{dateFormat:vt,jeSchedules:{scheduleDetails:Q}}=kt,Dt=({sectionId:e,rowId:o,isDisabled:s,hideMemoField:r,minMaxValuesForAmount:p,isAmountEditable:n,scheduleJournalEntry:d,localData:c,onJELinkClick:w,onViewLinkedJE:f})=>{const u=A(),m=X(),[x,S]=C.useState(!1),{formState:{errors:v}}=Z(),y=C.useCallback(()=>{w(o)},[w,o]),k=d?.jeScheduleId!=null&&d.status.code==="unknown",g=n===!1?"disabled":s,a=d?.jeScheduleId!=null&&d.status.code==="posted"&&c.jeLink.transactionDetailID!=null,$=()=>{a&&c.jeLink.transactionDetailID!=null&&f(c.jeLink.transactionDetailID,o)},q=he(e,"amount"),E=ee(v,q);return t.jsxs(zt,{windowSize:u,isRowEditable:n,isClickable:a||n,onClick:$,children:[r?null:t.jsx(T,{windowSize:u,widthSize:F[0].width,children:t.jsx(J,{windowSize:u,isClickable:a||n,title:c.memo,children:c.memo})}),t.jsx(T,{windowSize:u,widthSize:F[1].width,children:t.jsx(J,{windowSize:u,isClickable:a||n,children:c.postingDate.format(vt.visual.MMMDCommaYYYYformat)})}),t.jsx(T,{windowSize:u,widthSize:F[2].width,children:t.jsx(pe,{onClickAway:()=>S(!1),children:t.jsx(J,{windowSize:u,onClick:()=>{(a||n)&&S(!0)},isClickable:a||n,children:t.jsx(Ve,{style:{height:i.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:i.sp3,color:E===!0?j.important:x===!1?m.colors.hero:m.colors.primary},type:"number",autoFocus:!1,focus:x,name:he(e,"amount"),placeholder:Q.sequenceSchedule.sequenceData.amountPlaceholder,autoComplete:"new-password",defaultValue:c.amount.amount,returnValueType:"floatValue",allowEmptyFormatting:!0,hoverBgColor:s==null?m.colors.background:m.colors.grey5,bgColor:E===!0?j.importantLight:x===!1?m.colors.grey5:m.colors.background,prefix:c.amount.currencySymbol,decimalScale:2,allowNegative:!0,isNumericString:!1,isFieldError:E,registerOptions:{required:g==null,min:p.min,max:p.max},isDisabled:g,thousandsGroupStyle:"thousand",thousandSeparator:!0})})})}),t.jsx(T,{windowSize:u,widthSize:F[3].width,children:t.jsx(J,{windowSize:u,isClickable:a||n,children:Te("0,0.00",c.runningBalance)})}),t.jsx(T,{windowSize:u,widthSize:F[4].width,children:t.jsx(J,{windowSize:u,isLastItem:!0,isClickable:a||n,children:t.jsxs(At,{children:[t.jsx(Je,{textColor:Mt(c.postingStatus,m),onClick:a||n?$:void 0,text:Q.sequenceSchedule.postingStatus[c.postingStatus]}),k?t.jsx(It,{onClick:a?$:y,children:t.jsx(Ct,{jeLink:c.jeLink,isJElinkAllowed:k})}):null]})})})]})};function Ct({jeLink:e,isJElinkAllowed:o}){const[s,r]=C.useState(!1);return e.type==="linked"&&o?t.jsx(t.Fragment,{}):o&&(e.type==="unknown"||e.type==="recommended")?t.jsxs(Lt,{onMouseOver:()=>r(!0),onMouseLeave:()=>r(!1),children:[t.jsx(Ft,{}),s?t.jsxs(Et,{children:[e.type==="recommended"?t.jsx(Vt,{}):null,t.jsx(Ot,{children:Q.linkJE.linkJE})]}):null]}):null}const Mt=(e,o)=>{switch(e){case"pending":case"canceled":case"recorded":return new H(o.colors.grey1);case"posted":return new H(j.success);case"unknown":return new H(j.alert)}},zt=l.div`
206
+ `,wt=({title:e,value:l})=>t.jsxs(gt,{children:[t.jsx(pt,{children:e}),t.jsx(mt,{children:l||me})]}),{jeSchedules:{scheduleDetails:{scheduleTransactionsHeader:L},scheduleAccruedDetails:{placeholders:{selectVendor:bt}}},dateFormat:{visual:{MMMDCommaYYYYformat:$t}},common:{strings:{hyphen:me}}}=P.getLocalizedStrings();function Qt({transaction:e,vendorField:l,vendorLoadOptions:s,errors:r,vendorFieldName:p,vendor:n}){const d=A(),c=Z(),[w,f]=C.useState(!1),u=jt(e),m=r?.includes("vendor_deleted"),[x,S]=C.useState(r?.includes("vendor_deleted")),v=l?.defaultOptions.find(y=>y.value===l?.selectedOption);return t.jsxs(ut,{windowSize:d,children:[t.jsxs(ht,{windowSize:d,children:[t.jsxs(ct,{windowSize:d,children:[t.jsx(t.Fragment,{children:m===!0?t.jsx(t.Fragment,{children:x===!0?t.jsx(ie,{text:L.addVendor,handleClick:()=>{S(!1),f(!0)}}):t.jsx(t.Fragment,{children:w===!1?t.jsx(st,{onClick:()=>f(!0),children:v!=null?t.jsx(ue,{windowSize:d,children:t.jsx(le,{itemTextStyle:{...U.transactionTitle.styleObject(d),lineHeight:"unset",color:c.colors.primary,cursor:"default"},text:v.label})}):t.jsx(ie,{text:L.addVendor,handleClick:()=>{S(!1),f(!0)}})}):t.jsx(xe,{autoFocus:!0,menuIsOpen:w,name:p??"",placeholder:bt,valueToId:y=>y,defaultValue:{selectedOption:l?.selectedOption,defaultOptions:l?.defaultOptions??[]},onMenuClose:()=>f(!1),customStyleConfig:{valueContainer:()=>({justifyContent:"flex-start"})},style:{width:250},registerOptions:{required:!0,validate:y=>!!y.selectedOption},loadOptions:s})})}):t.jsx(ue,{windowSize:d,children:t.jsx(le,{itemTextStyle:{...U.transactionTitle.styleObject(d),lineHeight:"unset",color:c.colors.primary},text:n.name})})}),t.jsx(at,{windowSize:d,labelColor:fe(e.type,c),children:e.typeName??e.type})]}),t.jsx(dt,{children:t.jsx(ye,{amount:e.amount,integerStyles:I.h6SemiBold.cssObject,decimalStyles:I.standardMedium.cssObject})})]}),t.jsx(yt,{}),t.jsx(ft,{children:u.map((y,k)=>t.jsx(xt,{children:t.jsx(wt,{title:y.title,value:y.value})},k))})]})}function jt(e){const l=[];return l.push({title:L.transactionDate,value:e.date.format($t)}),l.push({title:L.category,value:e.account.accountName}),l.push({title:L.class,value:e.classBase?.className??me}),l.push({title:L.memo,value:e.memo}),l}const he=(e,l)=>`${e}.${l}`,St={webkitLineClamp:new b(2,2,1,1,1)},kt=P.getLocalizedStrings(),{dateFormat:vt,jeSchedules:{scheduleDetails:X}}=kt,Dt=({sectionId:e,rowId:l,isDisabled:s,hideMemoField:r,minMaxValuesForAmount:p,isAmountEditable:n,scheduleJournalEntry:d,localData:c,onJELinkClick:w,onViewLinkedJE:f})=>{const u=A(),m=Z(),[x,S]=C.useState(!1),{formState:{errors:v}}=Q(),y=C.useCallback(()=>{w(l)},[w,l]),k=d?.jeScheduleId!=null&&d.status.code==="unknown",g=n===!1?"disabled":s,a=d?.jeScheduleId!=null&&d.status.code==="posted"&&c.jeLink.transactionDetailID!=null,$=()=>{a&&c.jeLink.transactionDetailID!=null&&f(c.jeLink.transactionDetailID,l)},H=he(e,"amount"),E=ee(v,H);return t.jsxs(zt,{windowSize:u,isRowEditable:n,isClickable:a||n,onClick:$,children:[r?null:t.jsx(T,{windowSize:u,widthSize:F[0].width,children:t.jsx(J,{windowSize:u,isClickable:a||n,title:c.memo,children:c.memo})}),t.jsx(T,{windowSize:u,widthSize:F[1].width,children:t.jsx(J,{windowSize:u,isClickable:a||n,children:c.postingDate.format(vt.visual.MMMDCommaYYYYformat)})}),t.jsx(T,{windowSize:u,widthSize:F[2].width,children:t.jsx(pe,{onClickAway:()=>S(!1),children:t.jsx(J,{windowSize:u,onClick:()=>{(a||n)&&S(!0)},isClickable:a||n,children:t.jsx(Ve,{style:{height:i.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:i.sp3,color:E===!0?j.important:x===!1?m.colors.hero:m.colors.primary},type:"number",autoFocus:!1,focus:x,name:he(e,"amount"),placeholder:X.sequenceSchedule.sequenceData.amountPlaceholder,autoComplete:"new-password",defaultValue:c.amount.amount,returnValueType:"floatValue",allowEmptyFormatting:!0,hoverBgColor:s==null?m.colors.background:m.colors.grey5,bgColor:E===!0?j.importantLight:x===!1?m.colors.grey5:m.colors.background,prefix:c.amount.currencySymbol,decimalScale:2,allowNegative:!0,isNumericString:!1,isFieldError:E,registerOptions:{required:g==null,min:p.min,max:p.max},isDisabled:g,thousandsGroupStyle:"thousand",thousandSeparator:!0})})})}),t.jsx(T,{windowSize:u,widthSize:F[3].width,children:t.jsx(J,{windowSize:u,isClickable:a||n,children:Te("0,0.00",c.runningBalance)})}),t.jsx(T,{windowSize:u,widthSize:F[4].width,children:t.jsx(J,{windowSize:u,isLastItem:!0,isClickable:a||n,children:t.jsxs(At,{children:[t.jsx(Je,{textColor:Mt(c.postingStatus,m),onClick:a||n?$:void 0,text:X.sequenceSchedule.postingStatus[c.postingStatus]}),k?t.jsx(It,{onClick:a?$:y,children:t.jsx(Ct,{jeLink:c.jeLink,isJElinkAllowed:k})}):null]})})})]})};function Ct({jeLink:e,isJElinkAllowed:l}){const[s,r]=C.useState(!1);return e.type==="linked"&&l?t.jsx(t.Fragment,{}):l&&(e.type==="unknown"||e.type==="recommended")?t.jsxs(Ot,{onMouseOver:()=>r(!0),onMouseLeave:()=>r(!1),children:[t.jsx(Ft,{}),s?t.jsxs(Et,{children:[e.type==="recommended"?t.jsx(Vt,{}):null,t.jsx(Lt,{children:X.linkJE.linkJE})]}):null]}):null}const Mt=(e,l)=>{switch(e){case"pending":case"canceled":case"recorded":return new Y(l.colors.grey1);case"posted":return new Y(j.success);case"unknown":return new Y(j.alert)}},zt=o.div`
207
207
  display: flex;
208
208
  height: ${K}px;
209
209
  justify-content: space-between;
@@ -230,7 +230,7 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
230
230
  align-items: center;
231
231
 
232
232
  cursor: ${e=>e.isClickable===!0?"pointer":"default"};
233
- `,T=l.div`
233
+ `,T=o.div`
234
234
  display: flex;
235
235
  align-items: center;
236
236
  width: ${e=>e.widthSize.valuePx(e.windowSize)};
@@ -238,7 +238,7 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
238
238
  :last-of-type {
239
239
  padding-right: 0;
240
240
  }
241
- `,Lt=l.div`
241
+ `,Ot=o.div`
242
242
  display: flex;
243
243
  align-items: center;
244
244
  gap: ${i.sp1};
@@ -247,21 +247,21 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
247
247
  &:hover {
248
248
  color: ${e=>e.theme.colors.primary};
249
249
  }
250
- `,Et=l.div`
250
+ `,Et=o.div`
251
251
  display: flex;
252
252
  align-items: center;
253
253
  gap: ${i.sp1};
254
- `,Ot=l(L)``,It=l.div``,At=l.div`
254
+ `,Lt=o(O)``,It=o.div``,At=o.div`
255
255
  display: flex;
256
256
  gap: ${i.sp3};
257
257
  align-items: center;
258
- `,Ft=l(Be)`
258
+ `,Ft=o(Be)`
259
259
  width: ${i.sp3};
260
260
  height: ${i.sp3};
261
- `,Vt=l(Pe)`
261
+ `,Vt=o(Re)`
262
262
  width: ${i.sp3};
263
263
  height: ${i.sp3};
264
- `,J=l(L)`
264
+ `,J=o(O)`
265
265
  flex-grow: 1;
266
266
  word-break: break-word;
267
267
  white-space: nowrap;
@@ -277,23 +277,23 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
277
277
  display: ${e=>e.isLastItem===!0?"flex":"inline-block"};
278
278
  margin-right: ${e=>e.isLastItem===!0?0:i.sp4};
279
279
  padding-right: ${i.sp0};
280
- `,ge={scheduleDetailsWrapperContainerMarginTop:new b(h[3],h[3]),paddingRight:new b(h[4],0)},ei=({sectionId:e,totalAmount:o,isDisabled:s,hideMemoField:r,listFetchState:p,scheduleJournalEntries:n,localData:d,uiState:c,onEditAmount:w,onJELinkClick:f,onViewLinkedJE:u,jeScheduleId:m})=>{const x=A(),S=p==="Not-Started"||p==="In-Progress"&&n.length===0,v=p==="Completed"&&d.length===0,y=R.getLocalizedStrings().jeSchedules.scheduleDetails.sequenceSchedule;return t.jsxs(_t,{windowSize:x,children:[t.jsx(qt,{windowSize:x,children:y.header}),S?t.jsx(we,{}):v?t.jsx(Yt,{windowSize:x,children:t.jsx(be,{text:y.notCreated})}):t.jsx(Rt,{children:t.jsx(Tt,{isDisabled:s,sectionId:e,hideMemoField:r,totalAmount:o,uiState:c,scheduleJournalEntries:n,localData:d,onEditAmount:w,onJELinkClick:f,onViewLinkedJE:u,jeScheduleId:m})})]})},Tt=({sectionId:e,totalAmount:o,isDisabled:s,hideMemoField:r,scheduleJournalEntries:p,localData:n,uiState:d,jeScheduleId:c,onEditAmount:w,onJELinkClick:f,onViewLinkedJE:u})=>{const m=C.useRef(null),x=A(),S=g=>K,v=n.length*K+De;C.useEffect(()=>{m.current?.resetAfterIndex(0)},[p]);const y=(g,a,$)=>{if(g===a.length-1)return!1;if($?.jeScheduleId==null)return!0;const q=G(),E=G().startOf("month"),te=G().endOf("month");if(a[g].postingDate!=null){if(a[g].postingDate.month()===q.month()&&a[g].postingDate.isBetween(E,te)===!0)return(a[g].postingStatus==="pending"||a[g].postingStatus==="canceled")&&n[g].runningBalance.amount!==0;if(a[g].postingDate.isBefore(E)===!0)return!1;if(a[g].postingDate.isAfter(te)===!0&&g!==0&&n[g-1].postingStatus==="posted"&&n[g-1].runningBalance.amount!==0)return!0}return!1},k=g=>{const a=o<0;if(g===0)return{min:a?o:0,max:a?0:o};{const $=n[g-1].runningBalance.amount;return{min:a?$:0,max:a?0:$}}};return t.jsx(Bt,{windowSize:x,containerHeight:v,children:t.jsx(Ce,{children:({height:g,width:a})=>t.jsxs(Wt,{style:{height:g,width:a},children:[t.jsx(Pt,{children:t.jsx(Me,{hideMemo:r})}),t.jsx(ze,{height:g,itemCount:n.length,itemSize:S,itemData:{sectionId:e,scheduleJournalEntries:p,localData:n,onEditAmount:w,onJELinkClick:f,uiState:d,windowSize:x,isDisabled:s,isAmountEditable:y,hideMemoField:r,getMinMaxValuesForAmount:k,onViewLinkedJE:u,jeScheduleId:c},width:a,ref:m,overscanCount:Le,initialScrollOffset:0,children:Jt})]})})})},Jt=({index:e,data:o})=>{const{sectionId:s,scheduleJournalEntries:r,localData:p,onJELinkClick:n,windowSize:d,isDisabled:c,hideMemoField:w,isAmountEditable:f,getMinMaxValuesForAmount:u,onViewLinkedJE:m,jeScheduleId:x}=o;return t.jsx(Nt,{windowSize:d,children:t.jsx(Dt,{rowId:e,isDisabled:c,isAmountEditable:f(e,p,r[e]),hideMemoField:w,minMaxValuesForAmount:u(e),sectionId:`${s}.${e}`,scheduleJournalEntry:r[e],localData:p[e],onJELinkClick:n,onViewLinkedJE:m})},x+e)},Bt=l.div`
280
+ `,ge={scheduleDetailsWrapperContainerMarginTop:new b(h[3],h[3]),paddingRight:new b(h[4],0)},ei=({sectionId:e,totalAmount:l,isDisabled:s,hideMemoField:r,listFetchState:p,scheduleJournalEntries:n,localData:d,uiState:c,onEditAmount:w,onJELinkClick:f,onViewLinkedJE:u,jeScheduleId:m})=>{const x=A(),S=p==="Not-Started"||p==="In-Progress"&&n.length===0,v=p==="Completed"&&d.length===0,y=P.getLocalizedStrings().jeSchedules.scheduleDetails.sequenceSchedule;return t.jsxs(_t,{windowSize:x,children:[t.jsx(Ht,{windowSize:x,children:y.header}),S?t.jsx(we,{}):v?t.jsx(qt,{windowSize:x,children:t.jsx(be,{text:y.notCreated})}):t.jsx(Pt,{children:t.jsx(Tt,{isDisabled:s,sectionId:e,hideMemoField:r,totalAmount:l,uiState:c,scheduleJournalEntries:n,localData:d,onEditAmount:w,onJELinkClick:f,onViewLinkedJE:u,jeScheduleId:m})})]})},Tt=({sectionId:e,totalAmount:l,isDisabled:s,hideMemoField:r,scheduleJournalEntries:p,localData:n,uiState:d,jeScheduleId:c,onEditAmount:w,onJELinkClick:f,onViewLinkedJE:u})=>{const m=C.useRef(null),x=A(),S=g=>K,v=n.length*K+De;C.useEffect(()=>{m.current?.resetAfterIndex(0)},[p]);const y=(g,a,$)=>{if(g===a.length-1)return!1;if($?.jeScheduleId==null)return!0;const H=G(),E=G().startOf("month"),te=G().endOf("month");if(a[g].postingDate!=null){if(a[g].postingDate.month()===H.month()&&a[g].postingDate.isBetween(E,te)===!0)return(a[g].postingStatus==="pending"||a[g].postingStatus==="canceled")&&n[g].runningBalance.amount!==0;if(a[g].postingDate.isBefore(E)===!0)return!1;if(a[g].postingDate.isAfter(te)===!0&&g!==0&&n[g-1].postingStatus==="posted"&&n[g-1].runningBalance.amount!==0)return!0}return!1},k=g=>{const a=l<0;if(g===0)return{min:a?l:0,max:a?0:l};{const $=n[g-1].runningBalance.amount;return{min:a?$:0,max:a?0:$}}};return t.jsx(Bt,{windowSize:x,containerHeight:v,children:t.jsx(Ce,{children:({height:g,width:a})=>t.jsxs(Wt,{style:{height:g,width:a},children:[t.jsx(Rt,{children:t.jsx(Me,{hideMemo:r})}),t.jsx(ze,{height:g,itemCount:n.length,itemSize:S,itemData:{sectionId:e,scheduleJournalEntries:p,localData:n,onEditAmount:w,onJELinkClick:f,uiState:d,windowSize:x,isDisabled:s,isAmountEditable:y,hideMemoField:r,getMinMaxValuesForAmount:k,onViewLinkedJE:u,jeScheduleId:c},width:a,ref:m,overscanCount:Oe,initialScrollOffset:0,children:Jt})]})})})},Jt=({index:e,data:l})=>{const{sectionId:s,scheduleJournalEntries:r,localData:p,onJELinkClick:n,windowSize:d,isDisabled:c,hideMemoField:w,isAmountEditable:f,getMinMaxValuesForAmount:u,onViewLinkedJE:m,jeScheduleId:x}=l;return t.jsx(Nt,{windowSize:d,children:t.jsx(Dt,{rowId:e,isDisabled:c,isAmountEditable:f(e,p,r[e]),hideMemoField:w,minMaxValuesForAmount:u(e),sectionId:`${s}.${e}`,scheduleJournalEntry:r[e],localData:p[e],onJELinkClick:n,onViewLinkedJE:m})},x+e)},Bt=o.div`
281
281
  height: ${e=>e.containerHeight}px;
282
282
  width: 100%;
283
283
  margin-right: ${i.sp8};
284
- `,Pt=l.div`
284
+ `,Rt=o.div`
285
285
  width: auto;
286
- `,Rt=l.div`
286
+ `,Pt=o.div`
287
287
  display: flex;
288
288
  flex-direction: column;
289
- `,Nt=l.div`
289
+ `,Nt=o.div`
290
290
  top: ${i.sp0};
291
291
  left: ${i.sp0};
292
292
  padding-bottom: ${i.sp3};
293
293
  box-sizing: border-box;
294
294
  width: 100%;
295
295
  padding: ${e=>`${i.sp0} ${ge.paddingRight.valuePx(e.windowSize)} ${i.sp0} ${i.sp0}`};
296
- `,Wt=l.div``,_t=l.div`
296
+ `,Wt=o.div``,_t=o.div`
297
297
  display: flex;
298
298
  min-height: 100%;
299
299
  flex-direction: column;
@@ -311,14 +311,14 @@ import{J as A,g as X,V as t,iw as ie,ix as oe,a as le,iy as xe,dP as fe,ff as ye
311
311
  margin-bottom: ${i.sp8};
312
312
  padding: ${i.sp0} ${i.sp4} ${i.sp4} ${i.sp4};
313
313
  background-color: ${e=>e.theme.colors.grey5};
314
- `,Yt=l.div`
314
+ `,qt=o.div`
315
315
  display: flex;
316
316
  height: 100%;
317
317
  flex-direction: column;
318
318
  width: 100%;
319
319
  margin-top: ${e=>ge.scheduleDetailsWrapperContainerMarginTop.valuePx(e.windowSize)};
320
- `,qt=l.div`
320
+ `,Ht=o.div`
321
321
  color: ${e=>e.theme.colors.hero};
322
322
  margin: ${i.sp3} ${i.sp0};
323
323
  ${I.standardRegular.css};
324
- `;export{Zt as i,Xt as n,Qt as o,ei as r};
324
+ `;export{Qt as i,Zt as n,Xt as o,ei as r};
@@ -1,4 +1,4 @@
1
- import{DU as Xf,DV as Lt,DW as Qf,iN as ot,hv as ql,iP as Ye,hs as eh,hz as Ll,DX as Pa,hB as th,hC as rh,DY as Gt,DZ as kt,h0 as nh,D_ as xr,D$ as ta,cO as ih,f2 as ra,e$ as Ir,f7 as rt,f5 as oh,E0 as kl,E1 as Nl,hQ as ah,hN as sh,E2 as uh,h$ as ch,hW as ja,hT as lh,hI as fh,E3 as hh,dJ as dh,cU as ph,i$ as Dl,E4 as mh,bL as Tr,hF as xa,hK as gh,oL as Ml,iO as qr,E5 as Ne,ib as na,E6 as yh,j5 as vh,B as Re,E7 as ia,E8 as bh,gZ as wh,E9 as Eh,Ea as Fl,Eb as Sh,nj as qa,mQ as _h,Ec as Rh,mW as Zr,Ed as Oh,mY as Th,Ee as Ze,mN as Ih,cB as Ah,iS as Ul,iT as Bl,iR as oa,iQ as aa,iU as Ch,Ef as Ph,nm as jh,Eg as xh,n3 as qh,ng as Lh,Eh as kh,n7 as Nh,Ei as Dh,Ej as _t,Ek as sa,El as Mh,Em as Fh,lQ as Uh,lW as $l,En as Vl,gu as Bh,C_ as Gl,Eo as $h,CU as Vh,Ep as Gh,Eq as zh,lZ as Hh,Er as Zh,D3 as Wh,CT as Yh,qg as zl,Es as Wr,Et as Hl,A6 as ua,zU as Jh,A9 as Zl,zX as Kh,Eu as Xh,A0 as Qh,zO as ed,zR as td,Ev as rd,Ad as nd,A3 as id,c4 as od,bd as ad,Ew as sd,Ex as ft,Ey as ud,Ez as cd,EA as ld,i3 as Ko,ba as fd}from"./zeni-epic-state-pmiItBju.js";import{j as N}from"./liveblocks-DXNKZvWw.js";import{a as Y,p as X,d as Wl,c as Yl,g as hd}from"./sentry-Dlcq8VjX.js";import{C as dd,g as dt,J as Lr,h as pe,z as be,D as pd,W as md,y as Pe,i as kr,j as gd,E as Je,F as Nt,k as pt,m as at,T as Nr,o as tt,X as yd,t as vd,P as nt,n as ca,q as it,Z as bd,Y as wd,u as Yr,I as Ed,s as Jl,v as Sd,w as Kl,A as Xl,G as Xo,H as _d,L as Rd,K as Od,N as Ql,O as Td,Q as Id,R as Ad,S as Cd,U as Pd,_ as jd,$ as xd,a0 as qd,a1 as Ld,a2 as kd,a3 as Nd,a4 as Dd,a5 as Md}from"./index-D-WiwijD.js";import{f as Fd}from"./analyticsHelper-CoCMocx4.js";import{n as ef,i as me,m as Ee,o as je,g as re,h as ge,N as Pt,R as Ve,k as se,u as la,j as Qo}from"./core-CqdPXR9B.js";import{D as Dr,n as Te,S as mt}from"./mui-CooLgaJO.js";import{a as ve,b as Ud,c as Bd,d as $d,e as fa,f as Vd,g as Gd,h as zd,i as gt,j as Hd,k as xt,l as Mr,m as Zd,n as Dt,o as Wd}from"./utils-CXbV7y1T.js";import{r as ha}from"./empty-DTh_Ij2M.js";import{r as Yd,a as Jd,b as Kd,c as Xd}from"./constants-D-PeI_mM.js";import{r as Mt,a as Qd}from"./index-Bs6vtzGR.js";import{r as ep}from"./index-DeNk0spl.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./url-d3WjAGv6.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]="2eec33e8-31ce-46b8-aa93-846f51dcbfdd",e._sentryDebugIdIdentifier="sentry-dbid-2eec33e8-31ce-46b8-aa93-846f51dcbfdd")}catch{}})();const st=()=>{const[e,n]=ef(),[a,o]=Y.useState(),i=Y.useRef(!1);return Y.useEffect(()=>{if(i.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=dd(e);r!=null&&o(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),i.current=!0},[e,n]),a},tp={overlayWidth:new Pe(100,100,50)},{common:{strings:La}}=Nt.getLocalizedStrings();function rp(e,n){return{headerActions:{onTabChange:a=>{const o=at(a),i=pt(a);pe.trackCockpitTabClicked(i),n.navigate(`../../${o}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,o)=>{e(Gt({uiState:{filterText:o}}))},onFiltersChange:(a,o)=>{o.categories!=null&&o.categoryCombinationOperator!=null&&pe.trackHealthMonitorFiltersApplied({filterSelection:{condition:o.categories.map(i=>i.matchingOperator).join(La.comma),logic:o.categoryCombinationOperator,parameter:o.categories.map(i=>i.field).join(La.comma)}}),e(Gt({uiState:{filters:o}}))}}},healthPageActions:{onRowClick:a=>{e(Ll(a))},onColumnSortConfigChanged:(a,o)=>{e(Gt({uiState:{sortKey:a,sortOrder:o}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(ql())},onFiltersChange:a=>{e(Gt({uiState:{filters:a}}))}}}}function np(e,n){return{headerData:{selectedTabOption:Je("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const ip=ge(np,rp)(gd);function Jr({isDrawerOpen:e}){const n=me(),a=Ee(),o=dt(),i=Lr(),{companyId:t}=je(),[r,s]=ef(),[d,c]=Y.useState(!1),h=st(),f=re(m=>Xf(m)),l=re(m=>Lt(m)),{additionalChurnFactors:b}=re(m=>Qf(m)),{selectedCompanyDetail:p,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=f,u=re(m=>m.companyViewState.zeniUsers.fetchState),v=re(m=>m.companyHealthMetricConfigViewState);if(Y.useEffect(()=>{const m=E=>E==="Not-Started"||E==="Error";f.fetchState==="Completed"?a(ot(!1)):m(f.fetchState)&&(a(ql()),m(u)&&a(Ye()),m(v.fetchState)&&a(eh()))},[f.fetchState,v.fetchState]),Y.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(Ll(t)),p!=null&&(pe.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:p.companyInfo.companyId,companyName:p.companyInfo.name,churnProbability:p.companyHealthMetric.churnProbabilityPercentage??null}),c(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,p?.companyInfo.companyId,p?.companyInfo.name]),be.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return N.jsxs(N.Fragment,{children:[e===!0||y!=null&&p!=null?N.jsx(Dr,{anchor:"right",open:y!=null,PaperProps:{style:{width:tp.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(Pa()),children:N.jsx(pd,{roomId:`cockpit_${y}`,autoConnect:!0,children:N.jsx(md,{onSaveClick:()=>{y!=null&&a(rh(y))},onSaveChangesToLocalStore:m=>{f.selectedCompanyId!=null&&a(th({companyId:f.selectedCompanyId,updatedLocalData:m}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>a(Pa()),analytics:pe,urlSource:d,additionalChurnFactorsOptions:b})})}):null,N.jsx(ip,{initialOpenThreadRequest:h??void 0,healthView:f,managementView:l,navigate:n,mixpanelHMUrl:kr.mixpanelHMUrl})]})}const tf=(e,n)=>{const a=[...e??[]];return a.push(n),a},op=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},ap=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},le=({state:e,element:n})=>be.isSignedIn()===!0?N.jsx(N.Fragment,{children:n}):N.jsx(Pt,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function sp(){return N.jsxs(Ve,{children:[N.jsx(se,{path:"/companies/:companyId",element:N.jsx(le,{element:N.jsx(Jr,{isDrawerOpen:!0})})}),N.jsx(se,{path:"/",element:N.jsx(le,{element:N.jsx(Jr,{})})}),N.jsx(se,{path:"/*",element:N.jsx(le,{element:N.jsx(Jr,{})})})]})}const up={drawerLeftMargin:new Pe(0,0,240)};function Ft(e){const{isOpen:n,drawerLeftMargin:a,children:o,onClose:i}=e,t=Lr(),r=a?.valuePx(t)??up.drawerLeftMargin.valuePx(t),s=dt();return N.jsx(Dr,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:i,children:o})}const cp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?N.jsx(lp,{children:N.jsx(Nr,{size:"ExtraLarge",start:!0})}):null,lp=Te.div`
1
+ import{DY as Xf,DZ as Lt,D_ as Qf,iN as ot,hv as ql,iP as Ye,hs as eh,hz as Ll,D$ as Pa,hB as th,hC as rh,E0 as Gt,E1 as kt,h0 as nh,E2 as xr,E3 as ta,cO as ih,f2 as ra,e$ as Ir,f7 as rt,f5 as oh,E4 as kl,E5 as Nl,hQ as ah,hN as sh,E6 as uh,h$ as ch,hW as ja,hT as lh,hI as fh,E7 as hh,dJ as dh,cU as ph,i$ as Dl,E8 as mh,bL as Tr,hF as xa,hK as gh,oL as Ml,iO as qr,E9 as Ne,ib as na,Ea as yh,j5 as vh,B as Re,Eb as ia,Ec as bh,gZ as wh,Ed as Eh,Ee as Fl,Ef as Sh,nj as qa,mQ as _h,Eg as Rh,mW as Zr,Eh as Oh,mY as Th,Ei as Ze,mN as Ih,cB as Ah,iS as Ul,iT as Bl,iR as oa,iQ as aa,iU as Ch,Ej as Ph,nm as jh,Ek as xh,n3 as qh,ng as Lh,El as kh,n7 as Nh,Em as Dh,En as _t,Eo as sa,Ep as Mh,Eq as Fh,lQ as Uh,lW as $l,Er as Vl,gu as Bh,D2 as Gl,Es as $h,CY as Vh,Et as Gh,Eu as zh,lZ as Hh,Ev as Zh,D7 as Wh,CX as Yh,qg as zl,Ew as Wr,Ex as Hl,A6 as ua,zU as Jh,A9 as Zl,zX as Kh,Ey as Xh,A0 as Qh,zO as ed,zR as td,Ez as rd,Ad as nd,A3 as id,c4 as od,bd as ad,EA as sd,EB as ft,EC as ud,ED as cd,EE as ld,i3 as Ko,ba as fd}from"./zeni-epic-state-Bk1TvHP-.js";import{j as N}from"./liveblocks-BRWAYUb6.js";import{a as Y,p as X,d as Wl,c as Yl,g as hd}from"./sentry-D0RHYOS9.js";import{I as dd,d as dt,J as Lr,e as pe,z as be,f as pd,W as md,y as Pe,g as kr,i as gd,E as Je,F as Nt,j as pt,k as at,T as Nr,o as tt,X as yd,m as vd,n as nt,q as ca,P as it,Z as bd,s as wd,u as Yr,t as Ed,v as Jl,w as Sd,A as Kl,U as Xl,C as Xo,D as _d,N as Rd,H as Od,G as Ql,K as Td,L as Id,M as Ad,Q as Cd,S as Pd,_ as jd,$ as xd,a0 as qd,a1 as Ld,a2 as kd,a3 as Nd,a4 as Dd,a5 as Md}from"./index-Kp9YkIA7.js";import{f as Fd}from"./analyticsHelper-CYVcHgk4.js";import{n as ef,i as me,m as Ee,o as je,g as re,h as ge,N as Pt,R as Ve,k as se,u as la,j as Qo}from"./core-C99WDMlL.js";import{D as Dr,n as Te,S as mt}from"./mui-NI7j5KJX.js";import{a as ve,b as Ud,c as Bd,d as $d,e as fa,f as Vd,g as Gd,h as zd,i as gt,j as Hd,k as xt,l as Mr,m as Zd,n as Dt,o as Wd}from"./utils-z9KEKf_W.js";import{r as ha}from"./empty-Dxj4kD7e.js";import{r as Yd,a as Jd,b as Kd,c as Xd}from"./constants-B0jEPb-7.js";import{r as Mt,a as Qd}from"./index-BaUtwdgr.js";import{r as ep}from"./index-B3gry9uw.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./url-CC9EPZhq.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]="61f4a1e5-04d0-49af-919f-10d9440b94f0",e._sentryDebugIdIdentifier="sentry-dbid-61f4a1e5-04d0-49af-919f-10d9440b94f0")}catch{}})();const st=()=>{const[e,n]=ef(),[a,o]=Y.useState(),i=Y.useRef(!1);return Y.useEffect(()=>{if(i.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=dd(e);r!=null&&o(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),i.current=!0},[e,n]),a},tp={overlayWidth:new Pe(100,100,50)},{common:{strings:La}}=Nt.getLocalizedStrings();function rp(e,n){return{headerActions:{onTabChange:a=>{const o=at(a),i=pt(a);pe.trackCockpitTabClicked(i),n.navigate(`../../${o}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,o)=>{e(Gt({uiState:{filterText:o}}))},onFiltersChange:(a,o)=>{o.categories!=null&&o.categoryCombinationOperator!=null&&pe.trackHealthMonitorFiltersApplied({filterSelection:{condition:o.categories.map(i=>i.matchingOperator).join(La.comma),logic:o.categoryCombinationOperator,parameter:o.categories.map(i=>i.field).join(La.comma)}}),e(Gt({uiState:{filters:o}}))}}},healthPageActions:{onRowClick:a=>{e(Ll(a))},onColumnSortConfigChanged:(a,o)=>{e(Gt({uiState:{sortKey:a,sortOrder:o}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(ql())},onFiltersChange:a=>{e(Gt({uiState:{filters:a}}))}}}}function np(e,n){return{headerData:{selectedTabOption:Je("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const ip=ge(np,rp)(gd);function Jr({isDrawerOpen:e}){const n=me(),a=Ee(),o=dt(),i=Lr(),{companyId:t}=je(),[r,s]=ef(),[d,c]=Y.useState(!1),h=st(),f=re(m=>Xf(m)),l=re(m=>Lt(m)),{additionalChurnFactors:b}=re(m=>Qf(m)),{selectedCompanyDetail:p,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=f,u=re(m=>m.companyViewState.zeniUsers.fetchState),v=re(m=>m.companyHealthMetricConfigViewState);if(Y.useEffect(()=>{const m=E=>E==="Not-Started"||E==="Error";f.fetchState==="Completed"?a(ot(!1)):m(f.fetchState)&&(a(ql()),m(u)&&a(Ye()),m(v.fetchState)&&a(eh()))},[f.fetchState,v.fetchState]),Y.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(Ll(t)),p!=null&&(pe.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:p.companyInfo.companyId,companyName:p.companyInfo.name,churnProbability:p.companyHealthMetric.churnProbabilityPercentage??null}),c(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,p?.companyInfo.companyId,p?.companyInfo.name]),be.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return N.jsxs(N.Fragment,{children:[e===!0||y!=null&&p!=null?N.jsx(Dr,{anchor:"right",open:y!=null,PaperProps:{style:{width:tp.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(Pa()),children:N.jsx(pd,{roomId:`cockpit_${y}`,autoConnect:!0,children:N.jsx(md,{onSaveClick:()=>{y!=null&&a(rh(y))},onSaveChangesToLocalStore:m=>{f.selectedCompanyId!=null&&a(th({companyId:f.selectedCompanyId,updatedLocalData:m}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>a(Pa()),analytics:pe,urlSource:d,additionalChurnFactorsOptions:b})})}):null,N.jsx(ip,{initialOpenThreadRequest:h??void 0,healthView:f,managementView:l,navigate:n,mixpanelHMUrl:kr.mixpanelHMUrl})]})}const tf=(e,n)=>{const a=[...e??[]];return a.push(n),a},op=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},ap=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},le=({state:e,element:n})=>be.isSignedIn()===!0?N.jsx(N.Fragment,{children:n}):N.jsx(Pt,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function sp(){return N.jsxs(Ve,{children:[N.jsx(se,{path:"/companies/:companyId",element:N.jsx(le,{element:N.jsx(Jr,{isDrawerOpen:!0})})}),N.jsx(se,{path:"/",element:N.jsx(le,{element:N.jsx(Jr,{})})}),N.jsx(se,{path:"/*",element:N.jsx(le,{element:N.jsx(Jr,{})})})]})}const up={drawerLeftMargin:new Pe(0,0,240)};function Ft(e){const{isOpen:n,drawerLeftMargin:a,children:o,onClose:i}=e,t=Lr(),r=a?.valuePx(t)??up.drawerLeftMargin.valuePx(t),s=dt();return N.jsx(Dr,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:i,children:o})}const cp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?N.jsx(lp,{children:N.jsx(Nr,{size:"ExtraLarge",start:!0})}):null,lp=Te.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;