@zeniai/web-cockpit-ui 1.15.8-dev → 1.15.9-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-BVkQ4K87-2mUod8Ze.js +21 -0
- package/dist/assets/{AIPerformancePage-nAXYlFHx-B-yNLxsI.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
- package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C6fN_njt-BfclYIhc.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
- package/dist/assets/{AccountRow-C0plHrDu-BlMGnWxc.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
- package/dist/assets/{AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
- package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
- package/dist/assets/{AddToWalletPage-CKPw3FXG-D61c3n-w.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
- package/dist/assets/{AgingReportsPage-BLYXtrbx-DW-1ybPL.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
- package/dist/assets/{AllUserItems-CIuKSRs--B0618Ye4.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
- package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
- package/dist/assets/{AppBasePage-zQkWIZIS-COyO76Q-.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
- package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
- package/dist/assets/{ArAgingChart-Dv9GPrlk-1IjLiFwv.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
- package/dist/assets/{AttachmentView-CHgDKLit-BOkUOxft.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
- package/dist/assets/{BankAccountSection-danXlJW--Ci61_HQI.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
- package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
- package/dist/assets/{BillDetailPage-BD2IX-iP-C1AsdsRK.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
- package/dist/assets/{BillPayPromoPage-C7PX-EVL-RrQTQk3r.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-Czno3Zre-B54xXO94.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
- package/dist/assets/{BillingSettingsPage-DwBAvbyP-BA7TOSu8.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
- package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
- package/dist/assets/{BoxItem-CQn8-mlp-3WaKvXCN.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
- package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
- package/dist/assets/{CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-draAZn9S-DVIwh9R-.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
- package/dist/assets/{ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DVFpdT9f-BEElVTwC.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
- package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
- package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
- package/dist/assets/{CollapsableReportTable-D9EGRkFb-DwhLMO0b.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
- package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
- package/dist/assets/{CompanyPassportCard--3g9aidd-CxwOeh5K.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
- package/dist/assets/{CompanyPassportPage-BhF3zWN0-Cn2clYh0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
- package/dist/assets/{CompleteProfile-iee5HgiC-iD1IzEAE.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
- package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
- package/dist/assets/{CurrencySelectField-CcU9PAOW-u3CiOTPH.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-CP969grW-CLGTaPd5.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
- package/dist/assets/{Dashboard-CKSEolZn-B8UGwGX2.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
- package/dist/assets/{DashboardReportPage-JLORU_HF-JuRm0_l-.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
- package/dist/assets/{DownloadOverlay-D7AI3CGS-DY9OdGrk.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
- package/dist/assets/{DrawerPage-BiQurb8Q-CEeTnVDp.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
- package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
- package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
- package/dist/assets/{EntitySummarySection-dbyZ3ZMD-WaXS93t5.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
- package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
- package/dist/assets/{ExpressPayPage-CaBFl4M3-N5saqSFG.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
- package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
- package/dist/assets/{FollowStepsSection-BGZ3rzSO-DAxx1unm.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
- package/dist/assets/{InformationCardStack-BZIU9Bwm-DWOE8xSt.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
- package/dist/assets/{InsightsCardStack-BZ6yws_x-DiUvTias.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
- package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
- package/dist/assets/{InviteFormPage-C-_fbwpS-DFnpH_Sg.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
- package/dist/assets/{InvitePageListView-DX3LFpcZ-wgARDxxe.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
- package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
- package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BSax9G6t-Ccz8TXME.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
- package/dist/assets/{LabeledAddressValue-kz4tRnLH-XbapS3ut.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D950JjHi-B7-ZxMwG.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
- package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
- package/dist/assets/{LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
- package/dist/assets/{LabeledText-D0g7m29R-CGPY2mDY.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
- package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
- package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
- package/dist/assets/{LockCardPage-XgZwsozn-B7KEhFgG.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
- package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-DmElUYen.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
- package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
- package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
- package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
- package/dist/assets/{NavigationArrow-BuPVGh38-C7FStd2H.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
- package/dist/assets/{NavigationDots-CLd0nZZT-DkTweDHl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
- package/dist/assets/{NoDataChart-VrW0gNeK-CoKQWY6y.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
- package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
- package/dist/assets/{NotFoundPage-CvuhMeh3-DzAU1c1V.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-612cyOPa-BDov0Or2.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
- package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
- package/dist/assets/{NotificationsPage-DOq8YY_K-B5AJl0PR.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
- package/dist/assets/{OpExByVendorPage-JhAQyVWO-CgqLDeMB.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
- package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
- package/dist/assets/{PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
- package/dist/assets/{PeoplePage-BJui-Wgk-Blym3c87.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
- package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
- package/dist/assets/{ProductsCarousel-CGhEa82h-Bt-P-vzg.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
- package/dist/assets/{PromoBaseCards-1PF_kyGP-DnK5w4Qj.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
- package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
- package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
- package/dist/assets/{ReloadCard-crbWeOPP-CkioU763.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-KXoOW677-Cxk4-6kw.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
- package/dist/assets/{ReportsPage-C3Jj54B2-CJg2yyXf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
- package/dist/assets/{RevenueChart-B2lwdex1-DM-m44Ax.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BzJuymlx-B43bDwEk.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
- package/dist/assets/{ReviewOverlay-CXHcM5J8-Z1A7mqWB.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
- package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
- package/dist/assets/{ScreenRoutes-BGG-33kI.js → ScreenRoutes-esZWtP8Y.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Drp97o6h-xxM8m8_w.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
- package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
- package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
- package/dist/assets/{SpendManagementSection-WqBeexgm-D6ZHNQRi.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
- package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
- package/dist/assets/{StatementsPage-ProqQbaP-BB4Fbh50.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
- package/dist/assets/{StatusSwitcher-CWQs9lpu-RXB7-04g.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
- package/dist/assets/{SubTabSwitcher-B2uBojsp-DZNkw8WS.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
- package/dist/assets/{SummaryCard-Dcd_VUph-BV3h5iTx.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
- package/dist/assets/{TaskManagementPage-BM9VR6Lt-C4YfHc_A.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
- package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
- package/dist/assets/{TimeframeSwitcher--oC4RNb6-CvfDTC-U.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
- package/dist/assets/{TopExCard-DQ50kCvS-_2HPPX6t.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
- package/dist/assets/{TopExDetailPage-iwv1KNmn-sj6nj5zr.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
- package/dist/assets/{TransactionDetailPage-dcUFs9xb-CrNRbBcr.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
- package/dist/assets/{TransactionList-1g-61_2b-CWHQyly8.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
- package/dist/assets/{TransactionListBig-CSrLWjaV-BtYTXkmc.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
- package/dist/assets/{TransactionListPage-CKkWpoxH-CDqG5M4K.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
- package/dist/assets/{TransferDrawerPage-nyepeege-Tib1D3Ko.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-B55rqmLO-BovduQF3.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
- package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
- package/dist/assets/{TrendChart-BsSVNJm5-CngvRWQH.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BPoFrkoj-DQVyS_En.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
- package/dist/assets/{VendorDetailPage-C0qX459r-CReufchw.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
- package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
- package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
- package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
- package/dist/assets/{VerifyDevice-B23jU0_c-B85D_w3i.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
- package/dist/assets/{VideoPlayer-CylTUX4X-BEZtED7z.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
- package/dist/assets/{VideoPopup-C9x0ntQ5-C94oLuE1.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
- package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
- package/dist/assets/{ZeniCopyright-eB9rNuZ3-BNyg83Vo.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
- package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
- package/dist/assets/{analyticsHelper-CLY1vV_E-BemgqSJF.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
- package/dist/assets/{analyticsHelper-D-tLilsz.js → analyticsHelper-CM3pI6rO.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
- package/dist/assets/{chartTypes-BjaXr-A2-DXtLo4Yx.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
- package/dist/assets/{commonDimensions-C0X17W9N-BSrHO4N_.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
- package/dist/assets/{commonTypes-BN7Uh_8W-pfbkHgmN.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
- package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
- package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
- package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
- package/dist/assets/{detailCommon-D9PsnkY1-BuBcpPrC.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
- package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
- package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
- package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
- package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
- package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
- package/dist/assets/{index-CRNmezJu.js → index-AqGiWrum.js} +4262 -4259
- package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
- package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
- package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
- package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
- package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
- package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
- package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
- package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
- package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
- package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
- package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
- package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
- package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
- package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
- package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
- package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
- package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
- package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
- package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
- package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
- package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
- package/dist/assets/{uploadAttachment-BLADYUsp-BO1TVLxu.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
- package/dist/assets/{uploadReceipts-CLN2DLHQ-CHihhpL-.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
- package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
- package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
- package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
- package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-C4kSZtcW-DXbi1tk_.js +0 -21
- package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +0 -6
- package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +0 -46
- package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +0 -91
- package/dist/assets/BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js +0 -51
- package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +0 -1
- package/dist/assets/CardNumberSubText-2Tw37MOu-DLENhMmY.js +0 -21
- package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +0 -222
- package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +0 -66
- package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +0 -66
- package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +0 -55
- package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +0 -18
- package/dist/assets/FeaturePreviewPage-BY7VDaUB-C72FE9k5.js +0 -11
- package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +0 -65
- package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +0 -12
- package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +0 -140
- package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +0 -59
- package/dist/assets/LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js +0 -98
- package/dist/assets/LowBalancePopup-ChBTdcM2-CwIZnZTi.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +0 -1
- package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +0 -85
- package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +0 -30
- package/dist/assets/NoDataTable-CZaHTbXi-BvRSGEWZ.js +0 -8
- package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +0 -1
- package/dist/assets/OverlayContainerPage-CEiw6dk7-DNyrAeAy.js +0 -11
- package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +0 -79
- package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +0 -314
- package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +0 -84
- package/dist/assets/RoleWithToolTip-q4rQTPKj-BeUt86oC.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js +0 -37
- package/dist/assets/SignIn-YqQXhCUb-BOeW8x0h.js +0 -491
- package/dist/assets/SignInScreen-D-bsy2_u.js +0 -1
- package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +0 -31
- package/dist/assets/TreasuryStatementsPage-DA72LRB2-COfX6A9q.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +0 -38
- package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +0 -63
- package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +0 -1
- package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +0 -1
- package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,
|
|
1
|
+
import{V as t,g4 as ne,o as i,bN as oe,aT as se,F as v,g as Q,Q as Y,a9 as re,cE as le,bB as ae,ac as ce,aa as w,aR as de,y as z,fB as pe,g5 as me,eI as ue,g6 as he,g7 as fe,a$ as ge,u as I,b9 as K,ai as J,al as W,am as xe}from"./index-AqGiWrum.js";import{a as E}from"./sentry-CTKU7CLc.js";import{n}from"./mui-C_Pjuwl5.js";import{FC as $e,FD as be,FE as ye,FF as je}from"./zeni-epic-state-Cl3KIlic.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="b0adf53c-98ea-45fb-8682-63c6a7668d80",e._sentryDebugIdIdentifier="sentry-dbid-b0adf53c-98ea-45fb-8682-63c6a7668d80")}catch{}})();const{common:we}=v.getLocalizedStrings(),F={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};
|
|
@@ -6,7 +6,7 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,ve=n(
|
|
9
|
+
`,ve=n(K)`
|
|
10
10
|
color: ${e=>e.theme.colors.primary};
|
|
11
11
|
`,Ne=n.div`
|
|
12
12
|
border-radius: ${i.sp2};
|
|
@@ -55,17 +55,17 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
55
55
|
color: ${e=>e.theme.colors.primary};
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,B=n.div`
|
|
59
59
|
flex: 1;
|
|
60
|
-
`,
|
|
60
|
+
`,D=n(W)`
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
|
-
`,Pe=n(
|
|
62
|
+
`,Pe=n(J)`
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
flex: 1;
|
|
65
65
|
width: 120px;
|
|
66
66
|
text-align: center;
|
|
67
67
|
`,Oe=n(xe)`
|
|
68
|
-
padding: ${e=>`${i.sp1} ${
|
|
68
|
+
padding: ${e=>`${i.sp1} ${F.notePadding.valuePx(e.windowSize)}`};
|
|
69
69
|
background: ${e=>e.theme.colors.grey4};
|
|
70
70
|
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
71
71
|
text-align: left;
|
|
@@ -73,8 +73,8 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
75
75
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
76
|
-
gap: ${e=>
|
|
77
|
-
`,Le=n.div``,Re=n.span``;function Te({sectionId:e,monthEndInsightsNotificationLocalData:o,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=
|
|
76
|
+
gap: ${e=>F.noteGap.valuePx(e.windowSize)};
|
|
77
|
+
`,Le=n.div``,Re=n.span``;function Te({sectionId:e,monthEndInsightsNotificationLocalData:o,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=Q(),c=Y(),{sectionTitle:$,monthEndInsights:l,mode:b}=we.settings.notifications,h=x[0],P=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(Ie,{children:[t.jsxs(Se,{children:[t.jsx(ve,{children:$.monthEndInsights}),t.jsx(Le,{children:t.jsx(Pe,{children:b.email})})]}),t.jsxs(Ne,{children:[t.jsxs(Ee,{disabled:s.enabled==null,children:[t.jsx(D,{children:l.labels.notifyMe}),t.jsx(ue,{defaultChecked:o.notify,checkBoxValue:R(e,"notify"),name:R(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(ke,{children:[t.jsx(B,{children:t.jsx(D,{children:l.labels.notifyOthers})}),t.jsx(B,{children:t.jsx(he,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>o.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),y=[];if(r!==-1){const p=a[r],j=fe(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(O=>O.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:R(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(w,{controller:s.enabled==null,children:t.jsxs(Oe,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ce,{href:`mailto:${h.email}?cc=${P}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Re,{children:`${h.firstName} ${h.lastName}`}),t.jsx(ge,{className:"arrowIcon"})]}):null]})})]})]})}const M=(e,o,s)=>`${e}.${o}.${s}`,ze=n.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
row-gap: ${i.sp3};
|
|
@@ -82,23 +82,23 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
82
82
|
display: flex;
|
|
83
83
|
justify-content: space-between;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,
|
|
85
|
+
`,Fe=n(K)`
|
|
86
86
|
color: ${e=>e.theme.colors.primary};
|
|
87
87
|
`,A=n.div`
|
|
88
88
|
display: flex;
|
|
89
|
-
`,V=n(
|
|
89
|
+
`,V=n(J)`
|
|
90
90
|
color: ${e=>e.theme.colors.primary};
|
|
91
91
|
flex: 1;
|
|
92
92
|
width: 120px;
|
|
93
93
|
text-align: center;
|
|
94
|
-
`,
|
|
94
|
+
`,Be=n.div`
|
|
95
95
|
width: 120px;
|
|
96
96
|
display: flex;
|
|
97
|
-
`,
|
|
97
|
+
`,De=n.div`
|
|
98
98
|
width: 120px;
|
|
99
99
|
display: flex;
|
|
100
100
|
padding-right: 12px;
|
|
101
|
-
`,
|
|
101
|
+
`,Me=n(W)`
|
|
102
102
|
color: ${e=>e.theme.colors.hero};
|
|
103
103
|
`,Ae=n.div`
|
|
104
104
|
border-radius: ${i.sp2};
|
|
@@ -118,7 +118,7 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
118
118
|
border-bottom-left-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
119
119
|
border-bottom-right-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
120
120
|
}
|
|
121
|
-
`;function qe({sectionId:e,remindersLocalData:o,reminderNotificationSettings:s}){const{texts:a,settings:f}=v.getLocalizedStrings().common,{notifications:m}=f,x=
|
|
121
|
+
`;function qe({sectionId:e,remindersLocalData:o,reminderNotificationSettings:s}){const{texts:a,settings:f}=v.getLocalizedStrings().common,{notifications:m}=f,x=ye.slice(0,1),u=je.filter(c=>s[c]!=null);return t.jsxs(ze,{children:[t.jsxs(Ue,{children:[t.jsx(Fe,{children:m.sectionTitle.reminders}),t.jsxs(A,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ae,{children:u.map((c,$)=>t.jsxs(Ve,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Me,{children:m.reminders[c]}),t.jsxs(A,{children:[t.jsx(De,{children:t.jsx(pe,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:o[c].frequency},name:M(e,c,"frequency")})}),t.jsx(Be,{children:t.jsx(me,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:o[c].preferredMode.includes(l),groupLabel:!1})),name:M(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const T={contentPadding:new z(I[3],I[8])},g="reminders",S="monthEndInsights",q="notificationSettingsPage",_=e=>`${e}_form`,{settings:X,reloadPage:_e}=v.getLocalizedStrings().common,Ge=e=>{const o=Q(),s=Y(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:P,managersList:d,updateStatus:r,controllersList:y}=a,p=re({defaultValues:H(l,b)}),j=E.useCallback(L=>{m(We(L))},[m]),N=p.handleSubmit(()=>{u()}),O=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(H(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const L=p.watch((U,{name:ie})=>{ie!=null&&U!=null&&le(()=>j(U))});return()=>{L.unsubscribe()}},[p,j]);const Z=Object.keys(p.formState.dirtyFields).length>0,ee=f.userEmail!=null?$e(h.monthEndInsightsNotificationSettings,f.userEmail):!1,te=be(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(He,{children:[t.jsx(ae,{source:"NotificationSettingsPage",title:X.title.notifications,backgroundColor:o.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(Qe,{windowSize:s,children:t.jsx(ce,{...p,children:t.jsx("form",{id:_(q),onSubmit:N,children:t.jsxs(Ye,{children:[t.jsx(w,{controller:te,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:ee,children:t.jsx(Te,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:S,allUsers:b,classList:P,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:Z,children:t.jsx(de,{style:{width:"100%"},formId:_(q),primaryBtn:{label:v.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:v.getLocalizedStrings().common.footer.cancel,onClick:O,style:{width:"82px"}}})})]})};function ct(e){const{notificationSettingsView:o,onRefresh:s}=e,{fetchState:a}=o;return a==="Not-Started"||a==="In-Progress"?t.jsx(G,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(G,{children:[t.jsx(Ke,{onClick:s,children:t.jsx(oe,{})}),t.jsx(Je,{children:_e.label})]}):t.jsx(Ge,{...e})}const He=n.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
width: 100%;
|
|
124
124
|
min-height: 100vh;
|
|
@@ -134,15 +134,15 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
134
134
|
align-items: center;
|
|
135
135
|
row-gap: ${i.sp3};
|
|
136
136
|
background-color: ${e=>e.theme.colors.grey4};
|
|
137
|
-
`,
|
|
137
|
+
`,Qe=n.div`
|
|
138
138
|
padding-left: ${e=>T.contentPadding.valuePx(e.windowSize)};
|
|
139
139
|
padding-right: ${e=>T.contentPadding.valuePx(e.windowSize)};
|
|
140
140
|
padding-bottom: ${e=>T.contentPadding.valuePx(e.windowSize)};
|
|
141
|
-
`,
|
|
141
|
+
`,Ye=n.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
row-gap: ${i.sp8};
|
|
145
|
-
`,
|
|
145
|
+
`,Ke=n.div`
|
|
146
146
|
height: 96px;
|
|
147
147
|
width: 96px;
|
|
148
148
|
background: ${e=>e.theme.colors.background};
|
|
@@ -157,7 +157,7 @@ import{V as t,g5 as ne,o as i,bO as oe,aU as se,O as v,e as J,J as Q,a9 as re,cF
|
|
|
157
157
|
color: ${e=>e.theme.colors.primary};
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,Je=n(se)`
|
|
161
161
|
margin-top: ${i.sp3};
|
|
162
162
|
color: ${e=>e.theme.colors.hero};
|
|
163
|
-
`;function k(e){const o=
|
|
163
|
+
`;function k(e){const o=X.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:o}}}function H(e,o){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[S]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:o,selectedUsers:o.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function We(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[S]:{...e[S],recipientEmailIds:e[S].recipientEmailIds.selectedUsers.map(o=>o.email)}}}export{ct as default,_ as uniqueName};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as n,u as f}from"./index-AqGiWrum.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]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,aa as ye,F as P,h2 as ti,y as R,i4 as ii,b as Ne,T as oi,ay as tt,cl as it,b3 as ot,dl as st,cs as at,k1 as rt,u as w,r as si,k2 as ai,dj as he,aZ as ri,a as ni,d as nt,p as S,ai as li,bO as _,cI as ue,g5 as pe,k3 as fe,aw as lt,a8 as dt,dt as U,fq as ct,gg as di,al as ee,ij as ci,am as H,fE as hi,aV as $e,ba as me,k4 as ui,bL as ht,k5 as Re,bv as pi}from"./index-AqGiWrum.js";import{a as g}from"./sentry-CTKU7CLc.js";import{n as r,c as A}from"./mui-C_Pjuwl5.js";import{Gb as fi,Gc as mi,bL as Z,bh as $,E7 as ut}from"./zeni-epic-state-Cl3KIlic.js";import{k as gi}from"./SubTabSwitcher-W-flws9A-BTelX8y_.js";import{d as pt}from"./useLongPress-GCK2COYQ-B-Cv7oJI.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-CEDk57Lr-DAddVQQW.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="e97ecaf3-8401-4f87-820b-e92603ff86b8",e._sentryDebugIdIdentifier="sentry-dbid-e97ecaf3-8401-4f87-820b-e92603ff86b8")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=
|
|
5
|
+
`,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=Z(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=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:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>Z(n.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,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"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,Z(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Z(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>U(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const u=ci(c.url)??c.url;return t.jsx(Gi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Oi,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Ai,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ei,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,ze.user,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.user,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ui,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function _i(e){return"type"in e&&e.type==="link"}const zi=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -54,7 +54,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
`:null};
|
|
57
|
-
`,
|
|
57
|
+
`,Di=r(H)`
|
|
58
58
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
59
59
|
gap: ${i.sp2};
|
|
60
60
|
display: flex;
|
|
@@ -75,7 +75,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
75
75
|
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
76
76
|
-webkit-box-orient: vertical;
|
|
77
77
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
78
|
-
`,
|
|
78
|
+
`,De=r(me)`
|
|
79
79
|
color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
80
80
|
`,je=r(me)`
|
|
81
81
|
color: inherit;
|
|
@@ -120,7 +120,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
120
120
|
flex: 1 1 auto;
|
|
121
121
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
122
122
|
width: ${e=>e.isLastItem?"10%":vt.valuePercentage(e.windowSize)};
|
|
123
|
-
`,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(
|
|
123
|
+
`,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Ki,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: baseline;
|
|
126
126
|
justify-content: space-between;
|
|
@@ -146,19 +146,19 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
146
146
|
border-bottom-left-radius: ${i.sp2};
|
|
147
147
|
border-bottom-right-radius: ${i.sp2};
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,qi=r.div`
|
|
150
150
|
display: flex;
|
|
151
151
|
align-items: start;
|
|
152
152
|
flex-direction: column;
|
|
153
153
|
gap: ${i.sp2};
|
|
154
154
|
flex: 1 1 auto;
|
|
155
155
|
justify-content: start;
|
|
156
|
-
`,
|
|
156
|
+
`,Ki=r.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
align-items: baseline;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: end;
|
|
161
|
-
`,
|
|
161
|
+
`,Qi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Xi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Qi,{},he()))})]})},eo=r.div`
|
|
162
162
|
display: block;
|
|
163
163
|
min-height: 100%;
|
|
164
164
|
flex-direction: column;
|
|
@@ -167,7 +167,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-direction: column;
|
|
169
169
|
margin-bottom: ${i.sp5};
|
|
170
|
-
margin-left: ${e=>
|
|
170
|
+
margin-left: ${e=>Zi.marginLeft.valuePx(e.windowSize)};
|
|
171
171
|
`,io=r.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
@@ -175,7 +175,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
175
175
|
`,oo=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),
|
|
178
|
+
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>U(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: baseline;
|
|
@@ -244,7 +244,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
244
244
|
display: -webkit-box;
|
|
245
245
|
overflow: hidden;
|
|
246
246
|
-webkit-box-orient: vertical;
|
|
247
|
-
`,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=
|
|
247
|
+
`,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=ue(),u=h(s);return t.jsx(po,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(fo,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:ge(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Lt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:u?.includes(p.inboxNotification.id)===!0,onNotificationTileClick:c}),value:p.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},po=r.div`
|
|
248
248
|
display: flex;
|
|
249
249
|
align-items: center;
|
|
250
250
|
width: 100%;
|
|
@@ -253,7 +253,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
253
253
|
align-items: flex-start;
|
|
254
254
|
width: 100%;
|
|
255
255
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
256
|
-
`,{common:{all:Oe}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=
|
|
256
|
+
`,{common:{all:Oe}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=ue(),u=h(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Ae,{htmlFor:`${s}.${Oe.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Oe.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Ae,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
|
|
257
257
|
display: flex;
|
|
258
258
|
align-items: center;
|
|
259
259
|
width: 100%;
|
|
@@ -262,7 +262,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,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
|
-
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),
|
|
265
|
+
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Xi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:Y,ref:E})=>t.jsx(at,{ref:W=>{E(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:Y,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:W})=>{I(W)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -279,7 +279,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,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"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=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:n}},To=e=>{let o=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=n!=null?To(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=O.statusUpdate;break}}return s},
|
|
282
|
+
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,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"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=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:n}},To=e=>{let o=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=n!=null?To(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=O.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Yo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Oo=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(Jo,{children:[t.jsx(Ge,{backgroundColor:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Ao=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=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:[M.atTheRate,Ro.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},Ot=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ao,{...e}),No(e),t.jsx(Oo,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{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(Ot,{...e})})},At=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(At,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -364,7 +364,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
364
364
|
-webkit-line-clamp: ${e=>ce.lineClamp.value(e.windowSize)};
|
|
365
365
|
-webkit-box-orient: vertical;
|
|
366
366
|
width: ${e=>ce.sectionWidth.valuePercentage(e.windowSize)};
|
|
367
|
-
`,
|
|
367
|
+
`,q=r(me)`
|
|
368
368
|
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
369
|
`,Yo=r(me)`
|
|
370
370
|
color: inherit;
|
|
@@ -383,21 +383,21 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
383
383
|
border: 1px solid ${e=>e.backgroundColor};
|
|
384
384
|
padding: ${i.sp0} 6px;
|
|
385
385
|
border-radius: ${i.sp1};
|
|
386
|
-
`,
|
|
386
|
+
`,qo=r(pi)`
|
|
387
387
|
width: ${i.sp3};
|
|
388
388
|
height: ${i.sp3};
|
|
389
389
|
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,
|
|
390
|
+
`,Ko=r.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
flex: 1 1 auto;
|
|
393
|
-
`,
|
|
393
|
+
`,Qo=r.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
height: ${i.sp2};
|
|
396
396
|
width: ${i.sp2};
|
|
397
397
|
border-radius: ${i.sp2};
|
|
398
398
|
flex-shrink: 0;
|
|
399
399
|
background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
|
|
400
|
-
`,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},
|
|
400
|
+
`,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Xo=r.div`
|
|
401
401
|
display: flex;
|
|
402
402
|
align-items: center;
|
|
403
403
|
justify-content: space-between;
|
|
@@ -427,7 +427,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
427
427
|
position: relative;
|
|
428
428
|
flex: 1 1 auto;
|
|
429
429
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
430
|
-
width: ${e=>e.isLastItem?"10%":
|
|
430
|
+
width: ${e=>e.isLastItem?"10%":Dt.valuePercentage(e.windowSize)};
|
|
431
431
|
`,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(Ee,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]}),t.jsxs(Ee,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]})]})},ts=r.div`
|
|
432
432
|
display: flex;
|
|
433
433
|
flex-direction: column;
|
|
@@ -462,7 +462,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
462
462
|
gap: ${i.sp2};
|
|
463
463
|
flex: 1 1 auto;
|
|
464
464
|
width: 100%;
|
|
465
|
-
`,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(
|
|
465
|
+
`,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Zo,{}),os={marginLeft:new R(w[2],w[5],w[7])},ss=()=>t.jsxs(as,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(rs,{windowSize:o,children:[t.jsx(ls,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ns,{children:[...Array(e)].map(s=>t.jsx(is,{},he()))})]})},as=r.div`
|
|
466
466
|
display: block;
|
|
467
467
|
min-height: 100%;
|
|
468
468
|
flex-direction: column;
|
|
@@ -561,7 +561,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
561
561
|
-webkit-box-orient: horizontal;
|
|
562
562
|
gap: ${i.sp1};
|
|
563
563
|
`};
|
|
564
|
-
`,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(
|
|
564
|
+
`,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=ue(),h=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:u,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},bs=r.div`
|
|
565
565
|
display: flex;
|
|
566
566
|
align-items: center;
|
|
567
567
|
width: 100%;
|
|
@@ -570,7 +570,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
570
570
|
align-items: flex-start;
|
|
571
571
|
width: 100%;
|
|
572
572
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
573
|
-
`,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=
|
|
573
|
+
`,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=ue(),h=d(o),u=g.useRef([]);return g.useEffect(()=>{u.current=u.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(Ye,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Ye,{ref:k=>u.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(js,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{u.current[m]?.click()}})}),value:p.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},$s=r.div`
|
|
574
574
|
display: flex;
|
|
575
575
|
align-items: center;
|
|
576
576
|
width: 100%;
|
|
@@ -579,7 +579,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,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
|
-
`,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),We={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[L]+C}return(ft*
|
|
582
|
+
`,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),We={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(at,{ref:E=>{Y(E),f.current=E},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:
|
|
599
|
+
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Ke}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},zs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Qe="notificationsPage",K="commentsNotificationsTable",Q="notificationsTable",Et=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=X(),z=v(),N=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),W=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Ut=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Qt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Yt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(Q),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Wt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Zt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(As,{windowSize:z,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:W,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Os,{windowSize:z,children:t.jsx(Xt,{...N,children:t.jsx("form",{id:Xe(Qe),onSubmit:N.handleSubmit(Jt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ut,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Xe(Qe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -666,15 +666,15 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
666
666
|
color: ${S.important};
|
|
667
667
|
margin-left: ${i.sp1};
|
|
668
668
|
`,Js=r(nt)`
|
|
669
|
-
${e=>`${
|
|
669
|
+
${e=>`${zs.selectedNotificationsText.style(e.windowSize)}`};
|
|
670
670
|
color: ${e=>e.theme.colors.primary};
|
|
671
671
|
display: flex;
|
|
672
672
|
align-items: center;
|
|
673
673
|
flex-wrap: wrap;
|
|
674
|
-
`,
|
|
674
|
+
`,qs=r.div`
|
|
675
675
|
width: ${i.sp4};
|
|
676
676
|
height: ${i.sp4};
|
|
677
|
-
`,
|
|
677
|
+
`,Ks=r(ti)`
|
|
678
678
|
color: ${e=>e.theme.colors.hero};
|
|
679
679
|
width: ${i.sp4};
|
|
680
680
|
height: ${i.sp4};
|
|
@@ -682,4 +682,4 @@ import{e as Q,J as v,a9 as qt,cF as Zt,V as t,bC as Kt,ac as Qt,aS as ei,o as i,
|
|
|
682
682
|
&:hover {
|
|
683
683
|
color: ${e=>e.theme.colors.primary};
|
|
684
684
|
}
|
|
685
|
-
`,
|
|
685
|
+
`,Xe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[K]:c,[Q]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Xe as uniqueFormName};
|