@zeniai/web-cockpit-ui 1.14.82-dev → 1.14.82-qa
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-B8cMQbzA-DWCLdf-t.js → ACHDetailsPage-B8cMQbzA-QoREznZf.js} +1 -1
- package/dist/assets/{AIPerformancePage-4acIIZMP-B-rRjry_.js → AIPerformancePage-4acIIZMP-BD4rcuOu.js} +1 -1
- package/dist/assets/{AccountInfoPage-BrydzmjB-KHr91NHb.js → AccountInfoPage-BrydzmjB-DujWmvur.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DUxplaBp-FrAxiU_4.js → AccountInfoPageContent-DUxplaBp-Bn6gVibV.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-tHlPMl4Y-Ct1s-YMU.js → AccountLockedInfoModal-tHlPMl4Y-CApVc_H1.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-U6I-zYEJ-Dit01cmg.js → AccountReconDetailsDrawerPage-U6I-zYEJ-B0ucx4D-.js} +1 -1
- package/dist/assets/{AccountRow-BPUVgiz--B9ZBU0Ub.js → AccountRow-BPUVgiz--DNW_eotg.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-y8mKetwA-B9ECyUUA.js → AccountsPromoCardStack-y8mKetwA-AQ_Xxglh.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-mWEDF852-i34A1O1w.js → AddAddressForCardDrawer-mWEDF852-CdCYhjFo.js} +1 -1
- package/dist/assets/{AddToWalletPage-8h9ovxv--TxpEgqlp.js → AddToWalletPage-8h9ovxv--CaEOaDLO.js} +1 -1
- package/dist/assets/{AgingReportsPage-DjL0iX3p-BZDNKxCo.js → AgingReportsPage-DjL0iX3p-BYYrYXHC.js} +1 -1
- package/dist/assets/{AllUserItems-BsXasG5N-CuxsTE4D.js → AllUserItems-BsXasG5N-vJHLR9Vq.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-D4_EOVXW-CPCLR9hb.js → ApAgingDetailPage-D4_EOVXW-Dgx7xU1D.js} +1 -1
- package/dist/assets/{AppBasePage-BzrUji13-DfOUej5i.js → AppBasePage-BzrUji13-Bxhm4UoU.js} +1 -1
- package/dist/assets/{AppDrawerContent-CZvLqK2n-BuqawGiw.js → AppDrawerContent-CZvLqK2n-C6mN2GfS.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-3APmrgde-dc-swn_U.js → ApprovalRulesSettingsPage-3APmrgde-lIaAXa0F.js} +1 -1
- package/dist/assets/{ArAgingChart-P6KtJIV_-DjRI10iW.js → ArAgingChart-P6KtJIV_-D8j_M9mt.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-Qsa99SU7-Sm_WpA-3.js → ArAgingDetailPage-Qsa99SU7-BloNTpcM.js} +1 -1
- package/dist/assets/{AttachmentView-C1vDyOg6-DWlWJjzp.js → AttachmentView-C1vDyOg6-DH_M81qd.js} +1 -1
- package/dist/assets/{BankAccountSection-myuKfQST-BSnxyRJZ.js → BankAccountSection-myuKfQST-h6UiX54a.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-gh8laVG2-BY6zGWOu.js → BankAccountWarningSection-gh8laVG2-8WHGkC6b.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BBWIpyRM-ze5azuH3.js → BankConnectionsSettingsPage-BBWIpyRM-CbkqOWmf.js} +1 -1
- package/dist/assets/{BillDetailPage-CyhFsEGB-DkTie3Te.js → BillDetailPage-CyhFsEGB-CfEd3d2v.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B3_rA-sq-BdcxnQmt.js → BillPayApprovalRuleDetailPage-B3_rA-sq-D6htG4hj.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DnSLHXWD-MUaAKHpR.js → BillPayApprovalRulesPage-DnSLHXWD-DSmkUwYL.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BbBa3DYn-lLOlfxB7.js → BillPayPromoPage-BbBa3DYn-CTT1AJv_.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-B03pG6jS-DJinIaFQ.js → BillPaySetUpPage-B03pG6jS-BYaV0l36.js} +1 -1
- package/dist/assets/{BillingSettingsPage-C6brwXi1-BB5RkLKN.js → BillingSettingsPage-C6brwXi1-DrMuC0_a.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CgwBahfX-DFWt9hBv.js → BillsBulkReviewDrawerPage-CgwBahfX-BAi5StY1.js} +1 -1
- package/dist/assets/{BoxItem-B5BR_eEi-Bv0vf77X.js → BoxItem-B5BR_eEi-kP5KFYHN.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BlxdC_nV-DC1jqf6y.js → BusinessVerificationPage-BlxdC_nV-CRoC5vv_.js} +1 -1
- package/dist/assets/{CardNumberSubText-CbN8rqBy-Cnr87BXk.js → CardNumberSubText-CbN8rqBy-CxrUgwDL.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BW_OnL3H-DtMwDigS.js → CashbackDetailPage-BW_OnL3H-TwiKqlKm.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-BpKVl3Ea-B12Yd96T.js → ChargeCardDetailPage-BpKVl3Ea-DgTKjfhm.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B89QoOTi-BeB_sD-R.js → ChargeCardListPage-B89QoOTi-udpcE3pY.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CU-J5RcP-DCnik2yB.js → ChargeCardListTable-CU-J5RcP-vABUXP99.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-Blp9PieM-P4TuvLik.js → ChargeCardPromoPage-Blp9PieM-DTjcfauy.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-CXunWgVU-DEdxFCW1.js → ChargeCardSetupPage-CXunWgVU-i9rHSEvx.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-396WGHBW-DMiFIJN4.js → ChargeCardStatementsPage-396WGHBW-BhxBggnK.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-C7BVbKlI-DgETwW-L.js → CheckDepositDrawerPage-C7BVbKlI-BeHXUl7F.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BbW0qlyW-jZfWpSap.js → CollapsableReportTable-BbW0qlyW-DyXO_zDx.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CEpa9DV0-YSPl7yqU.js → CompanyOfficerDetailsSection-CEpa9DV0-D9vhw2RD.js} +1 -1
- package/dist/assets/{CompanyPassportCard-tAObqkaq-DBobX3WO.js → CompanyPassportCard-tAObqkaq-iwxnmgkk.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BOF33vf6-C25WfyI1.js → CompanyPassportPage-BOF33vf6-CUXRwG-1.js} +1 -1
- package/dist/assets/{CompleteProfile-BhnnbqKE-C9dCi-11.js → CompleteProfile-BhnnbqKE-RKYMMUMO.js} +1 -1
- package/dist/assets/{ConfettiBurst-D0oJjMYW-OgNoTU4M.js → ConfettiBurst-D0oJjMYW-QJkEXbU6.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BfIEfvLQ-A8OKff0d.js → CreateOrEditVendorPage-BfIEfvLQ-kB78TWnm.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-jZufhZeW-Czck8YRv.js → CreditCardPaymentDrawerPage-jZufhZeW-Oqy4fBeT.js} +1 -1
- package/dist/assets/{CurrencySelectField-eLjU71Cn-D8N6eDEv.js → CurrencySelectField-eLjU71Cn-CsFzHbrZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-IwlzXBxP-D0APQC-B.js → CustomerOnboardingActivationPage-IwlzXBxP-BdmZwork.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B44-zxPH-CMDYo3gZ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DIey8Q_A-qZcba9zt.js → CustomerOnboardingDetailPageSkeleton-DIey8Q_A-CAhQsBP5.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CY-Ereo7-CDSd5c27.js → CustomerOnboardingNoStepsPage-CY-Ereo7-BK-sYwc5.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-TkHlE1kV-B90xrx5q.js → CustomerOnboardingPage-TkHlE1kV-DkolYwon.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-CHQxzOJb-BPLz8QJt.js → CustomerOnboardingProductSuitePage-CHQxzOJb-BPi6yPi0.js} +1 -1
- package/dist/assets/{Dashboard-DpMzEbb0-Bk6FtHLo.js → Dashboard-DpMzEbb0-Brck0uig.js} +1 -1
- package/dist/assets/{DashboardReportPage-DoztwEhX-DAUg_oFC.js → DashboardReportPage-DoztwEhX-BAwOhd6b.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Bl7NKDPX-BKa5jVQD.js → DashboardSidebarBackgroundAnimation-Bl7NKDPX-BsxXYInG.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DSqlMEXY-CaAiK8be.js → DepositAccTransactionItem-DSqlMEXY-Dj9Ao3uS.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-LM-5wxCN-2aGATB_a.js → DepositAccTransactionListPage-LM-5wxCN-TkzNrT7m.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DCVbnyiw-MmPkUBMW.js → DomesticWireDetailsPage-DCVbnyiw-C2KvdCXk.js} +1 -1
- package/dist/assets/{DownloadOverlay-Bp_ZXErR-BFxkS5Sp.js → DownloadOverlay-Bp_ZXErR-CcaUtk0L.js} +1 -1
- package/dist/assets/{DrawerPage-DEK5OjOv-CudDxByF.js → DrawerPage-DEK5OjOv-D87uOKo_.js} +1 -1
- package/dist/assets/{EditPeoplePage-DLIKL_0K-BYYB6CQN.js → EditPeoplePage-DLIKL_0K-DuLMHlHB.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-F_MHrbGF-DossIcDU.js → EditReimbursementDetailPage-F_MHrbGF-CSIWdBmP.js} +1 -1
- package/dist/assets/{EntityDetailPage-Ca9C29eU-BU7AxpuG.js → EntityDetailPage-Ca9C29eU-Bqsn7MUx.js} +1 -1
- package/dist/assets/{EntitySummarySection-CjIHfEiX-PbFJ4zts.js → EntitySummarySection-CjIHfEiX-Bqh-Y1KC.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-UAVNgUOX-D2d8vPhR.js → ExpenseAutomationOverviewPage-UAVNgUOX-jnIeXI7J.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DZLhQz2w-Dy7QQgBg.js → ExpenseAutomationPage-DZLhQz2w-Bg9wuLQ8.js} +1 -1
- package/dist/assets/{ExpressPayPage-DVIOuW0t-xDQUwEHB.js → ExpressPayPage-DVIOuW0t-BuiMpcJp.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-bAjG281t-2xEBJDr4.js → FeaturePreviewPage-bAjG281t-DrnFeG_l.js} +1 -1
- package/dist/assets/{FollowStepsSection-B_t3bRMq-DXg2LJ8T.js → FollowStepsSection-B_t3bRMq-B2r3wcZf.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-5RVGNBoL-_sR9DlVX.js → GlobalReviewListPage-5RVGNBoL-D-Vele6q.js} +1 -1
- package/dist/assets/{InformationCardStack-Cm-J8hYU-60aXUK6h.js → InformationCardStack-Cm-J8hYU-BUAWDqS1.js} +1 -1
- package/dist/assets/{InsightsCardStack-BWy3HRRw-CB9cKExH.js → InsightsCardStack-BWy3HRRw-CX-HxXWa.js} +1 -1
- package/dist/assets/{InsightsSection-DjRiKEWC-CRd8YfwT.js → InsightsSection-DjRiKEWC-Cr6IhhWu.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CHjWI8gL-CCa-olQ5.js → IntegrationsSettingsPage-CHjWI8gL-DqQx-9L0.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DwmOiSec-BLt2UL2Y.js → InternationalWireSwiftDetailsPage-DwmOiSec-CYO2odaM.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-COckx00_-DU-V6935.js → InternationalWireVerificationPage-COckx00_-Bgx5k-8H.js} +1 -1
- package/dist/assets/{InviteFormPage-CmyIJ72X-Vl8NJsKW.js → InviteFormPage-CmyIJ72X-DNQ7bMWx.js} +1 -1
- package/dist/assets/{InvitePageListView-S-XAzaOd-CKRKrwVx.js → InvitePageListView-S-XAzaOd-Dvw-IdlY.js} +1 -1
- package/dist/assets/{InvitePeoplePage-B0HxRKN_-3dGtjrPQ.js → InvitePeoplePage-B0HxRKN_-BuMHkErb.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DnLPeCSG-C0y9aVXE.js → InvoiceUploadSection-DnLPeCSG-DkN762J9.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CoTj6RDV-D-5E4s3e.js → IssueChargeCardPage-CoTj6RDV-D720uuzF.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B1ZDT-4q-DVaJdMlO.js → LabeledAddressValue-B1ZDT-4q-Br_U5Mdd.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Di43zVJJ-B4HEKXM1.js → LabeledAddressValueField-Di43zVJJ-6iMO4iAq.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BSK3oaPb-CVXOIMit.js → LabeledControlledCheckBoxField-BSK3oaPb-DmKGOVeW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BkCk2Mz9-QE-OrhIc.js → LabeledCreatableSingleSelectField-BkCk2Mz9-C7ebeCFU.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BtFEcM-5-BNPldwRC.js → LabeledDocumentField-BtFEcM-5-CsvDCW1i.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CihGYv2Q-uL_S1-42.js → LabeledDropDownFormattedTextField-CihGYv2Q-DKofK1xj.js} +1 -1
- package/dist/assets/{LabeledText-CxYr4vz2-OntqEWP_.js → LabeledText-CxYr4vz2-DuXVsj0l.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bioh8f7m-DSVS8C1m.js → LabeledUserSingleSelectWithSubtitlesField-Bioh8f7m-B9b21QUC.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BgiwWAS6-AJekbb2Q.js → LabeledZeniRolesDropDownField-BgiwWAS6-CxEIVT2a.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Bc29bXtl-lsZpblLt.js → LinkJETransactionPage-Bc29bXtl-DaPAyHoR.js} +1 -1
- package/dist/assets/{LockCardPage-B10jpxrS-e8fFZQs8.js → LockCardPage-B10jpxrS-B5lHAfBS.js} +1 -1
- package/dist/assets/{LowBalancePopup-DzUz_bgp-DkpyxTGf.js → LowBalancePopup-DzUz_bgp-DLuvzpms.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-7wHBwA8u-DVtGPkL-.js → MagicLinkACHDetailsPage-7wHBwA8u-xwdU02Xx.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CWW5hX-e-Cu-zXAx_.js → MagicLinkDomesticWireDetailsPage-CWW5hX-e-BYSmIeYJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Dku8PArB-dDYRywx5.js → MagicLinkInternationalWireDetailsPage-Dku8PArB-BfrlVlID.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BaEhnzOs-B5ZPDl3h.js → MagicLinkSuccessPage-BaEhnzOs-B7H4VMM0.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CO4sR9c2-h_xXZHeA.js → MagicLinkTitleSection-CO4sR9c2-IxFPpRKV.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Cfd7dekJ-V6MjDV6u.js → MailingDetailsSection-Cfd7dekJ-DBH9MqU5.js} +1 -1
- package/dist/assets/{Menu--_oLyn9M-Sp5pgVYU.js → Menu--_oLyn9M-smBYbUcH.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CnyIOUNb-CgMkJhJg.js → MyBankConnectionsSettingsPage-CnyIOUNb-Bs_sb4fm.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-TRkRTIRl-Au28R7Nt.js → MyPendingActivationChargeCardListPage-TRkRTIRl-DovGC0Rd.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CNJgwdAc-ZInAmXWl.js → MyProfileSettingsPage-CNJgwdAc-D3BOrvOy.js} +1 -1
- package/dist/assets/{NavBarWithPicker-B3n6c9cW-BqqxXmqK.js → NavBarWithPicker-B3n6c9cW-D_8N0I6F.js} +1 -1
- package/dist/assets/{NavigationArrow-DerCbJQJ-Dbt4VcuR.js → NavigationArrow-DerCbJQJ-Dy2Uo0bZ.js} +1 -1
- package/dist/assets/{NavigationDots-CXbzdOJY-BibyAOdv.js → NavigationDots-CXbzdOJY-Dlf0CWZw.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-B9qfP4b1-CgTqdodw.js → NewGlobalMerchantPage-B9qfP4b1-B96tKuXA.js} +1 -1
- package/dist/assets/{NoDataChart-Bgciu380-D8bHxPnp.js → NoDataChart-Bgciu380-CAu9MBCJ.js} +1 -1
- package/dist/assets/{NoDataTable-XnjjqT1r-tivu1peq.js → NoDataTable-XnjjqT1r-B3_0aqvJ.js} +1 -1
- package/dist/assets/{NotFoundPage-BFwyElJE-R-DpYqua.js → NotFoundPage-BFwyElJE-zt8L6vCM.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-rUpktNmE-xg_pmnpN.js → NotificationSettingsPage-rUpktNmE-NwNovwAO.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DxNNUnb--D_leI4ki.js → NotificationsListConfig-DxNNUnb--CiwIZV6O.js} +1 -1
- package/dist/assets/{NotificationsPage-LbcVGLzv-BLTUkUub.js → NotificationsPage-LbcVGLzv-B1EkgPei.js} +1 -1
- package/dist/assets/{OpExByVendorPage-NSjf8sPH-DE-QQrBi.js → OpExByVendorPage-NSjf8sPH-Brcdrct-.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BsY9_22w-DGa5ZVpp.js → OverlayContainerPage-BsY9_22w-D4X2D-Vn.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CYq7gbZF-BKPHmO-i.js → PandLWithForecastPage-CYq7gbZF-CtaGQDCG.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C3AQKfIX-gT-7ubur.js → PaymentAccountSetupBillingAddressSection-C3AQKfIX-DeDbZaLB.js} +1 -1
- package/dist/assets/{PeoplePage-Bz22s7eT-DwCtGox6.js → PeoplePage-Bz22s7eT-BB51NFk5.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bz_PnE7C-BoGI8CRR.js → ProductsCarousel-Bz_PnE7C-cxvH9Z6K.js} +1 -1
- package/dist/assets/{PromoBaseCards-Dq3GfNdL-CGTQVzuQ.js → PromoBaseCards-Dq3GfNdL-CiYyqMPd.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DwZPS4A--CuAty-gU.js → QBOConnectionDialog-DwZPS4A--BYVcV3mz.js} +1 -1
- package/dist/assets/{QBOSetupSection-CJh_5ZRY-DIDRxjCw.js → QBOSetupSection-CJh_5ZRY-Gen77x-U.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BXDkKqzx-COAmJRq9.js → ReimbursementApprovalRuleDetailPage-BXDkKqzx-CnoxRHvb.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CE6Qa9rc-B0Oei2l8.js → ReimbursementApprovalRulesPage-CE6Qa9rc-DsfUpIo2.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CFz0La2v-DgUH5vbC.js → ReimbursementDetailPage-CFz0La2v-ChwGh-iV.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CNCL_t1V-CwnQs6UK.js → ReimbursementPromoPage-CNCL_t1V-BdHe-AqH.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-uAHJ-tqY-DiKttSWe.js → ReimbursementSetUpPage-uAHJ-tqY-Ctq3ppGe.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BfrwsaW3-CzmfoPGj.js → ReimbursementsBulkReviewDrawerPage-BfrwsaW3-CI3GQwKZ.js} +1 -1
- package/dist/assets/{ReloadCard-DAqlQiuw-D-2lbPbW.js → ReloadCard-DAqlQiuw-BvBgHPRl.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CKNUdhCi-Cf0CSBJA.js → ReportTableViewSelector-CKNUdhCi-B6dQOOMe.js} +1 -1
- package/dist/assets/{ReportsPage-m4c_CloE-CRqwYB8M.js → ReportsPage-m4c_CloE-BcwSUUvY.js} +1 -1
- package/dist/assets/{RevenueChart-CaUcz4_r-jW7BbJWi.js → RevenueChart-CaUcz4_r-DtSpJqMg.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BtsmuUr9-CSpdXzjn.js → ReviewDetailsPage-BtsmuUr9-Co8iNJPK.js} +1 -1
- package/dist/assets/{ReviewOverlay-BHH9brKi-3tNvQZvy.js → ReviewOverlay-BHH9brKi-CZdU8di-.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BvpoBPrI-CGcISREk.js → RoleWithToolTip-BvpoBPrI-DmLavgXa.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DhDc40Ue-DPWUIUiV.js → ScheduleDetailsFixedAssetsPage-DhDc40Ue-DdVYxWZb.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-Dy5DPc5g-CpkwBmVO.js → ScheduleDetailsPage-Dy5DPc5g-D-2GAxqt.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-aZhpn2-_-COQXlB3z.js → ScheduleSequenceTable-aZhpn2-_-BqtYc7Bx.js} +1 -1
- package/dist/assets/{ScreenRoutes-Ddw4gS97.js → ScreenRoutes-B4MI5LwL.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DG7chlm8-kpbqF5AJ.js → SetUpAccountSection-DG7chlm8-BLHxOH6K.js} +1 -1
- package/dist/assets/{SignIn-Ci2pl9iT-BPsxAlxz.js → SignIn-Ci2pl9iT-C2z2JjnN.js} +1 -1
- package/dist/assets/{SignInScreen-DTfhEy9t.js → SignInScreen-DEvfIHMY.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CAf8mKFG-CHwiO4iE.js → SpendManagementListViewPage-CAf8mKFG-DNzKa1h6.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DVIeImpu-CHxGcOEQ.js → SpendManagementPerTabPage-DVIeImpu-DQKmI-vq.js} +1 -1
- package/dist/assets/{SpendManagementSection-CBs0TeAg-B-27RJa0.js → SpendManagementSection-CBs0TeAg-DteqdB0w.js} +1 -1
- package/dist/assets/{StatementItem-BpF3tpOS-BkKYeBjv.js → StatementItem-BpF3tpOS-pVP7VdrH.js} +1 -1
- package/dist/assets/{StatementsPage-BA98ZlGW-B7nDlk5d.js → StatementsPage-BA98ZlGW-8ChN_n_N.js} +1 -1
- package/dist/assets/{StatusSwitcher-Cf6yygg5-CWDIvUyD.js → StatusSwitcher-Cf6yygg5-aU96XB-t.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DCaHOwRF-DAR0dyFH.js → SubTabSwitcher-DCaHOwRF-Bxw9Q5P1.js} +1 -1
- package/dist/assets/{SummaryCard-B8E5cyMH-ClAMEeKe.js → SummaryCard-B8E5cyMH-tRwndYmI.js} +1 -1
- package/dist/assets/{TaskManagementPage-CV18ebqf-B011714Z.js → TaskManagementPage-CV18ebqf-B-U9duXU.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DY9UawSC-uIfZtrkK.js → TimeRangeSwitcher-DY9UawSC-Cs1LO-xg.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BAK_5aWm-BMHVxYTf.js → TimeframeSwitcher-BAK_5aWm-zwGe2MOs.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CK1Q-rG6-CC-JYTDO.js → TimeframeSwitcherWithToggle-CK1Q-rG6-C7KTAaOj.js} +1 -1
- package/dist/assets/{TopExCard-Kk7W9fph-D201KTrT.js → TopExCard-Kk7W9fph-xVGnwae8.js} +1 -1
- package/dist/assets/{TopExDetailPage-DvmHTkHv-D0Nk3bsE.js → TopExDetailPage-DvmHTkHv-C7FnkBZP.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CUQgc7YH-Bw0MUTOI.js → TransactionDetailPage-CUQgc7YH-BiWFrVNM.js} +1 -1
- package/dist/assets/{TransactionList-B8r57kr8-DP2Jhq3w.js → TransactionList-B8r57kr8-JQtFj5mL.js} +1 -1
- package/dist/assets/{TransactionListBig-DUU6tKkC-BgsfdPlN.js → TransactionListBig-DUU6tKkC-6qFbeKqP.js} +1 -1
- package/dist/assets/{TransactionListPage-DUPJ4NJw-BicsuqmT.js → TransactionListPage-DUPJ4NJw-DQCttHfT.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-uuKl2SqA-CfBmMT7H.js → TransactionVendorDetailPage-uuKl2SqA-Cdnnhd4G.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DPpKrxR_-BOm3H9JH.js → TransferDrawerPage-DPpKrxR_-BPY2UUYz.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BligQLcn-Cbuwuq38.js → TreasuryOverviewPage-BligQLcn-Dt3MscET.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DzcGPAtW-_w2K2zJK.js → TreasuryPromoPage-DzcGPAtW-ClK0ws77.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-vRiBwJfp-C2hsOchl.js → TreasuryStatementsPage-vRiBwJfp-DfX481QS.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DqGQEDsD-Bd3gy35Q.js → TreasuryTaxLetterPage-DqGQEDsD-BX0JOd0v.js} +1 -1
- package/dist/assets/{TrendChart-_Lxl6UlW-C6CPgTWf.js → TrendChart-_Lxl6UlW-7VneR-ae.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BHZ8A40V-BbEBIba6.js → TrendWithTransactions-BHZ8A40V-esUY6L1e.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-wnoS0gbf-CgDPi5HT.js → UncategorizedAccountsMappingPage-wnoS0gbf-BjsBl11Y.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-LL_kYuwk-C-_3k6Sd.js → UnitIntegrationPage-LL_kYuwk-CxSk_CM5.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CnjAzKXw-fvhbnFek.js → UploadAdditionalDocumentOverlay-CnjAzKXw-fkAsBRZF.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DWQSvW1O-8qZXKJ0V.js → Vendor2FAPopup-DWQSvW1O-CN6mFC_J.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-C-bm6Qhp-D15Nx7XZ.js → VendorACHDetailsPage-C-bm6Qhp-BkDKzOJb.js} +1 -1
- package/dist/assets/{VendorDetailPage-BvdwLyYe-BdJviSYR.js → VendorDetailPage-BvdwLyYe-BVJ5mK0G.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BW84w9Ry-CqMPcmHT.js → VendorDomesticWireDetailsPage-BW84w9Ry-DRhSpMVt.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BTBNh-F6-DBJhrvXk.js → VendorFiling1099EditablePage-BTBNh-F6-B_DwEBD2.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-dOgss8oK-DiVYGGaF.js → VendorFirstReviewPage-dOgss8oK-DX4Ldk4p.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DAzAM1mu-C8VqYjWe.js → VendorInternationalWireDetailsPage-DAzAM1mu-D1pIRmi_.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Btjdf2I6-C7CnuYuR.js → VendorInternationalWireSwiftDetailsPage-Btjdf2I6-pWFQqjoO.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BKfX93W4-B6SzKq8w.js → VendorsAccountsSection-BKfX93W4-Pl_xnSYx.js} +1 -1
- package/dist/assets/{VerifyDevice-Df70OQL0-Dy_fV---.js → VerifyDevice-Df70OQL0-hx0GB34a.js} +1 -1
- package/dist/assets/{VideoPlayer-BlDaa3e0-DBziSdiE.js → VideoPlayer-BlDaa3e0-bkxApdiI.js} +1 -1
- package/dist/assets/{VideoPopup-9iierxTj-BAFy3uBP.js → VideoPopup-9iierxTj-DxYO2ma4.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DdoJbKk1-DZuScW2D.js → WarningsDrawerPage-DdoJbKk1-DAHNNVKS.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Df0bngPT-CzR-wT4k.js → ZeniAccountDetailPage-Df0bngPT-BNlNIXiA.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-B66dgraR-TKWP-DJl.js → ZeniAccountListViewPage-B66dgraR-B8caf_0z.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DsnSMk6--CYtJk0AT.js → ZeniAccountNavBarPieces-DsnSMk6--ClKvsTsV.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-B75rYYNq-Dj1dl_GZ.js → ZeniAccountPromoPage-B75rYYNq-Cdz-gLuB.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DetTri71-bqd_-_Lq.js → ZeniAccountSetupPage-DetTri71-C8Y-RY39.js} +1 -1
- package/dist/assets/{ZeniCopyright-ag3_XPx6-CAS7ugaf.js → ZeniCopyright-ag3_XPx6-j9pEHOkN.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B6VZtpIa-fTsQcTPM.js → ZeniTransferAmountSlider-B6VZtpIa-DbUmoBaQ.js} +1 -1
- package/dist/assets/{analyticsHelper-DGP9O_15-DJCxFW2y.js → analyticsHelper-DGP9O_15-D_mnGzGe.js} +1 -1
- package/dist/assets/{analyticsHelper-B_4dnbas.js → analyticsHelper-De5Bk6iz.js} +1 -1
- package/dist/assets/{chartTypes-BUNjh2j0-Buc6fDbU.js → chartTypes-BUNjh2j0-LyBUQHja.js} +1 -1
- package/dist/assets/{commonDimensions-Csh-Czgf-DHHuXfVv.js → commonDimensions-Csh-Czgf-D-llVddN.js} +1 -1
- package/dist/assets/{detailCommon-BSu_Baak-Bp5zf8Y3.js → detailCommon-BSu_Baak-BGOVUxL6.js} +1 -1
- package/dist/assets/{downloadPdf-CqRT2Puf-CYGuzpcq.js → downloadPdf-CqRT2Puf-B5VW-_RV.js} +1 -1
- package/dist/assets/{index-ePPQ9tNX.js → index-BsBAi_Kg.js} +4 -4
- package/dist/assets/{mapLoadingInProgressToTreeNode-BdSdrYtM-DQNpzGDX.js → mapLoadingInProgressToTreeNode-BdSdrYtM-CmW5Ybyj.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-biS8kQJJ-CES1q3H0.js → mapSectionWithAcOnlyToTreeNode-biS8kQJJ-D--8-VfX.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BpAn8O5Z-BAhxv_R7.js → mapSpacerToTreeNode-BpAn8O5Z-Bk93Sdqa.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-D6asy5O1-DtLDkyGT.js → mapTimeframeBalancesToTreeNode-D6asy5O1-BlFe8nci.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-grmQSWeg-CqzlaZwf.js → mapTimeframeBalancesToTreeNode-grmQSWeg-D_GD8drS.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-9hfvdurU-CV0zVNns.js → mapTimeframeHeaderLoadingInProgressToTreeNode-9hfvdurU-DwkAt0kC.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CM8Fnmnz-B1jLHQcN.js → toCOABalancesWithID-CM8Fnmnz-BdclSWP5.js} +1 -1
- package/dist/assets/{toChartData-DVbJJK3l-CGMLhemz.js → toChartData-DVbJJK3l-DxTFUpJ2.js} +1 -1
- package/dist/assets/{uploadAttachment-BNPqn7_B-_bcIPDdi.js → uploadAttachment-BNPqn7_B-m3tLd85K.js} +1 -1
- package/dist/assets/{uploadReceipts-CDPM7zcb-DkZqtldQ.js → uploadReceipts-CDPM7zcb-OFvKC_za.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B44-zxPH-B-3OfPkK.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as W,e as G,F as y,av as ge,V as r,aK as P,bL as _e,bA as be,bz as Se,y as B,o as w,aQ as we,l as ye,bM as Ce,u as S,E as R,aA as J,D as xe,aS as Oe,as as Ae,bD as Re}from"./index-ePPQ9tNX.js";import{a as T,w as X}from"./core-3dlyNYRL.js";import{n as _}from"./mui-bYXq4XMS.js";import{bh as H,eK as Be,eT as ve,eU as j,eV as Le,eW as Te,eX as Pe,eY as ke,eZ as Ne,e_ as ee,e$ as te}from"./zeni-epic-state-LPACxnXP.js";import{m as z,l as q}from"./analyticsHelper-DGP9O_15-DJCxFW2y.js";import{u as Ie}from"./ReportTableViewSelector-CKNUdhCi-Cf0CSBJA.js";import{a as se,p as Me}from"./TimeRangeSwitcher-DY9UawSC-uIfZtrkK.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-CK1Q-rG6-CC-JYTDO.js";import{DownloadOverlayButton as je}from"./DownloadOverlay-Bp_ZXErR-BFxkS5Sp.js";import{I as $e,R as M,x as ne}from"./CollapsableReportTable-BbW0qlyW-jZfWpSap.js";import{D as oe,T as ae,C as $,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-biS8kQJJ-CES1q3H0.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-grmQSWeg-CqzlaZwf.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-9hfvdurU-CV0zVNns.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-BdSdrYtM-DQNpzGDX.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./TimeframeSwitcher-BAK_5aWm-BMHVxYTf.js";import"./page-detail-CWX5S47F-Bc8Xpsuq.js";import"./AccountRow-BPUVgiz--B9ZBU0Ub.js";function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=M("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({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 re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({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 le({balances:e,config:t,nodeId:o}){return{children:[],id:o??M("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 We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=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 Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(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=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ze(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=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else ke(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function He(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=Ve({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=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}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=Y({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(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push($({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(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=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push($({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const K={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Ke=_.div`
|
|
1
|
+
import{q as W,e as G,F as y,av as ge,V as r,aK as P,bL as _e,bA as be,bz as Se,y as B,o as w,aQ as we,l as ye,bM as Ce,u as S,E as R,aA as J,D as xe,aS as Oe,as as Ae,bD as Re}from"./index-BsBAi_Kg.js";import{a as T,w as X}from"./core-3dlyNYRL.js";import{n as _}from"./mui-bYXq4XMS.js";import{bh as H,eK as Be,eT as ve,eU as j,eV as Le,eW as Te,eX as Pe,eY as ke,eZ as Ne,e_ as ee,e$ as te}from"./zeni-epic-state-LPACxnXP.js";import{m as z,l as q}from"./analyticsHelper-DGP9O_15-D_mnGzGe.js";import{u as Ie}from"./ReportTableViewSelector-CKNUdhCi-B6dQOOMe.js";import{a as se,p as Me}from"./TimeRangeSwitcher-DY9UawSC-Cs1LO-xg.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-CK1Q-rG6-C7KTAaOj.js";import{DownloadOverlayButton as je}from"./DownloadOverlay-Bp_ZXErR-CcaUtk0L.js";import{I as $e,R as M,x as ne}from"./CollapsableReportTable-BbW0qlyW-DyXO_zDx.js";import{D as oe,T as ae,C as $,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-biS8kQJJ-D--8-VfX.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-grmQSWeg-D_GD8drS.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-9hfvdurU-DwkAt0kC.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-BdSdrYtM-CmW5Ybyj.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./TimeframeSwitcher-BAK_5aWm-zwGe2MOs.js";import"./page-detail-CWX5S47F-Bc8Xpsuq.js";import"./AccountRow-BPUVgiz--DNW_eotg.js";function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=M("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({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 re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({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 le({balances:e,config:t,nodeId:o}){return{children:[],id:o??M("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 We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=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 Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(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=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ze(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=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("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(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else ke(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function He(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=Ve({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=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}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=Y({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(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push($({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(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=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push($({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const K={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Ke=_.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${w.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as A,V as a,F as S,q as de,aK as Ae,b1 as Q,u as E,b as M,aV as J,o as m,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-
|
|
1
|
+
import{e as A,V as a,F as S,q as de,aK as Ae,b1 as Q,u as E,b as M,aV as J,o as m,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-BsBAi_Kg.js";import{a as P,w as ee}from"./core-3dlyNYRL.js";import{n as x}from"./mui-bYXq4XMS.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-BUNjh2j0-LyBUQHja.js";import{i as K,h as oe,c as I}from"./toCOABalancesWithID-CM8Fnmnz-BdclSWP5.js";import{V as Z}from"./toChartData-DVbJJK3l-DxTFUpJ2.js";import{B as Te,C as te,X as le,Y as ne,T as ce,L as pe,b as se,c as me,d as fe}from"./recharts-BHhx6CLo.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,av as Ct,y as u,e_ as Dt,F as It,e$ as kt,f0 as Pt,V as t,f1 as At,f2 as le,f3 as Mt,f4 as Bt,f5 as Ft,aK as j,f6 as Rt,aL as A,f7 as Lt,f8 as zt,f9 as Me,fa as Be,fb as Fe,b as K,fc as O,fd as E,fe as W,p as S,ff as Nt,fg as Ot,fh as Et,fi as Wt,bQ as Re,o as n,aO as Zt,u as d,ah as Vt,b$ as Yt,B as Gt,M as _t,fj as qt,cf as Kt,ak as de,al as ce,fk as Ht,fl as Ut,bg as Qt,d as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fm as nn}from"./index-ePPQ9tNX.js";import{a as V}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{bp as Le,bn as ze,bK as I,bQ as an,fv as ln,bO as oe,bS as on}from"./zeni-epic-state-LPACxnXP.js";import{t as rn,o as sn}from"./LowBalancePopup-DzUz_bgp-DkpyxTGf.js";import{S as Z}from"./LabeledText-CxYr4vz2-OntqEWP_.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";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,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Gt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:y}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[b,g]=V.useState(!1),M=()=>{g(!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?g(!0):null,children:[b&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},da=({billDetails:e,billpayApprovalView:b,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:f,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:f},F=g&&f!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),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,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?kt(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=V.useState(!1),[mt,xe]=V.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:s,children:t.jsx(Rn,{})})]}):At(e.paymentDetailsSection?.paymentTo);V.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,Y=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:k?.code=="approved"&&Y?.code?Y:k,ht=e.billPayInfo?.isRefundInitiated===!0?yt:k?.code=="approved"&&Y?.code?Y:k,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,_=b.allApprovalRules.length>0,ft=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),h=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=()=>{st(),xe(!1)},P=h&&($?.code!=null?$.code==="draft"||k?.code==="approved":!0),x=P&&!ot,je=Ze(x,_,e.isBillMarkedForRetry),wt=()=>h?x?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Bt(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(f??"new_bill"),o?.method!=null&&l!=null){const St=h?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,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=k?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Pe=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,ke,Pe,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,ke,Pe,Ae)}}},Se=()=>{Te===!0&&q(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,b.allApprovalRules,c.loggedInUser),[Te,q]=V.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(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{q(!1),ne()},onClickAway:()=>{q(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Rt,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:it,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(He,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:s,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(He,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:s,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(_n,{}),t.jsxs(Dn,{children:[t.jsx(kn,{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(Vn,{children:[t.jsx(Gn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Yn,{children:nt.includes(s)?t.jsxs(_e,{windowSize:s,children:[t.jsxs(Pn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Qe,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.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(_e,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Qe,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.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(Mn,{children:[t.jsx(qe,{children:i.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:ft,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(qe,{children:i.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[h?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):y,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(H,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(H,{}),!h&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:G.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(H,{})]}):null,h?null:t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),h||lt?t.jsxs(t.Fragment,{children:[t.jsx(H,{}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:Wt(e.isRecurring,h,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,h,e.recurringConfig)})})]}):null]}),!h&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,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(gn,{children:[t.jsxs(Ye,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("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:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Zt,{cancelBtn:{label:P&&!x?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:P&&!x?ve:ne,style:{width:Ve(!1,P,x,_,s)}},primaryBtn:{label:Ze(x,_,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:x?ve:()=>{vt&&ie!=null?q(!0):Se()},style:{width:Ve(!0,P,x,_,s)}},rightSideComponent:P&&!x&&z.fetchState!=="In-Progress"?t.jsx(qn,{windowSize:s,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Hn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):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})]})},Ze=(e,b,g)=>e?i.paymentOutsideZeni.markAsPaid:g===!0?i.retryPayment:b?i.sendForApproval:i.scheduleBill,Ve=(e,b,g,M,T)=>g?128:b&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
1
|
+
import{q as Tt,av as Ct,y as u,e_ as Dt,F as It,e$ as kt,f0 as Pt,V as t,f1 as At,f2 as le,f3 as Mt,f4 as Bt,f5 as Ft,aK as j,f6 as Rt,aL as A,f7 as Lt,f8 as zt,f9 as Me,fa as Be,fb as Fe,b as K,fc as O,fd as E,fe as W,p as S,ff as Nt,fg as Ot,fh as Et,fi as Wt,bQ as Re,o as n,aO as Zt,u as d,ah as Vt,b$ as Yt,B as Gt,M as _t,fj as qt,cf as Kt,ak as de,al as ce,fk as Ht,fl as Ut,bg as Qt,d as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fm as nn}from"./index-BsBAi_Kg.js";import{a as V}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{bp as Le,bn as ze,bK as I,bQ as an,fv as ln,bO as oe,bS as on}from"./zeni-epic-state-LPACxnXP.js";import{t as rn,o as sn}from"./LowBalancePopup-DzUz_bgp-DLuvzpms.js";import{S as Z}from"./LabeledText-CxYr4vz2-DuXVsj0l.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";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,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Gt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:y}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[b,g]=V.useState(!1),M=()=>{g(!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?g(!0):null,children:[b&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},da=({billDetails:e,billpayApprovalView:b,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:f,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:f},F=g&&f!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),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,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?kt(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=V.useState(!1),[mt,xe]=V.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:s,children:t.jsx(Rn,{})})]}):At(e.paymentDetailsSection?.paymentTo);V.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,Y=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:k?.code=="approved"&&Y?.code?Y:k,ht=e.billPayInfo?.isRefundInitiated===!0?yt:k?.code=="approved"&&Y?.code?Y:k,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,_=b.allApprovalRules.length>0,ft=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),h=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=()=>{st(),xe(!1)},P=h&&($?.code!=null?$.code==="draft"||k?.code==="approved":!0),x=P&&!ot,je=Ze(x,_,e.isBillMarkedForRetry),wt=()=>h?x?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Bt(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(f??"new_bill"),o?.method!=null&&l!=null){const St=h?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,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=k?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Pe=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,ke,Pe,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,ke,Pe,Ae)}}},Se=()=>{Te===!0&&q(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,b.allApprovalRules,c.loggedInUser),[Te,q]=V.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(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{q(!1),ne()},onClickAway:()=>{q(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Rt,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:it,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(He,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:s,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(He,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:s,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(_n,{}),t.jsxs(Dn,{children:[t.jsx(kn,{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(Vn,{children:[t.jsx(Gn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Yn,{children:nt.includes(s)?t.jsxs(_e,{windowSize:s,children:[t.jsxs(Pn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Qe,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.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(_e,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Qe,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.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(Mn,{children:[t.jsx(qe,{children:i.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:ft,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(qe,{children:i.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[h?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):y,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(H,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(H,{}),!h&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:G.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(H,{})]}):null,h?null:t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),h||lt?t.jsxs(t.Fragment,{children:[t.jsx(H,{}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:Wt(e.isRecurring,h,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,h,e.recurringConfig)})})]}):null]}),!h&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,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(gn,{children:[t.jsxs(Ye,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("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:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Zt,{cancelBtn:{label:P&&!x?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:P&&!x?ve:ne,style:{width:Ve(!1,P,x,_,s)}},primaryBtn:{label:Ze(x,_,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:x?ve:()=>{vt&&ie!=null?q(!0):Se()},style:{width:Ve(!0,P,x,_,s)}},rightSideComponent:P&&!x&&z.fetchState!=="In-Progress"?t.jsx(qn,{windowSize:s,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Hn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):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})]})},Ze=(e,b,g)=>e?i.paymentOutsideZeni.markAsPaid:g===!0?i.retryPayment:b?i.sendForApproval:i.scheduleBill,Ve=(e,b,g,M,T)=>g?128:b&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-BHH9brKi-3tNvQZvy.js → ReviewOverlay-BHH9brKi-CZdU8di-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as P,V as e,aK as x,o as r,aO as L,y as d,L as M,B as C,M as W,p as s,ak as $,cy as R,l as I,ag as j,bf as D,u as n,ek as G,r as q,iP as A,j_ as F}from"./index-
|
|
1
|
+
import{q as P,V as e,aK as x,o as r,aO as L,y as d,L as M,B as C,M as W,p as s,ak as $,cy as R,l as I,ag as j,bf as D,u as n,ek as G,r as q,iP as A,j_ as F}from"./index-BsBAi_Kg.js";import{n as t}from"./mui-bYXq4XMS.js";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])},O={title:new C("h6Regular","h5Regular")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=P();return e.jsxs(H,{children:[e.jsx(X,{windowSize:a,children:e.jsx(Y,{children:e.jsx(Z,{windowSize:a,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(J,{windowSize:a,children:[e.jsxs(K,{windowSize:a,children:[e.jsx(N,{children:e.jsx(U,{windowSize:a,children:i})}),e.jsx(_,{isError:p.isError,windowSize:a,children:p.content})]}),e.jsx(Q,{windowSize:a,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:()=>B(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:V(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}),a!=="small"?e.jsxs(w,{windowSize:a,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(v,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?e.jsxs(w,{windowSize:a,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(v,{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(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},V=i=>i.reviewStatus.isLoading?e.jsx(I,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(f,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(f,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(ai,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(li,{}),H=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-BvpoBPrI-CGcISREk.js → RoleWithToolTip-BvpoBPrI-DmLavgXa.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eO as h,eP as x,V as s,bQ as m,o as i,aK as o,F as g,am as j,ag as p}from"./index-
|
|
1
|
+
import{eO as h,eP as x,V as s,bQ as m,o as i,aK as o,F as g,am as j,ag as p}from"./index-BsBAi_Kg.js";import{n as r}from"./mui-bYXq4XMS.js";const{hyphen:n}=g.getLocalizedStrings().common.strings,y=r.div``,f=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as H,id as ee,gz as me,ez as Le,ie as we,a8 as Je,ig as Me,cB as Ve,cC as _e,V as a,F as ge,ab as Pe,cm as Fe,cn as Ne,co as qe,aO as Be,ih as Re,ii as We,a9 as he,ij as fe,ik as ze,cO as Ue,q as $e,iz as Ge,gE as re,u as R,p as Se,y as De,cE as He,il as Ke,im as Qe,io as Ye,o as _}from"./index-
|
|
1
|
+
import{aN as H,id as ee,gz as me,ez as Le,ie as we,a8 as Je,ig as Me,cB as Ve,cC as _e,V as a,F as ge,ab as Pe,cm as Fe,cn as Ne,co as qe,aO as Be,ih as Re,ii as We,a9 as he,ij as fe,ik as ze,cO as Ue,q as $e,iz as Ge,gE as re,u as R,p as Se,y as De,cE as He,il as Ke,im as Qe,io as Ye,o as _}from"./index-BsBAi_Kg.js";import{a as m}from"./core-3dlyNYRL.js";import{n as z}from"./mui-bYXq4XMS.js";import{f_ as Ze,f$ as Xe}from"./zeni-epic-state-LPACxnXP.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-aZhpn2-_-BqtYc7Bx.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const W={labelWidth:new De(160,160,160),depCategoryLabelWidth:new De(200,280,280)},st=z.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as $,id as Q,gz as ke,ez as Ae,ie as Ie,a8 as Je,ig as Le,cB as we,cC as Me,V as a,F as fe,ab as Ve,cm as Pe,cn as _e,co as $e,aO as Fe,ih as Ne,ii as qe,a9 as ie,ij as he,ik as Be,cO as ze,q as Ue,gE as pe,u as X,p as We,y as Re,il as Ge,im as He,io as Ke,o as L}from"./index-
|
|
1
|
+
import{aN as $,id as Q,gz as ke,ez as Ae,ie as Ie,a8 as Je,ig as Le,cB as we,cC as Me,V as a,F as fe,ab as Ve,cm as Pe,cn as _e,co as $e,aO as Fe,ih as Ne,ii as qe,a9 as ie,ij as he,ik as Be,cO as ze,q as Ue,gE as pe,u as X,p as We,y as Re,il as Ge,im as He,io as Ke,o as L}from"./index-BsBAi_Kg.js";import{a as D}from"./core-3dlyNYRL.js";import{n as P}from"./mui-bYXq4XMS.js";import{f_ as Ye,f$ as Qe,bO as Xe}from"./zeni-epic-state-LPACxnXP.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-aZhpn2-_-BqtYc7Bx.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const B={labelWidth:new Re(160,160,160)},at=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as F,e as Q,V as t,ip as ie,F as N,iq as oe,B as le,ir as xe,dR as fe,fb as we,b as A,is as ye,io as be,o as i,y as b,p as j,d as $e,a9 as re,dN as je,cm as Se,co as ke,cO as Z,cW as ee,cU as ve,it as U,iu as De,b1 as Ce,iv as Me,cq as ze,iw as Le,u as h,ak as L,b7 as Oe,cn as Ee,an as pe,cX as Ae,a$ as ne,d6 as Fe,aO as Ie,ix as I,ga as Ve,aL as Te,iy as Be,aS as _,cY as Je,bf as Pe}from"./index-
|
|
1
|
+
import{q as F,e as Q,V as t,ip as ie,F as N,iq as oe,B as le,ir as xe,dR as fe,fb as we,b as A,is as ye,io as be,o as i,y as b,p as j,d as $e,a9 as re,dN as je,cm as Se,co as ke,cO as Z,cW as ee,cU as ve,it as U,iu as De,b1 as Ce,iv as Me,cq as ze,iw as Le,u as h,ak as L,b7 as Oe,cn as Ee,an as pe,cX as Ae,a$ as ne,d6 as Fe,aO as Ie,ix as I,ga as Ve,aL as Te,iy as Be,aS as _,cY as Je,bf as Pe}from"./index-BsBAi_Kg.js";import{n as l,b as J}from"./mui-bYXq4XMS.js";import{a as C}from"./core-3dlyNYRL.js";import{bj as G,g0 as Ne}from"./zeni-epic-state-LPACxnXP.js";const R=(e,o)=>`${e}.${o}`,{formElements:{dayOfMonthSelector:M},common:se}=N.getLocalizedStrings();function Re({defaultValue:e,name:o,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:y}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},w=()=>{y(),u(!1)},k=ee(x,o),g=F(),a=Q();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Ke,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:R(o,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(We,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ge,{alignLeft:r===!0,children:[t.jsx(et,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Ze,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:R(o,"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(o,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...A.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Xe,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(qe,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${o}.dayOfMonth`,$),S(`${o}.type`,"day")}})]}),t.jsx(tt,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:R(o,"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:Ye(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:w,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function We({placeholder:e,defaultValue:o,isDisabled:s}){return t.jsxs(_e,{isDisabled:s!=null,children:[o?.type==null?t.jsx(Ue,{children:e}):null,o?.type=="day"&&o.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${o.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,o?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function qe({defaultValue:e,onClick:o}){return t.jsxs(Qe,{children:[t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(Ne(r)),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})}),t.jsx(q,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})})]})}const Ye=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},He=l.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,_e=l.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c_ as Gh,c$ as ir,d0 as Hh,d1 as qt,d2 as xl,d3 as Ot,d4 as Zh,d5 as Tl,d6 as ls,d7 as Yh,d8 as Wh,d9 as mr,da as ar,db as Kh,dc as nn,dd as qo,cP as Jh,de as No,df as Xr,dg as kt,dh as Xh,di as Il,dj as Al,dk as Qh,dl as ed,dm as td,dn as rd,dp as hs,dq as nd,dr as id,ds as ad,dt as od,cV as sd,du as Cl,dv as ud,bO as Jr,dw as ds,dx as cd,dy as Pl,dz as an,dA as pt,dB as Do,dC as fd,dD as ld,B as et,A as ye,dE as $o,dF as hd,dG as dd,dH as pd,dI as kl,dJ as md,dK as ps,dL as gd,dM as vd,dN as bn,dO as yd,dP as _d,dQ as St,dR as bd,cC as wd,dS as jl,dT as Ll,dU as Mo,dV as Fo,dW as Ed,dX as Sd,dY as Rd,dZ as Od,d_ as xd,d$ as Td,e0 as Id,e1 as Ad,e2 as Cd,e3 as Zt,e4 as Bo,e5 as Pd,e6 as kd,e7 as jd,e8 as ql,e9 as Nl,ea as Ld,eb as Dl,ec as qd,ed as Nd,ee as Dd,ef as $d,eg as Md,eh as Fd,ei as Bd,ej as Ud,ek as $l,el as wn,em as Ml,en as Uo,eo as Vd,ep as Fl,eq as zd,er as Gd,es as Hd,et as Zd,eu as Yd,ev as Wd,ew as Kd,ex as Jd,c3 as Xd,bd as Qd,ey as ep,ez as Mt,eA as tp,eB as rp,eC as np,eD as Po,bb as ip}from"./zeni-epic-state-LPACxnXP.js";import{j as U,D as on,n as tt,S as Bt}from"./mui-bYXq4XMS.js";import{p as Ve,x as Ke,y as ct,z as ap,a as le,n as Oe,o as ze,N as er,s as bt,t as xe,e as Bl,d as Ul,g as op,u as Vo,q as ko}from"./core-3dlyNYRL.js";import{e as Ut,q as sn,f as Ue,z as We,y as ut,g as sp,W as up,h as un,i as cp,N as xt,F as or,j as Vt,k as Nt,l as cn,o as Pt,m as fp,v as lp,X as jt,_ as zo,K as Lt,Z as hp,Y as dp,u as En,s as pp,w as Vl,x as mp,C as zl,D as Gl,E as jo,G as gp,H as vp,I as yp,R as Hl,J as _p,O as bp,P as wp,Q as Ep,S as Sp,T as Rp,U as Op,$ as xp,a0 as Tp,a1 as Ip,a2 as Ap,a3 as Cp,a4 as Pp}from"./index-
|
|
1
|
+
import{c_ as Gh,c$ as ir,d0 as Hh,d1 as qt,d2 as xl,d3 as Ot,d4 as Zh,d5 as Tl,d6 as ls,d7 as Yh,d8 as Wh,d9 as mr,da as ar,db as Kh,dc as nn,dd as qo,cP as Jh,de as No,df as Xr,dg as kt,dh as Xh,di as Il,dj as Al,dk as Qh,dl as ed,dm as td,dn as rd,dp as hs,dq as nd,dr as id,ds as ad,dt as od,cV as sd,du as Cl,dv as ud,bO as Jr,dw as ds,dx as cd,dy as Pl,dz as an,dA as pt,dB as Do,dC as fd,dD as ld,B as et,A as ye,dE as $o,dF as hd,dG as dd,dH as pd,dI as kl,dJ as md,dK as ps,dL as gd,dM as vd,dN as bn,dO as yd,dP as _d,dQ as St,dR as bd,cC as wd,dS as jl,dT as Ll,dU as Mo,dV as Fo,dW as Ed,dX as Sd,dY as Rd,dZ as Od,d_ as xd,d$ as Td,e0 as Id,e1 as Ad,e2 as Cd,e3 as Zt,e4 as Bo,e5 as Pd,e6 as kd,e7 as jd,e8 as ql,e9 as Nl,ea as Ld,eb as Dl,ec as qd,ed as Nd,ee as Dd,ef as $d,eg as Md,eh as Fd,ei as Bd,ej as Ud,ek as $l,el as wn,em as Ml,en as Uo,eo as Vd,ep as Fl,eq as zd,er as Gd,es as Hd,et as Zd,eu as Yd,ev as Wd,ew as Kd,ex as Jd,c3 as Xd,bd as Qd,ey as ep,ez as Mt,eA as tp,eB as rp,eC as np,eD as Po,bb as ip}from"./zeni-epic-state-LPACxnXP.js";import{j as U,D as on,n as tt,S as Bt}from"./mui-bYXq4XMS.js";import{p as Ve,x as Ke,y as ct,z as ap,a as le,n as Oe,o as ze,N as er,s as bt,t as xe,e as Bl,d as Ul,g as op,u as Vo,q as ko}from"./core-3dlyNYRL.js";import{e as Ut,q as sn,f as Ue,z as We,y as ut,g as sp,W as up,h as un,i as cp,N as xt,F as or,j as Vt,k as Nt,l as cn,o as Pt,m as fp,v as lp,X as jt,_ as zo,K as Lt,Z as hp,Y as dp,u as En,s as pp,w as Vl,x as mp,C as zl,D as Gl,E as jo,G as gp,H as vp,I as yp,R as Hl,J as _p,O as bp,P as wp,Q as Ep,S as Sp,T as Rp,U as Op,$ as xp,a0 as Tp,a1 as Ip,a2 as Ap,a3 as Cp,a4 as Pp}from"./index-BsBAi_Kg.js";import{f as kp}from"./analyticsHelper-De5Bk6iz.js";import{q as He,v as jp,w as Lp,x as qp,y as Go,z as Np,A as Dp,B as $p,C as zt,D as Mp,E as rr,F as fn,G as Fp,H as sr,I as Bp}from"./utils-uDUqNRFY.js";import{r as Ho}from"./empty-CnIz-OQ7.js";import{r as ur,a as Up}from"./index-MVH9tD8n.js";import{r as Vp}from"./index-BwZxOaMR.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./url-XsY5bkGi.js";const zp={overlayWidth:new ut(100,100,50)},{common:{strings:ms}}=or.getLocalizedStrings();function Gp(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);Ue.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(mr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ue.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(ms.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(ms.comma)}}),e(mr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Tl(o))},onColumnSortConfigChanged:(o,i)=>{e(mr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(mr({uiState:{filters:o}}))}}}}function Hp(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const Zp=ze(Hp,Gp)(cp);function Sn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=Ut(),a=sn(),{companyId:t}=ct(),[r,s]=ap(),[d,l]=le.useState(!1),f=Oe(b=>Gh(b)),h=Oe(b=>ir(b)),{additionalChurnFactors:c}=Oe(b=>Hh(b)),{selectedCompanyDetail:w,selectedCompanyId:m,localFormDataAndStatusByCompanyId:y}=f,g=Oe(b=>b.companyViewState.zeniUsers.fetchState),u=Oe(b=>b.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const b=v=>v==="Not-Started"||v==="Error";f.fetchState==="Completed"?o(qt(!1)):b(f.fetchState)&&(o(xl()),b(g)&&o(Ot()),b(u.fetchState)&&o(Zh()))},[f.fetchState,u.fetchState]),le.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Tl(t)),w!=null&&(Ue.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:w.companyInfo.companyId,companyName:w.companyInfo.name,churnProbability:w.companyHealthMetric.churnProbabilityPercentage??null}),l(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,w?.companyInfo.companyId,w?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return U.jsxs(U.Fragment,{children:[e===!0||m!=null&&w!=null?U.jsx(on,{anchor:"right",open:m!=null,PaperProps:{style:{width:zp.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(ls()),children:U.jsx(sp,{roomId:`cockpit_${m}`,autoConnect:!0,children:U.jsx(up,{onSaveClick:()=>{m!=null&&o(Wh(m))},onSaveChangesToLocalStore:b=>{f.selectedCompanyId!=null&&o(Yh({companyId:f.selectedCompanyId,updatedLocalData:b}))},localData:y?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>o(ls()),analytics:Ue,urlSource:d,additionalChurnFactorsOptions:c})})}):null,U.jsx(Zp,{healthView:f,managementView:h,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Zl=(e,n)=>{const o=[...e??[]];return o.push(n),o},Yp=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},Wp=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?U.jsx(U.Fragment,{children:n}):U.jsx(er,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function Kp(){return U.jsxs(bt,{children:[U.jsx(xe,{path:"/companies/:companyId",element:U.jsx(Pe,{element:U.jsx(Sn,{isDrawerOpen:!0})})}),U.jsx(xe,{path:"/",element:U.jsx(Pe,{element:U.jsx(Sn,{})})}),U.jsx(xe,{path:"/*",element:U.jsx(Pe,{element:U.jsx(Sn,{})})})]})}const Jp={drawerLeftMargin:new ut(0,0,240)};function cr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??Jp.drawerLeftMargin.valuePx(t),s=Ut();return U.jsx(on,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const Xp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?U.jsx(Qp,{children:U.jsx(cn,{size:"ExtraLarge",start:!0})}):null,Qp=tt.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|