@zeniai/web-cockpit-ui 1.14.92-qa → 1.14.93-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.
- package/dist/assets/{ACHDetailsPage-B6sY0jN6-N3NijvTk.js → ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js} +1 -1
- package/dist/assets/{AIPerformancePage-BWK9fXrz-B46uJ0El.js → AIPerformancePage-Bll3cTy1-gL3wACpX.js} +1 -1
- package/dist/assets/AccountInfoPage-D2IedGAy-DpkY7tZI.js +18 -0
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-N_K5j-5L.js → AccountInfoPageContent-9wbA8niq-Bqglb0N2.js} +10 -10
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-V1SEL3Qw.js → AccountLockedInfoModal-CLvVkdLW-bPK5I-r7.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-DZ5koKQf.js → AccountReconDetailsDrawerPage-BXa1TZA0-CJ_GlXhF.js} +1 -1
- package/dist/assets/{AccountRow-BM2kGWyR-DQ8Rvnec.js → AccountRow-Ba39SxP8-8PYcW3Va.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-BDG6T0ii.js → AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BuAtFO1w-BKpEIMZg.js → AddAddressForCardDrawer-nEnaGKnm-DN6yVFPQ.js} +1 -1
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-ChwqMR_w.js → AddToWalletPage-CQYHG0Yj-CP1osDBN.js} +1 -1
- package/dist/assets/{AgingReportsPage-CmluxKG3-DNRV6c6-.js → AgingReportsPage-BWCU11pF-MZUqlZXC.js} +3 -3
- package/dist/assets/{AllUserItems-CVZZU-J3-DjzFcOA-.js → AllUserItems-DPxoQeZA-Fd0FWod6.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-CIfrHyiI.js → ApAgingDetailPage-cslGsO08-CvebivaV.js} +4 -4
- package/dist/assets/{AppBasePage-CTGNzUtN-BxUgxZY1.js → AppBasePage-BZINcjPW-DJOgvT_q.js} +1 -1
- package/dist/assets/{AppDrawerContent-59dQVUxu-Bk_swqDi.js → AppDrawerContent-V7jCH_90-Ck_yeGZ4.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BK59UBGX.js → ApprovalRulesSettingsPage-BC6CLesU-BKNNkRpO.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-BPogMxt4.js → ArAgingChart-C7VtW0AI-Co8wpWo7.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DnXOhqdM.js → ArAgingDetailPage-Bttq4jQR-BeQILYq-.js} +5 -5
- package/dist/assets/{AttachmentView-DSP80cjm-NHnh6Mdu.js → AttachmentView-BijZrB02-BJhcTpzV.js} +1 -1
- package/dist/assets/{BankAccountSection-DRrNcA79-CMDsEq6F.js → BankAccountSection-De0m3zrf-DJo0ErGm.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-7pAzeIus.js → BankAccountWarningSection-DoqOr9h0-CysUjzfB.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-BNbLLF3r.js → BankConnectionsSettingsPage-BaySatUW-BFaS82zx.js} +1 -1
- package/dist/assets/{BillDetailPage-D7AQyxwr-CyadkftM.js → BillDetailPage-Bg_3myu0-BcOsOHp0.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OOGXr03N.js → BillPayApprovalRuleDetailPage-B7z1PKq6-D3qc7XQa.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-j1N_aljZ.js → BillPayApprovalRulesPage-Cj55NkSk-CVNQ2WUg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-BsBV0DcZ.js → BillPayPromoPage-SUtLQemf-YRwlMQqq.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-DsATmWij.js → BillPaySetUpPage-BbIjaE2K-BvM1AO08.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-BIkuGZHo.js → BillingSettingsPage-Bmd6ET1I-D1Hos3cN.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-B2Yv3rwx.js → BillsBulkReviewDrawerPage-CYSMvAbC-CCvMSRtJ.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-Bmh7HRZ0.js → BoxItem-B8HVRhgE-Bev68PFI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2--QW88Q_P.js → BusinessVerificationPage-Cn1b1hk4-CAZR1TOe.js} +1 -1
- package/dist/assets/{CardNumberSubText-BYY-Inxd-CSceDgF3.js → CardNumberSubText-BcJnpRxI-D1zdlj5r.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-DPXvQZAq.js → CashbackDetailPage-BkIotpWn-DxPDsNjO.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-AUN78atw.js → ChargeCardDetailPage-kKKhppzB-DtYb-jra.js} +21 -21
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-DQocCvnr.js → ChargeCardListPage-CP778-GK-CTP7-db-.js} +1 -1
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-KVV8IBYB.js → ChargeCardListTable-DBryLHST-Ce2gmrfZ.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-CNDMyI7K.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Ds7fCLxo.js → ChargeCardSetupPage-m8dUXi38-BJz_Xnlk.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-Bnp4sCU-.js → ChargeCardStatementsPage-Dq5NpUXk-Bke0Yjm9.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-CozIPmiJ.js → CheckDepositDrawerPage-BJQ2GSoP-CvcGnuco.js} +1 -1
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-KGnZDH4R.js → CollapsableReportTable-l16Ixpgb-BS0sBPj9.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-DrGlDAaW.js → CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-DGHVZCpU.js → CompanyPassportCard-DUwjb7jY-D94p2vYM.js} +4 -4
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-DNPtIA1F.js → CompanyPassportPage-mQ_Le1I1-BsfzlRNE.js} +13 -13
- package/dist/assets/{CompleteProfile-BgH4v76Z-HQhF1Tnv.js → CompleteProfile-CesiGAex-BxV2T4kD.js} +1 -1
- package/dist/assets/{ConfettiBurst-Cl6jHJ8H-BB3Ewauq.js → ConfettiBurst-CXF_94LB-B61erBlR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-CxvgfQ3K.js → CreateOrEditVendorPage-BMVOhEEP-okcAo0FU.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-BfZHC7sf.js → CreditCardPaymentDrawerPage-Cl4vJBjO-BN2fXeeY.js} +1 -1
- package/dist/assets/{CurrencySelectField-DOCEstMc-4lvoNI5d.js → CurrencySelectField-CvnrYpdi-Bx3ura4E.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-DkUUUgp5.js → CustomerOnboardingActivationPage-CmengYgm-DwWvQDwP.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-K1SzPxIX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-ClJXJPQ8.js → CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-DY1xcrcE.js → CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-DGpejEDj.js → CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-lNIP5gSu-BpAiXbOh.js → CustomerOnboardingProductSuitePage-DLJg9lqc-B7ctGtPH.js} +1 -1
- package/dist/assets/{Dashboard-WiE9IRrh-BRbsM9pb.js → Dashboard-DUBT_4AU-BQQLhc7F.js} +1 -1
- package/dist/assets/{DashboardReportPage-BKHl_IVD-DTdIqAWm.js → DashboardReportPage-cTPn6w4q-BsaoYjkr.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B1mJObim-BJFLo9e1.js → DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-CUI-XvYn.js → DepositAccTransactionItem-BJ6rNbQF-DcQ3w2ay.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-B6px7upV-CAKSUpuQ.js → DepositAccTransactionListPage-BXu7yVC4-BqrqxoR4.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BFQJmzYm-Cvg6PoJI.js → DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js} +1 -1
- package/dist/assets/{DownloadOverlay-DB-qx46O-DRYhMrBp.js → DownloadOverlay-BF8Uzj65-BjVIvIOE.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-C9kSY38Y.js → DrawerPage-4QqiD5ag-BNPe32xq.js} +1 -1
- package/dist/assets/{EditPeoplePage-B6QD5Vld-CXWYhfJI.js → EditPeoplePage-BFROUzlu-DwFofRms.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-BmU_dNnN.js → EditReimbursementDetailPage-Bz32u6U5-D6GoDZH_.js} +1 -1
- package/dist/assets/EntityDetailPage-BnG_PBK5-88aNTDFS.js +18 -0
- package/dist/assets/{EntitySummarySection-D6z6-dM7-vFKpzYQr.js → EntitySummarySection-0nKZeBKn-BkqQH4-k.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-CzYr7CT4.js → ExpenseAutomationOverviewPage-Dvyn5ovf-DA904IZ7.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-Wa84iqJd.js → ExpenseAutomationPage-DPmIOATd-E0cwlhE5.js} +40 -40
- package/dist/assets/{ExpressPayPage-DWGl_gml-CRw3YebY.js → ExpressPayPage-DGTh3qGM-CBuhnCa1.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CLV_zrhe.js → FeaturePreviewPage-CHUVkqak-Bv1bUX1B.js} +1 -1
- package/dist/assets/{FollowStepsSection-64oy2OLD-D5wds5zX.js → FollowStepsSection-C_pWSlPc-DWF54WG6.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-DrMGniw6.js → GlobalReviewListPage-BjPOnObQ-CbXiHvNN.js} +1 -1
- package/dist/assets/{InformationCardStack-Dw3lhl2I-ClHKBDYE.js → InformationCardStack-DvFu-gjh-DGBl4kd-.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-C2XN504y.js → InsightsCardStack-CR3wSnhE-CCTCkrt4.js} +6 -6
- package/dist/assets/{InsightsSection-DvqCilqy-BqRQFw_O.js → InsightsSection-DCFjudcA-7O17fZbk.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-BEtTe2lB.js → IntegrationsSettingsPage-DpPc99qg-BuRPrwyt.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-Uu1Wdthf.js → InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-gNDPMl13.js → InternationalWireVerificationPage-uh0GqYQA-9ZEgxwG_.js} +5 -5
- package/dist/assets/{InviteFormPage-CaJB3ss1-Dj_gKJs9.js → InviteFormPage-5xqk5ISe-Bbb5YAD8.js} +1 -1
- package/dist/assets/{InvitePageListView-8Ltt8tHx-DYbENij5.js → InvitePageListView-CpmTnQLj-CTufHHPe.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-C5bAVAcX.js → InvitePeoplePage-BeCWfFpI-DBINJPSA.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DomquLut-CTyd6fPs.js → InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-BLXlwWiG.js → IssueChargeCardPage-Bomvo_PH-CiqvhZJZ.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-B95nYnAc.js → LabeledAddressValue-b4zlBP-g-DPs_zAUA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-LVQIjlS2.js → LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CeMM7Ci3-Clti8s6a.js → LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-rzHX0Cjw.js → LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-CjVSpNoY.js → LabeledDocumentField-dtnakMLl-DM4CLrZI.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-DIS19Wrm.js → LabeledDropDownFormattedTextField-DDtxGo1u-9ainO5Wl.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-Cc0biyMh.js → LabeledText-CUs3VIof-3boaO8Y1.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-B4usNbPq.js → LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BGB3Jdty.js → LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-Dl5Jaq82.js → LinkJETransactionPage-DbP6jfzn-BtGeDf5_.js} +2 -2
- package/dist/assets/{LockCardPage-CjO8cr2a-C0ag-VRe.js → LockCardPage-CWEZyzEM-Bg4PM8JQ.js} +1 -1
- package/dist/assets/{LowBalancePopup-DVS-w3b7-C64DlvyA.js → LowBalancePopup-BQ9JPBTS-DRn4mn9-.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-BHd5xcLb.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-C4fzv92i.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B8pTw_O-.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-Cb7vsYv6.js → MagicLinkSuccessPage-DU1RM5NI-Wq9yOHXi.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-FMRBLlRJ-D1rSc1wL.js → MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CiJ5JLA6-CVbfqxKr.js → MailingDetailsSection-BT3SGHhD-Ctkbx47B.js} +5 -5
- package/dist/assets/{Menu-wpP8R1br-CDR69j-M.js → Menu-BTZYMOTT-CKMXXApd.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CT2Ewuup.js → MyBankConnectionsSettingsPage-DufaL9n8-M4dyrfVV.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-BFvuAnPu.js → MyPendingActivationChargeCardListPage-DwCUyRec-SM92wYsw.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-Cx8XMhhr.js → MyProfileSettingsPage-geduKqxy-CauaXJ2g.js} +1 -1
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-geTPzVGH.js → NavBarWithPicker-edkm8kW--DTJVRU93.js} +1 -1
- package/dist/assets/{NavigationArrow-BXYIj6Wz-DxylPz8_.js → NavigationArrow-DAOz2wst-CzpVYMv0.js} +1 -1
- package/dist/assets/{NavigationDots-BvKSgdgh-DnL6Qcxw.js → NavigationDots-Dm8SYcdL-CXSz5QAZ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-DJJCwQJu.js → NewGlobalMerchantPage-enaZFSVb-D5ALf38h.js} +1 -1
- package/dist/assets/{NoDataChart-C5ZP32zB-Do8u5LpV.js → NoDataChart-BIcLmdso-V1__FO4W.js} +1 -1
- package/dist/assets/{NoDataTable-BnBYE8p_-CJWClG-R.js → NoDataTable-C9ywvwy4-CbJRpj1w.js} +1 -1
- package/dist/assets/{NotFoundPage-CZ25GWwU-D5LCq84E.js → NotFoundPage-B0Pfc4vD-0nVsRFSV.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-CCcN1KXB.js → NotificationSettingsPage-Di4KhoPI-Zq8167Bo.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-BGRRXCpg.js → NotificationsListConfig-CHb7phwi-CuAMA5zK.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-B9yt_ti_.js → NotificationsPage-B4KMZZ0V-CdnEBa77.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D55JZne--B9z73Aaj.js → OpExByVendorPage-CAxLWg7x-CVAp3gyR.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-BlqK5Szj.js → OverlayContainerPage-Daz3A7cI-C0naTs3U.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-B3eSa_ac.js → PandLWithForecastPage-Dx56-ypM-CahTbCAI.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-c1f9nhzK.js → PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js} +1 -1
- package/dist/assets/{PeoplePage-QuuuX2AS-CP4Oiarf.js → PeoplePage-CjD6uKA--DQJyasjD.js} +1 -1
- package/dist/assets/{Preview-D_TLok3M.js → Preview-BXKaaVKN.js} +1 -1
- package/dist/assets/{ProductsCarousel-zdZkfaiY-BAVEH7n3.js → ProductsCarousel-DzOaqLVq-BtBP3iUE.js} +1 -1
- package/dist/assets/{PromoBaseCards-flFtcbIg-jrIM0QrX.js → PromoBaseCards-B1h9AEH0-CHWZv_Gb.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-BnuZQtJT.js → QBOConnectionDialog-Bv6unk3C-C69fuiCc.js} +1 -1
- package/dist/assets/{QBOSetupSection-B59etoGz-CvnIV44k.js → QBOSetupSection-BTjj7g98-CXsc6nTM.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-B3uF2PpS.js → ReimbursementApprovalRuleDetailPage-CHXo51lU-BT66bgjF.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CI_WNFN9.js → ReimbursementApprovalRulesPage-D7utb8vM-BSv0WO21.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-BYwReov9.js → ReimbursementDetailPage-DnXsG55s-DO7QVibn.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-BOhDSZIX.js → ReimbursementPromoPage-Di39wgvD-CwoSxp24.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--CnJCcZRF.js → ReimbursementSetUpPage-CT5bs4wM-CImglJgz.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CAzDstkl.js → ReimbursementsBulkReviewDrawerPage-BcB8hTar-D2swNEDZ.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-CgzPEC_D.js → ReloadCard-BGPtXAV7-D43T0ICm.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-D27pdQgl.js → ReportTableViewSelector-gEKTiiSk-DFp8GlM2.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-Co8P-rdS.js → ReportsPage-Ctvnzlk1-DLJ23fuU.js} +1 -1
- package/dist/assets/{RevenueChart-Cc0XrxLL-DRL5_7kK.js → RevenueChart-D1PfVLk0-DHVFjjTE.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR-IcGqiZda.js → ReviewDetailsPage-Ynw6pln--BjtdFL4i.js} +52 -52
- package/dist/assets/{ReviewOverlay-CruJ9O84-CthGk06w.js → ReviewOverlay-DQZwNpFY-DMkxDhbs.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-BDZeG5VC.js → RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-DcGdGX8N.js → ScheduleDetailsFixedAssetsPage-DlqQBt-s-drLmv8lF.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-s9CD1J6-.js → ScheduleDetailsPage-CrVetPy7-CWE6_gjF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-C3Jz7484.js → ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js} +1 -1
- package/dist/assets/{ScreenRoutes-DBIBtKZ6.js → ScreenRoutes-Sl9iaV1P.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C1EnJv1V-ZQCPg01L.js → SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js} +1 -1
- package/dist/assets/{SignIn-BhIof_Cm-C6zVZKL4.js → SignIn-CE6gxhI3-CtZacIY2.js} +1 -1
- package/dist/assets/{SignInScreen-C_Uhm3dv.js → SignInScreen-BTo7-KSm.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-CFLCn2A9.js → SpendManagementListViewPage-CURCimXb-CsGfTOO_.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-Cf5o66Fk.js → SpendManagementPerTabPage-RY3B-92H-DYTGBiT6.js} +1 -1
- package/dist/assets/{SpendManagementSection-C38Zpi1z-Dsmd6P_g.js → SpendManagementSection-rHLuZG8_-UxYLxpbV.js} +1 -1
- package/dist/assets/StatementItem-DcPGZchp-CZE_bKaq.js +31 -0
- package/dist/assets/{StatementsPage-CGQhmaXx-DwbHPW5v.js → StatementsPage-5oimgNHp-D8qK05-P.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-CZU0SQgq.js → StatusSwitcher-CLCkXs_4-DhXpfaBL.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-D-dNVqVx.js → SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js} +1 -1
- package/dist/assets/{SummaryCard-DOycYLs1-CcLAM0vu.js → SummaryCard-Cg5UVud3-DPRQua4j.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0--Bl4WZC5.js → TaskManagementPage-6_zt2ePp-BeO6Q35e.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-BrHVvGr5.js → TimeRangeSwitcher-BTx3d66N-DkQSngDA.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-B76KUVWR.js → TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-D8G4gF3d.js → TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js} +2 -2
- package/dist/assets/{TopExCard-GEQpp_KY-Bz5Gd491.js → TopExCard-ym2uAvUy-DkU_w9K-.js} +10 -10
- package/dist/assets/{TopExDetailPage-hid1dQYl-C5_fcQmG.js → TopExDetailPage-DU1Qj5ea-DhOfzSmR.js} +6 -6
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-DYs-BV31.js → TransactionDetailPage-BHyBhrM7-B3UILKwv.js} +1 -1
- package/dist/assets/{TransactionList-BixeXh4Y-B3OYF6Sn.js → TransactionList-CIbSavhJ-Dp71olkE.js} +1 -1
- package/dist/assets/{TransactionListBig-CGMMJQBd-CXR48MLA.js → TransactionListBig-kC4b3DAu-DjTE72OH.js} +1 -1
- package/dist/assets/{TransactionListPage-CBVUTX4y-CQdaAKjd.js → TransactionListPage-Ci98GcF7-ClRcNxWS.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-vT8FzjZr.js → TransactionVendorDetailPage-DI4kq_vO-D-o6bFok.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-B6ZHCjZH.js → TransferDrawerPage-B342yNDJ-CsWgYoId.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-BeIWSrWu.js → TreasuryOverviewPage-cvOuWLTK-CefWRHUR.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BvArufHi-kFf30IGj.js → TreasuryPromoPage-DyseS2l1-PYUqYVga.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-Dpp3Gav5.js → TreasuryStatementsPage-rXMNPd2f-B8HSB6xE.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-BRpp1Gq1.js → TreasuryTaxLetterPage-DjV36uFi-ebsJYDfS.js} +2 -2
- package/dist/assets/{TrendChart-D3dT6hUb-GtZ1tY2K.js → TrendChart--yie2Xkp-B3lZJMT5.js} +2 -2
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-D0ELOp4D.js → TrendWithTransactions-DVLdmgtU-Cv22_4bm.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-CUrl4fmj.js → UncategorizedAccountsMappingPage-CRypWMwQ-DzPLYLFI.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-DOy-W4YU.js → UnitIntegrationPage-DU6Luklp-CVEu7KVf.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-COtszXUY-BSxnizaf.js → UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C85mhuSb-v2ALiduK.js → Vendor2FAPopup-BNA3GtkO-ClfV14L3.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B9UpKcN3-BTioFEDj.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-DkNK_QUR.js → VendorDetailPage-B6s7kOX--Cl8uI1J2.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DlG2tDpP.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DKTdq1Yw.js → VendorFiling1099EditablePage-DiVBfWTv-CQg0-jaT.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-DBNwDkiX.js → VendorFirstReviewPage-CuM6lK63-QOnJj4dm.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-DbMqD1iI.js → VendorInternationalWireDetailsPage-CcTippeu-CFZ4Mir_.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-CW6R8j3k.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-Dwh8lTfL.js → VendorsAccountsSection-zeM6PeT4-zwdhVM2D.js} +1 -1
- package/dist/assets/{VerifyDevice-CaifjdR8-hQw81mgW.js → VerifyDevice-iKowLq-3-BWk2f90N.js} +7 -7
- package/dist/assets/{VideoPlayer-BVR9LPmm-BPKR0CVm.js → VideoPlayer-CN28Ho6V-t5x8EBh8.js} +2 -2
- package/dist/assets/{VideoPopup-BEXc8o78-DmUVjFrn.js → VideoPopup-CfYmxIk4-BV_-FDHV.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-B_2_qTb0.js → WarningsDrawerPage-C4jqovLJ-DvCRmdFF.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-HYkgSOiQ.js → ZeniAccountDetailPage-M045ginI-CIh86zMI.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-Btg2muaP.js → ZeniAccountListViewPage-C-eOjorO-Dort1_5m.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DqLJVQ5t-C4g1RQLG.js → ZeniAccountNavBarPieces-Dz9ssqU1-7L41-5ss.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-sAZjUafk.js → ZeniAccountPromoPage-BxzNy8wF-ClpXMz8i.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-5nGhP63I.js → ZeniAccountSetupPage-zWKttj2U-Co7Yvnyy.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-CUJygJ3_.js → ZeniCopyright-2oeOVh0P-DJaD_9oR.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-1DS0MsTI-BwSRPkS3.js → ZeniTransferAmountSlider-BADEO33A-DpMPk5Vb.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-D178ysGy.js → add-to-wallet-DgdBD8_G-eMWALCp1.js} +1 -1
- package/dist/assets/{analytics-D090O6Wm.js → analytics-DCCTWnnc.js} +1 -1
- package/dist/assets/{analyticsHelper-DmujELNG-CrbXJy3Z.js → analyticsHelper-C2XPB_2A-DuJwOZQc.js} +1 -1
- package/dist/assets/{analyticsHelper-B61dxdoT.js → analyticsHelper-DnU5BAvo.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Ccxih1KW.js → arrow-south-east-round-PEovUgvH-9nM57KjQ.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CaIDNTCx.js → auto-transfer-rule-mbafm5D3-DeA5cpdU.js} +1 -1
- package/dist/assets/{chartTypes-DRiSljvE-KVeUuxz9.js → chartTypes-PZyiFZrr-DoI-jL6q.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-7gU1w9kj.js → commonDimensions-C_y3LIE8-X_N9ThEv.js} +1 -1
- package/dist/assets/{constants-B1WOPvRN.js → constants-COrMNehl.js} +1 -1
- package/dist/assets/{core-BCGhSsNP.js → core-D2k9JfRf.js} +1 -1
- package/dist/assets/{dash.all.min-DQU9jzwW.js → dash.all.min-wMAz1qMX.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-BxBAHehG.js → detailCommon-PTd6DPpO-o02U7S0B.js} +1 -1
- package/dist/assets/{downloadPdf-DCQ9vVZs-C44J_DaT.js → downloadPdf-BdoS2D6l-B5cqxKI-.js} +1 -1
- package/dist/assets/{empty-Db_Oj0CQ.js → empty-D-w6ZnHI.js} +1 -1
- package/dist/assets/{empty-BFpyIT14.js → empty-D0VEAoJw.js} +1 -1
- package/dist/assets/{epic-BhAddVo8.js → epic-ClwVDlVx.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-BVmGGIyo.js → gift-box-Cmt9OgIZ-D29dLASa.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BUSuwQOu.js → graphic-no-data-l-DU4J8fDt-C5a4mTsI.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js → graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DBfm_e1t.js → handshake-BPg58FML-CY1iZII1.js} +1 -1
- package/dist/assets/{index-DOvOS8E_.js → index-BDimSyBu.js} +1 -1
- package/dist/assets/{index-CrL4860P.js → index-BNglrSQW.js} +1 -1
- package/dist/assets/{index-BpEXgtW2.js → index-BeaEqEWK.js} +1 -1
- package/dist/assets/{index-DT-oXxhz.js → index-Byk1BTgy.js} +1 -1
- package/dist/assets/{index-RjyLdqZN.js → index-CCUQyVRy.js} +1 -1
- package/dist/assets/{index-DiLAcdW6.js → index-CK2D3iZ1.js} +559 -559
- package/dist/assets/{index-DuKH4leN.js → index-n5uJZ9k2.js} +1 -1
- package/dist/assets/{lexical-CtZYfzDm.js → lexical-BEs89iUy.js} +1 -1
- package/dist/assets/{liveblocks-DjrSQGDL.js → liveblocks-CofSwFWW.js} +1 -1
- package/dist/assets/{lottie-QlMyEFez.js → lottie-BO8FHl2Q.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-pi8H7S4r.js → mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-BOxorP0k.js → mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-CRpECfjU.js} +1 -1
- package/dist/assets/{mui-8xKzSljO.js → mui-DCr-y2iU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DjAUkIIu.js → page-detail-CWX5S47F-DDARVgTr.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DioVIMbJ.js → radio-default-CiSgisfh-DO_kFVBk.js} +1 -1
- package/dist/assets/{react-euUD_2CS.js → react-BGUULhAS.js} +1 -1
- package/dist/assets/{react-CQVfZdRf.js → react-BgpCchG_.js} +1 -1
- package/dist/assets/{react-DEufTa0Y.js → react-CEdfmx42.js} +1 -1
- package/dist/assets/{react-C26MaKuf.js → react-CFfs9kVE.js} +1 -1
- package/dist/assets/{react-1fNkcXJk.js → react-DFeqXhsB.js} +1 -1
- package/dist/assets/{react-BpMq70Jz.js → react-DgBRIATV.js} +1 -1
- package/dist/assets/{react-CvSzLYZW.js → react-UyoSCzBu.js} +1 -1
- package/dist/assets/{react-5bc96E7k.js → react-j6fq6Sto.js} +2 -2
- package/dist/assets/{recharts-BnXj3KRI.js → recharts-CIKvFUT6.js} +1 -1
- package/dist/assets/{sentry-C9BQzslk.js → sentry-Dm3bm_ok.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfgTXsyM.js → shield-DOlUxcFf-BEm6OgBB.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CPbzhUua-B5GAWKcP.js +1 -0
- package/dist/assets/{toChartData-CavJzP6f-mDvgzvAS.js → toChartData-BUhYY9IR-S8AOthKK.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-DvtWJS0D.js → transaction-placeholder-CpOwZAMG-gpUqGjUj.js} +1 -1
- package/dist/assets/{uploadAttachment-BuVCsq0Q-BXyqcwpJ.js → uploadAttachment-D-Lomshq-0SKv4D0e.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-6mvBw6sd.js → uploadReceipts-CPw64UYa-BEcpM53g.js} +1 -1
- package/dist/assets/{url-MazUlenF.js → url-BXpa7lO3.js} +1 -1
- package/dist/assets/{url-WfClTpIP.js → url-D9ndU82p.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DGIP6WpU.js → useLongPress-GCK2COYQ-DzUxHAZU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CVrOUZlu.js → usp-line-BBd1wKwW-Cow5FZNy.js} +1 -1
- package/dist/assets/{utils-zYB6z_it.js → utils-CVsOBiWJ.js} +1 -1
- package/dist/assets/{zeni-epic-state-D9zDRHOK.js → zeni-epic-state-Cgro3mH-.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DfT5DDiZ-C6JypXdj.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CDJMtGJb-CfzRbvfn.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-uE3RBeY3.js +0 -1
- package/dist/assets/EntityDetailPage-5Cu1qehd-BG4F09T2.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-CDVrvkUd.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-ERup-38k.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BL-YDn8G.js +0 -1
- package/dist/assets/StatementItem-bHInVThd-3mxzzZ3o.js +0 -31
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-BolgC0Rd.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-Dcclrfxp.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-5iEWkr3D.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-BXCQJqNa.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-D9C0qen1.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-BBz0h3vn.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-Dp0xx8od.js +0 -1
- package/dist/assets/toCOABalancesWithID--oEGymMJ-CPBCh8hJ.js +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as le,f4 as Mt,f5 as At,f6 as Bt,f7 as Ft,aK as M,f8 as Rt,aM as j,f9 as Lt,fa as Ae,fb as Be,fc as Fe,b as H,fd as O,p as S,fe as zt,ff as E,fg as _,fh as Nt,fi as Ot,bQ as Re,o as n,aO as Et,c as s,F as _t,ah as Wt,b$ as Zt,a as Vt,B as Yt,fj as qt,cf as Gt,ak as se,al as ce,fk as Ht,fl as Ut,bg as Kt,l as Qt,b7 as Jt,fm as Xt,ap as et,bH as en,ag as tt,br as tn,fn as nn}from"./index-DiLAcdW6.js";import{a as Z}from"./sentry-C9BQzslk.js";import{n as a}from"./mui-8xKzSljO.js";import{bo as Le,bm as ze,bH as I,bN as an,Fp as ln,bL as oe,bP as on}from"./zeni-epic-state-D9zDRHOK.js";import{t as rn,o as dn}from"./LowBalancePopup-DVS-w3b7-C64DlvyA.js";import{S as W}from"./LabeledText-axaAGyUS-Cc0biyMh.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="f711a571-f7e3-4ce8-94da-6619ea2d80da",e._sentryDebugIdIdentifier="sentry-dbid-f711a571-f7e3-4ce8-94da-6619ea2d80da")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=Z.useState(!1),A=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>A(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},sa=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:A,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,q=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=We(b,q,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?At(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ie!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Me=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Me):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Me)}}},Se=()=>{Te===!0&&G(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(A.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:M("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:it,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:d,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:d,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(qn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Yn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(qe,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(Mn,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Qe,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:M("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(qe,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Qe,{})}),t.jsxs(Wn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:M("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(An,{children:[t.jsx(Ge,{children:i.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ge,{children:i.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:M("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:M("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:M("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,q,d)}},primaryBtn:{label:We(b,q,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?G(!0):Se()},style:{width:Ze(!0,k,b,q,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},We=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,Ze=(e,y,f,A,T)=>f?128:y&&!e&&T==="small"?"auto":A?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
1
|
+
import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as le,f4 as Mt,f5 as At,f6 as Bt,f7 as Ft,aK as M,f8 as Rt,aM as j,f9 as Lt,fa as Ae,fb as Be,fc as Fe,b as H,fd as O,p as S,fe as zt,ff as E,fg as _,fh as Nt,fi as Ot,bQ as Re,o as n,aO as Et,c as s,F as _t,ah as Wt,b$ as Zt,a as Vt,B as Yt,fj as qt,cf as Gt,ak as se,al as ce,fk as Ht,fl as Ut,bg as Kt,l as Qt,b7 as Jt,fm as Xt,ap as et,bH as en,ag as tt,br as tn,fn as nn}from"./index-CK2D3iZ1.js";import{a as Z}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import{bo as Le,bm as ze,bH as I,bN as an,Fp as ln,bL as oe,bP as on}from"./zeni-epic-state-Cgro3mH-.js";import{t as rn,o as dn}from"./LowBalancePopup-BQ9JPBTS-DRn4mn9-.js";import{S as W}from"./LabeledText-CUs3VIof-3boaO8Y1.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="d1d25cb6-f53d-4b04-912c-6c77b7832475",e._sentryDebugIdIdentifier="sentry-dbid-d1d25cb6-f53d-4b04-912c-6c77b7832475")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,f]=Z.useState(!1),A=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>A(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:A,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,q=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=We(b,q,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?At(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Me=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Me):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Me)}}},Se=()=>{Te===!0&&G(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(A.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:M("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(qn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(qe,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(Mn,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Qe,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:M("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(qe,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Qe,{})}),t.jsxs(Wn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:M("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(An,{children:[t.jsx(Ge,{children:a.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ge,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:M("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:M("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:M("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,q,d)}},primaryBtn:{label:We(b,q,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?G(!0):Se()},style:{width:Ze(!0,k,b,q,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},We=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ze=(e,y,f,A,T)=>f?128:y&&!e&&T==="small"?"auto":A?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
5
5
|
&:hover {
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
}
|
|
8
|
-
`,Ve=
|
|
8
|
+
`,Ve=i(tt)`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
12
|
-
`,re=
|
|
12
|
+
`,re=i.div`
|
|
13
13
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
14
|
-
`,de=
|
|
14
|
+
`,de=i.div`
|
|
15
15
|
color: ${e=>e.theme.colors.hero};
|
|
16
|
-
`,un=
|
|
16
|
+
`,un=i(tt)`
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding-top: ${n.sp1};
|
|
20
|
-
`,yn=
|
|
20
|
+
`,yn=i.div``,hn=i.div`
|
|
21
21
|
background-color: ${S.neutralGrey3Dark};
|
|
22
22
|
height: 1px;
|
|
23
23
|
width: 280px;
|
|
24
|
-
`,fn=
|
|
24
|
+
`,fn=i.div``,gn=i.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
width: 100%;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
`,xn=
|
|
28
|
+
`,xn=i.div`
|
|
29
29
|
width: 100%;
|
|
30
30
|
padding: ${n.sp3};
|
|
31
31
|
display: flex;
|
|
@@ -36,30 +36,30 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
36
36
|
border-radius: ${n.sp2};
|
|
37
37
|
color: ${e=>e.theme.colors.hero};
|
|
38
38
|
margin-bottom: ${n.sp2};
|
|
39
|
-
`,bn=
|
|
39
|
+
`,bn=i(et)`
|
|
40
40
|
gap: ${n.sp1};
|
|
41
41
|
display: flex;
|
|
42
42
|
width: 100%;
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
align-items: center;
|
|
45
|
-
`,wn=
|
|
45
|
+
`,wn=i(et)`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: calc(100% - 176px);
|
|
48
48
|
justify-content: flex-end;
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
|
-
`,$n=
|
|
50
|
+
`,$n=i.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
|
-
`,vn=
|
|
55
|
+
`,vn=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-grow: 1;
|
|
58
58
|
flex-direction: column;
|
|
59
59
|
margin-left: ${e=>m.reviewContainerMarginLeft.valuePx(e.windowSize)};
|
|
60
60
|
margin-right: ${e=>m.reviewContainerMarginRight.valuePx(e.windowSize)};
|
|
61
61
|
padding-top: ${n.sp3};
|
|
62
|
-
`,jn=
|
|
62
|
+
`,jn=i.div`
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -68,21 +68,21 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
68
68
|
border-radius: ${n.sp2};
|
|
69
69
|
margin-bottom: ${n.sp3};
|
|
70
70
|
margin-top: ${n.sp3};
|
|
71
|
-
`,U=
|
|
71
|
+
`,U=i.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex: 1;
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,Ye=
|
|
77
|
+
`,Ye=i(Yt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${sn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
81
|
-
`,Sn=
|
|
81
|
+
`,Sn=i.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
margin-bottom: ${n.sp3};
|
|
84
84
|
margin-top: ${n.sp3};
|
|
85
|
-
`,Tn=
|
|
85
|
+
`,Tn=i.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: column;
|
|
88
88
|
border-radius: ${n.sp2};
|
|
@@ -90,46 +90,46 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
90
90
|
background-color: ${e=>e.theme.colors.grey5};
|
|
91
91
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
92
92
|
box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
93
|
-
`,Cn=
|
|
93
|
+
`,Cn=i.div`
|
|
94
94
|
background-color: ${S.alertLight};
|
|
95
95
|
border-radius: ${n.sp2};
|
|
96
96
|
width: 100%;
|
|
97
97
|
display: flex;
|
|
98
|
-
`,Dn=
|
|
98
|
+
`,Dn=i.div`
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: column;
|
|
101
101
|
padding-left: ${n.sp2};
|
|
102
|
-
`,In=
|
|
102
|
+
`,In=i(se)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${S.brandColorGoldDark};
|
|
105
|
-
`,Pn=
|
|
105
|
+
`,Pn=i(Gt)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${S.brandColorGoldDark};
|
|
108
|
-
`,qe=
|
|
108
|
+
`,qe=i.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
112
|
-
`,kn=
|
|
112
|
+
`,kn=i.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
align-items: center;
|
|
116
116
|
column-gap: ${n.sp1};
|
|
117
|
-
`,Mn=
|
|
117
|
+
`,Mn=i.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
column-gap: ${n.sp2};
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,An=
|
|
121
|
+
`,An=i.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,Ge=
|
|
124
|
+
`,Ge=i(Qt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,He=
|
|
128
|
+
`,He=i(Jt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,Ue=
|
|
132
|
+
`,Ue=i(Zt)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -137,9 +137,9 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
137
137
|
&:hover {
|
|
138
138
|
color: ${e=>e.theme.colors.primary};
|
|
139
139
|
}
|
|
140
|
-
`,Bn=
|
|
140
|
+
`,Bn=i.div`
|
|
141
141
|
margin-bottom: ${n.sp3};
|
|
142
|
-
`,Fn=
|
|
142
|
+
`,Fn=i.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
145
|
margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
|
|
@@ -152,23 +152,23 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,Rn=
|
|
155
|
+
`,Rn=i(Wt)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
|
-
`,Ln=
|
|
159
|
+
`,Ln=i.span`
|
|
160
160
|
display: flex;
|
|
161
161
|
align-items: center;
|
|
162
162
|
margin-left: ${n.sp2};
|
|
163
163
|
margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
|
|
164
164
|
align-self: ${e=>e.size==="small"?"baseline":"center"};
|
|
165
|
-
`,zn=
|
|
165
|
+
`,zn=i(ce)`
|
|
166
166
|
color: ${e=>e.theme.colors.grey1};
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-wrap: wrap;
|
|
169
169
|
justify-content: center;
|
|
170
170
|
align-items: center;
|
|
171
|
-
`,Nn=
|
|
171
|
+
`,Nn=i.a`
|
|
172
172
|
color: ${e=>e.theme.colors.grey1};
|
|
173
173
|
text-decoration: underline;
|
|
174
174
|
margin-right: ${n.sp1};
|
|
@@ -176,7 +176,7 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
176
176
|
&:hover {
|
|
177
177
|
color: ${e=>e.theme.colors.primary};
|
|
178
178
|
}
|
|
179
|
-
`,On=
|
|
179
|
+
`,On=i.div`
|
|
180
180
|
cursor: ${e=>e.isDisabled?"default":"pointer"};
|
|
181
181
|
display: flex;
|
|
182
182
|
flex-direction: row;
|
|
@@ -189,49 +189,49 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
189
189
|
color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,En=
|
|
192
|
+
`,En=i.div`
|
|
193
193
|
width: ${n.sp4};
|
|
194
194
|
height: ${n.sp4};
|
|
195
195
|
display: flex;
|
|
196
|
-
`,Ke=
|
|
196
|
+
`,Ke=i.div`
|
|
197
197
|
cursor: default;
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,Qe=
|
|
201
|
+
`,Qe=i(Kt)`
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
width: ${n.sp4};
|
|
204
204
|
height: ${n.sp4};
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,K=
|
|
206
|
+
`,K=i(se)`
|
|
207
207
|
display: flex;
|
|
208
208
|
color: ${e=>e.theme.colors.hero};
|
|
209
209
|
align-items: center;
|
|
210
210
|
min-width: 142px;
|
|
211
211
|
flex-grow: 1;
|
|
212
|
-
`,Je=
|
|
212
|
+
`,Je=i(se)`
|
|
213
213
|
display: flex;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
align-items: center;
|
|
216
216
|
margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
|
|
217
217
|
min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
|
|
218
218
|
justify-content: flex-end;
|
|
219
|
-
`,_n=
|
|
219
|
+
`,_n=i.div`
|
|
220
220
|
display: flex;
|
|
221
221
|
cursor: pointer;
|
|
222
222
|
column-gap: ${n.sp1};
|
|
223
223
|
margin-left: ${n.sp5};
|
|
224
|
-
`,Xe=
|
|
224
|
+
`,Xe=i.div`
|
|
225
225
|
width: 120px;
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,Wn=
|
|
229
|
+
`,Wn=i.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
233
233
|
width: 100%;
|
|
234
|
-
`,Q=
|
|
234
|
+
`,Q=i(ce)`
|
|
235
235
|
display: flex;
|
|
236
236
|
color: ${e=>e.borderColor};
|
|
237
237
|
height: 20px;
|
|
@@ -247,31 +247,31 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,Zn=
|
|
250
|
+
`,Zn=i.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
|
-
`,Vn=
|
|
253
|
+
`,Vn=i.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
width: 100%;
|
|
256
256
|
flex-flow: column;
|
|
257
257
|
padding-top: ${n.sp2};
|
|
258
258
|
padding-bottom: ${n.sp2};
|
|
259
259
|
border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
260
|
-
`,Yn=
|
|
260
|
+
`,Yn=i(ce)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${S.alert};
|
|
263
|
-
`,qn=
|
|
263
|
+
`,qn=i(qt)`
|
|
264
264
|
min-width: ${n.sp4};
|
|
265
265
|
height: ${n.sp4};
|
|
266
266
|
width: ${n.sp4};
|
|
267
267
|
margin-top: ${n.sp3};
|
|
268
268
|
margin-left: ${n.sp4};
|
|
269
269
|
color: ${S.brandColorGoldDark};
|
|
270
|
-
`,Gn=
|
|
270
|
+
`,Gn=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
274
|
-
`,Hn=
|
|
274
|
+
`,Hn=i(tn)`
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
277
277
|
width: ${n.sp4};
|
|
@@ -279,7 +279,7 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
279
279
|
&:hover {
|
|
280
280
|
color: ${e=>e.theme.colors.primary};
|
|
281
281
|
}
|
|
282
|
-
`,Un=
|
|
282
|
+
`,Un=i.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -287,4 +287,4 @@ import{q as Tt,av as Ct,y as u,e$ as Dt,f0 as It,f1 as Pt,V as t,f2 as kt,f3 as
|
|
|
287
287
|
&:hover {
|
|
288
288
|
color: ${e=>e.theme.colors.primary};
|
|
289
289
|
}
|
|
290
|
-
`;export{
|
|
290
|
+
`;export{si as default};
|
package/dist/assets/{ReviewOverlay-CruJ9O84-CthGk06w.js → ReviewOverlay-DQZwNpFY-DMkxDhbs.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as B,V as i,aM as m,o as r,aO as L,y as d,L as P,a as C,B as I,p as s,ak as j,cy as W,m as R,ag as b,bf as D,c as n,eg as G,u as _,iR as q,k0 as A}from"./index-
|
|
1
|
+
import{q as B,V as i,aM as m,o as r,aO as L,y as d,L as P,a as C,B as I,p as s,ak as j,cy as W,m as R,ag as b,bf as D,c as n,eg as G,u as _,iR as q,k0 as A}from"./index-CK2D3iZ1.js";import{n as t}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f4f7d4af-ca63-4f9f-bfde-b10dc5d90c53",e._sentryDebugIdIdentifier="sentry-dbid-f4f7d4af-ca63-4f9f-bfde-b10dc5d90c53")}catch{}})();const l={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},F={title:new C("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:k},onCloseOverlay:E,onCloseReviewItem:M})=>{const a=B();return i.jsxs(V,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:E,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(H,{windowSize:a,children:[i.jsxs(J,{windowSize:a,children:[i.jsx(K,{children:i.jsx(N,{windowSize:a,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(U,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>M(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:O(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!k}):null]})},O=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),V=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-fC3byzzv-BDZeG5VC.js → RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eL as f,eM as h,V as s,bQ as g,o as i,aM as n,F as x,am as y,ag as c}from"./index-
|
|
1
|
+
import{eL as f,eM as h,V as s,bQ as g,o as i,aM as n,F as x,am as y,ag as c}from"./index-CK2D3iZ1.js";import{n as l}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f880c637-61c4-47f9-a13f-f4e73109bbc2",e._sentryDebugIdIdentifier="sentry-dbid-f880c637-61c4-47f9-a13f-f4e73109bbc2")}catch{}})();const{hyphen:d}=x.getLocalizedStrings().common.strings,b=l.div``,m=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as K,ig as ee,gB as fe,ew as we,ih as Le,a8 as Je,ii as Me,cB as Ve,cC as _e,V as a,ab as Fe,cm as Pe,cn as Be,co as Ne,aO as qe,ij as Re,ik as We,F as
|
|
1
|
+
import{aN as K,ig as ee,gB as fe,ew as we,ih as Le,a8 as Je,ii as Me,cB as Ve,cC as _e,V as a,ab as Fe,cm as Pe,cn as Be,co as Ne,aO as qe,ij as Re,ik as We,F as Ce,a9 as he,il as me,im as Ue,cO as ze,q as $e,iB as Ge,gG as re,c as R,p as Se,y as De,cE as Ke,io as He,ip as Qe,iq as Ye,o as _}from"./index-CK2D3iZ1.js";import{a as f}from"./sentry-Dm3bm_ok.js";import{n as U}from"./mui-DCr-y2iU.js";import{FT as Ze,FU as Xe}from"./zeni-epic-state-Cgro3mH-.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="cecbb3d8-f48b-474d-8e1d-f4d0241607bb",e._sentryDebugIdIdentifier="sentry-dbid-cecbb3d8-f48b-474d-8e1d-f4d0241607bb")}catch{}})();const W={labelWidth:new De(160,160,160),depCategoryLabelWidth:new De(200,280,280)},st=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -18,7 +18,7 @@ import{aN as K,ig as ee,gB as fe,ew as we,ih as Le,a8 as Je,ii as Me,cB as Ve,cC
|
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
margin: ${_.sp4} ${_.sp8} ${_.sp0} ${_.sp8};
|
|
21
|
-
`,V=(e,n)=>`${e}.${n}`;function nt({sectionId:e,jeScheduledTransaction:n,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:
|
|
21
|
+
`,V=(e,n)=>`${e}.${n}`;function nt({sectionId:e,jeScheduledTransaction:n,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:C,allMonthOptions:v,uncategorizedAccounts:k,selectedAccount:I,selectedClass:F,selectedAccumulatedDepreciationCategory:P,assetId:w,selectedDate:L,selectedMonths:T,selectedPostingDay:E,lastDayOfMonth:O,isDisabled:h,allowCreateSchedule:J,onCreateSchedule:i,onDelete:ae,onMarkAsComplete:Y}){const{resetField:S}=ze(),se=V(e,"scheduleExpenseCategory"),oe=V(e,"scheduleClass"),ne=V(e,"accumulatedDepreciationCategory"),de=V(e,"assetId"),Z=V(e,"startDate"),D=V(e,"postingDate"),r=V(e,"months"),t=Ce.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,g=o=>s.filter(N=>N.qboId===o)[0]?.qboId,x=o=>p.filter(N=>N.qboId===o)[0]?.qboId,ie=o=>u.filter(N=>N.classId===o)[0]?.accountingClassNumber,Q={valueContainer:o=>({...o,overflow:"unset"})},j=$e(),z=Ge({startDate:n.baseTransaction.date,endDate:n.baseTransaction.date.add(1,"year")}),$=()=>{S(D)},G=E==null&&O==null?void 0:O===!0?"lastDayOfMonth":"day",B=o=>[k.expense?.qboId,k.income?.qboId].includes(o),X=()=>{n.jeScheduleId!=null&&ae(n.jeScheduleId)},b=n.scheduledJournalEntry.flatMap(o=>o.error);return a.jsxs(ot,{children:[a.jsx(lt,{status:n.status.code,jeScheduleId:n.jeScheduleId,allowCreateSchedule:J,onDelete:X,isUpdating:m==="In-Progress",onMarkAsComplete:Y,onCreateSchedule:i}),a.jsx(he,{controller:J===!0,children:a.jsxs(st,{children:[a.jsx(re,{isDisabled:b.includes("debit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.expenseCategory,width:W.labelWidth.value(j)},groupedSingleSelectField:{customPlaceholderColor:b.includes("debit_category_deleted")?Se.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:se,placeholder:t.expenseCategoryPlaceholder,valueToId:o=>g(o),defaultValue:{selectedOption:I,allOptions:l},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Q},disableCurrentOption:B,style:{borderTopLeftRadius:R[2],borderTopRightRadius:R[2]}}),a.jsx(H,{}),a.jsx(re,{isDisabled:h,isLoading:!1,label:{label:t.class,width:W.labelWidth.value(j)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:oe,placeholder:t.classPlaceholder,valueToId:o=>ie(o),defaultValue:{selectedOption:F,allOptions:c},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Q},style:{borderTopLeftRadius:R[0],borderTopRightRadius:R[0]}}),a.jsx(H,{}),a.jsx(re,{isDisabled:b.includes("credit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.accumulatedDepreciationCategory,width:W.depCategoryLabelWidth.value(j)},groupedSingleSelectField:{customPlaceholderColor:b.includes("credit_category_deleted")?Se.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:ne,placeholder:t.accumulatedDepreciationCategoryPlaceholder,valueToId:o=>x(o),defaultValue:{selectedOption:P,allOptions:C},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Q},disableCurrentOption:B,style:{borderTopLeftRadius:R[0],borderTopRightRadius:R[0]}}),a.jsx(H,{}),a.jsx(Ke,{label:{label:t.assetId,width:W.labelWidth.value(j)},style:{width:"auto"},text:{type:"text",name:de,defaultValue:w,placeholder:t.assetIdPlaceholder,autoComplete:"new-password",options:{maxLength:R[3],required:!0,validate:o=>!!o}},isDisabled:h}),a.jsx(H,{}),a.jsx(He,{label:{label:t.startMonth,width:W.labelWidth.value(j)},monthSelectorField:{name:Z,placeholder:t.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:h,monthsAndYears:z},isDisabled:h}),a.jsx(H,{}),a.jsx(at,{label:{label:t.postingDate,width:W.labelWidth.value(j)},isDisabled:h,dayOfMonthField:{placeholder:t.postingDatePlaceholder,name:D,defaultValue:{type:G,dayOfMonth:E},onSaveClick:()=>{},onCancelClick:$}}),a.jsx(H,{}),a.jsx(Qe,{label:{label:t.months,width:W.labelWidth.value(j)},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(he,{controller:J===!1,children:a.jsx(Ye,{text:t.scheduleMarkedAsCompleted})})]})}const dt=U.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-direction: column;
|
|
24
24
|
width: 100%;
|
|
@@ -34,4 +34,4 @@ import{aN as K,ig as ee,gB as fe,ew as we,ih as Le,a8 as Je,ii as Me,cB as Ve,cC
|
|
|
34
34
|
`,rt=U.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
`,ye="scheduleDetailsPage",te="scheduleDetailsFixedAssetsSection",le="scheduleDetailsListSection",ut=ge.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ht}}=ut;function It({analytics:e,controllerUserDetails:n,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:g,onJELinkClick:v,onSave:k,onDelete:I,onDetailPageChange:F,onViewLinkedJE:P,onTransactionClick:w,onMarkAsComplete:L,removeJeScheduleTransactionKey:T}){const[E,O]=f.useState(!1),h=K(l.updateStatus.fetchState),J=K(l.selectedJEScheduleTransaction?.status.code),i=K(l.deleteStatus.fetchState),[ae,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,se=K(S.jeScheduleDetails.length),oe=K(S.selectedDate),ne=K(S.selectedDayOfMonth),[de,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,b=Ze(n.controllers),x=Xe(n.controllerUserIds),ie={onOkClick:()=>{O(!1),p()},onCancelClick:()=>{O(!1)}},Q=d=>{const C=t?.scheduledJournalEntry[d];r!=null&&C!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...Ue(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...me(C)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:b,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(d)},j=(d,C)=>{const A=t?.scheduledJournalEntry[C];r!=null&&A!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:me(A),controllerEmails:b,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),P(d)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),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,b,x]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const z=fe(l.accountListNestedAccountHierarchy),$=fe(l.allDepreciationAccountListNestedAccountHierarchy),G=we(l.classListNestedAccountHierarchy),B=Le("fixed_assets"),X=f.useRef(),y=Je({mode:"all",reValidateMode:"onChange",defaultValues:ue(l,z,G,$,B,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ue(l,z,G,$,B,u.entityAutoCompleteView)}),o=y.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&X.current?.(Me(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const N=(d,C)=>{s.onAutoCompleteInputChange?.(d,"vendor"),X.current=C},be=y.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),xe=async(d,C)=>{const A=C[te].vendor;if(d.includes("vendor")){const ce=A?.defaultOptions.map(q=>q.value);if(A?.selectedOption!=null&&ce?.includes(A.selectedOption)!==!0){const q=u.entityAutoCompleteView.vendor.find(ke=>ke.id===A.selectedOption);q!=null&&y.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:q.name??"",value:q.id}])}}const je=d.includes("amount");if(F(C,je),d.includes("amount")){const ce=d.split(".")[1],q=parseInt(ce);Y(!0),g(q,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{const d=y.watch((C,{name:A})=>{A!=null&&C!=null&&Ve(()=>xe(A,C))});return()=>{d.unsubscribe()}}),f.useEffect(()=>{(se!==S.jeScheduleDetails.length||oe!==S.selectedDate||ne!==S.selectedDayOfMonth)&&ae===!0&&(y.resetField(le,{defaultValue:ue(l,z,G,$,B,u.entityAutoCompleteView)[le],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const pe=(_e(y.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,ve=()=>{pe===!0?O(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&w({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},Oe=f.useCallback(()=>{Z(!0)},[]),Ae=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),L()},[e,b,x,t,L,r,D]),Ie=f.useCallback(d=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),I(d)},[e,b,x,t,I,r,D]),Te=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(d=>d.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name;return a.jsxs(dt,{children:[a.jsx(pt,{title:Te??M.strings.empty,onNavigateBack:ve,onTransactionClick:Ee}),a.jsx(it,{children:a.jsx(Fe,{...y,children:a.jsxs("form",{style:{width:"100%"},id:Ce(ye),onSubmit:be,children:[a.jsx(ft,{vendorLoadOptions:N,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:z,allClassOptions:G,allMonthOptions:B,allDepAccountOptions:$,onEditAmount:g,onDelete:Ie,onJELinkClick:Q,onViewLinkedJE:j,onMarkAsComplete:Ae,allowCreateSchedule:de,onCreateSchedule:Oe}),E===!0?a.jsx(Pe,{titleComponent:a.jsx(Ne,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(Be,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ie}):null,pe===!0?a.jsx(qe,{formId:Ce(ye),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:()=>{O(!0)},style:{minWidth:"82px"}}}):null]})})})]})}function pt({onNavigateBack:e,onTransactionClick:n,title:m}){return a.jsx(We,{title:m,tooltipTextOnLaunch:ht.showTransactionTooltip,onBackClick:e,onLaunchClick:n,style:{zIndex:3}})}function ft({vendorField:e,vendorLoadOptions:n,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:g,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:I,onDelete:F,onJELinkClick:P,onViewLinkedJE:w,onMarkAsComplete:L}){const T=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(E=>E.error).filter(E=>!!E)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ct,{children:[a.jsx(rt,{children:a.jsx(et,{vendorLoadOptions:n,vendorField:e,vendorFieldName:V(te,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:T,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(nt,{sectionId:te,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:g,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:F,onMarkAsComplete:L,onCreateSchedule:k}),a.jsx(he,{controller:v===!0,children:a.jsx(tt,{sectionId:le,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:I,onJELinkClick:P,onViewLinkedJE:w,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const Ce=e=>`${e}_form`,ue=(e,n,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,g=c.selectedVendor,v=g!=null?u.vendor.find(i=>i.zeniId===g.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,I=c.selectedAccumulatedDepreciationCategory,F=I!=null?e.allDepreciationAccountList.find(i=>i.accountId===I):void 0,P=c.assetId,w=c.selectedClass,L=w!=null?e.allClassList.find(i=>i.classId===w):void 0,T=c.selectedMonths,E=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),O=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=O==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:n},accumulatedDepreciationCategory:{selectedOption:F?.qboId,allOptions:l},assetId:P,scheduleClass:{selectedOption:L?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:T,allOptions:s},vendor:{selectedOption:v?.id??g?.id,defaultOptions:Re(u,v??g)},postingDate:{type:J,dayOfMonth:O}},[le]:E}};export{It as default};
|
|
37
|
+
`,be="scheduleDetailsPage",te="scheduleDetailsFixedAssetsSection",le="scheduleDetailsListSection",ut=Ce.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ht}}=ut;function It({analytics:e,controllerUserDetails:n,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:C,onJELinkClick:v,onSave:k,onDelete:I,onDetailPageChange:F,onViewLinkedJE:P,onTransactionClick:w,onMarkAsComplete:L,removeJeScheduleTransactionKey:T}){const[E,O]=f.useState(!1),h=K(l.updateStatus.fetchState),J=K(l.selectedJEScheduleTransaction?.status.code),i=K(l.deleteStatus.fetchState),[ae,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,se=K(S.jeScheduleDetails.length),oe=K(S.selectedDate),ne=K(S.selectedDayOfMonth),[de,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,g=Ze(n.controllers),x=Xe(n.controllerUserIds),ie={onOkClick:()=>{O(!1),p()},onCancelClick:()=>{O(!1)}},Q=d=>{const y=t?.scheduledJournalEntry[d];r!=null&&y!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...Ue(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...me(y)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:g,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(d)},j=(d,y)=>{const A=t?.scheduledJournalEntry[y];r!=null&&A!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:me(A),controllerEmails:g,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),P(d)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:x})),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,x]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const z=fe(l.accountListNestedAccountHierarchy),$=fe(l.allDepreciationAccountListNestedAccountHierarchy),G=we(l.classListNestedAccountHierarchy),B=Le("fixed_assets"),X=f.useRef(),b=Je({mode:"all",reValidateMode:"onChange",defaultValues:ue(l,z,G,$,B,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ue(l,z,G,$,B,u.entityAutoCompleteView)}),o=b.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&X.current?.(Me(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const N=(d,y)=>{s.onAutoCompleteInputChange?.(d,"vendor"),X.current=y},ge=b.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),xe=async(d,y)=>{const A=y[te].vendor;if(d.includes("vendor")){const ce=A?.defaultOptions.map(q=>q.value);if(A?.selectedOption!=null&&ce?.includes(A.selectedOption)!==!0){const q=u.entityAutoCompleteView.vendor.find(ke=>ke.id===A.selectedOption);q!=null&&b.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:q.name??"",value:q.id}])}}const je=d.includes("amount");if(F(y,je),d.includes("amount")){const ce=d.split(".")[1],q=parseInt(ce);Y(!0),C(q,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{const d=b.watch((y,{name:A})=>{A!=null&&y!=null&&Ve(()=>xe(A,y))});return()=>{d.unsubscribe()}}),f.useEffect(()=>{(se!==S.jeScheduleDetails.length||oe!==S.selectedDate||ne!==S.selectedDayOfMonth)&&ae===!0&&(b.resetField(le,{defaultValue:ue(l,z,G,$,B,u.entityAutoCompleteView)[le],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const pe=(_e(b.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,ve=()=>{pe===!0?O(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:x})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&w({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},Oe=f.useCallback(()=>{Z(!0)},[]),Ae=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:x})),L()},[e,g,x,t,L,r,D]),Ie=f.useCallback(d=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:g,controllerUserIds:x})),I(d)},[e,g,x,t,I,r,D]),Te=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(d=>d.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name;return a.jsxs(dt,{children:[a.jsx(pt,{title:Te??M.strings.empty,onNavigateBack:ve,onTransactionClick:Ee}),a.jsx(it,{children:a.jsx(Fe,{...b,children:a.jsxs("form",{style:{width:"100%"},id:ye(be),onSubmit:ge,children:[a.jsx(ft,{vendorLoadOptions:N,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:z,allClassOptions:G,allMonthOptions:B,allDepAccountOptions:$,onEditAmount:C,onDelete:Ie,onJELinkClick:Q,onViewLinkedJE:j,onMarkAsComplete:Ae,allowCreateSchedule:de,onCreateSchedule:Oe}),E===!0?a.jsx(Pe,{titleComponent:a.jsx(Ne,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(Be,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ie}):null,pe===!0?a.jsx(qe,{formId:ye(be),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:()=>{O(!0)},style:{minWidth:"82px"}}}):null]})})})]})}function pt({onNavigateBack:e,onTransactionClick:n,title:m}){return a.jsx(We,{title:m,tooltipTextOnLaunch:ht.showTransactionTooltip,onBackClick:e,onLaunchClick:n,style:{zIndex:3}})}function ft({vendorField:e,vendorLoadOptions:n,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:C,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:I,onDelete:F,onJELinkClick:P,onViewLinkedJE:w,onMarkAsComplete:L}){const T=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(E=>E.error).filter(E=>!!E)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ct,{children:[a.jsx(rt,{children:a.jsx(et,{vendorLoadOptions:n,vendorField:e,vendorFieldName:V(te,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:T,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(nt,{sectionId:te,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:F,onMarkAsComplete:L,onCreateSchedule:k}),a.jsx(he,{controller:v===!0,children:a.jsx(tt,{sectionId:le,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:I,onJELinkClick:P,onViewLinkedJE:w,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ye=e=>`${e}_form`,ue=(e,n,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,I=c.selectedAccumulatedDepreciationCategory,F=I!=null?e.allDepreciationAccountList.find(i=>i.accountId===I):void 0,P=c.assetId,w=c.selectedClass,L=w!=null?e.allClassList.find(i=>i.classId===w):void 0,T=c.selectedMonths,E=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),O=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=O==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:n},accumulatedDepreciationCategory:{selectedOption:F?.qboId,allOptions:l},assetId:P,scheduleClass:{selectedOption:L?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:T,allOptions:s},vendor:{selectedOption:v?.id??C?.id,defaultOptions:Re(u,v??C)},postingDate:{type:J,dayOfMonth:O}},[le]:E}};export{It as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as F,ig as Y,gB as ke,ew as Ie,ih as Ae,a8 as Je,ii as we,cB as Le,cC as Me,V as a,ab as Ve,cm as Pe,cn as _e,co as Fe,aO as Be,ij as $e,ik as Ne,F as Se,a9 as ie,il as he,im as Ue,cO as qe,q as ze,gG as pe,c as X,p as Re,y as We,io as Ke,ip as Ge,iq as He,o as w}from"./index-
|
|
1
|
+
import{aN as F,ig as Y,gB as ke,ew as Ie,ih as Ae,a8 as Je,ii as we,cB as Le,cC as Me,V as a,ab as Ve,cm as Pe,cn as _e,co as Fe,aO as Be,ij as $e,ik as Ne,F as Se,a9 as ie,il as he,im as Ue,cO as qe,q as ze,gG as pe,c as X,p as Re,y as We,io as Ke,ip as Ge,iq as He,o as w}from"./index-CK2D3iZ1.js";import{a as D}from"./sentry-Dm3bm_ok.js";import{n as P}from"./mui-DCr-y2iU.js";import{FT as Qe,FU as Ye,bL as Xe}from"./zeni-epic-state-Cgro3mH-.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="001e554b-f07c-4fb7-ae39-4f44e36c42ca",e._sentryDebugIdIdentifier="sentry-dbid-001e554b-f07c-4fb7-ae39-4f44e36c42ca")}catch{}})();const U={labelWidth:new We(160,160,160)},at=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -18,7 +18,7 @@ import{aN as F,ig as Y,gB as ke,ew as Ie,ih as Ae,a8 as Je,ii as we,cB as Le,cC
|
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
margin: ${w.sp4} ${w.sp8} ${w.sp0} ${w.sp8};
|
|
21
|
-
`,B=(e,s)=>`${e}.${s}`;function nt({sectionId:e,jeScheduledTransaction:s,updateStatus:p,allAccountOptions:l,allAccountList:t,allClassList:i,allClassOptions:b,allMonthOptions:o,uncategorizedAccounts:
|
|
21
|
+
`,B=(e,s)=>`${e}.${s}`;function nt({sectionId:e,jeScheduledTransaction:s,updateStatus:p,allAccountOptions:l,allAccountList:t,allClassList:i,allClassOptions:b,allMonthOptions:o,uncategorizedAccounts:m,selectedAccount:r,selectedClass:y,selectedDate:L,selectedMonths:A,selectedPostingDay:O,lastDayOfMonth:k,isDisabled:f,allowCreateSchedule:v,onCreateSchedule:u,onDelete:le,onMarkAsComplete:_}){const{resetField:q}=qe(),z=B(e,"scheduleExpenseCategory"),R=B(e,"scheduleClass"),ae=B(e,"startDate"),$=B(e,"postingDate"),C=B(e,"months"),S=Se.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,se=d=>t.filter(N=>N.qboId===d)[0]?.qboId,ne=d=>i.filter(N=>N.classId===d)[0]?.accountingClassNumber,W={valueContainer:d=>({...d,overflow:"unset"})},J=ze(),E=ot({startDate:s.baseTransaction.date,endDate:s.baseTransaction.date.add(1,"year")}),h=()=>{q($)},n=O==null&&k==null?void 0:k===!0?"lastDayOfMonth":"day",x=d=>[m.expense?.qboId,m.income?.qboId].includes(d),T=()=>{s.jeScheduleId!=null&&le(s.jeScheduleId)},K=s.scheduledJournalEntry.flatMap(d=>d.error);return a.jsxs(st,{children:[a.jsx(tt,{isUpdating:p==="In-Progress",status:s.status.code,jeScheduleId:s.jeScheduleId,allowCreateSchedule:v,onDelete:T,onMarkAsComplete:_,onCreateSchedule:u}),a.jsx(ie,{controller:v===!0,children:a.jsxs(at,{children:[a.jsx(pe,{isDisabled:K.includes("debit_category_deleted")?void 0:f,isLoading:!1,label:{label:S.expenseCategory,width:U.labelWidth.value(J)},groupedSingleSelectField:{customPlaceholderColor:K.includes("debit_category_deleted")?Re.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:z,placeholder:S.expenseCategoryPlaceholder,valueToId:d=>se(d),defaultValue:{selectedOption:r,allOptions:l},registerOptions:{required:!0,validate:d=>!!d.selectedOption},customStyleConfig:W},disableCurrentOption:x,style:{borderTopLeftRadius:X[2],borderTopRightRadius:X[2]}}),a.jsx(Z,{}),a.jsx(pe,{isDisabled:f,isLoading:!1,label:{label:S.class,width:U.labelWidth.value(J)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:R,placeholder:S.classPlaceholder,valueToId:d=>ne(d),defaultValue:{selectedOption:y,allOptions:b},registerOptions:{required:!0,validate:d=>!!d.selectedOption},customStyleConfig:W},style:{borderTopLeftRadius:X[0],borderTopRightRadius:X[0]}}),a.jsx(Z,{}),a.jsx(Ke,{label:{label:S.startMonth,width:U.labelWidth.value(J)},monthSelectorField:{name:ae,placeholder:S.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:f,monthsAndYears:E},isDisabled:f}),a.jsx(Z,{}),a.jsx(lt,{label:{label:S.postingDate,width:U.labelWidth.value(J)},isDisabled:f,dayOfMonthField:{placeholder:S.postingDatePlaceholder,name:$,defaultValue:{type:n,dayOfMonth:O},onSaveClick:()=>{},onCancelClick:h}}),a.jsx(Z,{}),a.jsx(Ge,{label:{label:S.months,width:U.labelWidth.value(J)},singleSelectNumericField:{name:C,isDisabled:f,placeholder:S.monthsPlaceholder,defaultValue:{selectedOption:A!=null?o[A-1]:void 0,allOptions:o},registerOptions:{required:!0,validate:d=>!!d.selectedOption}}})]})}),a.jsx(ie,{controller:v===!1,children:a.jsx(He,{text:S.scheduleMarkedAsCompleted})})]})}const ot=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,b)=>{const o=i-b,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=Xe(`${o}-01-01`).localeData().monthsShort();return s[m]=r,m}).reverse(),months:s}},dt=P.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-direction: column;
|
|
24
24
|
width: 100%;
|
|
@@ -34,4 +34,4 @@ import{aN as F,ig as Y,gB as ke,ew as Ie,ih as Ae,a8 as Je,ii as we,cB as Le,cC
|
|
|
34
34
|
`,rt=P.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
`,
|
|
37
|
+
`,me="scheduleDetailsPage",ee="scheduleDetailsSection",te="scheduleDetailsListSection",ut=Se.getLocalizedStrings(),{common:I,jeSchedules:{scheduleDetails:ht}}=ut;function Ot({analytics:e,controllerUserDetails:s,expenseAutomationSelectedPeriod:p,scheduleDetailsView:l,scheduleTab:t,usedInExpenseAutomation:i,vendorSearchAutoCompleteActions:b,vendorSearchAutoCompleteData:o,onMarkAsComplete:m,onNavigateBack:r,onEditAmount:y,onJELinkClick:L,onSave:A,onDelete:O,onDetailPageChange:k,onViewLinkedJE:f,onTransactionClick:v,removeJeScheduleTransactionKey:u}){const[le,_]=D.useState(!1),q=F(l.updateStatus.fetchState),z=F(l.selectedJEScheduleTransaction?.status.code),R=F(l.deleteStatus.fetchState),[ae,$]=D.useState(!1),C=l.scheduleDetailsLocalData.prepaid_expenses,S=F(C.jeScheduleDetails.length),se=F(C.selectedDate),ne=F(C.selectedDayOfMonth),[W,J]=D.useState(!0),E=l.selectedJEScheduleTransaction?.vendor,h=l.selectedJEScheduleTransaction?.baseTransaction,n=l.selectedJEScheduleTransaction,x=Qe(s.controllers),T=Ye(s.controllerUserIds),K={onOkClick:()=>{_(!1),r()},onCancelClick:()=>{_(!1)}},d=c=>{const g=n?.scheduledJournalEntry[c];h!=null&&g!=null&&n!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:t,transaction:{...Ue(h)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...he(g)},vendorName:E!=null?E.name:I.strings.hyphen,controllerEmails:x,controllerUserIds:T}),L(c)},N=(c,g)=>{const j=n?.scheduledJournalEntry[g];h!=null&&j!=null&&n!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:t,scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:he(j),controllerEmails:x,controllerUserIds:T}),f(c)};D.useEffect(()=>{q==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(h!=null&&n!=null&&e.trackScheduleDetailsSaved(Y({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:E,controllerEmails:x,controllerUserIds:T})),i===!0&&n?.jeScheduleTransactionKey!=null&&z==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&u(n.jeScheduleTransactionKey,{month:p.month,year:p.year}),r())},[z,l.selectedJEScheduleTransaction?.status.code,e,r,p,q,l.updateStatus,u,t,i,n,h,E,x,T]),D.useEffect(()=>{R==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&r()},[R,l.deleteStatus,r]);const G=ke(l.accountListNestedAccountHierarchy),H=Ie(l.classListNestedAccountHierarchy),Q=Ae(t),re=D.useRef(),M=Je({mode:"all",reValidateMode:"onChange",defaultValues:ce(l,G,H,Q,o.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ce(l,G,H,Q,o.entityAutoCompleteView)}),oe=M.watch("scheduleDetailsSection.vendor");D.useEffect(()=>{o.entityAutoCompleteView.fetchState==="Completed"&&re.current?.(we(o.entityAutoCompleteView))},[o.entityAutoCompleteView.fetchState]);const De=(c,g)=>{b.onAutoCompleteInputChange?.(c,"vendor"),re.current=g},ye=M.handleSubmit(()=>{A(l.selectedJEScheduleTransaction?.jeScheduleId)}),Ce=async(c,g)=>{const j=g[ee].vendor;if(c.includes("vendor")){const de=j?.defaultOptions.map(V=>V.value);if(j?.selectedOption!=null&&de?.includes(j.selectedOption)!==!0){const V=o.entityAutoCompleteView.vendor.find(Oe=>Oe.id===j.selectedOption);V!=null&&M.setValue("scheduleDetailsSection.vendor.defaultOptions",[{label:V.name??I.strings.empty,value:V.id}])}}const je=c.includes("amount");if(k(g,je),c.includes("amount")){const de=c.split(".")[1],V=parseInt(de);$(!0),y(V,l.selectedJEScheduleTransaction?.jeScheduleId)}};D.useEffect(()=>{const c=M.watch((g,{name:j})=>{j!=null&&g!=null&&Le(()=>Ce(j,g))});return()=>{c.unsubscribe()}}),D.useEffect(()=>{(S!==C.jeScheduleDetails.length||se!==C.selectedDate||ne!==C.selectedDayOfMonth)&&ae===!0&&(M.resetField(te,{defaultValue:ce(l,G,H,Q,o.entityAutoCompleteView)[te],keepDirty:!1}),$(!1))},[C.jeScheduleDetails.length,C.selectedDate,C.selectedDayOfMonth]),D.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&J(!1)},[l.selectedJEScheduleTransaction?.status.code]);const ue=(Me(M.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&C.jeScheduleDetails.length>0,ge=()=>{ue===!0?_(!0):(h!=null&&n!=null&&e.trackScheduleDetailsCanceled(Y({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:E,controllerEmails:x,controllerUserIds:T})),r())},be=()=>{l.selectedJEScheduleTransaction!=null&&v({id:l.selectedJEScheduleTransaction?.baseTransaction.id,type:l.selectedJEScheduleTransaction?.baseTransaction.type})},ve=D.useCallback(()=>{J(!0)},[]),Ee=D.useCallback(()=>{h!=null&&n!=null&&e.trackScheduleDetailsMarkedAsCompleted(Y({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:E,controllerEmails:x,controllerUserIds:T})),m()},[e,n,m,t,h,E,x,T]),xe=D.useCallback(c=>{h!=null&&n!=null&&e.trackScheduleDetailsDeleted(Y({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:E,controllerEmails:x,controllerUserIds:T})),O(c)},[e,n,O,t,h,E,x,T]),Te=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(c=>c.error??[]).filter(c=>!!c)??[])?.includes("vendor_deleted")===!0?oe?.defaultOptions.find(c=>c.value===oe?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name;return a.jsxs(dt,{children:[a.jsx(pt,{onNavigateBack:ge,onTransactionClick:be,title:Te??I.strings.empty}),a.jsx(ct,{children:a.jsx(Ve,{...M,children:a.jsxs("form",{style:{width:"100%"},id:fe(me),onSubmit:ye,children:[a.jsx(mt,{vendorLoadOptions:De,vendorField:oe,vendorSearchAutoCompleteActions:b,vendorSearchAutoCompleteData:o,scheduleDetailsView:l,allAccountOptions:G,allClassOptions:H,allMonthOptions:Q,allowCreateSchedule:W,onEditAmount:y,onDelete:xe,onJELinkClick:d,onViewLinkedJE:N,onMarkAsComplete:Ee,onCreateSchedule:ve}),le===!0?a.jsx(Pe,{titleComponent:a.jsx(Fe,{children:I.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(_e,{children:I.confirmationPopup.discardDescription}),primaryButtonText:I.confirmationPopup.discard,secondaryButtonText:I.confirmationPopup.cancel,proceedButtonVariant:"danger",action:K}):null,ue===!0?a.jsx(Be,{formId:fe(me),primaryBtn:{label:I.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:I.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{_(!0)},style:{minWidth:"82px"}}}):null]})})})]})}function pt({title:e,onNavigateBack:s,onTransactionClick:p}){return a.jsx(Ne,{title:e,tooltipTextOnLaunch:ht.showTransactionTooltip,onBackClick:s,onLaunchClick:p,style:{zIndex:3}})}function mt({vendorField:e,vendorLoadOptions:s,vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,scheduleDetailsView:t,allAccountOptions:i,allClassOptions:b,allMonthOptions:o,allowCreateSchedule:m,onCreateSchedule:r,onMarkAsComplete:y,onEditAmount:L,onDelete:A,onJELinkClick:O,onViewLinkedJE:k}){const f=t.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(v=>v.error??[]).filter(v=>!!v)??[];return t.selectedJEScheduleTransaction!=null?a.jsxs(it,{children:[a.jsx(rt,{children:a.jsx(Ze,{errors:f,vendorLoadOptions:s,vendorField:e,vendorFieldName:B(ee,"vendor"),vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,transaction:t.selectedJEScheduleTransaction.baseTransaction,vendor:t.selectedJEScheduleTransaction.vendor})}),a.jsx(nt,{sectionId:ee,jeScheduledTransaction:t.selectedJEScheduleTransaction,allAccountOptions:i,allAccountList:t.allAccountList,allClassList:t.allClassList,allClassOptions:b,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:A,onMarkAsComplete:y,updateStatus:t.deleteStatus.fetchState}),a.jsx(ie,{controller:m===!0,children:a.jsx(et,{sectionId:te,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 fe=e=>`${e}_form`,ce=(e,s,p,l,t)=>{const i=e.scheduleDetailsLocalData.prepaid_expenses,b=i.selectedAccount,o=i.selectedVendor,m=o!=null?t.vendor.find(u=>u.zeniId===o.id):void 0,r=b!=null?e.allAccountList.find(u=>u.accountId===b):void 0,y=i.selectedClass,L=y!=null?e.allClassList.find(u=>u.classId===y):void 0,A=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,v=k==null&&f==null?void 0:f===!0?"lastDayOfMonth":"day";return{[ee]:{scheduleExpenseCategory:{selectedOption:r?.qboId,allOptions:s},scheduleClass:{selectedOption:L?.classId,allOptions:p},startDate:i.selectedDate,months:{selectedOption:A,allOptions:l},vendor:{selectedOption:m?.id??o?.id,defaultOptions:$e(t,m??o)},postingDate:{type:v,dayOfMonth:k}},[te]:O}};export{Ot as default};
|