@zeniai/web-cockpit-ui 1.14.69-prod → 1.14.70-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-CmWdWZdP-D08ZHH9H.js → ACHDetailsPage-DEHhAThG-DRAXXaYH.js} +1 -1
- package/dist/assets/{AIPerformancePage-DR_nar6I-C-nOpUga.js → AIPerformancePage-B464awTI-D9b_abqo.js} +1 -1
- package/dist/assets/{AccountInfoPage-B38K8oEc-BrwpJjZu.js → AccountInfoPage-CXORyzg0-CybH32Bk.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-2BCqK6uX-DOZlSjt9.js → AccountInfoPageContent-C9u7rHSK-BT3xnzN2.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BRDWcWCW-Bs5kmnXp.js → AccountLockedInfoModal-CKll7MKb-CjjkXlxS.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-XWU779Do-CL2XjmwO.js → AccountReconDetailsDrawerPage-BC2fGcr2-D7kVaYoW.js} +1 -1
- package/dist/assets/{AccountRow-HX65ytA9-DetuuL-x.js → AccountRow-NUjIqQZG-CSuarqvN.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-BgH0GUum-B0ik7ZZL.js → AccountsPromoCardStack-XBi6z1zm-ChZ4F-Su.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CTWrEuhw-C7oCxit3.js → AddAddressForCardDrawer-DQP3nz3Q-B4VYFuh8.js} +1 -1
- package/dist/assets/{AddToWalletPage-DTXBDGyB-DI5kTo4U.js → AddToWalletPage-Bb2oVW4b-yCBdn2-5.js} +1 -1
- package/dist/assets/{AgingReportsPage-D5cFIWFm-1uaNBQUg.js → AgingReportsPage-CumNO7Lc-CZuNjzaf.js} +1 -1
- package/dist/assets/{AllUserItems-CJuV-zCV-Cl9AZUy6.js → AllUserItems-B3X2Yuzf-nT-XTOL1.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-D70U6sDz-DBfXQvB3.js → ApAgingDetailPage-DO6H8pHR-BJjqV3Er.js} +1 -1
- package/dist/assets/{AppBasePage-DhJFM1Hf-BLCs30xv.js → AppBasePage-xQ6xhR2M-BaIjJbZZ.js} +1 -1
- package/dist/assets/{AppDrawerContent-29n10idw-BgMVfnAi.js → AppDrawerContent-BcHjLmip-CD7Xrz71.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-Cdlgg_ES-C2o8fJ93.js → ApprovalRulesSettingsPage-DEaI5LXy-CdonxLeU.js} +1 -1
- package/dist/assets/{ArAgingChart-C_oM_bU9-CSIw0A4R.js → ArAgingChart-DzhE9mKv-Dm3ED-VE.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-GccX2G2o-CbxkMfZs.js → ArAgingDetailPage-B91ZARF--DiGTdxjY.js} +1 -1
- package/dist/assets/{AttachmentView-DDNmVg54-BEQuPzAU.js → AttachmentView-ChgqlLZN-CRfLn9o5.js} +1 -1
- package/dist/assets/{BankAccountSection-CSEVnGzl-RoBrk-6C.js → BankAccountSection-BDRw3NWV-B1HXDOJd.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CZWf6Ctu-DzlhcQ-1.js → BankAccountWarningSection-BKoo9URq-B_XL-xhd.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DW3rv1B7-BI4eIich.js → BankConnectionsSettingsPage-CJ42ZzMq-CvQSATnj.js} +1 -1
- package/dist/assets/{BillDetailPage-DSwhwZ3k-CSaWl-zQ.js → BillDetailPage-DfiuLZe8-Ce9yRmQm.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-Y3sdg8vr-eulWXclu.js → BillPayApprovalRuleDetailPage-5_IW6xXJ-Dvdnaki3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-hF6nVaze-BnghCd19.js → BillPayApprovalRulesPage-CfJZKzVl-CE2_M-K3.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BwgkXhsU-Bq9cwc_l.js → BillPayPromoPage-DDLOie6P-C6YHZPkv.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Dz9F0OLg-C93_xcAH.js → BillPaySetUpPage-CSfFU76z-odkaZVOM.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CDdumusu-BSQ5mZ9a.js → BillingSettingsPage-BeXsONDQ-BbnTgDkb.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-BQ79pNCf-CEpEdOQe.js → BillsBulkReviewDrawerPage-C19XWwEC-K20I00y_.js} +1 -1
- package/dist/assets/{BoxItem-boLSc1SE-C2V3cWEh.js → BoxItem-DJq5xhLi-BG-pUsKW.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Cp39EL_C-DPdmKaH2.js → BusinessVerificationPage-cUeJO7D8-ByN9_rVE.js} +1 -1
- package/dist/assets/{CardNumberSubText-XNpl-R7P-B5ov0C5q.js → CardNumberSubText-RiyeZ4Fi-3S6YZnxr.js} +1 -1
- package/dist/assets/{CashbackDetailPage-ntByDDMa-CjeQMIiq.js → CashbackDetailPage-BgmrLbkm-Bi8JIg5v.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-D-CZcmOW-CyjYNVBL.js → ChargeCardDetailPage-BfB9DQhO-PoXrGSDN.js} +1 -1
- package/dist/assets/{ChargeCardListPage-D1NJzMX--BRsERLcq.js → ChargeCardListPage-D5hExQrJ-CEDXeeuX.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BmGQk4ht-DEDO8U5V.js → ChargeCardListTable-Xe0POHPI-C_aRBrpd.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BY1dULbG-BOQk33rr.js → ChargeCardPromoPage-C-QZi7WU-7wj0mX09.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C4PX3JTG-DN_SmBRl.js → ChargeCardSetupPage-CIaAoIaA-D0xfMcck.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BiM-yT58-DF9Rz4vt.js → ChargeCardStatementsPage-Bta8G5rU-Bxd9GDQ6.js} +1 -1
- package/dist/assets/{ChargeCardUtils-Cj1kpTwU-DWkIAXDW.js → ChargeCardUtils-MXK7oeC0-D6RsKjLW.js} +1 -1
- package/dist/assets/{ChaseOverlay-D8Wesmh3-Hay_lE2r.js → ChaseOverlay-nKLcp0IQ-DyPgaN6P.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-qtOoFuzp-PZgVMUM5.js → CheckDepositDrawerPage-DE9G4ZLn-CMYdeGxw.js} +1 -1
- package/dist/assets/{CollapsableReportTable-Do0pb5Lu-qtHBZTWo.js → CollapsableReportTable-9Ve7EJza-AqNxaI6j.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DeRanOdM-CYn2t94Z.js → CompanyOfficerDetailsSection-Dxrw3A0v-CaTwjUfz.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BTCP55KE-DxIA2Kgo.js → CompanyPassportCard-BLH9mk_K-Do765Ty4.js} +1 -1
- package/dist/assets/{CompanyPassportPage-yjAO_mG--D-XIvy88.js → CompanyPassportPage-DugSYQVz-BRWVbjGf.js} +1 -1
- package/dist/assets/{CompleteProfile-DdOrD2pt-HrNNW1Y7.js → CompleteProfile-DmnsbHlq-DyYFWoMC.js} +1 -1
- package/dist/assets/{ConfettiBurst-sNSG2up_-BS-vrnmM.js → ConfettiBurst-BDREKQUf-DKUbjNni.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Bq9oUnzE-CpG25ii2.js → CreateOrEditVendorPage-Dl6ec-s9-CkmD6cdK.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-2xfyy_iB-DP6O9SUr.js → CreditCardPaymentDrawerPage-Dyb4qL_P-DGVVqzgM.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-CvW-Fcsz-CXaa0G2D.js → CreditCardPaymentPlgSection-BPV1SLmY-C7jSKPJl.js} +1 -1
- package/dist/assets/{CurrencySelectField-DXtYsTz_-dQTlHOvB.js → CurrencySelectField-CJb3Y-mb-29nC1opq.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-C5Tf8vxR-w9wWJnBX.js → CustomerOnboardingActivationPage-9iuVWGWw-CdtgmV6n.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Pw4kXxCj-DIxXsPND.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C_pZ_Mek-DTQ2JUX-.js → CustomerOnboardingDetailPageSkeleton-jYcjJ0PW-D1CCiZxT.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DIefPh79-CJ95BLaj.js → CustomerOnboardingNoStepsPage-X-9T5fpG-DxjTi_Dm.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DvWS1Fu5-D_Sqe41C.js → CustomerOnboardingPage-CtBN8YfR-CGkB_H2s.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-bkjJ76FE-YquW1Oxm.js → CustomerOnboardingProductSuitePage-bDKvS5bh-Duy-Ig0d.js} +1 -1
- package/dist/assets/{Dashboard-BIBEEsmW-BeYObmAZ.js → Dashboard-BH5qnfQd-CCuvs67T.js} +1 -1
- package/dist/assets/{DashboardReportPage-CJ14rgfy-D6o2sgVt.js → DashboardReportPage-J1VeI2uE-Bu8eUuF5.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BTCBzIff-fKpKGZqN.js → DashboardSidebarBackgroundAnimation-CXHOxSLP-4l1AB9D9.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BGEabO5q-BEuL9m_Q.js → DepositAccTransactionItem-BGfoy6o8-BKfG_FHL.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-ByiVlTpi-BDqN3_Ld.js → DepositAccTransactionListPage-a69RARgv-CC4ca2oI.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BMZuwYyI-DD7uqmMI.js → DomesticWireDetailsPage-DBt6rnIQ-Cqpf-IDY.js} +1 -1
- package/dist/assets/{DownloadOverlay-BMuuHIe_-C6sk3TZT.js → DownloadOverlay-DgUHpkeg-D9EplThh.js} +1 -1
- package/dist/assets/{DrawerPage-CrIpCiKa-Nbri33S9.js → DrawerPage-B32TCGJ1-DlBcEsnN.js} +1 -1
- package/dist/assets/{EditPeoplePage-DlNzfgqT-DCHAk3Yz.js → EditPeoplePage-BPfO6mun-wU23lVWV.js} +1 -1
- package/dist/assets/EditReimbursementDetailPage-DKGgXOY7-DLqEBdT-.js +865 -0
- package/dist/assets/{EntityDetailPage-DSRvBHpC-BMa47RLv.js → EntityDetailPage-BfHI2iuR-CVcUBkiC.js} +1 -1
- package/dist/assets/{EntitySummarySection-9nOAnjkI-BqTlSEba.js → EntitySummarySection-CawV1rm1-D5PJQpxt.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-R3eUdjrH-X8tjo-Ht.js → ExpenseAutomationOverviewPage-BsAt8A9v-BK8BcjCH.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CKh8vu_w-tEarM0o0.js → ExpenseAutomationPage-aw988_Ii-DHT0WFhA.js} +1 -1
- package/dist/assets/{ExpressPayPage-Dduo1mOg-DNV7YrV7.js → ExpressPayPage-CJCdxlh5-y9jOExfe.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DMRrw9-Y-DWp9ezgs.js → FeaturePreviewPage-CqLkGmd--BXP9O5_K.js} +1 -1
- package/dist/assets/{FollowStepsSection-CEQpkklk-Y0e1DNzS.js → FollowStepsSection-Dyn5gNGd-Cpjk-5Ab.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-4VcZ6q0U-0o5Lv_xX.js → GlobalReviewListPage-B9ijztQn-D_Npdays.js} +1 -1
- package/dist/assets/{HelpButton-D2VIgqhe-CikEjabe.js → HelpButton-jlgjodRn-BM1z6Ko6.js} +1 -1
- package/dist/assets/{InformationCardStack-DnfUYEKn-CCG3m7qR.js → InformationCardStack-BVY3WNAX-CE7DCPLF.js} +1 -1
- package/dist/assets/{InsightsCardStack-BcmY7CE8-E-tTnJRR.js → InsightsCardStack-Cq1VFPv0-ClMSDXGQ.js} +1 -1
- package/dist/assets/{InsightsSection-DvljGiHX-ByqranmJ.js → InsightsSection-Bp2dI7sk-DQMqItrq.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-_UEZa5LV-Kdr0PwcS.js → IntegrationsSettingsPage-McjwChqZ-D9lZsJnd.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DWNfoLkN-B0-xZyVi.js → InternationalWireSwiftDetailsPage-BSbC9vYS-D96enR1t.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Dd_gu2i8-D415t1pl.js → InternationalWireVerificationPage-CXKmxcJR-kOmgW9Gg.js} +1 -1
- package/dist/assets/{InviteFormPage-D51wJ12d-BLMraIs_.js → InviteFormPage-UVuBwyyT-TSMvggYq.js} +1 -1
- package/dist/assets/{InvitePageListView-BooLnbN2-DLQz0rVr.js → InvitePageListView-D3vLBLdn-DjxY9b3S.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Crh233yV-CwdbTN9k.js → InvitePeoplePage-Dq2c-OEI-BhG4wwyM.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-wg-xymDI-7QWAPep4.js → InvoiceUploadSection-CGiw1Fsl-BqhdArfE.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CdoWbyWu-BahTnZB6.js → IssueChargeCardPage-DZt48WaC-CBzgdS2l.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BhmZAbzp-DZf4ElCh.js → LabeledAddressValue-COZIVVuQ-DoFhDxlG.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Drg5O-US-DbwmMbJK.js → LabeledAddressValueField-BqxCJ214-BeCISlsF.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BbYnFF5o-CgHKKGrg.js → LabeledControlledCheckBoxField-Ctt5nlNb-BxWNv_F8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-xcFQjqaM-VO5tpw19.js → LabeledCreatableSingleSelectField-DXxch_y1-CJyXki6j.js} +1 -1
- package/dist/assets/{LabeledDocumentField-C8pHsM4S-CPPM3Tz-.js → LabeledDocumentField--7BXDK3g-YRWqFfMC.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Cx5ONCxF-Dvig-n1H.js → LabeledDropDownFormattedTextField-j62_NoR8-C00ox8Xv.js} +1 -1
- package/dist/assets/{LabeledText-D5IHVOg0-DTokZ3Wf.js → LabeledText-j7jn7khK-1kY3l2me.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D4LdosVZ-CNQLb7VB.js → LabeledUserSingleSelectWithSubtitlesField-pIek7oI7--tqFNvok.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-zOTYaEh8-x4pjqckW.js → LabeledZeniRolesDropDownField-X2qZXFaF-DpGJz-M1.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Cjf7vBDA-CkhiSoEX.js → LinkJETransactionPage-DRC88j7z-FCK8U7jy.js} +1 -1
- package/dist/assets/{LockCardPage-D-quZPt4-By5NXdU-.js → LockCardPage-BMvHSrDy-DHBB4k1q.js} +1 -1
- package/dist/assets/{LowBalancePopup-CDVNL1Ng-BFRy_HyW.js → LowBalancePopup-DVn8qbv_-ybNeezIV.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-X0_WQkYj-B3gBebiQ.js → MagicLinkACHDetailsPage-Bvw_kaVc-FL1VkBF6.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D-C3JyeK-CSa6Ga4n.js → MagicLinkDomesticWireDetailsPage-BkVZ1jpB-Da7sci-J.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B27G9Xh5-UaM6gXLE.js → MagicLinkInternationalWireDetailsPage-s_vBiYar-9tMEta3k.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CzNf5Y4Z-BAyEW9oe.js → MagicLinkSuccessPage-BfC_ewro-D5JfIS9N.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CBQ-D4Ax-c31H1T_K.js → MagicLinkTitleSection-BheV8eRd-YQNBdJjw.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BMHFJz4W-CDGuL3Yu.js → MailingDetailsSection-dpOFXIy_-ChE90SHL.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-ClAUcXqM-HBKW1kyR.js → MeetingCalenderPopup-Ma-N6si8-DVldPR_b.js} +1 -1
- package/dist/assets/{Menu-Cd5A1JNy-e_SIl2iW.js → Menu-CS4snQyL-iEWPQ8Jg.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CCBp1XGb-DfKbX64b.js → MyBankConnectionsSettingsPage-BNwfq3mV-DvRfS-ot.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CYYNDJEv-BQZ2VoxI.js → MyPendingActivationChargeCardListPage-CvtCpxZ2-B9s4AD2w.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage--4GywTfD-BZZwGrm5.js → MyProfileSettingsPage-CYHd_uJf-CXL88bXq.js} +1 -1
- package/dist/assets/{NavBarWithPicker-BCwWE09x-BuhopnGe.js → NavBarWithPicker-CIwo3-bU-BlAZrmkB.js} +1 -1
- package/dist/assets/{NavigationArrow-Bgry4cXl-DAzfOxUH.js → NavigationArrow-Ctsd8z-N-Dey9XvGJ.js} +1 -1
- package/dist/assets/{NavigationDots-Ddi6oobs-DxfYtOhs.js → NavigationDots-DGv77DnI-DBz-xiee.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-WtpOSLWM-zMWYGlIP.js → NewGlobalMerchantPage-oyu_zZde-bRSk7vCu.js} +1 -1
- package/dist/assets/{NoDataChart-BNlDDQwD-Sl0108ki.js → NoDataChart-CXFwQK_G-CblpjrHE.js} +1 -1
- package/dist/assets/{NoDataTable-BS-9P_1q-D0B4frra.js → NoDataTable-DrDufNQl-Xxh0U3Y6.js} +1 -1
- package/dist/assets/{NotFoundPage-B9ora6ML-D_jz_LfE.js → NotFoundPage-D5ZkhpVx-Dlj_Efgz.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-Dz8TrJJt-DrRNFqWc.js → NotificationSettingsPage-DV2O4HOU-DYRLZiyD.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DFEuYLQn-DUPfNfRl.js → NotificationsListConfig-DzTt3sW7-D7k64tPL.js} +1 -1
- package/dist/assets/{NotificationsPage-BC4qwyyR-CN0IvL2c.js → NotificationsPage-pIGEEWO1-D5PlvpRi.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BEDrqFvy-46vwHXL-.js → OpExByVendorPage-B5udt4MV-Db0rh8wD.js} +1 -1
- package/dist/assets/{OverlayContainerPage-CU1AAMcq-R2gJ3RpC.js → OverlayContainerPage-BrLfNEnQ-COB3BYnt.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Q6RMHNEP-CNNhzYR9.js → PandLWithForecastPage-BH4-z8YX-CdZe4LXy.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DgZaYNuQ-PyR6Yob-.js → PaymentAccountSetupBillingAddressSection-DXtYsHZ5-DYuls--U.js} +1 -1
- package/dist/assets/{PeoplePage-B7-DBwAE-uvbgxO_f.js → PeoplePage-CudFyR33-DWYV_q9f.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-BYrJIO4G-CKemIwTc.js → PortfolioAllocationFormPage--pbBsqs1-Bdnin9RL.js} +1 -1
- package/dist/assets/{PortfolioDetails-CSUj2M7N-B43xGMlq.js → PortfolioDetails-BMo4nZPY-C_OYsbEg.js} +1 -1
- package/dist/assets/{ProductsCarousel-CJawWb9Z-BdtwzFSn.js → ProductsCarousel-n8JigLY0-hfuXryxc.js} +1 -1
- package/dist/assets/{PromoBaseCards-DBUPttkv-7qEVLUcx.js → PromoBaseCards-C7Gs9HU9-bF3NRHMd.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-XDxex81f-DeVyM9HR.js → QBOConnectionDialog-Bs4TixAR-CkOj_Icl.js} +1 -1
- package/dist/assets/{QBOSetupSection-C6N7GK8Z-Ch9cbdvZ.js → QBOSetupSection-CmnpJttN-D-P5eb83.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-vED-R4-0-9Pv-eq.js → ReimbursementApprovalRuleDetailPage-JqIc8GYJ-C9mMI_X1.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BKnffido-bza8Gua_.js → ReimbursementApprovalRulesPage-PnesOCg3-DqiGKhbd.js} +1 -1
- package/dist/assets/ReimbursementDetailPage-D22_cS36-Bpcy5-fU.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-CSRGTsL--BAhI56PW.js → ReimbursementPromoPage-DIbk9BFN-DVPfxSMn.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Dt45ZWe6-BIGPDPeN.js → ReimbursementSetUpPage-DS-cwKlv-D_Hm45Ky.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BPB3gXW9-CF49ycsK.js → ReimbursementsBulkReviewDrawerPage-BLdVlRgq-JaicePT_.js} +1 -1
- package/dist/assets/{ReloadCard-C7H9HpbO-_kdesY41.js → ReloadCard-DBa4gyKQ-Buh0vXeY.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CXqW1clk-GSVgkRxB.js → ReportTableViewSelector-DuwAvmlS-BBnfMgKH.js} +1 -1
- package/dist/assets/{ReportsPage-cosy_Bbq-OTCGmxc4.js → ReportsPage-WABWxLPG-DKN5DzWh.js} +1 -1
- package/dist/assets/{RevenueChart-DUPn_XF8-BDu1SDxr.js → RevenueChart-B5jN8P8V-Bz2uKzvD.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DH6T7H7g-DH-6NE08.js → ReviewDetailsPage-BudlDfFj-BIOHcwWG.js} +1 -1
- package/dist/assets/{ReviewOverlay-D1gSW-Yw-B8hhebw_.js → ReviewOverlay-CckOQNCd-Cqn6hgqy.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Cp5gvEZs-DwN1v8Cj.js → RoleWithToolTip-Bur7bxOe-CYEzIvk3.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CnphYKxN-BXYrlUXY.js → ScheduleDetailsFixedAssetsPage-Div2wWri-CXszSt2I.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-C-Aexea6-DU14GLoR.js → ScheduleDetailsPage-DDYQPFGk-CiGVq9tp.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DcwqaLmf-CGtKtyWB.js → ScheduleSequenceTable-1TRzUR6V-wcPOEmww.js} +1 -1
- package/dist/assets/ScreenRoutes-i5d_donU.js +203 -0
- package/dist/assets/{SetUpAccountSection-DcPnHW0X-DTztXzhn.js → SetUpAccountSection-Dfs_xZu7-CWFfutWm.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-BFPybRJc-BixU69LG.js → SetUpDefaultSection-TtnDS5ad-BZjzQ8Mk.js} +1 -1
- package/dist/assets/{SignIn-_2PLYEin-DIx0TRbT.js → SignIn-D3-Ker_M-zn09bTiA.js} +1 -1
- package/dist/assets/{SignInScreen-BnzespSp.js → SignInScreen-EsgrSlOr.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DoOD0SKy-CBwphAUh.js → SpendManagementListViewPage-D0yJ6ZZV-DPeBz9Dm.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-zAut4sVr-Dx6Uwcef.js → SpendManagementPerTabPage-Dfhzyv14-BxpKm9-A.js} +1 -1
- package/dist/assets/{SpendManagementSection-DZz_fsH6-BO0X1BhL.js → SpendManagementSection-CNgCznpS-D2Anolaw.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-CM4RGF3P-CEi1-z0Q.js → SpendMgmtSetupAccountSection-CKg4qknx-DMsYuVmq.js} +1 -1
- package/dist/assets/{StatementItem-CgyEvD-b-a_xofKOn.js → StatementItem-Cv3RZsIv-CE3xFXTY.js} +1 -1
- package/dist/assets/{StatementsPage-DsIQ8XQY-DrS2pukO.js → StatementsPage-4JEocF4A-CUYYmhxY.js} +1 -1
- package/dist/assets/{StatusSwitcher-0FW5MyfZ-Ckzka9NF.js → StatusSwitcher-DbsnK4Pn-QF_adjcm.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DROmoxUm-DMhWlatK.js → SubTabSwitcher-Di6AZRan-D-fc0CCz.js} +1 -1
- package/dist/assets/{SummaryCard-CvqpWY1e-CSF6-9Tw.js → SummaryCard-BbqP93PD-DCBLhe4V.js} +1 -1
- package/dist/assets/{TaskManagementPage-BlRUCsH2-CR3T4qHe.js → TaskManagementPage-BJhjliCJ-Dgf8KAM1.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DaSDSBJg-D8rwcFXC.js → TimeRangeSwitcher-MsG4Kt2X-hRGxoqg7.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CQXRt_ve-_zsfOZYb.js → TimeframeSwitcher-Cv7wfQSS--wV3l3C4.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DRxK4ucX-Dt89QoOS.js → TimeframeSwitcherWithToggle-CXnzJ3Ip-DVUB_GmO.js} +1 -1
- package/dist/assets/{TopExCard-Bx4hv8bP-CJJoCX_h.js → TopExCard-Bb0F0Re9-BGQwgN2R.js} +1 -1
- package/dist/assets/{TopExDetailPage-WwjISiBR-Cf2e4GFX.js → TopExDetailPage-BgRX-60I-Dvt1aqR4.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DZxj6ERf-6l8yINyG.js → TransactionDetailPage-C1clpiWS-CjTAZZDd.js} +1 -1
- package/dist/assets/{TransactionList-CS0vdVOy-BhTABrNB.js → TransactionList-DqlnGjYa-CR04FLWL.js} +1 -1
- package/dist/assets/{TransactionListBig-EJgfLOeO-88TXRgl4.js → TransactionListBig-CCuDCegl-nebtbqVL.js} +1 -1
- package/dist/assets/{TransactionListPage-B7HHD_XG-DWoC2vGy.js → TransactionListPage-B1TxgyxD-BG9D6Llv.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-91nT0xN2-BefYRztA.js → TransactionVendorDetailPage-BYWPYZkV-DmR3luWN.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DRnmOKbS-XYkHz5Q1.js → TransferDrawerPage-Cx4Qxlnr-KKZmPzs2.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BL6F3EAV-BG3QG9B9.js → TreasuryOverviewPage-B0scZon9-BtBCUnCW.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-EgoFyZHZ-DAFbRUib.js → TreasuryPromoPage-Cs6MvdWT-CmcGtneC.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CNEy8TpS-DIs9Un6S.js → TreasurySetupPage-BT3fZK16-DjGogfn_.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CpHtCiHi-BWaLA3-u.js → TreasuryStatementsPage-Cj28uTCq-DnMgkVai.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B4MAEQMq-Co2rZ51I.js → TreasuryTaxLetterPage-C6fYejXM-CXfwlQFb.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-BCLp7kS2-bG4fJ74_.js → TreasuryTransferOrReviewPage-DMaGU-Gd-CFr5ChKO.js} +1 -1
- package/dist/assets/{TrendChart-BnJ_z_Ip-8PP2Ttx5.js → TrendChart-UOHctvPR-DYyf53nB.js} +1 -1
- package/dist/assets/{TrendWithTransactions-D1U0xBzL-DWMtMU3P.js → TrendWithTransactions-DeXSoeh9-DHeP6Kmv.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-Bo9l9uDw-w1Di1v2h.js → UncategorizedAccountsMappingPage-BY8Y7Cfi-DtDaq4sQ.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-68TmJxRI-ClTOV1Ga.js → UnitIntegrationPage-TSdJXoyv-Cz-xulb6.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Cgxo-kPs-7HE8RrRn.js → UploadAdditionalDocumentOverlay-GdA3H_LM-C69p4BvM.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D0T-_56--Bozo8IGD.js → Vendor2FAPopup-ga_dxJ2i-DbustIG7.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CXuz8qCs-BgCQ8sKJ.js → VendorACHDetailsPage-C0KPsWem-wXaugjAY.js} +1 -1
- package/dist/assets/{VendorDetailPage-XdXKT6C6-BpBs_08w.js → VendorDetailPage-DtHbNBi2-AhAahu41.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-D9bM52Dq-lQS5Eb9R.js → VendorDomesticWireDetailsPage-BRePkxjz-C_zV_um3.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BycAdkCM-BF1uBaWN.js → VendorFiling1099EditablePage-B9lgKnIN-DWOqfHoH.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DJ20U30K-C2xMC5RA.js → VendorFirstReviewPage-fnjh1JBs-eKAAo5iG.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CWM0qUI5-BvZcZxTa.js → VendorInternationalWireDetailsPage-B8mSTYwi-B8Dw9bcv.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C25EI591-DNZMv76Z.js → VendorInternationalWireSwiftDetailsPage-D7FYPVgc-BT4ij3cX.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-COdnN_-5-C6RZj4jP.js → VendorsAccountsSection-B5a7wuJN-D5T-paLW.js} +1 -1
- package/dist/assets/{VerifyDevice-DgUJHRD4-BmpB5n1i.js → VerifyDevice-CVJF9lwM-CPuvMYue.js} +1 -1
- package/dist/assets/{VideoPlayer-BpmcTJBM-DQk9qndK.js → VideoPlayer-DloIycOu-CLtG3Kiy.js} +1 -1
- package/dist/assets/{VideoPopup-B0Mebd5O-CsEoP_3Y.js → VideoPopup-D2oWKmZt-DPTUFVjt.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-BA9frFhl-unl68OuI.js → WarningsDrawerPage-DW-8IxrS-DOJH3-n7.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CFLHbicW-BNiCHSEL.js → ZeniAccountDetailPage-CF5PQDtn-DCaodhL6.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CLFp-HZC-C7ZhyLPF.js → ZeniAccountListViewPage-Dvzgoo-B-DJDpKPpC.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Ckl-FxuF-DQRfXbZ_.js → ZeniAccountNavBarPieces-D7qqcIZ7-Ckj10NZU.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-UY251u5Y-YgCmw_Dj.js → ZeniAccountPromoPage-DD-ZYLox-Bmu7d_Bc.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-Dyd_JQIP-CN5J54Fo.js → ZeniAccountSetupPage-ChTNTxo4-BfQrSTN7.js} +1 -1
- package/dist/assets/{ZeniCopyright-BsZ2nX3I-BqG8KaP3.js → ZeniCopyright-D7A5qQVt-DD6lHGWl.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZV7XopX-CeQL-F7u.js → ZeniTransferAmountSlider-Clmv0ILZ-CusxQjDl.js} +1 -1
- package/dist/assets/{analyticsHelper-CGgt_qXV-B8CI40B8.js → analyticsHelper-Dn0mlAnz-iXePQX9C.js} +1 -1
- package/dist/assets/{analyticsHelper-CGnQfI5F.js → analyticsHelper-YKy7IxaP.js} +1 -1
- package/dist/assets/{chartTypes-CrYCtn5W-vvFJxyhx.js → chartTypes-A8wR1KBw-DpEneA3z.js} +1 -1
- package/dist/assets/{commonDimensions-CzZEAJMD-CXd4nX_H.js → commonDimensions-BT_as0IS-D3xsa4S9.js} +1 -1
- package/dist/assets/{crypto-cQYYQPTZ.js → crypto-Cicc6Fs8.js} +1 -1
- package/dist/assets/{detailCommon-DCm_e5wl-Dmz384l1.js → detailCommon-DppzaL-S-BgbDmqrB.js} +1 -1
- package/dist/assets/{downloadPdf-wjda1Kbt-CA-h_1ts.js → downloadPdf-CdA_CkNA-Bv6C7tQF.js} +1 -1
- package/dist/assets/{index-utnCtAcO.js → index-DI0MUGC6.js} +12 -12
- package/dist/assets/{lodash-D52QloPU.js → lodash-B66NTFTY.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-CegpKrCb-CAUjmmc6.js → mapLoadingInProgressToTreeNode-_eXCwZ49-D7g990MI.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DmY1QvVV-Dyd_eDPt.js → mapSectionWithAcOnlyToTreeNode-Ch0t_vs_-BO4dZMxU.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CBqkMj---cnP7d7US.js → mapSpacerToTreeNode-DV0UxtV9-m8YDFU8F.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DN0p6EVx-p9sZxSMW.js → mapTimeframeBalancesToTreeNode-Mxxnpeq7-aaSrDsH6.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BdXepUFS-C5CRbd-m.js → mapTimeframeBalancesToTreeNode-puf5eiMx-Bhs3Sn9u.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D-hyDelr-Chgczrza.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-W32Tm--Bv0I7MdF.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DcVKFWfH-ajwPTNjs.js → toCOABalancesWithID-CibeBR5w-DKx7lCaE.js} +1 -1
- package/dist/assets/{toChartData-CP77kYFN-WRS6hFfm.js → toChartData-D_R7lWVz-CD840bWJ.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CAu0BSpC-PtGGDUlY.js → treasuryColorHelper-DudgBZZp-BB3FFLUP.js} +1 -1
- package/dist/assets/{uploadAttachment-NIzZa4c9-SVWT7q9X.js → uploadAttachment-DxrjP0NZ-kkI8V1hd.js} +1 -1
- package/dist/assets/{uploadReceipts-9DTOr0BG-DzIqT4ou.js → uploadReceipts-TOfVnojh-B2rywoul.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +9 -6
- package/dist/assets/CustomerOnboardingContainerPage-BQFnoCtd-B1bzOmSi.js +0 -1
- package/dist/assets/EditReimbursementDetailPage-Dqbs8qjg--rlw1Sms.js +0 -865
- package/dist/assets/ReimbursementDetailPage-DAw7ua01-D987A0H2.js +0 -314
- package/dist/assets/ScreenRoutes-GxRTI4h2.js +0 -206
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as W,c as G,O as y,ax as he,l as _,j as r,aM as k,bZ as fe,bH as me,bF as ge,y as v,o as C,aS as _e,P as be,b_ as Se,u as w,B,aC as Q,x as we,aU as Ce,au as ye,bK as xe}from"./index-utnCtAcO.js";import{b as P,w as J,n as b}from"./vendor-Bs1fkIUX.js";import{m as z,l as Z}from"./analyticsHelper-CGgt_qXV-B8CI40B8.js";import{u as Oe}from"./ReportTableViewSelector-CXqW1clk-GSVgkRxB.js";import{a as X,p as Re}from"./TimeRangeSwitcher-DaSDSBJg-D8rwcFXC.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-DRxK4ucX-Dt89QoOS.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-BMuuHIe_-C6sk3TZT.js";import{I as ve,R as F,x as ee}from"./CollapsableReportTable-Do0pb5Lu-qtHBZTWo.js";import{T as te,I as se,L as j,D as Te,g as ne}from"./mapSectionWithAcOnlyToTreeNode-DmY1QvVV-Dyd_eDPt.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-DN0p6EVx-p9sZxSMW.js";import{d as Le,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D-hyDelr-Chgczrza.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-CegpKrCb-CAUjmmc6.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-CQXRt_ve-_zsfOZYb.js";import"./page-detail-CWX5S47F-lMo0MYzU.js";import"./AccountRow-HX65ytA9-DetuuL-x.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=H({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Le({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=H({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Te({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=H({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
1
|
+
import{q as W,c as G,O as y,ax as he,l as _,j as r,aM as k,bZ as fe,bH as me,bF as ge,y as v,o as C,aS as _e,P as be,b_ as Se,u as w,B,aC as Q,x as we,aU as Ce,au as ye,bK as xe}from"./index-DI0MUGC6.js";import{b as P,w as J,n as b}from"./vendor-Bs1fkIUX.js";import{m as z,l as Z}from"./analyticsHelper-Dn0mlAnz-iXePQX9C.js";import{u as Oe}from"./ReportTableViewSelector-DuwAvmlS-BBnfMgKH.js";import{a as X,p as Re}from"./TimeRangeSwitcher-MsG4Kt2X-hRGxoqg7.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-CXnzJ3Ip-DVUB_GmO.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-DgUHpkeg-D9EplThh.js";import{I as ve,R as F,x as ee}from"./CollapsableReportTable-9Ve7EJza-AqNxaI6j.js";import{T as te,I as se,L as j,D as Te,g as ne}from"./mapSectionWithAcOnlyToTreeNode-Ch0t_vs_-BO4dZMxU.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-Mxxnpeq7-aaSrDsH6.js";import{d as Le,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B-W32Tm--Bv0I7MdF.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-_eXCwZ49-D7g990MI.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-Cicc6Fs8.js";import"./TimeframeSwitcher-Cv7wfQSS--wV3l3C4.js";import"./page-detail-CWX5S47F-lMo0MYzU.js";import"./AccountRow-NUjIqQZG-CSuarqvN.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=H({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Le({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=H({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Te({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=H({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${C.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as A,j as a,O as S,q as de,aM as Ae,b3 as Z,bQ as Te,u as E,bR as J,bh as ee,C as M,bg as ae,aX as re,bS as oe,bT as ge,o as m,bU as te,h as g,aC as Ve,bV as pe,bW as me,y as xe,bX as fe,am as P,bY as V,b9 as F}from"./index-
|
|
1
|
+
import{c as A,j as a,O as S,q as de,aM as Ae,b3 as Z,bQ as Te,u as E,bR as J,bh as ee,C as M,bg as ae,aX as re,bS as oe,bT as ge,o as m,bU as te,h as g,aC as Ve,bV as pe,bW as me,y as xe,bX as fe,am as P,bY as V,b9 as F}from"./index-DI0MUGC6.js";import{b as R,w as le,n as x}from"./vendor-Bs1fkIUX.js";import{p as b,d as ne,y as W,b as N,g as ce,u as T}from"./chartTypes-A8wR1KBw-DpEneA3z.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-CibeBR5w-DKx7lCaE.js";import{V as Q}from"./toChartData-D_R7lWVz-CD840bWJ.js";const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(E[3],E[4])},Fe=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=x.div`
|
|
4
4
|
margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as Tt,ax as jt,y,fg as vt,O as St,fh as Ct,fi as Dt,j as t,fj as It,fk as le,fl as At,l as d,fm as Pt,fn as kt,aM as v,fo as Mt,aN as k,fp as Bt,fq as Nt,fr as ke,fs as Me,ft as Be,C as Y,fu as O,fv as z,fw as _,h as S,fx as Et,fy as Rt,fz as Ft,fA as Lt,c5 as Ne,o as n,aQ as Ot,u as c,aj as zt,cg as _t,b as Wt,H as Ht,fB as Ut,cw as Zt,am as se,an as de,fC as qt,fD as Vt,bm as Yt,s as Kt,b8 as Gt,ar as Xe,bP as Xt,ai as Qe,bx as Qt,fE as Jt}from"./index-utnCtAcO.js";import{b as H,n as i}from"./vendor-Bs1fkIUX.js";import{t as en,o as tn}from"./LowBalancePopup-CDVNL1Ng-BFRy_HyW.js";import{S as W}from"./LabeledText-D5IHVOg0-DTokZ3Wf.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Ee,common:{currency:j,labels:Re,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Fe}=ln,Le=({attachment:e})=>{const[w,x]=H.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=Tt(),m=jt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,E=`dashboard_${m.currentTenant?.companyId}`,R=p.largeLabelWidth.value(s),F=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=vt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Ee.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},[rt,ge]=H.useState(!1),[st,xe]=H.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:s,children:t.jsx(An,{})})]}):It(e.paymentDetailsSection?.paymentTo);H.useEffect(()=>{(F?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[F,J,ye,me,ue]);const T=e.billPayInfo?.stage,A=e.billPayInfo?.billStatus,U=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:A?.code=="approved"&&U?.code?U:A,pt=e.billPayInfo?.isRefundInitiated===!0?mt:A?.code=="approved"&&U?.code?U:A,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,q=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(T?.code!=null?T.code==="draft"||A?.code==="approved":!0),b=P&&!it,Te=Oe(b,q,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===j.currencyCode?Rt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Ee.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=A?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Ae=Jt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Ae,Pe):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Ae,Pe)}}},je=()=>{ve===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[ve,V]=H.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:F?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,ve?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:je,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(qe,{onClick:be,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(jn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Fn,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(vn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(En,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsxs(Rn,{"data-testid":v("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ue,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:Y.largeMedium.cssObject,decimalStyles:Y.smallMedium.cssObject})}),t.jsx(Ue,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Et(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Ft(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==j.currencyCode?Fe.conversionAmountColon:Re.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Fe.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Re.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:Y.h6Medium.cssObject,decimalStyles:Y.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,q,s)}},primaryBtn:{label:Oe(b,q,e.isBillMarkedForRetry),isLoading:F?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):je()},style:{width:ze(!0,P,b,q,s)}},rightSideComponent:P&&!b&&F.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Hn,{onClick:ne,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
1
|
+
import{q as Tt,ax as jt,y,fg as vt,O as St,fh as Ct,fi as Dt,j as t,fj as It,fk as le,fl as At,l as d,fm as Pt,fn as kt,aM as v,fo as Mt,aN as k,fp as Bt,fq as Nt,fr as ke,fs as Me,ft as Be,C as Y,fu as O,fv as z,fw as _,h as S,fx as Et,fy as Rt,fz as Ft,fA as Lt,c5 as Ne,o as n,aQ as Ot,u as c,aj as zt,cg as _t,b as Wt,H as Ht,fB as Ut,cw as Zt,am as se,an as de,fC as qt,fD as Vt,bm as Yt,s as Kt,b8 as Gt,ar as Xe,bP as Xt,ai as Qe,bx as Qt,fE as Jt}from"./index-DI0MUGC6.js";import{b as H,n as i}from"./vendor-Bs1fkIUX.js";import{t as en,o as tn}from"./LowBalancePopup-DVn8qbv_-ybNeezIV.js";import{S as W}from"./LabeledText-j7jn7khK-1kY3l2me.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-Cicc6Fs8.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Ee,common:{currency:j,labels:Re,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Fe}=ln,Le=({attachment:e})=>{const[w,x]=H.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=Tt(),m=jt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,E=`dashboard_${m.currentTenant?.companyId}`,R=p.largeLabelWidth.value(s),F=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=vt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Ee.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:j.currencyCode,currencySymbol:j.currencySymbol},[rt,ge]=H.useState(!1),[st,xe]=H.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:s,children:t.jsx(An,{})})]}):It(e.paymentDetailsSection?.paymentTo);H.useEffect(()=>{(F?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[F,J,ye,me,ue]);const T=e.billPayInfo?.stage,A=e.billPayInfo?.billStatus,U=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:A?.code=="approved"&&U?.code?U:A,pt=e.billPayInfo?.isRefundInitiated===!0?mt:A?.code=="approved"&&U?.code?U:A,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,q=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(T?.code!=null?T.code==="draft"||A?.code==="approved":!0),b=P&&!it,Te=Oe(b,q,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===j.currencyCode?Rt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Ee.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=A?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Ae=Jt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Ae,Pe):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Ae,Pe)}}},je=()=>{ve===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[ve,V]=H.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:F?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,ve?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:je,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(qe,{onClick:be,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(jn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Fn,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(He,{windowSize:s,children:[t.jsxs(vn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(En,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ye,{})}),t.jsxs(Rn,{"data-testid":v("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ue,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:Y.largeMedium.cssObject,decimalStyles:Y.smallMedium.cssObject})}),t.jsx(Ue,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Et(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:E,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Ft(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==j.currencyCode?Fe.conversionAmountColon:Re.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Fe.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Re.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:Y.h6Medium.cssObject,decimalStyles:Y.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,q,s)}},primaryBtn:{label:Oe(b,q,e.isBillMarkedForRetry),isLoading:F?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):je()},style:{width:ze(!0,P,b,q,s)}},rightSideComponent:P&&!b&&F.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Hn,{onClick:ne,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-D1gSW-Yw-B8hhebw_.js → ReviewOverlay-CckOQNCd-Cqn6hgqy.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as M,j as e,aM as x,o as r,aQ as B,y as d,A as L,b as C,H as W,h as s,am as $,cP as R,P as D,ai as j,bl as I,u as n,eC as G,M as A,iV as H,k0 as q}from"./index-
|
|
1
|
+
import{q as M,j as e,aM as x,o as r,aQ as B,y as d,A as L,b as C,H as W,h as s,am as $,cP as R,P as D,ai as j,bl as I,u as n,eC as G,M as A,iV as H,k0 as q}from"./index-DI0MUGC6.js";import{n as t}from"./vendor-Bs1fkIUX.js";const a={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")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:P,onCloseReviewItem:k})=>{const l=M();return e.jsxs(J,{children:[e.jsx(Y,{windowSize:l,children:e.jsx(Z,{children:e.jsx(_,{windowSize:l,children:e.jsx(ii,{children:e.jsx(ei,{onClick:P,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(Q,{windowSize:l,children:[e.jsxs(V,{windowSize:l,children:[e.jsx(K,{children:e.jsx(N,{windowSize:l,children:i})}),e.jsx(U,{isError:p.isError,windowSize:l,children:p.content})]}),e.jsx(X,{windowSize:l,children:S.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return e.jsxs(ri,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?e.jsx(ci,{onClick:()=>k(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:O(o)}),e.jsxs(oi,{children:[e.jsxs(m,{children:[e.jsx(u,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),e.jsx(u,{isWarning:c,isError:h,children:o.rightSideText.title})]}),e.jsxs(m,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),b?e.jsx(B,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},O=i=>i.reviewStatus.isLoading?e.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(v,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(v,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(li,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(ai,{}),J=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-Cp5gvEZs-DwN1v8Cj.js → RoleWithToolTip-Bur7bxOe-CYEzIvk3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f4 as h,f5 as x,j as t,c5 as m,o as n,aM as i,O as g,ao as j,ai as p}from"./index-
|
|
1
|
+
import{f4 as h,f5 as x,j as t,c5 as m,o as n,aM as i,O as g,ao as j,ai as p}from"./index-DI0MUGC6.js";import{n as s}from"./vendor-Bs1fkIUX.js";const{hyphen:a}=g.getLocalizedStrings().common.strings,y=s.div``,f=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aP as H,l as me,im as ee,gO as fe,eR as we,io as Je,aa as Me,ip as Ve,cS as _e,cT as Pe,j as a,O as xe,ad as Fe,cD as $e,cE as Ne,cF as qe,aQ as Re,iq as We,ir as Ue,ab as he,is as Se,it as Be,d3 as ze,q as Ge,iH as He,gT as re,u as R,h as De,y as Ce,cV as Ye,iu as Ke,iv as Ze,iw as Qe,o as _}from"./index-
|
|
1
|
+
import{aP as H,l as me,im as ee,gO as fe,eR as we,io as Je,aa as Me,ip as Ve,cS as _e,cT as Pe,j as a,O as xe,ad as Fe,cD as $e,cE as Ne,cF as qe,aQ as Re,iq as We,ir as Ue,ab as he,is as Se,it as Be,d3 as ze,q as Ge,iH as He,gT as re,u as R,h as De,y as Ce,cV as Ye,iu as Ke,iv as Ze,iw as Qe,o as _}from"./index-DI0MUGC6.js";import{b as m,n as U}from"./vendor-Bs1fkIUX.js";import{i as Xe,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-1TRzUR6V-wcPOEmww.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-Cicc6Fs8.js";const W={labelWidth:new Ce(160,160,160),depCategoryLabelWidth:new Ce(200,280,280)},at=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aP as $,l as ie,im as Q,gO as ke,eR as Ie,io as Je,aa as Le,ip as we,cS as Me,cT as Ve,j as a,O as De,ad as Pe,cD as Fe,cE as $e,cF as _e,aQ as Ne,iq as qe,ir as Ue,ab as re,is as pe,it as ze,d3 as Be,q as Re,gT as me,u as X,h as We,y as Ke,iu as Ge,iv as Ye,iw as He,o as L}from"./index-
|
|
1
|
+
import{aP as $,l as ie,im as Q,gO as ke,eR as Ie,io as Je,aa as Le,ip as we,cS as Me,cT as Ve,j as a,O as De,ad as Pe,cD as Fe,cE as $e,cF as _e,aQ as Ne,iq as qe,ir as Ue,ab as re,is as pe,it as ze,d3 as Be,q as Re,gT as me,u as X,h as We,y as Ke,iu as Ge,iv as Ye,iw as He,o as L}from"./index-DI0MUGC6.js";import{b as D,n as P}from"./vendor-Bs1fkIUX.js";import{i as Qe,r as Xe,n as Ze,o as et}from"./ScheduleSequenceTable-1TRzUR6V-wcPOEmww.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-Cicc6Fs8.js";const U={labelWidth:new Ke(160,160,160)},tt=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as F,c as X,j as t,ix as ie,O as N,iy as le,b as oe,iz as ge,e7 as fe,ft as we,C as A,iA as ye,iw as be,o as i,y as b,h as j,s as $e,ab as re,e3 as je,cD as Se,cF as ke,d3 as Z,db as ee,d9 as ve,iB as U,iC as Ce,b3 as De,iD as Me,cH as ze,iE as Oe,u as h,am as O,b8 as Ee,cE as Le,ap as pe,dc as Ae,b1 as ne,dn as Fe,aQ as Ie,l as Y,iF as I,gq as Te,aN as Ve,iG as Je,aU as _,dd as Be,bl as Pe}from"./index-
|
|
1
|
+
import{q as F,c as X,j as t,ix as ie,O as N,iy as le,b as oe,iz as ge,e7 as fe,ft as we,C as A,iA as ye,iw as be,o as i,y as b,h as j,s as $e,ab as re,e3 as je,cD as Se,cF as ke,d3 as Z,db as ee,d9 as ve,iB as U,iC as Ce,b3 as De,iD as Me,cH as ze,iE as Oe,u as h,am as O,b8 as Ee,cE as Le,ap as pe,dc as Ae,b1 as ne,dn as Fe,aQ as Ie,l as Y,iF as I,gq as Te,aN as Ve,iG as Je,aU as _,dd as Be,bl as Pe}from"./index-DI0MUGC6.js";import{b as D,n as o,i as B}from"./vendor-Bs1fkIUX.js";const R=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=N.getLocalizedStrings();function Ne({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:y}){const[f,u]=D.useState(!1),{control:m,formState:{errors:g},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},w=()=>{y(),u(!1)},k=ee(g,l),x=F(),a=X();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Ke,{style:p,isDisabled:n!=null,windowSize:x,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:R(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(Re,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ge,{alignLeft:r===!0,children:[t.jsx(Ze,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Xe,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:R(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Fe,{name:R(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...A.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ue,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(We,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(et,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:R(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Ie,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:qe(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:w,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function Re({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(Ye,{isDisabled:s!=null,children:[l?.type==null?t.jsx(_e,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function We({defaultValue:e,onClick:l}){return t.jsxs(Qe,{children:[t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(H,{isSelected:r===e,onClick:()=>l(Y.toScheduleDaysOfMonth(r)),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(H,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const qe=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},He=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,Ye=o.div`
|
|
4
4
|
display: flex;
|