@zeniai/web-cockpit-ui 1.15.59-dev → 1.15.60-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CFhoboVe-NhNiWQoq.js → ACHDetailsPage-BO7lxW8c-B0_WsBb4.js} +1 -1
- package/dist/assets/{AIPerformancePage-DB-fTWME-C20PCC17.js → AIPerformancePage-SF-quMkk-D_TcV5rN.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-gaoEoT5g.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-CxPwO1am.js → AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js} +1 -1
- package/dist/assets/AccountLockedInfoModal-DloPB9vd-BOkxR2Sg.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js → AccountReconDetailsDrawerPage-BAgQsFiF-hVicxd_W.js} +49 -49
- package/dist/assets/{AccountRow-CdgvnPG8-BbJV8Q8M.js → AccountRow-Dczx5rSu-C_XsKKay.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js → AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js → AddAddressForCardDrawer-B8srmVT6-Co_HJf1Y.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-QRigQSHV.js → AddToWalletPage-k__RW699-DBnalmZR.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1hFq4KH-COTxuu-2.js → AgingReportsPage-BuIXjljE-BrreoP_-.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-BUdz_J3g.js → AllUserItems-BdgTe4WF-DQfYtDL3.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js → ApAgingDetailPage-6F47t31h-CB_PIykE.js} +3 -3
- package/dist/assets/{AppBasePage-DiVxF606-C03aQg1o.js → AppBasePage-DaTueT-x-BXKUSYxo.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-16pnrlUd.js → AppDrawerContent-CtCI6jpp-CsPTIxrb.js} +22 -22
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js → ApprovalRulesSettingsPage-BVxu4soW-Cx9W9VZb.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js → ArAgingChart-BK-JyW2V-CRC7GMeI.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-CC5CLIGP.js → ArAgingDetailPage-CvqLu3q8-BQd3HFeD.js} +4 -4
- package/dist/assets/{AttachmentView-SsWJw4A8-BGK1ntZP.js → AttachmentView-DQdb3v_e-CrflCKQW.js} +2 -2
- package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js +38 -0
- package/dist/assets/{BankAccountSection-B4jmT0lb-DzAFSATj.js → BankAccountSection-DgbfU8F--CkRwjy7A.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js → BankAccountWarningSection-litL0o_Z-DgHPj2Xz.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js → BankConnectionsSettingsPage-bAj9uB9k-sPoCw_nL.js} +6 -6
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BrWo4uGz.js → BillDetailPage-CiHal44n-B-pNvdK4.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js → BillPayApprovalRuleDetailPage-CRBli7lk-C6KU9krq.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js → BillPayApprovalRulesPage-BTOmSLcs-DsHPwIyx.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-Du89a98b.js → BillPayPromoPage-B5gkQjT2-CDaCRy4j.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-CclJKf3M.js → BillPaySetUpPage-DM3r09by-ylftA-6O.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-BuoiB9BU.js → BillingSettingsPage-CiTKyJeG-D7-iHgY4.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js → BillsBulkReviewDrawerPage-B6ofRDkg-pxXiH1By.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-DKAIvhWo.js → BoxItem-C39hQSVg-DygFSSe8.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js → BusinessVerificationPage-BiWEnJET-BH1PMwYP.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-DL8DMs-k.js → CardNumberSubText-FNfrozX6-CY1gwPPP.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-JWXE3hsL.js → CashbackDetailPage-DaLICa_v-BHVqJW_A.js} +6 -6
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js → ChargeCardDetailPage-B0Aq7zO5-Bj_iPNHv.js} +34 -34
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-DJhH9poc.js → ChargeCardListPage-CfRto2rQ-DUZeib3g.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-BmYCmkcc.js → ChargeCardListTable-DMdC4lxo-70bPzG6D.js} +28 -28
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js → ChargeCardPaymentHistoryPage-BYTmtF_y-QaBsAk7f.js} +22 -22
- package/dist/assets/ChargeCardPromoPage-AI5bladj-CDTghnkA.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-_QFEhM40.js → ChargeCardSetupPage-BjhqdubL-Bxyq0dEG.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js → ChargeCardStatementsPage-DCM92s6v-BgJV4ytL.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js → CheckDepositDrawerPage-CkIxEqHU-Dod8HuuJ.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js → CollapsableReportTable-ClHwXtCj-D8daRiWx.js} +43 -43
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js → CompanyOfficerDetailsSection-BY8hFQnp-CtC3dw7s.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-BLVqocbL.js → CompanyPassportCard-B3rZE3pg-CHku2Rtz.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js → CompanyPassportPage-4FXVf3EP-CYRMv_ux.js} +24 -24
- package/dist/assets/{CompleteProfile-TiRsm2Fm-CIjFxaAm.js → CompleteProfile-B1BoilWd-DIpcRO8q.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-BKlSjT6j.js → ConfettiBurst-CsbAGF65-DaE2G5iK.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js → ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js → CreateOrEditVendorPage-C50eYOFo-5jCRpD-i.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js → CreditCardPaymentDrawerPage-Dxz_SY7N-CdO_tBcx.js} +5 -5
- package/dist/assets/{CurrencySelectField-BTAmIqPa-BqQ2_ci5.js → CurrencySelectField-D2Ogwvbr-DFlDNWit.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js → CustomerOnboardingActivationPage-5Sh7hmI9-BLHLFJqx.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-Bb9r_J_O.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-BYS-DtUM.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js → CustomerOnboardingNoStepsPage-CyL1AK78-Cy-eN1DF.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js → CustomerOnboardingPage-C8nxJPwo-CFmeBld-.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js → CustomerOnboardingProductSuitePage-C7FbnHpU-Dxkjm06Q.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--DHZmjgJN.js → Dashboard-Bpu-6Sm5-BISIyFSl.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-ChcA84Vk.js → DashboardReportPage-B1aAikQG-BdFbggI-.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-CVm6YwBC.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-BnPXoaAG.js → DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js} +3 -3
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js → DepositAccTransactionListPage-Bh0dIkE9-CW5ttbou.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js → DomesticWireDetailsPage-2WyD73c9-Ddu9-eO2.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-BHplNe_3.js → DownloadOverlay-B7M2VI7K-8UWWddqd.js} +18 -18
- package/dist/assets/{DrawerPage-DmGwfnGp-B5EgKZxZ.js → DrawerPage-DsQTxXa8-FNOF0T9x.js} +5 -5
- package/dist/assets/{EditPeoplePage-YyluIC6R-CQIl30sj.js → EditPeoplePage-fY0HXvVS-CPTN1GRB.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js → EditReimbursementDetailPage-D7RUWSTZ-BNhqRuzG.js} +1 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-BQGDz9Ii.js +18 -0
- package/dist/assets/{EntitySummarySection-5NbutA8l-Z4HQfo2N.js → EntitySummarySection-0rRkC5V6-DX9oCnh6.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js → ExpenseAutomationOverviewPage-DOGAdZXV-Ott9us_6.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js → ExpenseAutomationPage-DOsIzX0P-DNfPXp6J.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-Ixqn7FeR.js → ExpressPayPage-CIi6jM8Y-qFfOMk3w.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-C20k6nV5.js → FeaturePreviewPage-BVn6ZUOB-BcJD18O7.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-DdiQ4lOn.js → FollowStepsSection-CvWPHXDW-CayqdWAy.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js → GlobalReviewListPage-CS_11bx0-sbF8FOmX.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-B2cR2Vrc.js → InformationCardStack-B9g7W7Xx-BWV4DOrJ.js} +1 -1
- package/dist/assets/{InsightsCardStack-DxCA5sFh-CBXIO7T2.js → InsightsCardStack-mvzIc2uY-DntFQXQU.js} +3 -3
- package/dist/assets/{InsightsSection-BdFG3j3R-DpGjm8qb.js → InsightsSection-rGyA4lY9-B2pA29Jq.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js → IntegrationsSettingsPage-Dwz4ukHF-BDuIwaNQ.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-DfXMYL1d.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js → InternationalWireVerificationPage-woIoME3I-CEoHufSE.js} +1 -1
- package/dist/assets/{InviteFormPage-fjqv2l7h-CoWToBnJ.js → InviteFormPage-DaZ-sJYV-Bag9I8OB.js} +17 -17
- package/dist/assets/{InvitePageListView-CQecQhxr-BNu8hXMY.js → InvitePageListView-Do7EVQrj-BrU-UxSb.js} +13 -13
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-jK8Ueocl.js → InvitePeoplePage-CpD7YoC2-DLME90b_.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-BuOyGSAC.js → InvoiceUploadSection-DOuTQPee-DKRpBgc2.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js → IssueChargeCardPage-ClMhr27d-Dvt3VEvl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZfFV97h-DWDhZW5u.js → LabeledAddressValue-B6_PZDTO-BM9CuApr.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-Di6mjf7B.js → LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js → LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js → LabeledCountryMultiSelectField-1kTcZMQW-BkvqWj3Y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js → LabeledCreatableSingleSelectField-PiLB1S77-D7JcIqjo.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js → LabeledDocumentField-Cicw8ABs-BakwqLCx.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js → LabeledDropDownFormattedTextField-BEVVgIGK-CLPycccH.js} +2 -2
- package/dist/assets/{LabeledText-A1h_ionS-YHsepFfP.js → LabeledText-C56xvYuX-BJO8VuVp.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js → LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js → LinkJETransactionPage-DbnaYlRA-4hyH1rgp.js} +9 -9
- package/dist/assets/{LockCardPage-BDlnh_zf-coxMaBNB.js → LockCardPage-XHbTmzq8-CfUgYvqO.js} +20 -20
- package/dist/assets/{LowBalancePopup-CBPl_udd-D2XBBf4O.js → LowBalancePopup-IF7NG9aL-CmWtcxy6.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-DLN4BmVt.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js → MagicLinkDomesticWireDetailsPage-D0JDLfbz-CKYFGEdB.js} +1 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-j39Z7g0H.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js → MagicLinkSuccessPage-Cyr3p_8a-DYu_aa7F.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js → MagicLinkTitleSection-A4zyF5bg-CuWJG08o.js} +1 -1
- package/dist/assets/MailingDetailsSection-DqSOlu2t-XHdrpb5B.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js → MyBankConnectionsSettingsPage-DtTjhna--DxAAS5ce.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js → MyPendingActivationChargeCardListPage-CKSWf7I4-CVnClwp0.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js → MyProfileSettingsPage-WF1pNlyU-C1ew1Kqs.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js} +3 -3
- package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js} +6 -6
- package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js → NewGlobalMerchantPage-kvjjwV8d-C-gYRU5V.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-B7rWK9ww.js → NoDataChart-DlSLTzZl-qjL1S4Ow.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-1fFq9QL7.js → NoDataTable-9vLoRpsR-NJzyakwC.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-RIPoUtcm.js → NotFoundPage-CFlNCHFs-CZtYv7Ed.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js → NotificationSettingsPage-KJzE9v4p-D_0qzf80.js} +1 -1
- package/dist/assets/{NotificationsListConfig-ThKLok_w-DiwvAaDh.js → NotificationsListConfig-6sXXtF_E-CjeFzlDg.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-C7IDz_PV.js → NotificationsPage-D4AmPdo9-Lse12GIJ.js} +11 -11
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-B5Ccc20I.js → OverlayContainerPage-BG9y5C0t-B-_gIiaG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js → PandLWithForecastPage-CjkaxTx7-hcg5r7tq.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-BPuUddlR.js} +6 -6
- package/dist/assets/{PeoplePage-C5ZdpVyR-D5gb3H9N.js → PeoplePage-CQREy6SW-B0AK4Oec.js} +1 -1
- package/dist/assets/{Preview-M7TzJD6j.js → Preview-CZH7Vvu6.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-qhgO5u3T.js → ProductsCarousel-COZZMTcH-CfEx379j.js} +3 -3
- package/dist/assets/{PromoBaseCards-CN9uZfG4-4ZG6rDcT.js → PromoBaseCards-Bmn6TN2k-B692-NLa.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js → QBOConnectionDialog-DYxoiSkA-COoNZDfT.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-CWf9qAKV.js → QBOSetupSection-Cdz2PDxV-1MtshN_P.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-DEqspRF0.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js → ReimbursementApprovalRulesPage-Ch2sxTFV-CKSEAZRx.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js → ReimbursementDetailPage-DSF6SfKn-BbgmDgbl.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js → ReimbursementPromoPage-F1ROFd63-Df7C1VVh.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js → ReimbursementSetUpPage-l2mhLFuo-DfcOr7HI.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BUgOGjSI.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-QCThgpLx.js → ReloadCard-CDcJMl9F-tXak7uFI.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js → ReportTableViewSelector-DvCk55Hn-CTarIpK9.js} +1 -1
- package/dist/assets/{ReportsPage-DrjOGopt-DJaJ6UxU.js → ReportsPage-DfqqKSt3-BxlHe2bX.js} +49 -38
- package/dist/assets/{RevenueChart-CqGvXDr4-ls1jVoKH.js → RevenueChart-BONT9upM-Cun2QP3i.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js → ReviewDetailsPage-857bVurA-D9gCRs9U.js} +1 -1
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-C7d3vwBi.js → ReviewOverlay-ClQg7d2j-j91vCn0m.js} +1 -1
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BCPY7QpL.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js → ScheduleDetailsPage-B1aEwPL--vu1ZFkSU.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js → ScheduleSequenceTable-DhU7PI91-BAKwnm-f.js} +1 -1
- package/dist/assets/{ScreenRoutes-DJ_rUo9A.js → ScreenRoutes-B4US_7hw.js} +1 -1
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js → SetUpAccountSection-C8dulq9s-DDXcc18s.js} +11 -11
- package/dist/assets/{SignIn-CDEsZw_T-0YUs2QmP.js → SignIn-wDe7lbGR-dg2gJssp.js} +1 -1
- package/dist/assets/{SignInScreen-CUXsEOc0.js → SignInScreen-CnOpPKTK.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DKR38Veg.js → SpendManagementListViewPage-BdddUHrW-CnqRniMi.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js → SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js} +18 -18
- package/dist/assets/{SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js → SpendManagementSection-6R5y0Hy4-D5jOLcFY.js} +1 -1
- package/dist/assets/{StatementItem-DjvU5wiI-DHTNeSpB.js → StatementItem-qsoXKx_p-DBQZldZM.js} +1 -1
- package/dist/assets/{StatementsPage-DYLp_e7W-C5hw_hkQ.js → StatementsPage-Cn7WG5-S-AcQ1iHip.js} +1 -1
- package/dist/assets/{StatusSwitcher-jxaonB4S-Dw8Z5KsP.js → StatusSwitcher-D3qCg5J1-BZCFmoiB.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-Dk2m1EXt.js → SubTabSwitcher-BXajy75j-DZugBDGb.js} +1 -1
- package/dist/assets/{SummaryCard-DPOhBmkr-Cj1Lt-Mp.js → SummaryCard-B1d4_5lE-uu1gTNTh.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DzrReeZE.js → TaskManagementPage-h3Rb49Jj-Mtdf3ds1.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js → TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js → TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js → TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-CsdBprjg.js → TopExCard-leQR29Sq-B0Y6UXAe.js} +3 -3
- package/dist/assets/{TopExDetailPage-TvYCbzSP-C1DN6y7-.js → TopExDetailPage-Dgg7Do6D-DdiiFE6N.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js → TransactionActivityLogPage-CU2pUJQL-CUfFmWBA.js} +6 -6
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BwsVWjsw.js → TransactionDetailPage-FT2IPLH7-BTpqS69f.js} +17 -17
- package/dist/assets/{TransactionList-B16NONME-MhxbTKXX.js → TransactionList-C2MGkQYM-DYhz6ZPl.js} +1 -1
- package/dist/assets/{TransactionListBig-CItPbTRV-CTDy7YXE.js → TransactionListBig-CZ3jIxzR-CRCbDlw1.js} +4 -4
- package/dist/assets/{TransactionListPage-DNecYY8M-DvyKlW5R.js → TransactionListPage-PCa4exLO-BxsKDJxF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js → TransactionVendorDetailPage-BgcqndCu-JJLz26CY.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-DuQeRo8o.js → TransferDrawerPage-SirvPH4z-I4L9iRhs.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js → TreasuryOverviewPage-B_WK1aOv-CprBsLp-.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js → TreasuryPromoPage-B_D63Dr2-CnSqy837.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js → TreasuryStatementsPage-BGe0fhBe-DTEczdhN.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-9gNdkQZp-C1BQoAja.js +58 -0
- package/dist/assets/{TrendChart-GMMat-NG-CAc9nAfG.js → TrendChart-COItOWPp-BY69H27v.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BTtTpjeg.js → TrendWithTransactions-DgAw_8CI-31-F3YNz.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js → UncategorizedAccountsMappingPage-B9EziB6Q-B5XRflrD.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js → UnitIntegrationPage-DGWNyWV1-DDxjCVGo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js → UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-Cn8-yps4.js → Vendor2FAPopup-dh2g8kqu-CdLofAYR.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-Bl9ig0z-.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-DNet96B_.js → VendorDetailPage-CGqoIODq-VSGzsMrn.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-B_RQPHLo.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js → VendorFiling1099EditablePage-CsnlHrCl-AUunsfoG.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-BFjy2m5_.js → VendorFirstReviewPage-DC1j2sO_-CtBZ5OYr.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js → VendorInternationalWireDetailsPage-Drr00a6C-CQ1ZShGA.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BqZ7DdzL.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js → VendorsAccountsSection-BtdwR8u4-DTioiVZE.js} +1 -1
- package/dist/assets/{VerifyDevice-Dhu5iywf-HX-kw30c.js → VerifyDevice-Bhr_yHpE-BbGiRxv5.js} +3 -3
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-Nomi0VD9.js → VideoPlayer-wlJX6lEq-D6dTvqn0.js} +2 -2
- package/dist/assets/{VideoPopup-R3u0N_if-DgVn2CAl.js → VideoPopup-BPptwR51-COhEr58N.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-TerLFC4m-C5ptwy3N.js → WarningsDrawerPage-CHDMmfGz-BXafaQFq.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js → ZeniAccountDetailPage-CSsu44ls-BwOj8KvI.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js → ZeniAccountListViewPage-BZwGCrzx-Dpx7_w7g.js} +22 -22
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js → ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js → ZeniAccountPromoPage-CahV-Rmf-B4cDQ_nu.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js → ZeniAccountSetupPage-DSNDNKZr-CY5M0A2Q.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-iBl18n1m.js → ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js → ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CM6IrCpv.js → add-to-wallet-DgdBD8_G-OZ5gpoAM.js} +1 -1
- package/dist/assets/{analytics-B_VWX-BQ.js → analytics-TwdLweES.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-C4Sojiq_.js → analyticsHelper-DjQYjslY-DBXj-dJs.js} +1 -1
- package/dist/assets/{analyticsHelper-B8fd42um.js → analyticsHelper-iTM7ZfDG.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CQGzMyhs.js → arrow-south-east-round-PEovUgvH-q2OU5IkV.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Ba30im8q.js → auto-transfer-rule-mbafm5D3-BEBK8d08.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq-DHigu710.js → chartTypes-BGl-YMiu-WdB5HF6p.js} +1 -1
- package/dist/assets/{commonDimensions-CVpc-NCw-D6CVEqC_.js → commonDimensions-CuKo3wam-CITxsF7B.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-Dj2109B_.js → commonTypes-CfAg6Jvv-D6_uVQ3i.js} +1 -1
- package/dist/assets/{constants-DgwGHN1r.js → constants-BRyQqmbK.js} +1 -1
- package/dist/assets/{core-Cjh03OPu.js → core-C_RwbDgZ.js} +1 -1
- package/dist/assets/{dash.all.min-CCSNDyIp.js → dash.all.min-BXIjGNzm.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Dyz4TLVR.js → downloadPdf-Dcd8BY_9-DevbEgfI.js} +1 -1
- package/dist/assets/{empty-iTJcp-B8.js → empty-CN54c-dU.js} +1 -1
- package/dist/assets/{empty-DlGh28fD.js → empty-D7p7xixl.js} +1 -1
- package/dist/assets/{epic-hN0N_N79.js → epic-CThn8LAI.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-TbiyaSAn.js → gift-box-Cmt9OgIZ-oia6LvJT.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CxIH_dl6.js → graphic-no-data-l-DU4J8fDt-DCjrEnAk.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js → graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Dbtylvfc.js → handshake-BPg58FML-Dcowt3IG.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-Bk3G7LVh.js → helper-DkzA3y2L-C_9Y7_ic.js} +1 -1
- package/dist/assets/{index-C4Fispms.js → index-B-ek68tb.js} +1 -1
- package/dist/assets/{index-aCBnCBoN.js → index-B8J3c9-k.js} +7 -7
- package/dist/assets/{index-ChCGry2d.js → index-BC4cjDzB.js} +1 -1
- package/dist/assets/{index-DAwCqq2t.js → index-C7AzBAhT.js} +1 -1
- package/dist/assets/{index-DFowIMIZ.js → index-CJXgYa1j.js} +1 -1
- package/dist/assets/{index-B5cuJQnR.js → index-DvYI3iXJ.js} +1 -1
- package/dist/assets/{index-Bk7UJBjY.js → index-hPlkpvne.js} +1 -1
- package/dist/assets/{lexical-9REae7LV.js → lexical-DZ4skawM.js} +1 -1
- package/dist/assets/{liveblocks-CEY7tsth.js → liveblocks-CN5hALk7.js} +1 -1
- package/dist/assets/{lottie-BmLFYENY.js → lottie-B-zs781A.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js → mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-71mHcXTa.js +1 -0
- package/dist/assets/{mui-BosmckWV.js → mui-B_fu8zAT.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C2A7RuXG.js → page-detail-CWX5S47F-CvAL0hAO.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CWVsp72I.js → panelSelectedMixin-Cddsb26L-DRHuamSe.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Dhw9u_Vt.js → radio-default-CiSgisfh-BgsJfXrp.js} +1 -1
- package/dist/assets/{react-CLFAbS9n.js → react-B3oFwy7V.js} +2 -2
- package/dist/assets/{react-DT8qkoNX.js → react-BG0GUKse.js} +1 -1
- package/dist/assets/{react-ddvEC0y3.js → react-Bcm_MkQe.js} +1 -1
- package/dist/assets/{react-DSh5n3Dg.js → react-CWuBuyxj.js} +1 -1
- package/dist/assets/{react-DAXSMqh2.js → react-DJ0zzqQv.js} +1 -1
- package/dist/assets/{react-D8DqvAAs.js → react-PE1K_DTb.js} +1 -1
- package/dist/assets/{react-DxfKP-TY.js → react-rwxEP-9P.js} +1 -1
- package/dist/assets/{react-DTZ405nF.js → react-uUMjmJkq.js} +1 -1
- package/dist/assets/{recharts-CimMNwCJ.js → recharts-BkmpOx_p.js} +1 -1
- package/dist/assets/{sentry-DzaNjvx0.js → sentry-xNvKSthz.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Cva3YFBn.js → shield-DOlUxcFf-BV2AyAgf.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-D5mv6_v1.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-BBptd2Gk.js → toChartData-B4ligi4c-D4j3IIGd.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js → upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-TVHnian4.js → uploadAttachment-DgPDimcm-DyuT8s2S.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-Dil-Qv4Z.js → uploadReceipts-CIgkuVpu-CmRP4shz.js} +1 -1
- package/dist/assets/{url-ymOv7sCf.js → url-CPrPdBBS.js} +1 -1
- package/dist/assets/{url-KRGewpHH.js → url-DN9fcrN3.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgaoTE4k.js → useLongPress-GCK2COYQ-DMOFKAWg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Bnk1sVWO.js → usp-line-BBd1wKwW-Bx4ltDgD.js} +1 -1
- package/dist/assets/{utils-THjX-QSp.js → utils-4bW-VyLb.js} +1 -1
- package/dist/assets/{zeni-epic-state-BNpJ2txa.js → zeni-epic-state-SAYXyeZn.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +0 -18
- package/dist/assets/AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js +0 -59
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +0 -38
- package/dist/assets/ChargeCardPromoPage-D4canPX9-DuNs-QpK.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js +0 -1
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +0 -21
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +0 -22
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as z,e as M,fO as D,O as v,aX as x,V as i,bE as _,ab as $,fI as H,o,by as P,x as d,ao as L,an as B,w as N,N as W,fU as j,fV as C,u,g2 as V,d as A,ak as E}from"./index-
|
|
1
|
+
import{g as z,e as M,fO as D,O as v,aX as x,V as i,bE as _,ab as $,fI as H,o,by as P,x as d,ao as L,an as B,w as N,N as W,fU as j,fV as C,u,g2 as V,d as A,ak as E}from"./index-B8J3c9-k.js";import{a as y}from"./sentry-xNvKSthz.js";import{n as t}from"./mui-B_fu8zAT.js";import{bL as R}from"./zeni-epic-state-SAYXyeZn.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f7ec910a-5c3b-45df-8ce1-2e89725bc89c",e._sentryDebugIdIdentifier="sentry-dbid-f7ec910a-5c3b-45df-8ce1-2e89725bc89c")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},F={title:new W("standardMedium","largeMedium")},J=t.img`
|
|
2
2
|
width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
3
3
|
height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
4
4
|
border-radius: ${o.sp11};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as B,ay as N,j2 as a,V as n,bE as D,gk as x,O as M,o as O}from"./index-
|
|
1
|
+
import{g as B,ay as N,j2 as a,V as n,bE as D,gk as x,O as M,o as O}from"./index-B8J3c9-k.js";import{n as P}from"./mui-B_fu8zAT.js";import{FB as j}from"./zeni-epic-state-SAYXyeZn.js";import{r as V,i as _}from"./ChargeCardListTable-DMdC4lxo-70bPzG6D.js";import"./sentry-xNvKSthz.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js";import"./CardNumberSubText-FNfrozX6-CY1gwPPP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8c4149ab-faa2-416d-82cf-56e40d1d7618",e._sentryDebugIdIdentifier="sentry-dbid-8c4149ab-faa2-416d-82cf-56e40d1d7618")}catch{}})();const{spendManagement:{chargeCard:u}}=M.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:d,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:c,controllerEmails:b,signedInUser:S,onChargeCardRowClick:f,onBackClick:p,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=B(),y=N(),h=j(y.loggedInUserRoleMap),v=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),F=v&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,I=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,E=i&&l&&h===!0?{creditAccountId:d.id,creditAccountLimit:a(d.limit.amount),creditAccountAvailableAmount:a(d.available.amount),creditAccountSpentAmount:a(d.balance.amount+d.hold.amount),creditAccountStatus:d.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,L=o&&s?{debitAccountId:c.depositAccounts.map(t=>t.id),debitAccountName:c.depositAccounts.map(t=>t.accountName),debitAccountBalance:c.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:c.depositAccounts.map(t=>t.accountStatus)}:void 0,w={isCreditCardOffered:i,isDebitCardOffered:o,isDebitCardEnabled:s,isCreditCardEnabled:l},R={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return n.jsxs($,{children:[n.jsx(D,{title:F,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:p,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(x,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx(V,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:_,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:d,creditAccountRepayment:C,productInformation:w,cashbackInformation:I,creditAccountInformation:E,debitAccountInformation:L,depositAccountListWithDebitCardIssued:c,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:R,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,U)=>{f(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},$=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: ${`calc(100vh - ${O.sp9})`};
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as ie,g5 as te,g as ge,ay as be,g6 as ye,aa as we,aG as xe,cR as Pe,cQ as $e,O as re,V as l,g7 as ve,bE as De,ae as Se,aT as Oe,o as s,cK as ne,g8 as de,g9 as ce,ga as ue,x as L,ao as me,w as Re,N as je,aM as ee,d3 as Ce,cV as Le,gb as E,d0 as Te,c_ as Ie,gc as Ve,b1 as Ne,u as W}from"./index-
|
|
1
|
+
import{e as ie,g5 as te,g as ge,ay as be,g6 as ye,aa as we,aG as xe,cR as Pe,cQ as $e,O as re,V as l,g7 as ve,bE as De,ae as Se,aT as Oe,o as s,cK as ne,g8 as de,g9 as ce,ga as ue,x as L,ao as me,w as Re,N as je,aM as ee,d3 as Ce,cV as Le,gb as E,d0 as Te,c_ as Ie,gc as Ve,b1 as Ne,u as W}from"./index-B8J3c9-k.js";import{a as $}from"./sentry-xNvKSthz.js";import{n as m}from"./mui-B_fu8zAT.js";import{bi as le,bg as pe,bL as Be,bh as ke}from"./zeni-epic-state-SAYXyeZn.js";import{C as ze}from"./LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js";import{Y as Ae}from"./LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js";import{C as Fe,j as Me}from"./LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="269f3a04-d3b3-41fa-91db-4a8e6ca90cde",e._sentryDebugIdIdentifier="sentry-dbid-269f3a04-d3b3-41fa-91db-4a8e6ca90cde")}catch{}})();const b=(e,o)=>`${e}.${o}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(W[2],W[3]),toolTipWidth:new L(215,237),notePadding:new L(W[3],W[4]),noteGap:new L(W[0],6)},{peoplePage:a,common:{settings:se,labels:K,placeholder:B,errorMessage:_e},dateFormat:We}=re.getLocalizedStrings(),Ue=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:v,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:w})=>{const n=ie(),{person:r,managersList:z,classList:A,manager:G,department:g,controllersList:F,myProfileLocalData:M,addressData:q}=e,H=e.person.user?.birthday!=null?"readonly":void 0,D=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),Q=$.useMemo(()=>te(y,p,i,f,v,T,h),[y,p,i,f,v,T,h]),{firstController:x,restControllerEmailsStr:S}=$.useMemo(()=>{const c=ee(F),O=c.splice(0,1),R=c.reduce((V,N)=>V.concat(`${N.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[F]),J=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),U=$.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ee,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:K.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:_e.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:E(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:K.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:We.visual.defaultInput,autoComplete:"off",maxDate:ke().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ze,{label:{label:K.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:q?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:K.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:J},registerOptions:{required:!0},placeholderLabel:E(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,v)},productsByUserRole:de(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Ae,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ze,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const O=z.findIndex(R=>R.userId===c);if(O!==-1){const R=z[O],V=A.find(X=>X.classId===R.userRole.accountingClassIDs[0]),N=[];return V!=null&&N.push(V.className),N}else return[]},placeholderLabel:d?a.notApplicable:E(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:E(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(Ke,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Ge,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(qe,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Ne,{className:"arrowIcon"})]}):null]})]})]})},Ze=()=>a.invitePage.managerTooltipText,Ee=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{g as h,e as g,V as o,ac as b,
|
|
1
|
+
import{g as h,e as g,V as o,ac as b,c1 as f,o as l,bH as p,f5 as y,O as m,cc as x,b$ as k,w}from"./index-B8J3c9-k.js";import{n}from"./mui-B_fu8zAT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="cabaf4fc-bf68-41c1-99bf-fe543e38733a",e._sentryDebugIdIdentifier="sentry-dbid-cabaf4fc-bf68-41c1-99bf-fe543e38733a")}catch{}})();const C=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex: 1 1 auto;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
max-width: calc(100% - 36px);
|
|
7
7
|
margin-left: ${l.sp3};
|
|
8
|
-
`,v=({backgroundColor:e,pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:u})=>{const t=h();return o.jsx(C,{style:u,children:o.jsx(k,{pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??w.largeRegular,titleColor:t.colors.primary,selectedOptionColor:t.colors.primary,isDisabled:c})})},{common:{navBar:{back:$}}}=m.getLocalizedStrings(),j={navBarHeight:
|
|
8
|
+
`,v=({backgroundColor:e,pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:u})=>{const t=h();return o.jsx(C,{style:u,children:o.jsx(k,{pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??w.largeRegular,titleColor:t.colors.primary,selectedOptionColor:t.colors.primary,isDisabled:c})})},{common:{navBar:{back:$}}}=m.getLocalizedStrings(),j={navBarHeight:p},S=n.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
min-height: ${e=>j.navBarHeight.valuePx(e.windowSize)};
|
|
@@ -27,4 +27,4 @@ import{g as h,e as g,V as o,ac as b,c0 as p,o as l,bH as f,f5 as y,O as m,cb as
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function P({picker:e,backgroundColor:r,showMenuIcon:i,rightSideComponent:a,onBackClick:s,onClickMenuIcon:c}){const d=h(),u=g(),t=r??d.colors.grey5;return o.jsxs(S,{bgColor:t,windowSize:u,children:[i?o.jsx(I,{onClick:c,"data-testid":b("nav-bar-menu-button")}):o.jsx(
|
|
30
|
+
`;function P({picker:e,backgroundColor:r,showMenuIcon:i,rightSideComponent:a,onBackClick:s,onClickMenuIcon:c}){const d=h(),u=g(),t=r??d.colors.grey5;return o.jsxs(S,{bgColor:t,windowSize:u,children:[i?o.jsx(I,{onClick:c,"data-testid":b("nav-bar-menu-button")}):o.jsx(f,{style:{marginTop:l.sp1,height:l.sp4},title:$,enterDelay:600,placement:"bottom",children:o.jsx(D,{"data-testid":b("nav-bar-back-button"),onClick:s})}),o.jsx(v,{...e,backgroundColor:t}),a!=null?o.jsx(T,{children:a}):null]})}export{P as R};
|
package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,o as r,b1 as h,
|
|
1
|
+
import{V as t,o as r,b1 as h,cc as f}from"./index-B8J3c9-k.js";import{c as l,n as d}from"./mui-B_fu8zAT.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="fa05aafd-d8a9-4b0f-92dd-08de26f73dbe",o._sentryDebugIdIdentifier="sentry-dbid-fa05aafd-d8a9-4b0f-92dd-08de26f73dbe")}catch{}})();const c=l`
|
|
2
2
|
border-left-style: none;
|
|
3
3
|
margin-left: -${r.sp3};
|
|
4
4
|
border-top-right-radius: ${r.sp2};
|
|
@@ -10,13 +10,13 @@ import{V as t,o as r,b1 as h,cb as c}from"./index-aCBnCBoN.js";import{c as l,n}f
|
|
|
10
10
|
border-top-left-radius: ${r.sp2};
|
|
11
11
|
border-bottom-left-radius: ${r.sp2};
|
|
12
12
|
padding: ${r.sp2};
|
|
13
|
-
`,$=
|
|
13
|
+
`,$=d.div`
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
display: flex;
|
|
16
16
|
border: 1px solid
|
|
17
17
|
${o=>o.isSpendManagementPromoCard===!0?o.promoBorderColor!=null?o.promoBorderColor:o.theme.colors.billPayPromoBorderColor:o.theme.colors.grey3};
|
|
18
18
|
margin-top: ${o=>o.isSpendManagementPromoCard===!0?r.sp0:"-"+r.sp11};
|
|
19
|
-
${o=>o.which==="left"?
|
|
19
|
+
${o=>o.which==="left"?c:u};
|
|
20
20
|
${o=>o.marginLeft!=null?`margin-left: ${o.marginLeft};`:""}
|
|
21
21
|
${o=>o.marginRight!=null?`margin-right: ${o.marginRight};`:""}
|
|
22
22
|
& svg {
|
|
@@ -30,18 +30,18 @@ import{V as t,o as r,b1 as h,cb as c}from"./index-aCBnCBoN.js";import{c as l,n}f
|
|
|
30
30
|
border-color: ${o};
|
|
31
31
|
`:null}
|
|
32
32
|
}
|
|
33
|
-
`,
|
|
33
|
+
`,b=d(f)`
|
|
34
34
|
width: ${r.sp3};
|
|
35
35
|
height: ${r.sp3};
|
|
36
36
|
color: ${o=>o.theme.colors.hero};
|
|
37
37
|
&:hover {
|
|
38
38
|
color: ${o=>o.theme.colors.primary};
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,y=d(h)`
|
|
41
41
|
width: ${r.sp3};
|
|
42
42
|
height: ${r.sp3};
|
|
43
43
|
color: ${o=>o.theme.colors.hero};
|
|
44
44
|
&:hover {
|
|
45
45
|
color: ${o=>o.theme.colors.primary};
|
|
46
46
|
}
|
|
47
|
-
`;function C({navType:o}){switch(o){case"left":return t.jsx(
|
|
47
|
+
`;function C({navType:o}){switch(o){case"left":return t.jsx(b,{});case"right":return t.jsx(y,{});default:throw Error("Invalid navtype")}}const B=({navType:o,isSpendManagementPromoCard:e=!1,marginLeft:n,marginRight:a,promoBorderColor:s,promoBorderColorHover:i,promoColor:m,handleClick:p})=>t.jsx($,{isSpendManagementPromoCard:e,which:o,className:`styledNav styledNav-${o}`,marginLeft:n,marginRight:a,promoBorderColor:s,promoColor:m,promoBorderColorHover:i,onClick:g=>p(g,o=="left"?"right":"left"),children:t.jsx(C,{navType:o})});export{B as N};
|
package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n,ac as l,o as a}from"./index-
|
|
1
|
+
import{V as n,ac as l,o as a}from"./index-B8J3c9-k.js";import{n as i}from"./mui-B_fu8zAT.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="26705e61-205e-47de-b542-1188fa339b43",o._sentryDebugIdIdentifier="sentry-dbid-26705e61-205e-47de-b542-1188fa339b43")}catch{}})();const v=i.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
`,u=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as T,aa as K,cQ as Q,aS as X,V as t,ae as Z,aT as Y,o as a,x as i,b as ee,N as q,M as te,O as z,h8 as ae,an as le,cU as O,cX as C,cV as ne,u as n,iz as oe,bb as re,eJ as ie,cZ as de,eE as se,L as ce,eN as me,dx as he,bj as be,d as R}from"./index-
|
|
1
|
+
import{e as T,aa as K,cQ as Q,aS as X,V as t,ae as Z,aT as Y,o as a,x as i,b as ee,N as q,M as te,O as z,h8 as ae,an as le,cU as O,cX as C,cV as ne,u as n,iz as oe,bb as re,eJ as ie,cZ as de,eE as se,L as ce,eN as me,dx as he,bj as be,d as R}from"./index-B8J3c9-k.js";import{a as j}from"./sentry-xNvKSthz.js";import{n as o,c as ge}from"./mui-B_fu8zAT.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ba41339b-6561-418b-9d9e-c986bdda29f3",e._sentryDebugIdIdentifier="sentry-dbid-ba41339b-6561-418b-9d9e-c986bdda29f3")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:l,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=T(),{formState:{errors:d}}=O(),$=ie(d,l.name);return t.jsxs(fe,{windowSize:s,style:S,isDisabled:l.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:l.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...l,style:{...l.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(Se,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as l,V as t,d as r,o as i,an as s,x as o,g as d}from"./index-
|
|
1
|
+
import{e as l,V as t,d as r,o as i,an as s,x as o,g as d}from"./index-B8J3c9-k.js";import{n as h}from"./mui-B_fu8zAT.js";import{a}from"./sentry-xNvKSthz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38506528-96b3-4de6-9f7c-b790372e0bb9",e._sentryDebugIdIdentifier="sentry-dbid-38506528-96b3-4de6-9f7c-b790372e0bb9")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},f=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n,o as t,g as i}from"./index-
|
|
1
|
+
import{V as n,o as t,g as i}from"./index-B8J3c9-k.js";import{n as s}from"./mui-B_fu8zAT.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-DCjrEnAk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="22738ceb-aefd-4ea3-a162-584cd17022a6",e._sentryDebugIdIdentifier="sentry-dbid-22738ceb-aefd-4ea3-a162-584cd17022a6")}catch{}})();const a=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as o,O as n,
|
|
1
|
+
import{V as o,O as n,c9 as s,c as l,an as d,d as c,ao as a}from"./index-B8J3c9-k.js";import{n as t}from"./mui-B_fu8zAT.js";import{a as g}from"./ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js";import"./sentry-xNvKSthz.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ef43f693-2384-4c9e-b768-2b69e0cb4d00",e._sentryDebugIdIdentifier="sentry-dbid-ef43f693-2384-4c9e-b768-2b69e0cb4d00")}catch{}})();const f=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -12,7 +12,7 @@ import{V as o,O as n,c8 as s,c as l,an as d,d as a,ao as c}from"./index-aCBnCBoN
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
text-align: center;
|
|
15
|
-
`,m=t(
|
|
15
|
+
`,m=t(a)`
|
|
16
16
|
height: 74px;
|
|
17
17
|
color: ${e=>e.theme.colors.grey1};
|
|
18
18
|
`,u=t.div`
|
|
@@ -38,9 +38,9 @@ import{V as o,O as n,c8 as s,c as l,an as d,d as a,ao as c}from"./index-aCBnCBoN
|
|
|
38
38
|
font-size: 400px;
|
|
39
39
|
font-weight: ${s.bold};
|
|
40
40
|
`,r=t.span`
|
|
41
|
-
color: ${
|
|
41
|
+
color: ${c.info};
|
|
42
42
|
&:hover {
|
|
43
43
|
text-decoration: underline;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
|
-
`;function _({onGoBack:e,onGoHome:i}){return o.jsxs(
|
|
46
|
+
`;function _({onGoBack:e,onGoHome:i}){return o.jsxs(f,{children:[o.jsx(y,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:n.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(b,{children:[n.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:n.getLocalizedStrings().notFoundPage.goBackText}),n.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:i,children:n.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,gk as ne,o as i,bT as oe,aV as se,O as v,g as Q,e as W,aa as re,cQ as le,bE as ae,ae as ce,ab as j,aT as de,x as z,fR as pe,gl as me,e_ as ue,gm as ge,gn as he,b1 as fe,u as I,bb as Y,ak as J,an as K,ao as xe}from"./index-
|
|
1
|
+
import{V as t,gk as ne,o as i,bT as oe,aV as se,O as v,g as Q,e as W,aa as re,cQ as le,bE as ae,ae as ce,ab as j,aT as de,x as z,fR as pe,gl as me,e_ as ue,gm as ge,gn as he,b1 as fe,u as I,bb as Y,ak as J,an as K,ao as xe}from"./index-B8J3c9-k.js";import{a as E}from"./sentry-xNvKSthz.js";import{n}from"./mui-B_fu8zAT.js";import{Gy as be,Gz as $e,GA as ye,GB as we}from"./zeni-epic-state-SAYXyeZn.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="cd5e841a-a96a-414b-b237-6a9b3945313c",e._sentryDebugIdIdentifier="sentry-dbid-cd5e841a-a96a-414b-b237-6a9b3945313c")}catch{}})();const{common:je}=v.getLocalizedStrings(),U={notePadding:new z(I[3],I[4]),noteGap:new z(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as t,u as n}from"./index-
|
|
1
|
+
import{w as t,u as n}from"./index-B8J3c9-k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="6a0b6045-ff54-4b78-a0b2-14f4bc963d04",e._sentryDebugIdIdentifier="sentry-dbid-6a0b6045-ff54-4b78-a0b2-14f4bc963d04")}catch{}})();const a=n[5],o=59,r=n[5],i=t.standardRegular.lineHeightValue,s=1,l=1e3;export{i as A,r as E,s as I,l as L,o as a,a as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,ab as $e,O as B,hi as si,x as _,ip as ai,w as Ie,L as ni,aA as it,cu as ot,b5 as st,dz as at,cC as nt,kj as rt,u as w,a as ri,kk as li,dx as ue,a$ as di,N as ci,M as lt,d as S,ak as ui,bW as z,cU as he,gl as pe,kl as fe,ay as dt,a9 as ct,dE as U,fG as ut,ac as me,bQ as hi,an as ee,iD as pi,ao as H,fU as fi,aX as je,bc as ge,km as mi,bO as ht,kn as _e,bx as gi}from"./index-
|
|
1
|
+
import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,ab as $e,O as B,hi as si,x as _,ip as ai,w as Ie,L as ni,aA as it,cu as ot,b5 as st,dz as at,cC as nt,kj as rt,u as w,a as ri,kk as li,dx as ue,a$ as di,N as ci,M as lt,d as S,ak as ui,bW as z,cU as he,gl as pe,kl as fe,ay as dt,a9 as ct,dE as U,fG as ut,ac as me,bQ as hi,an as ee,iD as pi,ao as H,fU as fi,aX as je,bc as ge,km as mi,bO as ht,kn as _e,bx as gi}from"./index-B8J3c9-k.js";import{a as g}from"./sentry-xNvKSthz.js";import{n,c as P}from"./mui-B_fu8zAT.js";import{H7 as xi,H8 as bi,bL as X,bh as $,EZ as pt}from"./zeni-epic-state-SAYXyeZn.js";import{R as wi}from"./SubTabSwitcher-BXajy75j-DZugBDGb.js";import{d as ft}from"./useLongPress-GCK2COYQ-DMOFKAWg.js";import{A as mt,t as gt,a as xt,E as bt,L as wt,I as yt}from"./NotificationsListConfig-6sXXtF_E-CjeFzlDg.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="1a03e055-0100-4f82-8f73-1c92cb56b789",e._sentryDebugIdIdentifier="sentry-dbid-1a03e055-0100-4f82-8f73-1c92cb56b789")}catch{}})();function yi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:r,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const p=v(),f=K(),h=g.useCallback(m=>{d(m.id)},[d]),x=g.useCallback(m=>{u(m.id)},[u]);return e.length===0?null:t.jsxs($i,{windowSize:p,children:[t.jsx(ai,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:h}),t.jsx(wi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:r,onTabChange:x})]})}const $i=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:$t,strings:ji},dateFormat:Le,timeFormat:ki}=B.getLocalizedStrings(),jt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(ji.underscore).concat(e.start.format(Le.visual.DdashMMdashYYYYFormat)),xe=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return $t[e.type];case"earlier_that_month":return e.start.format(Le.visual.MMMYYYYFormat)}},kt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),r=s.diff(o,"seconds"),l=60,c=24*60;return r<=l?$t.justNow:a<c&&mi(o,0)?o.format(ki.hhmmAFormat):o.format(Le.visual.MMMDFormat)},ze=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:Si}}}}=B.getLocalizedStrings(),St=e=>{e.sort((r,l)=>X(r.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of jt){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),p=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=$().subtract(p,"month").startOf("M").startOf("d"),h=$().subtract(p,"month").endOf("M").endOf("d");p++,a=oe(o,f,h),o=a.remainingData,s.push({start:f,end:h,type:r,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],r=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:r}},vi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=Si;return o.comments.length===1?a:s},vt=new _(3,2,1,1,1),Ct=new _(w[8],w[6],35,35,w[6]),de={lineClamp:vt,sectionWidth:Ct},Tt="comments-notification-tile",{common:{texts:De,timeStrings:Ci,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Ti},actionStrings:{comments:{newCommentAdded:Ni}}}}}=B.getLocalizedStrings(),Ii=({sectionId:e,notificationData:o,users:s,isHighlighted:a=!1,style:r,onNotificationTileClick:l})=>{const c=dt(),d=ct().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:f},thread:h}=o,{setRequestToOpenThread:x}=g.useContext(hi),m=p!=null?"read":"unread",{metadata:{url:k,companyId:I,entityType:D},id:L}=h;return t.jsxs(Oi,{readStatus:m,isClickable:!!k,isHighlighted:a,style:r,"data-testid":me(e,`${Tt}-${u}`),onClick:()=>{k&&(l(u,pt(k),m),(h.metadata.tab==="bill"||h.metadata.tab==="reimbursement")&&x({threadId:L,companyId:I,entityType:D})),h.metadata.application!=="cockpit"&&d.trackCommentActivity("notification","clicked",h.metadata.companyName,c.controllersList.controllers.map(b=>U(b)),h.resolved?"resolved":"open",{name:ut(c.loggedInUser),email:c.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Li,{notificationData:o,users:s}),t.jsx(_i,{...o}),t.jsx(zi,{timestamp:f,readStatus:m})]})},Nt=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,r=a[0];return a.length===0||r.body==null?t.jsx(ke,{children:Ti}):t.jsx(ke,{children:r.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Di(c)){const p=o.find(f=>f.userId===c.id);return c.id?t.jsx(Ri,{notificationData:e,user:p},`${c.id}${te.underscore}${d}`):null}if(Mi(c)){const p=pi(c.url)??c.url;return t.jsx(Hi,{href:p,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Bi,{children:u},d)),c.italic===!0&&(u=t.jsx(
|
|
5
|
+
`,{common:{timeStrings:$t,strings:ji},dateFormat:Le,timeFormat:ki}=B.getLocalizedStrings(),jt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(ji.underscore).concat(e.start.format(Le.visual.DdashMMdashYYYYFormat)),xe=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return $t[e.type];case"earlier_that_month":return e.start.format(Le.visual.MMMYYYYFormat)}},kt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),r=s.diff(o,"seconds"),l=60,c=24*60;return r<=l?$t.justNow:a<c&&mi(o,0)?o.format(ki.hhmmAFormat):o.format(Le.visual.MMMDFormat)},ze=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:Si}}}}=B.getLocalizedStrings(),St=e=>{e.sort((r,l)=>X(r.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of jt){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),p=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=$().subtract(p,"month").startOf("M").startOf("d"),h=$().subtract(p,"month").endOf("M").endOf("d");p++,a=oe(o,f,h),o=a.remainingData,s.push({start:f,end:h,type:r,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],r=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:r}},vi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=Si;return o.comments.length===1?a:s},vt=new _(3,2,1,1,1),Ct=new _(w[8],w[6],35,35,w[6]),de={lineClamp:vt,sectionWidth:Ct},Tt="comments-notification-tile",{common:{texts:De,timeStrings:Ci,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Ti},actionStrings:{comments:{newCommentAdded:Ni}}}}}=B.getLocalizedStrings(),Ii=({sectionId:e,notificationData:o,users:s,isHighlighted:a=!1,style:r,onNotificationTileClick:l})=>{const c=dt(),d=ct().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:f},thread:h}=o,{setRequestToOpenThread:x}=g.useContext(hi),m=p!=null?"read":"unread",{metadata:{url:k,companyId:I,entityType:D},id:L}=h;return t.jsxs(Oi,{readStatus:m,isClickable:!!k,isHighlighted:a,style:r,"data-testid":me(e,`${Tt}-${u}`),onClick:()=>{k&&(l(u,pt(k),m),(h.metadata.tab==="bill"||h.metadata.tab==="reimbursement")&&x({threadId:L,companyId:I,entityType:D})),h.metadata.application!=="cockpit"&&d.trackCommentActivity("notification","clicked",h.metadata.companyName,c.controllersList.controllers.map(b=>U(b)),h.resolved?"resolved":"open",{name:ut(c.loggedInUser),email:c.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Li,{notificationData:o,users:s}),t.jsx(_i,{...o}),t.jsx(zi,{timestamp:f,readStatus:m})]})},Nt=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,r=a[0];return a.length===0||r.body==null?t.jsx(ke,{children:Ti}):t.jsx(ke,{children:r.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Di(c)){const p=o.find(f=>f.userId===c.id);return c.id?t.jsx(Ri,{notificationData:e,user:p},`${c.id}${te.underscore}${d}`):null}if(Mi(c)){const p=pi(c.url)??c.url;return t.jsx(Hi,{href:p,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Bi,{children:u},d)),c.italic===!0&&(u=t.jsx(Fi,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Ei,{children:u},d)),c.code===!0&&(u=t.jsx(Gi,{children:u},d)),t.jsx(Ui,{children:u},d)});default:return t.jsx(ke,{children:Ni})}})})},Li=({notificationData:e,users:o})=>{const s=v();return t.jsx(Vi,{windowSize:s,children:t.jsx(Nt,{notificationData:e,users:o})})},Ri=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let r=t.jsxs(Me,{className:"userText",readStatus:a,children:[te.atTheRate,De.zeniAI,te.space]});if(o!=null){const l=U(o,!1);r=t.jsx(t.Fragment,{children:t.jsxs(Me,{className:"userText",readStatus:a,children:[te.atTheRate,l||De.zeniAI,te.space]})})}return r},It=e=>{const o=vi(e);return t.jsx(t.Fragment,{children:o})},_i=e=>{const o=v();return t.jsx(Pi,{windowSize:o,children:t.jsx(It,{...e})})},Lt=e=>{const{timestamp:o,readStatus:s}=e,a=kt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Wi,{isNewNotification:a===Ci.justNow,children:a}),t.jsx(Yi,{readStatus:s})]})},zi=e=>{const o=v();return t.jsx(Ai,{windowSize:o,children:t.jsx(Lt,{...e})})};function Di(e){return"type"in e&&e.type==="mention"}function Mi(e){return"type"in e&&e.type==="link"}const Oi=n.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -68,7 +68,7 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
68
68
|
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
69
69
|
-webkit-box-orient: vertical;
|
|
70
70
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,Bi=n.strong``,
|
|
71
|
+
`,Bi=n.strong``,Gi=n.code``,Fi=n.em``,Ei=n.s``,Ui=n.span``,Hi=n.a``,Vi=n(ee)`
|
|
72
72
|
color: inherit;
|
|
73
73
|
display: -webkit-box;
|
|
74
74
|
overflow: hidden;
|
|
@@ -262,7 +262,7 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
262
262
|
align-items: flex-start;
|
|
263
263
|
width: 100%;
|
|
264
264
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,yo=n(_t)``,$o=e=>v()==="small"?t.jsx(bo,{...e}):t.jsx(mo,{...e}),{commentsAndNotifications:{notifications:{message:jo}}}=B.getLocalizedStrings(),Be={rowGap:new _(w[0],w[5],w[5])},ko=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:r,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:u,onUpdateScrollYOffset:p,onFetchNotificationGroups:f,onNotificationClick:h})=>{const x=v(),m=g.useRef(null),k=g.useRef({});g.useEffect(()=>{m.current?.resetAfterIndex(0,!0)},[x,m,e]),g.useEffect(()=>{m.current?.scrollTo(c)},[d]);const I=g.useCallback(C=>{if(k.current?.[C]!=null){const
|
|
265
|
+
`,yo=n(_t)``,$o=e=>v()==="small"?t.jsx(bo,{...e}):t.jsx(mo,{...e}),{commentsAndNotifications:{notifications:{message:jo}}}=B.getLocalizedStrings(),Be={rowGap:new _(w[0],w[5],w[5])},ko=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:r,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:u,onUpdateScrollYOffset:p,onFetchNotificationGroups:f,onNotificationClick:h})=>{const x=v(),m=g.useRef(null),k=g.useRef({});g.useEffect(()=>{m.current?.resetAfterIndex(0,!0)},[x,m,e]),g.useEffect(()=>{m.current?.scrollTo(c)},[d]);const I=g.useCallback(C=>{if(k.current?.[C]!=null){const F=x==="small"&&a===!1&&C===e.length-1?Be.rowGap.value("medium-regular"):Be.rowGap.value(x);return k.current[C]+F}return(mt*vt.value(x)+gt)*3+xt+bt},[x,k,e]),D=g.useCallback((C,F)=>{k.current={...k.current,[C]:F},m.current?.resetAfterIndex(0,!0)},[x,m,e]),L=g.useCallback(()=>{f()},[f]),b=g.useCallback(()=>{},[]),N=it(C=>p(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?L():b(),[a,s,L,b]),R=a?e.length+1:e.length;return t.jsx(vo,{children:t.jsx(Co,{windowSize:x,children:s&&e.length===0?t.jsx(io,{}):s===!1&&e.length===0?t.jsx(ot,{message:jo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(To,{windowSize:x,children:t.jsx(st,{children:({height:C,width:F})=>t.jsx(at,{isItemLoaded:j,itemCount:wt,loadMoreItems:V,children:({onItemsRendered:W,ref:E})=>t.jsx(nt,{ref:Y=>{E(Y),m.current=Y},height:C,itemCount:R,itemData:{notificationGroups:e,users:o,sectionId:r,checkBoxMode:l,isDisabled:u,isItemLoaded:j,setRowHeight:D,onNotificationClick:h},onItemsRendered:W,itemSize:I,width:F,style:{willChange:"auto"},overscanCount:yt,onScroll:({scrollOffset:Y})=>{N(Y)},initialScrollOffset:c,children:So})})})})})})},So=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:r,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:u,setRowHeight:p,onNotificationClick:f}=s,h=g.useRef(null),x=v();if(g.useEffect(()=>{h.current?.firstElementChild!=null&&p(e,h.current.firstElementChild.clientHeight)},[e,h,x,a[e]?.notifications]),d(e)===!0){const m=a[e],k=le(m);return t.jsx(Ge,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:h,children:t.jsx($o,{notificationGroup:m,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:u,users:r,onNotificationTileClick:f})},k)}return t.jsx(Ge,{ref:h,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},ue())},vo=n.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -275,11 +275,11 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
275
275
|
display: flex;
|
|
276
276
|
flex-direction: column;
|
|
277
277
|
max-width: 99.9%;
|
|
278
|
-
`,
|
|
278
|
+
`,Ge=n.div`
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:No,strings:zt},dateFormat:Io,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=B.getLocalizedStrings(),Dt=e=>{e.sort((r,l)=>r.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of jt){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),p=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=$().subtract(p,"month").startOf("M").startOf("d"),h=$().subtract(p,"month").endOf("M").endOf("d");p++,a=se(o,f,h),o=a.remainingData,s.push({start:f,end:h,type:r,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],r=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:r}},Lo=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",_e(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",No.toLocaleLowerCase().concat(zt.space,_e(e.name.toLocaleLowerCase()))),o},Ro=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,r=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=r!=null?Lo(r):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Io.visual.MMMDFormat)??zt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},Mt=new _(3,2,1,1,1),Ot=new _(w[8],33,33,33,35),ce={lineClamp:Mt,sectionWidth:Ot},At="notification-tile",{common:{and:
|
|
282
|
+
`,{common:{in:No,strings:zt},dateFormat:Io,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=B.getLocalizedStrings(),Dt=e=>{e.sort((r,l)=>r.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of jt){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),p=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=$().subtract(p,"month").startOf("M").startOf("d"),h=$().subtract(p,"month").endOf("M").endOf("d");p++,a=se(o,f,h),o=a.remainingData,s.push({start:f,end:h,type:r,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],r=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:r}},Lo=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",_e(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",No.toLocaleLowerCase().concat(zt.space,_e(e.name.toLocaleLowerCase()))),o},Ro=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,r=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=r!=null?Lo(r):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Io.visual.MMMDFormat)??zt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},Mt=new _(3,2,1,1,1),Ot=new _(w[8],33,33,33,35),ce={lineClamp:Mt,sectionWidth:Ot},At="notification-tile",{common:{and:Fe,other:_o,others:zo,texts:Do,timeStrings:Mo,strings:O,tags:Oo}}=B.getLocalizedStrings(),Ao=({sectionId:e,notificationData:o,isHighlighted:s=!1,style:a,onNotificationTileClick:r})=>{const{status:l,notificationId:c,eventData:{entitiyId:d,activities:u},createTime:p}=o;return t.jsxs(Ho,{notificationStatus:l,isHighlighted:s,style:a,"data-testid":me(e,`${At}-${c}`),onClick:()=>{r(c,d,l,u.length>0?u[0].activityType:void 0)},children:[t.jsx(Po,{...o}),t.jsx(Fo,{...o}),t.jsx(Uo,{...o}),t.jsx(Eo,{createTime:p,notificationStatus:l})]})},Pt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(qo,{notificationStatus:o,children:s||O.hyphen})},Po=e=>{const o=v();return t.jsx(Jo,{windowSize:o,children:t.jsx(Pt,{...e})})},Bo=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Zo,{children:[t.jsx(Ee,{backgroundColor:ze(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Xo,{}),t.jsx(Ee,{backgroundColor:ze(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Go=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,r=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[O.atTheRate,Do.zeniAI,O.space]});return r>0&&(r>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[O.atTheRate,U(s[0],!1),O.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[O.space,r-1,O.space,zo,O.space]})]}):r===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[O.atTheRate,U(s[0],!1),O.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[O.space,s.length===2?O.atTheRate+U(s[1],!1):_o,O.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[O.atTheRate,U(s[0],!1),O.space]})),l},Bt=e=>t.jsxs(t.Fragment,{children:[t.jsx(Go,{...e}),Ro(e),t.jsx(Bo,{...e})]}),Fo=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Yo,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(Bt,{...e})})},Gt=e=>{const{createTime:o,notificationStatus:s}=e,a=kt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Qo,{isNewNotification:a===Mo.justNow,children:a}),t.jsx(es,{notificationStatus:s})]})},Eo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Gt,{...e})})},Ft=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(fi,{tagTitle:Oo.overdue,textColor:{color:new je(S.alert),backgroundColor:new je("transparent"),borderColor:new je(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Uo=e=>{const o=v();return t.jsx(Wo,{windowSize:o,children:t.jsx(Ft,{...e})})},Ho=n.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -479,7 +479,7 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
479
479
|
`,us=n.div`
|
|
480
480
|
display: flex;
|
|
481
481
|
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,hs=({sectionId:e,notificationData:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:r,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const{status:d,createTime:u,eventData:{entitiyId:p,activities:f},notificationId:h}=o,x=g.useCallback(()=>{c?.()},[c]),m=g.useCallback(I=>{I.stopPropagation(),I.cancelable&&I.preventDefault(),s?c?.():l(h,p,d,f.length>0?f[0].activityType:void 0)},[h,p,d,f,s,c,l]),k=ft({onLongPress:x},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(xs,{notificationStatus:d,isHighlighted:a,style:r,"data-testid":me(e,`${At}-${h}`),...k,onClick:m,children:[t.jsxs(He,{children:[t.jsx(ps,{...o}),t.jsx(ms,{createTime:u,notificationStatus:d})]}),t.jsxs(He,{children:[t.jsx(fs,{...o}),f.length>0&&f[0].activityType==="task_status_updated"?null:t.jsx(gs,{...o})]})]})},ps=e=>t.jsx(Et,{statusUpdate:!1,children:t.jsx(Pt,{...e})}),fs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Et,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Bt,{...e})})},ms=e=>t.jsx(bs,{children:t.jsx(
|
|
482
|
+
`,hs=({sectionId:e,notificationData:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:r,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const{status:d,createTime:u,eventData:{entitiyId:p,activities:f},notificationId:h}=o,x=g.useCallback(()=>{c?.()},[c]),m=g.useCallback(I=>{I.stopPropagation(),I.cancelable&&I.preventDefault(),s?c?.():l(h,p,d,f.length>0?f[0].activityType:void 0)},[h,p,d,f,s,c,l]),k=ft({onLongPress:x},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(xs,{notificationStatus:d,isHighlighted:a,style:r,"data-testid":me(e,`${At}-${h}`),...k,onClick:m,children:[t.jsxs(He,{children:[t.jsx(ps,{...o}),t.jsx(ms,{createTime:u,notificationStatus:d})]}),t.jsxs(He,{children:[t.jsx(fs,{...o}),f.length>0&&f[0].activityType==="task_status_updated"?null:t.jsx(gs,{...o})]})]})},ps=e=>t.jsx(Et,{statusUpdate:!1,children:t.jsx(Pt,{...e})}),fs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Et,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Bt,{...e})})},ms=e=>t.jsx(bs,{children:t.jsx(Gt,{...e})}),gs=e=>t.jsx(ws,{children:t.jsx(Ft,{...e})}),xs=n.div`
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
align-items: baseline;
|
|
@@ -579,7 +579,7 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
579
579
|
align-items: flex-start;
|
|
580
580
|
width: 100%;
|
|
581
581
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,vs=n(Ut)``,Cs=e=>v()==="small"?t.jsx(ks,{...e}):t.jsx(ys,{...e}),{commentsAndNotifications:{notifications:{message:Ts}}}=B.getLocalizedStrings(),Je={rowGap:new _(w[0],w[5],w[5])},Ns=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:r,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:f})=>{const h=v(),x=g.useRef(null),m=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[h,x,e]),g.useEffect(()=>{x.current?.scrollTo(l)},[c]);const k=g.useCallback(R=>{if(m.current?.[R]!=null){const C=h==="small"&&s===!1&&R===e.length-1?Je.rowGap.value("medium-regular"):Je.rowGap.value(h);return m.current[R]+C}return(mt*Mt.value(h)+gt)*3+xt+bt},[h,m,e]),I=g.useCallback((R,C)=>{m.current={...m.current,[R]:C},x.current?.resetAfterIndex(0,!0)},[h,x,e]),D=g.useCallback(()=>{p()},[p]),L=g.useCallback(()=>{},[]),b=it(R=>u(R),1e3,{trailing:!0}),N=R=>!s||R<e.length,j=g.useCallback(()=>s&&!o?D():L(),[s,o,D,L]),V=s?e.length+1:e.length;return t.jsx(Ls,{children:t.jsx(Rs,{windowSize:h,children:o&&e.length===0?t.jsx(rs,{}):o===!1&&e.length===0?t.jsx(ot,{message:Ts.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(_s,{windowSize:h,children:t.jsx(st,{children:({height:R,width:C})=>t.jsx(at,{isItemLoaded:N,itemCount:wt,loadMoreItems:j,children:({onItemsRendered:
|
|
582
|
+
`,vs=n(Ut)``,Cs=e=>v()==="small"?t.jsx(ks,{...e}):t.jsx(ys,{...e}),{commentsAndNotifications:{notifications:{message:Ts}}}=B.getLocalizedStrings(),Je={rowGap:new _(w[0],w[5],w[5])},Ns=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:r,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:f})=>{const h=v(),x=g.useRef(null),m=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[h,x,e]),g.useEffect(()=>{x.current?.scrollTo(l)},[c]);const k=g.useCallback(R=>{if(m.current?.[R]!=null){const C=h==="small"&&s===!1&&R===e.length-1?Je.rowGap.value("medium-regular"):Je.rowGap.value(h);return m.current[R]+C}return(mt*Mt.value(h)+gt)*3+xt+bt},[h,m,e]),I=g.useCallback((R,C)=>{m.current={...m.current,[R]:C},x.current?.resetAfterIndex(0,!0)},[h,x,e]),D=g.useCallback(()=>{p()},[p]),L=g.useCallback(()=>{},[]),b=it(R=>u(R),1e3,{trailing:!0}),N=R=>!s||R<e.length,j=g.useCallback(()=>s&&!o?D():L(),[s,o,D,L]),V=s?e.length+1:e.length;return t.jsx(Ls,{children:t.jsx(Rs,{windowSize:h,children:o&&e.length===0?t.jsx(rs,{}):o===!1&&e.length===0?t.jsx(ot,{message:Ts.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(_s,{windowSize:h,children:t.jsx(st,{children:({height:R,width:C})=>t.jsx(at,{isItemLoaded:N,itemCount:wt,loadMoreItems:j,children:({onItemsRendered:F,ref:W})=>t.jsx(nt,{ref:E=>{W(E),x.current=E},height:R,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:r,isDisabled:d,isItemLoaded:N,setRowHeight:I,onNotificationClick:f},onItemsRendered:F,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:yt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Is})})})})})})},Is=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:r,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:u,onNotificationClick:p}=s,f=g.useRef(null),h=v();if(g.useEffect(()=>{f.current?.firstElementChild!=null&&u(e,f.current.firstElementChild.clientHeight)},[e,f,h,a[e]?.notifications]),c(e)===!0){const x=a[e],m=le(x);return t.jsx(qe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:f,children:t.jsx(Cs,{notificationGroup:x,sectionId:`${r}.${m}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:p})},m)}return t.jsx(qe,{ref:f,style:{...o,paddingBottom:i.sp0},children:t.jsx(Te,{numberOfRows:3})},ue())},Ls=n.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Ne,texts:re,footer:zs,strings:{plus:Ds},numbers:{maximumCount:Qe}},commentsAndNotifications:{notifications:{title:Ms,texts:Ht,strings:Ze}}}=B.getLocalizedStrings(),ie={tableContainerLeftPadding:new _(w[2],w[2],w[2]),tableContainerRightPadding:new _(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new _(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new _(w[0],w[6],w[6])},Os={selectedNotificationsText:new ci("smallRegular","standardRegular")},Xe="notificationsPage",Q="commentsNotificationsTable",Z="notificationsTable",Vt=20,fa=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:r,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:u,onUpdateNotificationViewSubTab:p,onFetchMoreNotifications:f,onUpdateNotificationStatus:h,onSettingsClick:x,onBackClick:m,onMarkAllNotificationsAsRead:k})=>{const I=K(),D=v(),L=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>tt(e),[e]),values:g.useMemo(()=>tt(e),[e])}),{currentTab:b,currentSubTab:N,notificationDetailsByTab:j,allSubTabs:V,allNotifications:R,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:
|
|
599
|
+
`,{common:{all:Ne,texts:re,footer:zs,strings:{plus:Ds},numbers:{maximumCount:Qe}},commentsAndNotifications:{notifications:{title:Ms,texts:Ht,strings:Ze}}}=B.getLocalizedStrings(),ie={tableContainerLeftPadding:new _(w[2],w[2],w[2]),tableContainerRightPadding:new _(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new _(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new _(w[0],w[6],w[6])},Os={selectedNotificationsText:new ci("smallRegular","standardRegular")},Xe="notificationsPage",Q="commentsNotificationsTable",Z="notificationsTable",Vt=20,fa=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:r,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:u,onUpdateNotificationViewSubTab:p,onFetchMoreNotifications:f,onUpdateNotificationStatus:h,onSettingsClick:x,onBackClick:m,onMarkAllNotificationsAsRead:k})=>{const I=K(),D=v(),L=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>tt(e),[e]),values:g.useMemo(()=>tt(e),[e])}),{currentTab:b,currentSubTab:N,notificationDetailsByTab:j,allSubTabs:V,allNotifications:R,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:F,externalNotificationsForCurrentTabAndSubTab:W}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:re[y],id:re[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),Y=g.useMemo(()=>V.map(y=>({label:y==="all"?Ne:re[y],id:y})),[V]),Wt=g.useMemo(()=>St(W).filter(y=>y.notifications.length>0),[W]),Yt=g.useMemo(()=>Dt(F).filter(y=>y.notifications.length>0),[F]),Jt=async(y,T)=>{const G=y.split(".")[0],J=[];G!=null&&(G===Q||G===Z)&&(Object.values(T[G]).forEach(M=>{J.push(...M.filter(Xt=>Xt.includes(Ne.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=L.watch((T,{name:G})=>{G!=null&&T!=null&&ei(()=>Jt(G,T))});return()=>{y.unsubscribe()}});const be=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,G="read";if(b==="comments"){const J=C.filter(M=>M.inboxNotification.readAt==null).map(M=>M.inboxNotification.id);T.forEach(M=>{J.includes(M)&&y.push(M)})}else{const J=R.filter(M=>M.status!==G).map(M=>M.notificationId);T.forEach(M=>{J.includes(M)&&y.push(M)})}return y},[C,R,b,j]),qt=be().length>Vt?"disabled":a,we=L.watch(Q),ye=L.watch(Z),Re=g.useCallback(()=>{f(b,N)},[f,b,N]),Qt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(we).forEach(T=>{y[T]=[]}),L.reset({[Q]:y,[Z]:ye},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(ye).forEach(T=>{y[T]=[]}),L.reset({[Z]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[ye,we]),Zt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",G=be();h(b,y,T,G)},[b,j,be,h]);return t.jsxs(Ps,{children:[t.jsx(ti,{source:"NotificationsPage",title:Ms.notifications,backgroundColor:I.colors.grey4,onBackClick:m,rightSideComponent:s===!0?t.jsx(Ks,{onClick:x}):t.jsx(Xs,{})}),t.jsx(Fs,{}),t.jsx(Gs,{windowSize:D,children:t.jsx(yi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=bi(y);T!=null&&u(T)},subTabs:Y,selectedSubTab:N,onSubTabChange:y=>{const T=xi(y);T!=null&&p(T)},subTabRightComponent:t.jsx(As,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Bs,{windowSize:D,children:t.jsx(ii,{...L,children:t.jsx("form",{id:et(Xe),onSubmit:L.handleSubmit(Zt),style:{width:"100%"},children:b==="comments"?t.jsx(ko,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[N],currentSubTab:N,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Wt,sectionId:Q,onFetchNotificationGroups:Re,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[N]:y}},b),onNotificationClick:l}):t.jsx(Ns,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[N],currentSubTab:N,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Yt,sectionId:Z,onFetchNotificationGroups:Re,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[N]:y}},b),onNotificationClick:r})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(oi,{formId:et(Xe),primaryBtn:{label:Ht.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:qt!=null},cancelBtn:{label:zs.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Qt},helperContainerStyle:D==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx($e,{controller:D==="small",children:t.jsx(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(Hs,{})})}):null]})},As=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const r=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!r&&a()},[e,o,r,a]);return t.jsx(Es,{variant:"tertiary",size:"small",label:Ht.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(ni,{size:"Small",start:!0}):t.jsx(Us,{className:"mark-as-read"}),disabled:r,textStyle:{fontWeight:Ie.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||r?"default":"pointer"}})},Ke=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Vs,{windowSize:o,children:[t.jsx(Ys,{children:t.jsx(Ws,{isCircular:e<10,children:t.jsx(Js,{children:e>Qe?`${Qe}${Ds}`:e})})}),t.jsxs(Zs,{windowSize:o,children:[t.jsx(qs,{children:e>1?Ze.notificationsSelected:Ze.notificationSelected}),e>Vt?t.jsx(Qs,{children:re.maxLimit}):null]})]})},Ps=n.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -610,12 +610,12 @@ import{g as K,e as v,aa as Kt,cQ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,
|
|
|
610
610
|
padding-bottom: ${i.sp0};
|
|
611
611
|
padding-left: ${e=>ie.tableContainerLeftPadding.valuePx(e.windowSize)};
|
|
612
612
|
padding-right: ${e=>ie.tableContainerRightPadding.valuePx(e.windowSize)};
|
|
613
|
-
`,
|
|
613
|
+
`,Gs=n.div`
|
|
614
614
|
padding-top: ${i.sp0};
|
|
615
615
|
padding-bottom: ${i.sp0};
|
|
616
616
|
padding-left: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
|
|
617
617
|
padding-right: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
|
|
618
|
-
`,
|
|
618
|
+
`,Fs=n.div`
|
|
619
619
|
min-height: ${i.sp3};
|
|
620
620
|
width: 100%;
|
|
621
621
|
`,Es=n(ri)`
|
package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as q,io as Ce,O as B,g as X,cl as _e,aA as ve,V as t,bT as Se,ac as j,im as we,bF as ke,bE as Be,ip as Te,iq as Oe,o as u,aV as $e,L as je,x as V,b5 as le,aG as ce,aX as Pe,u as T,cn as De,co as Ne,cp as Ie,bN as Ee,d as a,an as de,w as ee,a_ as Ae}from"./index-
|
|
1
|
+
import{e as q,io as Ce,O as B,g as X,cl as _e,aA as ve,V as t,bT as Se,ac as j,im as we,bF as ke,bE as Be,ip as Te,iq as Oe,o as u,aV as $e,L as je,x as V,b5 as le,aG as ce,aX as Pe,u as T,cn as De,co as Ne,cp as Ie,bN as Ee,d as a,an as de,w as ee,a_ as Ae}from"./index-B8J3c9-k.js";import{a as x,P as Le}from"./sentry-xNvKSthz.js";import{n as m}from"./mui-B_fu8zAT.js";import{GT as Me}from"./zeni-epic-state-SAYXyeZn.js";import{p as Fe,d as Ve,y as H,b as pe,u as oe}from"./chartTypes-BGl-YMiu-WdB5HF6p.js";import{V as ze}from"./toChartData-B4ligi4c-D4j3IIGd.js";import{m as z}from"./analyticsHelper-DjQYjslY-DBXj-dJs.js";import{y as Re,M as re}from"./TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js";import{X as Ke}from"./TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js";import{C as We}from"./NoDataChart-DlSLTzZl-qjL1S4Ow.js";import{d as Ge}from"./NoDataTable-9vLoRpsR-NJzyakwC.js";import{H as Ye}from"./BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{n as He,t as J}from"./CollapsableReportTable-ClHwXtCj-D8daRiWx.js";import{o as he}from"./mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js";import{d as ae}from"./mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js";import{l as qe}from"./mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js";import{N as Xe,I as Je,X as Ue,Y as Ze,J as Qe,K as eo}from"./recharts-BkmpOx_p.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js";import"./graphic-no-data-l-DU4J8fDt-DCjrEnAk.js";import"./AccountRow-Dczx5rSu-C_XsKKay.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="94449aa0-e95c-483e-98e4-adf6c5bf6e6f",e._sentryDebugIdIdentifier="sentry-dbid-94449aa0-e95c-483e-98e4-adf6c5bf6e6f")}catch{}})();const oo=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=m.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as i,V as n}from"./index-
|
|
1
|
+
import{g as i,V as n}from"./index-B8J3c9-k.js";import{n as r}from"./mui-B_fu8zAT.js";import"./sentry-xNvKSthz.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4287935d-72c3-497c-b16c-fca5b815d591",e._sentryDebugIdIdentifier="sentry-dbid-4287935d-72c3-497c-b16c-fca5b815d591")}catch{}})();const d=r.div`
|
|
2
2
|
display: ${({isOpen:e})=>e?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ay as _e,e as I,bQ as Re,bR as Fe,bS as Ee,V as t,bq as Be,ac as F,K as G,bU as Ve,g as B,bE as De,O as c,a as Ue,L as qe,w as We,x as re,o as s,bV as Ge,cl as He,aG as Ke,aX as Je,c as Qe,cM as Xe,bA as Ye,u as k,cN as Ze,aV as et,aW as tt,bc as ot,bN as st}from"./index-
|
|
1
|
+
import{ay as _e,e as I,bQ as Re,bR as Fe,bS as Ee,V as t,bq as Be,ac as F,K as G,bU as Ve,g as B,bE as De,O as c,a as Ue,L as qe,w as We,x as re,o as s,bV as Ge,cl as He,aG as Ke,aX as Je,c as Qe,cM as Xe,bA as Ye,u as k,cN as Ze,aV as et,aW as tt,bc as ot,bN as st}from"./index-B8J3c9-k.js";import{a as m}from"./sentry-xNvKSthz.js";import{n}from"./mui-B_fu8zAT.js";import{a as rt}from"./liveblocks-CN5hALk7.js";import{j as nt,z as le}from"./mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js";import{R as at}from"./NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js";import{m as it}from"./analyticsHelper-DjQYjslY-DBXj-dJs.js";import{X as ct}from"./TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js";import{n as lt,N as dt}from"./CollapsableReportTable-ClHwXtCj-D8daRiWx.js";import{M as X}from"./usp-line-BBd1wKwW-Bx4ltDgD.js";import{FU as pt,FV as mt}from"./zeni-epic-state-SAYXyeZn.js";import{D as gt,T as ht,C as ut}from"./mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js";import"./core-C_RwbDgZ.js";import"./lottie-B-zs781A.js";import"./recharts-BkmpOx_p.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js";import"./AccountRow-Dczx5rSu-C_XsKKay.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0db72bbc-cbb2-4451-a7d2-30cd0e4ef15e",e._sentryDebugIdIdentifier="sentry-dbid-0db72bbc-cbb2-4451-a7d2-30cd0e4ef15e")}catch{}})();const de="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",pe="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ft=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -104,7 +104,7 @@ import{ay as _e,e as I,bQ as Re,bR as Fe,bS as Ee,V as t,bq as Be,ac as F,K as G
|
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
106
|
margin-bottom: ${s.sp3};
|
|
107
|
-
`,
|
|
107
|
+
`,Ot=({forecastList:e,selectedForecastIndex:o,onForecastSelectionChanged:r,vsActualOn:l,onVsActualChanged:d,selectedTimeframe:g,onTimeframeChanged:f,onBackClick:h,isPandLReportFetching:a,onClickMenuIcon:b,rightSideComponent:C})=>{const u=I(),T=[];for(let p=0;p<e.length;++p)T.push(`${p}`);const w={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:T,valueToLabel:p=>e[parseInt(p)]?.name??"",selectedValue:`${o}`,titleTextStyle:We.largeMedium,onPickerSelectionChanged:p=>{if(p!=null){const N=e[parseInt(p)];r?.(N.id,parseInt(p))}},styles:{justifyContent:u==="small"?"left":"center"},isPickerDisabled:a},onBackClick:h,showMenuIcon:u==="medium-compact"||u==="small",onClickMenuIcon:b,rightSideComponent:C},x={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:l,onValueChanged:d},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:g,onTimeframeSelectionChanged:p=>f?.(p)}};return t.jsxs(It,{paddingLeft:E.contentPaddingLeft.value(u),paddingRight:E.contentPaddingRight.value(u),children:[t.jsx(at,{...w}),a?"":t.jsx(Nt,{children:t.jsx(ct,{...x})})]})},Mt=({report:e,type:o,isActualVsForecastOn:r,compareMode:l,onAccountBalanceClick:d,onCompareModeChanged:g,scrollPosition:f,onTableScroll:h,nodeOpenStatus:a,onNodeCollapseToggled:b,onTreeNodesReady:C,treeRef:u})=>{const T=B(),w=I(),[x,p]=m.useState(void 0),[N,V]=m.useState(void 0),$=!(w==="small"||w==="medium-compact"),A=r===!0?"actual_vs_forecast":"none",O=`forecast.${e.reportId}`;return He({componentName:O,enabled:e.fetchState==="Completed"}),m.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:A,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:dt(o)===!0&&r===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:st()};if(x==null||!Ke(N,e)){const y=$t(e,S,$);V(e),p(y)}else{const y=Pt(x,S,e,$);p(y)}},[o,r,e]),m.useEffect(()=>{x?.contentNodes!=null&&C?.(x.contentNodes)},[x,C]),x!=null?t.jsx(lt,{backgroundColor:new Je(T.colors.grey4),rootNodes:x,type:o,compareMode:l,isSticky:{isStickyHeader:$,isStickyName:$},treeNodePadding:{left:E.contentPaddingLeft.value(w),right:E.contentPaddingRight.value(w)},treeRef:u,onAccountClick:d==null?void 0:(S,y,_)=>{d(S,y,_)},onCompareModeChanged:g,scrollPosition:f,onScroll:h,nodeOpenStatus:a,onNodeCollapseToggled:b}):null};function no({selectedTimeframe:e,isForecastVsActualOn:o,compareMode:r,forecastList:l,selectedForecast:d,pandLreport:g,type:f,meetingUrl:h,analytics:a,isReportsCommentingEnabled:b,isZeniUser:C,initialOpenThreadRequest:u,onForecastSelectionChanged:T,onTimeframeChanged:w,onForecastVsActualsCompareToggle:x,onAccountBalanceClick:p,onCompareModeChanged:N,scrollPosition:V,onTableScroll:$,nodeOpenStatus:A,onNodeCollapseToggled:O,onBackClick:S,onClickMenuIcon:y}){const _=_e(),D=I(),Se=C??!1,j=_?.currentTenant?.companyId,Y=_?.currentTenant?.companyName??"",je=d?.id,Z=b===!0&&j!=null&&je!=null,Ce=`dashboard_${j}`,Te=Se?Re:Fe,{threads:ee,isLoading:U,requestToOpenThread:$e,setRequestToOpenThread:M,setOpenThread:Pe}=m.useContext(Te);m.useEffect(()=>{u?.threadId!=null&&u.companyId!=null&&u.entityType!=null&&M(u)},[u,M]);const[ke,q]=m.useState(!1),W=m.useMemo(()=>({application:"dashboard",companyId:j,tab:"forecast_report",isGlobalComment:!1}),[j]),R=m.useMemo(()=>{const i=Ee(ee,W,"both");return Array.from(i.values())},[ee,W]),ve=m.useMemo(()=>R.filter(i=>i.resolved===!1),[R]).length,ze=m.useCallback((i,P)=>{q(!1),M({threadId:P,companyId:i.companyId,entityType:i.entityType,threadMetadata:i})},[M]),[Le,Ie]=m.useState(void 0),te=m.useRef(null),Ne=m.useCallback(i=>{Ie(i)},[]),Oe=m.useCallback(i=>{te.current?.scrollToItem(i,"center")},[]);nt({requestToOpenThread:$e,setRequestToOpenThread:M,setOpenThread:Pe,allThreads:R,reportTreeRootNodes:Le,nodeCollapseState:A,onExpandNode:O?(i,P,Ae)=>O(P,Ae):void 0,scrollToNode:Oe});const Me=m.useMemo(()=>({companyId:j??"",companyName:Y,entityType:"forecast_report.details",entityId:j??"",isGlobalComment:!1,application:"dashboard",tab:"forecast_report",url:window.location.href}),[j,Y]),oe=[l.fetchState,g.fetchState],se=d?.index??-1;return ye(oe)===!0||l.fetchState==="Completed"&&l.forecasts.length===0?t.jsx(Tt,{meetingUrl:h,onBackClick:S,onClickMenuIcon:y}):ce([l.fetchState])===!0?t.jsx(ie,{fetchState:_t(oe)}):t.jsxs(t.Fragment,{children:[t.jsxs(vt,{children:[t.jsx(Ot,{forecastList:l.forecasts,selectedForecastIndex:se,onForecastSelectionChanged:(i,P)=>{a?.trackForecastSwitch(G.Event.profitAndLossWithForecast,l.forecasts[P].name),T?.(i,P)},vsActualOn:o,onVsActualChanged:i=>{a?.trackForecastVsActualMode(G.Event.profitAndLossWithForecast,l.forecasts[se].name,i),x?.(i)},selectedTimeframe:e,onTimeframeChanged:i=>{a?.trackTimeframeSwitch(it(i),G.Event.profitAndLossWithForecast),w?.(i)},onBackClick:S,isPandLReportFetching:ce([g.fetchState]),onClickMenuIcon:y,rightSideComponent:Z?t.jsxs(Rt,{onClick:()=>q(!0),"data-testid":F("forecast-page-comment-button"),children:[t.jsx(Be,{count:U?void 0:ve,isLoading:U,style:{left:"12px"}}),t.jsx(Ft,{})]}):void 0}),g.fetchState==="In-Progress"?t.jsx(ie,{fetchState:"In-Progress"}):t.jsx(zt,{children:t.jsx(Mt,{report:g,type:f,isActualVsForecastOn:o,compareMode:r,onAccountBalanceClick:p,onCompareModeChanged:N,scrollPosition:V,onTableScroll:$,nodeOpenStatus:A,onNodeCollapseToggled:O,onTreeNodesReady:Ne,treeRef:te})})]}),Z?t.jsx(rt,{id:Ce,children:t.jsx(Ve,{isDrawerOpen:ke,allowComposer:!0,drawerTitle:kt,threads:R,filter:W,autoExpand:!0,autoFocus:!1,isLoading:U,textOverrides:{composerPlaceholder:ne.addANewComment,replyComposerPlaceholder:ne.replyAComment,threadResolve:ae.resolveComment,threadUnResolve:ae.unResolveComment},threadMetadata:Me,onThreadClick:ze,onCloseAllThreadsDrawer:()=>q(!1),drawerSectionStyle:{width:D==="small"?"100%":"400px",boxSizing:D==="small"?"border-box":"content-box"},collapsibleThreadStyle:{width:D==="small"?"100%":"360px"}})}):null]})}const At=e=>e.reduce((o,r)=>o===!0&&r==="Completed",!0),ye=e=>e.reduce((o,r)=>o===!0||r==="Error",!1),ce=e=>e.reduce((o,r)=>o===!0||r==="Not-Started"||r==="In-Progress",!1),_t=e=>At(e)===!0?"Completed":ye(e)===!0?"Error":"In-Progress",Rt=n.div`
|
|
108
108
|
display: flex;
|
|
109
109
|
align-items: center;
|
|
110
110
|
justify-content: center;
|