@zeniai/web-cockpit-ui 1.14.21-qa → 1.14.22-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-Csc8UPGK-C5DTl14D.js +21 -0
- package/dist/assets/{AIPerformancePage-DKwSS0Zl-_uRJy90x.js → AIPerformancePage-BNK1zghX-CXpkKBhu.js} +40 -40
- package/dist/assets/{AccountInfoPage-CSIM7DNw-t91eZQ9I.js → AccountInfoPage-WoQj1Knu-Cxdf_g3B.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-CwbmE2Bb-T-BFbt0o.js → AccountInfoPageContent-BsiMZrTm-DfeZwew1.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-SFgC439X-CMjAhOqH.js → AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-DhlVNNlq-D2_UrFsx.js → AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js} +12 -12
- package/dist/assets/{AccountRow-Bhq6cvtX-YU5AexfS.js → AccountRow-mHhwnvVT-61DHuT3I.js} +16 -16
- package/dist/assets/{AccountsPromoCardStack-Cx60IXNK-DbnDsykr.js → AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js} +27 -27
- package/dist/assets/{AddAddressForCardDrawer-D1cDpMRq-W5tXjh3z.js → AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js} +2 -2
- package/dist/assets/{AddToWalletPage-DjD9kDfD-BVOukNrG.js → AddToWalletPage-BmaqhQ_z-fr9KNRwo.js} +29 -29
- package/dist/assets/{AgingReportsPage-C68tZbMZ-ltB8OanA.js → AgingReportsPage-B2tfefId-BY1ufaPI.js} +14 -14
- package/dist/assets/{AllUserItems-D4ZWfS3r-BIKyz3xK.js → AllUserItems-C5jB4yc_-bcEnXv8A.js} +8 -8
- package/dist/assets/{ApAgingDetailPage-C9xdKi6n-DQvox-Mj.js → ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js} +3 -3
- package/dist/assets/{AppBasePage-C77LebWx-DD6i2F9A.js → AppBasePage-DOXcrTCE-BU2ssx1Y.js} +11 -11
- package/dist/assets/{AppDrawerContent-rleLuP6d-N207k0Kf.js → AppDrawerContent-Cav4Sy09-XmmoSBRe.js} +17 -17
- package/dist/assets/ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js +47 -0
- package/dist/assets/{ArAgingChart-BzPI5KpZ-Dwcwv8mU.js → ArAgingChart-B3NtEWh--G5H5BTO1.js} +10 -10
- package/dist/assets/{ArAgingDetailPage-QPScba6I-_mrA9Dmx.js → ArAgingDetailPage-uX2oVxj4-B2CH08AV.js} +1 -1
- package/dist/assets/{AttachmentView-BWRZe11t-geAB7dwF.js → AttachmentView-BQMzs_UT-DjbZBXs7.js} +8 -8
- package/dist/assets/{BankAccountSection-D4xFLS8Y-K9xaG_eB.js → BankAccountSection-MWGcLsKa-DYMEitGJ.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-xch7b7oM-ChEsNIJ1.js → BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js} +6 -6
- package/dist/assets/{BankConnectionsSettingsPage-BAf6txkS-vMvoxtKR.js → BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js} +33 -33
- package/dist/assets/{BillDetailPage-DNjo2hSl-BIFlrRZ4.js → BillDetailPage-DU3KKWCI-Dgx7cNS3.js} +12 -12
- package/dist/assets/BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-XcSe-JLu-CEbOBf4P.js → BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js} +10 -10
- package/dist/assets/BillPayPromoPage-DvBp9dFZ-DT65a4C3.js +84 -0
- package/dist/assets/BillPaySetUpPage-D7335PCo-lcC21Rm6.js +42 -0
- package/dist/assets/BillingSettingsPage-PsWVXatK-Df6MXAqh.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-C0-0H-LH-C4Ch0eQg.js → BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js} +1 -1
- package/dist/assets/{BoxItem-DfMMtLK3-DwhF3MEP.js → BoxItem-Bf9DDBGl-B4tzyane.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bdf48vIt-CsMA_z06.js → BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js} +14 -14
- package/dist/assets/{CardNumberSubText-DgQelYSF-EYjrhelR.js → CardNumberSubText-8FNDlBHV-xefYK_FQ.js} +2 -2
- package/dist/assets/{CashbackDetailPage-pDpjBsfK-B3tdD-nA.js → CashbackDetailPage-CUc07auE-CayGCDQt.js} +23 -23
- package/dist/assets/{ChargeCardDetailPage-DU9RMQc6-CYAFKGtS.js → ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js} +64 -64
- package/dist/assets/{ChargeCardListPage-DMYZIi2J-YzgnTjNz.js → ChargeCardListPage-BFssQAQg-Dr6YIgl1.js} +30 -30
- package/dist/assets/{ChargeCardListTable-BGhtEqlM-B7Fdytg0.js → ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js} +193 -193
- package/dist/assets/ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js +222 -0
- package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js +60 -0
- package/dist/assets/ChargeCardUtils-DQztOSYJ-DZxY6wV1.js +1 -0
- package/dist/assets/ChaseOverlay-BaGgoJZk-L4zZNkyz.js +170 -0
- package/dist/assets/CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js +206 -0
- package/dist/assets/{CollapsableReportTable-CuZSfiJ--BV5LvjsE.js → CollapsableReportTable-dCUjgg1X-DLs7OVqc.js} +51 -51
- package/dist/assets/{CompanyOfficerDetailsSection-B8_6LaaT-CKJVK2pK.js → CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js} +19 -19
- package/dist/assets/{CompanyPassportCard-Dnoe52f1-BZsqn6WU.js → CompanyPassportCard-BOuhptIV-CVEQtf9Q.js} +6 -6
- package/dist/assets/{CompanyPassportPage-ChrMM5cG-DMFx8-D2.js → CompanyPassportPage-CPxR1IKu-B6sc0yZA.js} +12 -12
- package/dist/assets/CompleteProfile-BIN-sI3M-1L7bxHe9.js +52 -0
- package/dist/assets/{ConfettiBurst-CLXTwsEc-Baoit-xY.js → ConfettiBurst-nTrV9Xfw-D3DkhcOF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BQT9jEKf-BQUueMhM.js → CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-CqjXmiuE-BYGCpyAz.js → CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js} +23 -23
- package/dist/assets/CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js +78 -0
- package/dist/assets/CurrencySelectField-ltt1zExP-D2omcj4n.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CwOkKzOg-B9TqM2NT.js → CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js} +7 -7
- package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-czdG16p5-DG6Ivo4n.js → CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js} +11 -11
- package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-YXekfOBo-HDPrQ7VL.js → CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js} +12 -12
- package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +202 -0
- package/dist/assets/{Dashboard-DSgwFRPe-BqbfAhX1.js → Dashboard-CptSiho6-CYuyH4KA.js} +25 -25
- package/dist/assets/{DashboardReportPage-BJvP8_MA-BBXCjxlc.js → DashboardReportPage-G32NOQFe-BOVMH67u.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BzB16gcw-DuZKIfdP.js → DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js} +2 -2
- package/dist/assets/{DepositAccTransactionItem-iLxnaDON-Cu2Jt3BR.js → DepositAccTransactionItem-CQX9MBK--x7S3np6v.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D7ID3OCC-BWg_cPdV.js → DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js} +1 -1
- package/dist/assets/{DownloadOverlay-DK3Nswwn-CvcpFx8P.js → DownloadOverlay-DN4zwFl5-BWBizCPI.js} +27 -27
- package/dist/assets/{DrawerPage-qdVRf0zd-D3MHsEvl.js → DrawerPage-B-jrvyA1-D5alUPyS.js} +12 -12
- package/dist/assets/{EditPeoplePage-BQlHto3J-Up6qoGIH.js → EditPeoplePage-BTXEd5bm-DPBckywd.js} +9 -9
- package/dist/assets/{EditReimbursementDetailPage-wJUr8jPN-CucwYAji.js → EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js} +52 -52
- package/dist/assets/{EntityDetailPage-BNbBdxQj-VYMr28kW.js → EntityDetailPage-CCTwe1iu-DAg47Prp.js} +1 -1
- package/dist/assets/{EntitySummarySection-BQXLwSRf-Dmz-K_CZ.js → EntitySummarySection-B7uoP2ou-DZ_drzmW.js} +9 -9
- package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-Cn4VyB6M-BhL8s7ps.js → ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js} +76 -76
- package/dist/assets/{ExpressPayPage-DjV_dQoe-TjH6IBGq.js → ExpressPayPage-BdUERste-C5P04O3w.js} +13 -13
- package/dist/assets/{FeaturePreviewPage-CPu1OiVj-DYKr-SZH.js → FeaturePreviewPage-B6_exSoS-Do4_f9l1.js} +2 -2
- package/dist/assets/{FollowStepsSection-6KGTmbym-BPFH0rIs.js → FollowStepsSection-BoA-EzkO-CtKbn8f6.js} +25 -25
- package/dist/assets/{GlobalReviewListPage-BpuYWhKy-ojejaE0U.js → GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js} +15 -15
- package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +28 -0
- package/dist/assets/{InformationCardStack--_YYIZmU-DyhXfEfc.js → InformationCardStack-Dvu4sQsc-BlKJwxKC.js} +5 -5
- package/dist/assets/{InsightsCardStack-BAqsxgx_-DdyBnb2f.js → InsightsCardStack-DffcRWuM-BTqxOdqS.js} +12 -12
- package/dist/assets/{InsightsSection-R-m-A1rt-DREvFYeH.js → InsightsSection-C8Oi6wcZ-D3wuyBHx.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-BP0P9-PB-DgpQQrpK.js → IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js} +15 -15
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bl40XkdZ-DcZdsGXF.js → InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-BxIz3xUq-2c84qgGL.js → InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js} +15 -15
- package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +312 -0
- package/dist/assets/{InvitePageListView-CWpmFhZH-mgWVAkee.js → InvitePageListView-DG91-L1w-HUdilJLK.js} +44 -44
- package/dist/assets/InvitePeoplePage-6ANmf4z2-D3l-3sjy.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BWCF-vNf-BfXQEC3w.js → InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js} +9 -9
- package/dist/assets/{IssueChargeCardPage-DrHldS8--A_AXmB6w.js → IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js} +33 -33
- package/dist/assets/{LabeledAddressValue-WlsZ5Ghz-BRS36g9Q.js → LabeledAddressValue-C6EUPzNB-f8CKs718.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B-6CWCep-D3jCl4nb.js → LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DLlz4JyR-CMz1DNyM.js → LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-rYzQ2Ot2-CDpWJTGr.js → LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js} +2 -2
- package/dist/assets/{LabeledDocumentField-CD2nmWBu-Cuw8I-AI.js → LabeledDocumentField-CzTqgS97-CVWMa21M.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-DpVX6osq-DUYnn-i2.js → LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js} +6 -6
- package/dist/assets/{LabeledText-QTidAWAx-fh93_-mv.js → LabeledText-BICN3vpf-Lk4PuYrJ.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-BQucWzXB.js → LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-BVYRgzSM-Cv81CAeG.js → LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js} +14 -14
- package/dist/assets/{LinkJETransactionPage-CKTmE3J5-BL2a536w.js → LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js} +13 -13
- package/dist/assets/{LowBalancePopup-3lHeOacz-Cg-6ggSe.js → LowBalancePopup-Dhrtsv_E-B0rnJzet.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-CJwMNdWw-BbWz_BUe.js → MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-7fXlIwuo-GAs9HQCc.js → MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D7oeyaXU-Bzhpe6Vc.js → MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D8iyZlJy-j-oCJl1z.js → MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-DUrwrEj2-BnMJM36s.js → MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js} +3 -3
- package/dist/assets/MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-SnrmOSBf-CNpJ4esn.js → MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js} +1 -1
- package/dist/assets/{Menu-C7N3gHcb-6AxGYl0u.js → Menu-DOJJ_REW-BwD6B3Nk.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-B4Pjmw7q-BoyImx6j.js → MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js} +18 -18
- package/dist/assets/MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-Dv0V1Z6z-DjnAaOLQ.js → MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js} +8 -8
- package/dist/assets/NavBarWithPicker-CvhnGryh-CauN1w5W.js +30 -0
- package/dist/assets/{NavigationArrow-xI3dolgO-C-GiXFn4.js → NavigationArrow-CXkUidH6-fqvGvSGZ.js} +2 -2
- package/dist/assets/{NavigationDots-CbSSDiyy-WCBt3UxE.js → NavigationDots-hBq7kHVj-Vj1p5Rqn.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-vHNZ1z6p-BmDZAkXp.js → NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js} +15 -15
- package/dist/assets/{NoDataChart-DHDhwnCE-CDUxuuOv.js → NoDataChart-C4KqN3ua-6H0vHNsB.js} +1 -1
- package/dist/assets/{NoDataTable-BnVKm6Qa-Da3lIrUA.js → NoDataTable-DaX07HI0-B6ZwwCAM.js} +1 -1
- package/dist/assets/{NotFoundPage-BNZEf9qH-BE8kBN6K.js → NotFoundPage-BIh20jzm-BXLRcjFX.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DfnpY6qJ-Q5CoK9_s.js → NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js} +14 -14
- package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +1 -0
- package/dist/assets/{NotificationsPage-Bg1mW_-3-CzD0o_6Q.js → NotificationsPage-oy3LHVU2-C0LKRRGq.js} +52 -52
- package/dist/assets/{OpExByVendorPage-qNgK4tMM-CM_o2sby.js → OpExByVendorPage-D8jXzTd6-CpwZHxBM.js} +9 -9
- package/dist/assets/{OverlayContainerPage-ZbhbAqlg-l2yHPll9.js → OverlayContainerPage-Bmu909Fo-Drnebvl5.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C8qE7xCZ-UDfg9dM5.js → PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js} +15 -15
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DA77K9eY-BBrPsmYp.js → PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js} +18 -18
- package/dist/assets/{PeoplePage-Chec7uSH-DFRieiVv.js → PeoplePage-B7s3mjRX-BNB49xB2.js} +26 -26
- package/dist/assets/{PortfolioAllocationFormPage-B_lIRV75-9B1_7c3Q.js → PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js} +5 -5
- package/dist/assets/PortfolioDetails-BFqRNjFs-DdtIdWXw.js +218 -0
- package/dist/assets/ProductsCarousel-BaTq9uMB-DT3_7m1I.js +142 -0
- package/dist/assets/{PromoBaseCards-D3gKG9qA-Bq2w579j.js → PromoBaseCards-Bf3Dizji-DFvWixK1.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-C8y2XvBN-CGZvEFLA.js → QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js} +13 -13
- package/dist/assets/{QBOSetupSection-DDGIRv8E-DDOtydJ8.js → QBOSetupSection-BWJoUKzu-DC5g6xXu.js} +14 -14
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-DsIFWYvA-BGZ99R95.js → ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js} +10 -10
- package/dist/assets/ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js +314 -0
- package/dist/assets/ReimbursementPromoPage-BFwztEak-CceCs1UK.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DblkkMcc-i1I7617W.js → ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js} +1 -1
- package/dist/assets/{ReloadCard-BszztAdg-gseVFmCl.js → ReloadCard-BmYf1NZf-DhNr8urp.js} +3 -3
- package/dist/assets/ReportTableViewSelector-yTxheyC3-CSqeEY6U.js +150 -0
- package/dist/assets/{ReportsPage-BfKLEriq-CNsTnOim.js → ReportsPage-DZtCp9CP-GUEOyiOt.js} +8 -8
- package/dist/assets/{RevenueChart-B5dfrWKL-h1RS9vmc.js → RevenueChart-CXSh5l_p-dQ5RnZTk.js} +1 -1
- package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +290 -0
- package/dist/assets/{ReviewOverlay-BysN2GYI-B54hA7h0.js → ReviewOverlay-B2jf6tfG-D_9vNPuM.js} +26 -26
- package/dist/assets/{RoleWithToolTip-BRe9iDOl-r4MeN03_.js → RoleWithToolTip-DHdLJcWR-GnlXHGj6.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-gij2cBvS-DYNVzDVF.js → ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-DVm4cyKr-BOhfGajG.js → ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-aSVVm6mG-DuDPOPR7.js → ScheduleSequenceTable-8qqeMhAk-COgow_cL.js} +19 -19
- package/dist/assets/{ScreenRoutes-z4Ov9eJq.js → ScreenRoutes-HggFEvBU.js} +1 -1
- package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +378 -0
- package/dist/assets/SetUpDefaultSection-BM57n5BV-BGP1G39B.js +174 -0
- package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +407 -0
- package/dist/assets/{SignInScreen-l-67Uvxk.js → SignInScreen-BP8BTBPi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-Dav0JMKy-Y-GEx6Lw.js → SpendManagementListViewPage-BphSarNr-olaU5e62.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-C-Y-BFqH-BkDeeVjW.js → SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js} +43 -43
- package/dist/assets/{SpendManagementSection-DGz-I0bf-Bw1c1jys.js → SpendManagementSection-DKqHikhq-CsTWl7zh.js} +15 -15
- package/dist/assets/SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js +206 -0
- package/dist/assets/{StatementItem-2F2qxL7G-sSXIEL81.js → StatementItem-Ki_Mzpf9-D38JqRpj.js} +6 -6
- package/dist/assets/StatementsPage-B6XMWWpt-Dr9BGLnN.js +58 -0
- package/dist/assets/{StatusSwitcher-DBUg94S_-C2JEQhps.js → StatusSwitcher-BkAnAbyd-DQZA1a3w.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CoK8FOIA-DDQIjZPM.js → SubTabSwitcher-Au3snima-DElPxhu-.js} +6 -6
- package/dist/assets/{SummaryCard-D1KRVnqp-BaQsoKv3.js → SummaryCard-B-IXQpJ7-Dg8CCNrn.js} +1 -1
- package/dist/assets/{TaskManagementPage-BhFEeDBu-DzfbV0Zn.js → TaskManagementPage-BPNEy-p0-BIbh7B8y.js} +42 -42
- package/dist/assets/{TimeRangeSwitcher-4JrIq9xZ-TFwqCfhn.js → TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-CjctaKq_-Dr_Vr7Rj.js → TimeframeSwitcher-D1cuigpc-D9PCDoa0.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C0dRRCYf-B1COtObb.js → TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js} +1 -1
- package/dist/assets/{TopExCard-CCBEun3e-BNc9p9eG.js → TopExCard-BWOozDK3-GMojpRJp.js} +7 -7
- package/dist/assets/{TopExDetailPage-DbwmOLnV-Dh4ElkDG.js → TopExDetailPage-DpYLakrO-vsCGpsy3.js} +21 -21
- package/dist/assets/{TransactionDetailPage-DsQJU2de-CxIPljIq.js → TransactionDetailPage-Bxzam_ho-gn2TcHkj.js} +32 -32
- package/dist/assets/{TransactionList-BIMzvzrT-_or9xEGN.js → TransactionList-CEfjoVPA-DR1uAuMl.js} +15 -15
- package/dist/assets/{TransactionListBig-DiFiu66r-BLXPBbpL.js → TransactionListBig-CefZbd83-D9G3vxbN.js} +24 -24
- package/dist/assets/TransactionListPage-CM319tsV-DkNHohDS.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-A2F8TF9r-DUOtbDNW.js → TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js} +4 -4
- package/dist/assets/TransferDrawerPage-0vQtF6ID-fpHDlHlf.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-Bwy2y6eI-CvBsMjHy.js → TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js} +101 -101
- package/dist/assets/{TreasuryPromoPage-B3P0nF1z-17ooiVR4.js → TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js} +26 -26
- package/dist/assets/{TreasurySetupPage-BgrgBBsW-BvZOLqE5.js → TreasurySetupPage-BJRBNCvY-DTKYqc-u.js} +10 -10
- package/dist/assets/{TreasuryStatementsPage-DvCQhl_X-Dk5WyixX.js → TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-iG8-cJFt-j6qmlNFn.js → TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-BZ5sPJAg-NdyyZMx2.js → TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js} +56 -56
- package/dist/assets/{TrendChart-_IpSJoUH-DXWWW8tE.js → TrendChart-BAMRDfp7-BazRtItt.js} +5 -5
- package/dist/assets/{TrendWithTransactions-BqGV_CQg-DBpBbNzJ.js → TrendWithTransactions-CgbouMHP-BeJkYy2u.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-iK-1vllN-CsfRUZlv.js → UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js} +20 -20
- package/dist/assets/{UnitIntegrationPage-sYNoUudZ-CYUrKLfM.js → UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js +38 -0
- package/dist/assets/{Vendor2FAPopup--4Ufzmk0-Bhn3C6zT.js → Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BD9WwdNN-B6rEBLg0.js → VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js} +1 -1
- package/dist/assets/{VendorDetailPage-DwLCEthT-DOEOWBu5.js → VendorDetailPage-CceVHonS-DTF5QB-w.js} +16 -16
- package/dist/assets/{VendorDomesticWireDetailsPage-Y2SlFgHo-ctcFxC1W.js → VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-nGfjBA1D-Dj4qnXHI.js → VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js} +13 -13
- package/dist/assets/{VendorFirstReviewPage-Bgf9MtEn-B5_vtXIt.js → VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CMxyzCCL-DgMIpDxj.js → VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js} +31 -31
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6rMWgzM-C9CLMBsh.js → VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Ceq0cYf6-Dwaaaz-u.js → VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js} +4 -4
- package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +96 -0
- package/dist/assets/VideoPopup-0LSxcyRX-CeJLs_Z5.js +31 -0
- package/dist/assets/{WarningsDrawerPage-DSssRFm_-Dvfai-rz.js → WarningsDrawerPage-DR9oeIuj-B1HHe12t.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-C6q8N5tU-DESMj8H1.js → ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js} +25 -25
- package/dist/assets/{ZeniAccountListViewPage-CqUvXrvR-Cc02Six5.js → ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js} +63 -63
- package/dist/assets/ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B6wyK1mQ-jB9p9r4X.js → ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js} +29 -29
- package/dist/assets/ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js +36 -0
- package/dist/assets/{ZeniCopyright-BqG_ynZT-B8auuDYw.js → ZeniCopyright-D6e3OekQ-3nIDquq3.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BZb23ypm-CNSeiXW5.js → ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js} +7 -7
- package/dist/assets/{analyticsHelper-517kzICQ-B_8oYoDB.js → analyticsHelper-CYiy63P3-BIFQ1l_N.js} +1 -1
- package/dist/assets/{analyticsHelper-fHYf245D.js → analyticsHelper-q5gZKv1q.js} +1 -1
- package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +1 -0
- package/dist/assets/{commonDimensions-Dw8Sh6Gv-7gi8Z3Gt.js → commonDimensions-DbTYS1hy-sQ0jQuuT.js} +1 -1
- package/dist/assets/{detailCommon-BA8Eb9ta-Cls_xdIj.js → detailCommon-BeqWtSZF-C3x-L6T7.js} +10 -10
- package/dist/assets/downloadPdf-CLTp2aZt-DDw4mfQ_.js +1 -0
- package/dist/assets/{index-CteHikkY.js → index-P_4M6V8j.js} +17377 -14411
- package/dist/assets/{mapLoadingInProgressToTreeNode-B16JI0nu-CaT-riL3.js → mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-u05r0BKW-D93Qvfy9.js → mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DHlbGqUH-CR4GfB3i.js → mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CGkPIsh6-oG-KC4x3.js → mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ymtaozr7-CN1Pxsue.js → mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-CAukvICG.js → mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-B0nbXcq3-CrfKiUyi.js → toCOABalancesWithID-D49XFhoj-DjL9meL6.js} +1 -1
- package/dist/assets/{toChartData-CZR7pH0W-Dm5lu3KI.js → toChartData-C9pHl0xA-CKVc0-Yj.js} +1 -1
- package/dist/assets/{treasuryColorHelper-99Jkq8AE-BBbuwlCb.js → treasuryColorHelper-CkjbPhqI-PraXB90r.js} +1 -1
- package/dist/assets/{uploadAttachment-5GZYaQNG-2L-QfpWR.js → uploadAttachment-BniS82zn-BreMBxbN.js} +20 -20
- package/dist/assets/{uploadReceipts-CtQowT1I-0zTSBTg9.js → uploadReceipts-dxsKhm9I-wO4Dla2j.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ACHDetailsPage-B2GVy8XM-BOIvjXTj.js +0 -21
- package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-1aq4Vv65.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-uOofdgcM.js +0 -27
- package/dist/assets/BillPayPromoPage-XAG7hXMH-BZL4sjAP.js +0 -112
- package/dist/assets/BillPaySetUpPage-BBsdhwgY-C2VZLsTX.js +0 -42
- package/dist/assets/BillingSettingsPage-DJNjNtIF-uDhkigAj.js +0 -44
- package/dist/assets/ChargeCardPromoPage-B2v83Vrf-COR15-4w.js +0 -222
- package/dist/assets/ChargeCardSetupPage-D4DqJYC2-Bgmue_Hy.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-N-UJC5n3-DCTtgimP.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BlNXO233-Biy_ee3N.js +0 -206
- package/dist/assets/CompleteProfile-BcB52KEM-lFVSyCYA.js +0 -52
- package/dist/assets/CurrencySelectField-DptlyOSs-CWinX_tp.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DWzzD7vt.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-CcQVn2u7.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-_eb-zJs0.js +0 -202
- package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-BFNeAgzu.js +0 -66
- package/dist/assets/ExpenseAutomationOverviewPage-UXpoYnDh-CO2tpATT.js +0 -222
- package/dist/assets/HelpButton-j66YbdZ7-Drvx-5iY.js +0 -28
- package/dist/assets/InviteFormPage-t42rmGiL-7JW6Km7H.js +0 -312
- package/dist/assets/InvitePeoplePage-78Fznvo4-BvI_a8sG.js +0 -12
- package/dist/assets/MailingDetailsSection-CXSm1fgW-DRNX0_o-.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-BJUi7XQw.js +0 -6
- package/dist/assets/NavBarWithPicker-Dd5TPoA8-BZQxCbZw.js +0 -30
- package/dist/assets/NotificationsListConfig-DtICI7X6-CayIRbFW.js +0 -1
- package/dist/assets/PortfolioDetails-Dm2r3i6b-BwrtFocU.js +0 -218
- package/dist/assets/ProductsCarousel-Ba0LHKrb-BDvM1Acb.js +0 -144
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-DXMeU38o.js +0 -26
- package/dist/assets/ReimbursementDetailPage-6KZSAl8R-CGQrQ4-Q.js +0 -314
- package/dist/assets/ReimbursementPromoPage-Bijp59bV-Bq5XzABH.js +0 -112
- package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-BNhdS7cU.js +0 -140
- package/dist/assets/ReportTableViewSelector-DOnGrFNT-B1xUQ166.js +0 -150
- package/dist/assets/ReviewDetailsPage-BCo54ehm-fgesmtoD.js +0 -290
- package/dist/assets/SetUpAccountSection-qYVA9A09-CVxmZ6g-.js +0 -378
- package/dist/assets/SignIn-BLt95c3U-D3UBJiEv.js +0 -408
- package/dist/assets/StatementsPage-D8hwgVAz-DamBoqPu.js +0 -58
- package/dist/assets/TransactionListPage-7JveOMDe-v7-9Lfsn.js +0 -35
- package/dist/assets/TransferDrawerPage-CCqQ3Daq-DRUKf3ph.js +0 -362
- package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-D2r5JejQ.js +0 -38
- package/dist/assets/VerifyDevice-BTFRL9bH-t2x3vCON.js +0 -96
- package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-xec3gYAK.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-Dwfiz5l8.js +0 -36
- package/dist/assets/chartTypes-BTkUFFIf-PQ5t5G6G.js +0 -1
- package/dist/assets/downloadPdf-CDKlyJb--BC8IkHL1.js +0 -1
- package/dist/assets/play-icon-B0_JAuQa-CnChOIaR.js +0 -31
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v as e,q as a}from"./index-P_4M6V8j.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,s=1e3;export{l as A,i as E,n as I,s as L,o as a,r as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as X,e as v,a as Jt,M as P,c9 as Zt,j as t,aW as qt,l as g,F as Kt,a3 as Xt,o as i,b as we,gt as Qt,C as R,ht as ei,v as Ne,m as ti,A as et,bR as tt,ai as it,dl as ot,bZ as st,jc as at,q as y,J as ii,jd as oi,dj as ce,ad as si,X as ai,h as rt,g as S,i as ri,bg as z,cm as he,fF as ue,je as pe,Y as nt,d5 as lt,dt as E,d3 as dt,fO as ni,n as Q,hH as li,B as H,f2 as di,a7 as ye,ao as fe,jf as ci,bd as ct,jg as Ie,aQ as hi}from"./index-P_4M6V8j.js";import{b as x,n as r,j as O}from"./vendor-rkTZJa59.js";import{k as ui}from"./SubTabSwitcher-Au3snima-DElPxhu-.js";import{d as ht}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ut,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-C14JCaD1-cAHM1Kht.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{h(b.id)},[h]);return e.length===0?null:t.jsxs(fi,{windowSize:u,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(ui,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:bt,strings:mi},dateFormat:Te,timeFormat:gi}=P.getLocalizedStrings(),wt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],ne=e=>e.type.concat(mi.underscore).concat(e.start.format(Te.visual.DdashMMdashYYYYFormat)),me=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return bt[e.type];case"earlier_that_month":return e.start.format(Te.visual.MMMYYYYFormat)}},yt=e=>{const o=g.zeniDate(e.toUTCString()),s=g.dateNow(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?bt.justNow:a<c&&ci(o,0)?o.format(gi.hhmmAFormat):o.format(Te.visual.MMMDFormat)},Re=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:xi}}}}=P.getLocalizedStrings(),$t=e=>{e.sort((n,l)=>g.zeniDate(n.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),
|
|
5
|
+
`,{common:{timeStrings:bt,strings:mi},dateFormat:Te,timeFormat:gi}=P.getLocalizedStrings(),wt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],ne=e=>e.type.concat(mi.underscore).concat(e.start.format(Te.visual.DdashMMdashYYYYFormat)),me=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return bt[e.type];case"earlier_that_month":return e.start.format(Te.visual.MMMYYYYFormat)}},yt=e=>{const o=g.zeniDate(e.toUTCString()),s=g.dateNow(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?bt.justNow:a<c&&ci(o,0)?o.format(gi.hhmmAFormat):o.format(Te.visual.MMMDFormat)},Re=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:xi}}}}=P.getLocalizedStrings(),$t=e=>{e.sort((n,l)=>g.zeniDate(n.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=ie(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&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),h=g.dateNow().subtract(2,"d").endOf("d"),a=ie(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&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),h=g.dateNow().subtract(9,"d").endOf("d"),a=ie(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=g.dateNow().subtract(u,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(u,"month").endOf("M").endOf("d");u++,a=ie(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},ie=(e,o,s)=>{const a=[],n=e.map(l=>at(o,s,g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},bi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=xi;return o.comments.length===1?a:s},jt=new R(3,2,1,1,1),kt=new R(y[8],y[6],35,35,y[6]),le={lineClamp:jt,sectionWidth:kt},{common:{texts:ze,timeStrings:wi,strings:ee},commentsAndNotifications:{notifications:{strings:{newMessage:yi},actionStrings:{comments:{newCommentAdded:$i}}}}}=P.getLocalizedStrings(),ji=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=nt(),c=lt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=x.useContext(ni),f=h!=null?"read":"unread",{metadata:{url:b,companyId:k,entityType:B},id:D}=p;return t.jsxs(Li,{readStatus:f,isClickable:!!b,isHighlighted:s,style:a,onClick:()=>{b&&(n(d,g.toZeniUrl(b),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:D,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(T=>E(T)),p.resolved?"resolved":"open",{name:dt(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(ki,{notificationData:e,users:o}),t.jsx(vi,{...e}),t.jsx(Ci,{timestamp:u,readStatus:f})]})},St=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx($e,{children:yi}):t.jsx($e,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ni(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Si,{notificationData:e,user:u},`${c.id}${ee.underscore}${d}`):null}if(Ti(c)){const u=li(c.url)??c.url;return t.jsx(Oi,{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(zi,{children:h},d)),c.italic===!0&&(h=t.jsx(_i,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Mi,{children:h},d)),c.code===!0&&(h=t.jsx(Di,{children:h},d)),t.jsx(Ai,{children:h},d)});default:return t.jsx($e,{children:$i})}})})},ki=({notificationData:e,users:o})=>{const s=v();return t.jsx(Pi,{windowSize:s,children:t.jsx(St,{notificationData:e,users:o})})},Si=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[ee.atTheRate,ze.user,ee.space]});if(o!=null){const l=E(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[ee.atTheRate,l||ze.user,ee.space]})})}return n},vt=e=>{const o=bi(e);return t.jsx(t.Fragment,{children:o})},vi=e=>{const o=v();return t.jsx(Ri,{windowSize:o,children:t.jsx(vt,{...e})})},Ct=e=>{const{timestamp:o,readStatus:s}=e,a=yt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Bi,{isNewNotification:a===wi.justNow,children:a}),t.jsx(Fi,{readStatus:s})]})},Ci=e=>{const o=v();return t.jsx(Ii,{windowSize:o,children:t.jsx(Ct,{...e})})};function Ni(e){return"type"in e&&e.type==="mention"}function Ti(e){return"type"in e&&e.type==="link"}const Li=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -33,7 +33,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
33
33
|
border-bottom-right-radius: inherit;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
${e=>e.isHighlighted?
|
|
36
|
+
${e=>e.isHighlighted?O`
|
|
37
37
|
z-index: 1;
|
|
38
38
|
color: ${e.theme.colors.primary};
|
|
39
39
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -43,7 +43,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
43
43
|
}
|
|
44
44
|
`:null};
|
|
45
45
|
|
|
46
|
-
${e=>e.isClickable?
|
|
46
|
+
${e=>e.isClickable?O`
|
|
47
47
|
&:hover {
|
|
48
48
|
z-index: 1;
|
|
49
49
|
color: ${e.theme.colors.primary};
|
|
@@ -61,14 +61,14 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
61
61
|
align-items: center;
|
|
62
62
|
flex-shrink: 0;
|
|
63
63
|
justify-content: end;
|
|
64
|
-
`,Ri=r(
|
|
64
|
+
`,Ri=r(Q)`
|
|
65
65
|
color: inherit;
|
|
66
66
|
display: -webkit-box;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
-webkit-line-clamp: ${e=>le.lineClamp.value(e.windowSize)};
|
|
69
69
|
-webkit-box-orient: vertical;
|
|
70
70
|
width: ${e=>le.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,zi=r.strong``,Di=r.code``,_i=r.em``,Mi=r.s``,
|
|
71
|
+
`,zi=r.strong``,Di=r.code``,_i=r.em``,Mi=r.s``,Ai=r.span``,Oi=r.a``,Pi=r(Q)`
|
|
72
72
|
color: inherit;
|
|
73
73
|
display: -webkit-box;
|
|
74
74
|
overflow: hidden;
|
|
@@ -120,7 +120,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
120
120
|
flex: 1 1 auto;
|
|
121
121
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
122
122
|
width: ${e=>e.isLastItem?"10%":kt.valuePercentage(e.windowSize)};
|
|
123
|
-
`,Ei=()=>{const e=v();return t.jsxs(Hi,{windowSize:e,children:[t.jsxs(
|
|
123
|
+
`,Ei=()=>{const e=v();return t.jsxs(Hi,{windowSize:e,children:[t.jsxs(Yi,{children:[t.jsx(z,{width:180,height:y[4]}),t.jsx(z,{width:180,height:y[4]})]}),t.jsx(Vi,{children:t.jsx(z,{width:60,height:18})})]})},Hi=r.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: baseline;
|
|
126
126
|
justify-content: space-between;
|
|
@@ -146,19 +146,19 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
146
146
|
border-bottom-left-radius: ${i.sp2};
|
|
147
147
|
border-bottom-right-radius: ${i.sp2};
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Yi=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
|
+
`,Vi=r.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
align-items: baseline;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: end;
|
|
161
|
-
`,Wi=()=>v()==="small"?t.jsx(Ei,{}):t.jsx(Gi,{}),Ji={marginLeft:new R(y[2],y[5],y[7])},
|
|
161
|
+
`,Wi=()=>v()==="small"?t.jsx(Ei,{}):t.jsx(Gi,{}),Ji={marginLeft:new R(y[2],y[5],y[7])},Zi=()=>t.jsxs(qi,{children:[t.jsx(Se,{numberOfRows:5}),t.jsx(Se,{numberOfRows:3})]}),Se=({numberOfRows:e})=>{const o=v();return t.jsxs(Ki,{windowSize:o,children:[t.jsx(Qi,{children:t.jsx(z,{width:y[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(Xi,{children:[...Array(e)].map(s=>t.jsx(Wi,{},ce()))})]})},qi=r.div`
|
|
162
162
|
display: block;
|
|
163
163
|
min-height: 100%;
|
|
164
164
|
flex-direction: column;
|
|
@@ -168,14 +168,14 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
168
168
|
flex-direction: column;
|
|
169
169
|
margin-bottom: ${i.sp5};
|
|
170
170
|
margin-left: ${e=>Ji.marginLeft.valuePx(e.windowSize)};
|
|
171
|
-
`,
|
|
171
|
+
`,Xi=r.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
border-radius: ${i.sp2};
|
|
175
|
-
`,
|
|
175
|
+
`,Qi=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,eo=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),
|
|
178
|
+
`,eo=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),h=lt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,b=p!=null?"read":"unread",k=f.metadata.url,B=x.useCallback(()=>{c?.()},[c]),D=x.useCallback(w=>{w.stopPropagation(),w.cancelable&&w.preventDefault(),s?c?.():k!=null&&(l(u,g.toZeniUrl(f.metadata.url),b),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(L=>E(L)),f.resolved?"resolved":"open",{name:dt(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,b,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),T=ht({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(so,{readStatus:b,isClickable:k!=null,isHighlighted:a,style:n,...T,onClick:D,children:[t.jsxs(ro,{children:[t.jsx(to,{notificationData:e,users:o}),t.jsx(io,{...e})]}),t.jsx(oo,{timestamp:m,readStatus:b})]})},to=({notificationData:e,users:o})=>t.jsx(Nt,{children:t.jsx(St,{notificationData:e,users:o})}),io=e=>t.jsx(Nt,{children:t.jsx(vt,{...e})}),oo=e=>t.jsx(ao,{children:t.jsx(Ct,{...e})}),so=r.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: baseline;
|
|
@@ -207,7 +207,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
207
207
|
border-bottom-right-radius: inherit;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
${e=>e.isHighlighted?
|
|
210
|
+
${e=>e.isHighlighted?O`
|
|
211
211
|
z-index: 1;
|
|
212
212
|
color: ${e.theme.colors.primary};
|
|
213
213
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -217,7 +217,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
217
217
|
}
|
|
218
218
|
`:null};
|
|
219
219
|
|
|
220
|
-
${e=>e.isClickable?
|
|
220
|
+
${e=>e.isClickable?O`
|
|
221
221
|
&:hover {
|
|
222
222
|
z-index: 1;
|
|
223
223
|
color: ${e.theme.colors.primary};
|
|
@@ -239,12 +239,12 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
239
239
|
display: flex;
|
|
240
240
|
flex-direction: column;
|
|
241
241
|
gap: ${i.sp2};
|
|
242
|
-
`,Nt=r(
|
|
242
|
+
`,Nt=r(Q)`
|
|
243
243
|
color: inherit;
|
|
244
244
|
display: -webkit-box;
|
|
245
245
|
overflow: hidden;
|
|
246
246
|
-webkit-box-orient: vertical;
|
|
247
|
-
`,Tt=e=>v()==="small"?t.jsx(eo,{...e}):t.jsx(ji,{...e}),{common:{all:_e}}=P.getLocalizedStrings(),no=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=
|
|
247
|
+
`,Tt=e=>v()==="small"?t.jsx(eo,{...e}):t.jsx(ji,{...e}),{common:{all:_e}}=P.getLocalizedStrings(),no=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=he(),u=h(s);return t.jsx(lo,{style:n,children:t.jsx(ue,{mode:a,checkBoxes:[{label:t.jsx(co,{htmlFor:`${s}.${_e.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:me(e)}),value:_e.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,b=e.notifications.length-1===m;return{label:t.jsx(Tt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?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}})})},lo=r.div`
|
|
248
248
|
display: flex;
|
|
249
249
|
align-items: center;
|
|
250
250
|
width: 100%;
|
|
@@ -253,16 +253,16 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
253
253
|
align-items: flex-start;
|
|
254
254
|
width: 100%;
|
|
255
255
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
256
|
-
`,{common:{all:Me}}=P.getLocalizedStrings(),
|
|
256
|
+
`,{common:{all:Me}}=P.getLocalizedStrings(),ho=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=he(),u=h(s),p=x.useRef([]);return x.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(uo,{style:n,children:t.jsx(ue,{mode:a,checkBoxes:[{label:t.jsx(Ae,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:me(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const b=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(po,{notificationData:m,users:o,style:{borderTopLeftRadius:b?i.sp2:void 0,borderTopRightRadius:b?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}})})},uo=r.div`
|
|
257
257
|
display: flex;
|
|
258
258
|
align-items: center;
|
|
259
259
|
width: 100%;
|
|
260
|
-
`,
|
|
260
|
+
`,Ae=r(pe)`
|
|
261
261
|
display: flex;
|
|
262
262
|
align-items: flex-start;
|
|
263
263
|
width: 100%;
|
|
264
264
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,po=r(Tt)``,fo=e=>v()==="small"?t.jsx(
|
|
265
|
+
`,po=r(Tt)``,fo=e=>v()==="small"?t.jsx(ho,{...e}):t.jsx(no,{...e}),{commentsAndNotifications:{notifications:{message:mo}}}=P.getLocalizedStrings(),Oe={rowGap:new R(y[0],y[5],y[5])},go=({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(),b=x.useRef(null),k=x.useRef({});x.useEffect(()=>{b.current?.resetAfterIndex(0,!0)},[f,b,e]),x.useEffect(()=>{b.current?.scrollTo(c)},[d]);const B=x.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Oe.rowGap.value("medium-regular"):Oe.rowGap.value(f);return k.current[C]+G}return(ut*jt.value(f)+pt)*3+ft+mt},[f,k,e]),D=x.useCallback((C,G)=>{k.current={...k.current,[C]:G},b.current?.resetAfterIndex(0,!0)},[f,b,e]),T=x.useCallback(()=>{p()},[p]),w=x.useCallback(()=>{},[]),L=et(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,Y=x.useCallback(()=>a&&!s?T():w(),[a,s,T,w]),I=a?e.length+1:e.length;return t.jsx(bo,{children:t.jsx(wo,{windowSize:f,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(tt,{message:mo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(yo,{windowSize:f,children:t.jsx(it,{children:({height:C,width:G})=>t.jsx(ot,{isItemLoaded:j,itemCount:gt,loadMoreItems:Y,children:({onItemsRendered:V,ref:U})=>t.jsx(st,{ref:W=>{U(W),b.current=W},height:C,itemCount:I,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:D,onNotificationClick:m},onItemsRendered:V,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:W})=>{L(W)},initialScrollOffset:c,children:xo})})})})})})},xo=({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=x.useRef(null),f=v();if(x.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const b=a[e],k=ne(b);return t.jsx(Pe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(fo,{notificationGroup:b,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Pe,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(Se,{numberOfRows:3})},ce())},bo=r.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -279,7 +279,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:$o,strings:Lt},dateFormat:jo,commentsAndNotifications:{notifications:{actionStrings:{notifications:
|
|
282
|
+
`,{common:{in:$o,strings:Lt},dateFormat:jo,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),It=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 wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),h=g.dateNow().subtract(Math.min(g.dateNow().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&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),h=g.dateNow().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&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),h=g.dateNow().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=g.dateNow().subtract(u,"month").startOf("M").startOf("d"),m=g.dateNow().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=>at(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}},ko=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Ie(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",$o.toLocaleLowerCase().concat(Lt.space,Ie(e.name.toLocaleLowerCase()))),o},So=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=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=n!=null?ko(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(jo.visual.MMMDFormat)??Lt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},Rt=new R(3,2,1,1,1),zt=new R(y[8],33,33,33,35),de={lineClamp:Rt,sectionWidth:zt},{common:{and:Be,other:vo,others:Co,texts:No,timeStrings:To,strings:M,tags:Lo}}=P.getLocalizedStrings(),Io=({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(Oo,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Ro,{...e}),t.jsx(_o,{...e}),t.jsx(Ao,{...e}),t.jsx(Mo,{createTime:h,notificationStatus:n})]})},Dt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Uo,{notificationStatus:o,children:s||M.hyphen})},Ro=e=>{const o=v();return t.jsx(Go,{windowSize:o,children:t.jsx(Dt,{...e})})},zo=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(Ho,{children:[t.jsx(Fe,{backgroundColor:Re(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Yo,{}),t.jsx(Fe,{backgroundColor:Re(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Do=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(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,No.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Be,t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Co,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Be,t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+E(s[1],!1):vo,M.space]})]}):l=t.jsxs(Z,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]})),l},_t=e=>t.jsxs(t.Fragment,{children:[t.jsx(Do,{...e}),So(e),t.jsx(zo,{...e})]}),_o=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Fo,{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(_t,{...e})})},Mt=e=>{const{createTime:o,notificationStatus:s}=e,a=yt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Eo,{isNewNotification:a===To.justNow,children:a}),t.jsx(Wo,{notificationStatus:s})]})},Mo=e=>{const o=v();return t.jsx(Po,{windowSize:o,children:t.jsx(Mt,{...e})})},At=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(di,{tagTitle:Lo.overdue,textColor:{color:new ye(S.alert),backgroundColor:new ye("transparent"),borderColor:new ye(S.alert)},showLoader:!1}):t.jsx(Vo,{})},Ao=e=>{const o=v();return t.jsx(Bo,{windowSize:o,children:t.jsx(At,{...e})})},Oo=r.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -310,7 +310,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
310
310
|
border-bottom-right-radius: inherit;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
${e=>e.isHighlighted?
|
|
313
|
+
${e=>e.isHighlighted?O`
|
|
314
314
|
z-index: 1;
|
|
315
315
|
color: ${e.theme.colors.primary};
|
|
316
316
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -342,14 +342,14 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
342
342
|
align-items: center;
|
|
343
343
|
flex-shrink: 0;
|
|
344
344
|
justify-content: end;
|
|
345
|
-
`,Fo=r(
|
|
345
|
+
`,Fo=r(Q)`
|
|
346
346
|
color: inherit;
|
|
347
347
|
|
|
348
|
-
${e=>e.statusUpdate?
|
|
348
|
+
${e=>e.statusUpdate?O`
|
|
349
349
|
display: flex;
|
|
350
350
|
flex-wrap: wrap;
|
|
351
351
|
gap: ${i.sp1};
|
|
352
|
-
`:
|
|
352
|
+
`:O`
|
|
353
353
|
display: -webkit-box;
|
|
354
354
|
overflow: hidden;
|
|
355
355
|
-webkit-line-clamp: ${de.lineClamp.value(e.windowSize)};
|
|
@@ -357,14 +357,14 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
357
357
|
-webkit-box-orient: vertical;
|
|
358
358
|
`};
|
|
359
359
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
360
|
-
`,Go=r(
|
|
360
|
+
`,Go=r(Q)`
|
|
361
361
|
color: inherit;
|
|
362
362
|
display: -webkit-box;
|
|
363
363
|
overflow: hidden;
|
|
364
364
|
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
365
365
|
-webkit-box-orient: vertical;
|
|
366
366
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
367
|
-
`,
|
|
367
|
+
`,Z=r(fe)`
|
|
368
368
|
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
369
|
`,Uo=r(fe)`
|
|
370
370
|
color: inherit;
|
|
@@ -383,11 +383,11 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
383
383
|
border: 1px solid ${e=>e.backgroundColor};
|
|
384
384
|
padding: ${i.sp0} 6px;
|
|
385
385
|
border-radius: ${i.sp1};
|
|
386
|
-
`,
|
|
386
|
+
`,Yo=r(hi)`
|
|
387
387
|
width: ${i.sp3};
|
|
388
388
|
height: ${i.sp3};
|
|
389
389
|
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,
|
|
390
|
+
`,Vo=r.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
flex: 1 1 auto;
|
|
393
393
|
`,Wo=r.div`
|
|
@@ -397,7 +397,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
397
397
|
border-radius: ${i.sp2};
|
|
398
398
|
flex-shrink: 0;
|
|
399
399
|
background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
|
|
400
|
-
`,se={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(y[6],50,60,y[11],120)},Jo=()=>{const e=v();return t.jsxs(
|
|
400
|
+
`,se={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(y[6],50,60,y[11],120)},Jo=()=>{const e=v();return t.jsxs(Zo,{windowSize:e,children:[t.jsx(ae,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:se.emptyRowItemSectionWidth.value(e),height:y[4]})}),t.jsx(ae,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:se.emptyRowItemSectionWidth.value(e),height:y[4]})}),t.jsx(ae,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:se.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(ae,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:se.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Zo=r.div`
|
|
401
401
|
display: flex;
|
|
402
402
|
align-items: center;
|
|
403
403
|
justify-content: space-between;
|
|
@@ -428,7 +428,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
428
428
|
flex: 1 1 auto;
|
|
429
429
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
430
430
|
width: ${e=>e.isLastItem?"10%":zt.valuePercentage(e.windowSize)};
|
|
431
|
-
`,
|
|
431
|
+
`,qo=()=>{const e=v();return t.jsxs(Ko,{windowSize:e,children:[t.jsxs(Ge,{children:[t.jsx(z,{width:180,height:y[4]}),t.jsx(z,{width:60,height:18})]}),t.jsxs(Ge,{children:[t.jsx(z,{width:180,height:y[4]}),t.jsx(z,{width:60,height:18})]})]})},Ko=r.div`
|
|
432
432
|
display: flex;
|
|
433
433
|
flex-direction: column;
|
|
434
434
|
align-items: baseline;
|
|
@@ -462,7 +462,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
462
462
|
gap: ${i.sp2};
|
|
463
463
|
flex: 1 1 auto;
|
|
464
464
|
width: 100%;
|
|
465
|
-
`,
|
|
465
|
+
`,Xo=()=>v()==="small"?t.jsx(qo,{}):t.jsx(Jo,{}),Qo={marginLeft:new R(y[2],y[5],y[7])},es=()=>t.jsxs(ts,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(is,{windowSize:o,children:[t.jsx(ss,{children:t.jsx(z,{width:y[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(os,{children:[...Array(e)].map(s=>t.jsx(Xo,{},ce()))})]})},ts=r.div`
|
|
466
466
|
display: block;
|
|
467
467
|
min-height: 100%;
|
|
468
468
|
flex-direction: column;
|
|
@@ -471,7 +471,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
471
471
|
display: flex;
|
|
472
472
|
flex-direction: column;
|
|
473
473
|
margin-bottom: ${i.sp5};
|
|
474
|
-
margin-left: ${e=>
|
|
474
|
+
margin-left: ${e=>Qo.marginLeft.valuePx(e.windowSize)};
|
|
475
475
|
`,os=r.div`
|
|
476
476
|
display: flex;
|
|
477
477
|
flex-direction: column;
|
|
@@ -479,7 +479,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
479
479
|
`,ss=r.div`
|
|
480
480
|
display: flex;
|
|
481
481
|
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,as=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:
|
|
482
|
+
`,as=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=x.useCallback(()=>{l?.()},[l]),f=x.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),b=ht({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(cs,{notificationStatus:c,isHighlighted:s,style:a,...b,onClick:f,children:[t.jsxs(Ue,{children:[t.jsx(rs,{...e}),t.jsx(ls,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(ns,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ds,{...e})]})]})},rs=e=>t.jsx(Ot,{statusUpdate:!1,children:t.jsx(Dt,{...e})}),ns=e=>{const{eventData:{activities:o}}=e;return t.jsx(Ot,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(_t,{...e})})},ls=e=>t.jsx(hs,{children:t.jsx(Mt,{...e})}),ds=e=>t.jsx(us,{children:t.jsx(At,{...e})}),cs=r.div`
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
align-items: baseline;
|
|
@@ -511,7 +511,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
511
511
|
border-bottom-right-radius: inherit;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
${e=>e.isHighlighted?
|
|
514
|
+
${e=>e.isHighlighted?O`
|
|
515
515
|
z-index: 1;
|
|
516
516
|
color: ${e.theme.colors.primary};
|
|
517
517
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -530,14 +530,14 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
530
530
|
color: ${S.brandColorJade};
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
`,
|
|
533
|
+
`,hs=r(H)`
|
|
534
534
|
width: 25%;
|
|
535
535
|
gap: ${i.sp2};
|
|
536
536
|
display: flex;
|
|
537
537
|
align-items: center;
|
|
538
538
|
flex-shrink: 0;
|
|
539
539
|
justify-content: end;
|
|
540
|
-
`,
|
|
540
|
+
`,us=r(H)`
|
|
541
541
|
width: 25%;
|
|
542
542
|
display: flex;
|
|
543
543
|
align-items: center;
|
|
@@ -550,18 +550,18 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
550
550
|
width: 100%;
|
|
551
551
|
justify-content: space-between;
|
|
552
552
|
align-items: start;
|
|
553
|
-
`,
|
|
553
|
+
`,Ot=r(Q)`
|
|
554
554
|
color: inherit;
|
|
555
|
-
${e=>e.statusUpdate?
|
|
555
|
+
${e=>e.statusUpdate?O`
|
|
556
556
|
display: flex;
|
|
557
557
|
flex-wrap: wrap;
|
|
558
558
|
gap: ${i.sp2};
|
|
559
|
-
`:
|
|
559
|
+
`:O`
|
|
560
560
|
display: -webkit-box;
|
|
561
561
|
-webkit-box-orient: horizontal;
|
|
562
562
|
gap: ${i.sp1};
|
|
563
563
|
`};
|
|
564
|
-
`,Pt=e=>v()==="small"?t.jsx(as,{...e}):t.jsx(Io,{...e}),{common:{all:Ee}}=P.getLocalizedStrings(),ps=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=
|
|
564
|
+
`,Pt=e=>v()==="small"?t.jsx(as,{...e}):t.jsx(Io,{...e}),{common:{all:Ee}}=P.getLocalizedStrings(),ps=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=he(),h=d(o);return t.jsx(fs,{style:a,children:t.jsx(ue,{mode:s,checkBoxes:[{label:t.jsx(ms,{htmlFor:`${o}.${Ee.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:me(e)}),value:Ee.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Pt,{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}})})},fs=r.div`
|
|
565
565
|
display: flex;
|
|
566
566
|
align-items: center;
|
|
567
567
|
width: 100%;
|
|
@@ -570,16 +570,16 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
570
570
|
align-items: flex-start;
|
|
571
571
|
width: 100%;
|
|
572
572
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
573
|
-
`,{common:{all:He}}=P.getLocalizedStrings(),gs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=
|
|
573
|
+
`,{common:{all:He}}=P.getLocalizedStrings(),gs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=he(),h=d(o),u=x.useRef([]);return x.useEffect(()=>{u.current=u.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(xs,{style:a,children:t.jsx(ue,{mode:s,checkBoxes:[{label:t.jsx(Ye,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:me(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,b=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(bs,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?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}})})},xs=r.div`
|
|
574
574
|
display: flex;
|
|
575
575
|
align-items: center;
|
|
576
576
|
width: 100%;
|
|
577
|
-
`,
|
|
577
|
+
`,Ye=r(pe)`
|
|
578
578
|
display: flex;
|
|
579
579
|
align-items: flex-start;
|
|
580
580
|
width: 100%;
|
|
581
581
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,bs=r(Pt)``,ws=e=>v()==="small"?t.jsx(gs,{...e}):t.jsx(ps,{...e}),{commentsAndNotifications:{notifications:{message:ys}}}=P.getLocalizedStrings(),
|
|
582
|
+
`,bs=r(Pt)``,ws=e=>v()==="small"?t.jsx(gs,{...e}):t.jsx(ps,{...e}),{commentsAndNotifications:{notifications:{message:ys}}}=P.getLocalizedStrings(),Ve={rowGap:new R(y[0],y[5],y[5])},$s=({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=x.useRef(null),b=x.useRef({});x.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),x.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=x.useCallback(I=>{if(b.current?.[I]!=null){const C=m==="small"&&s===!1&&I===e.length-1?Ve.rowGap.value("medium-regular"):Ve.rowGap.value(m);return b.current[I]+C}return(ut*Rt.value(m)+pt)*3+ft+mt},[m,b,e]),B=x.useCallback((I,C)=>{b.current={...b.current,[I]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),D=x.useCallback(()=>{u()},[u]),T=x.useCallback(()=>{},[]),w=et(I=>h(I),1e3,{trailing:!0}),L=I=>!s||I<e.length,j=x.useCallback(()=>s&&!o?D():T(),[s,o,D,T]),Y=s?e.length+1:e.length;return t.jsx(ks,{children:t.jsx(Ss,{windowSize:m,children:o&&e.length===0?t.jsx(es,{}):o===!1&&e.length===0?t.jsx(tt,{message:ys.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(vs,{windowSize:m,children:t.jsx(it,{children:({height:I,width:C})=>t.jsx(ot,{isItemLoaded:L,itemCount:gt,loadMoreItems:j,children:({onItemsRendered:G,ref:V})=>t.jsx(st,{ref:U=>{V(U),f.current=U},height:I,itemCount:Y,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:L,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:U})=>{w(U)},initialScrollOffset:l,children:js})})})})})})},js=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=x.useRef(null),m=v();if(x.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],b=ne(f);return t.jsx(We,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ws,{notificationGroup:f,sectionId:`${n}.${b}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},b)}return t.jsx(We,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ce())},ks=r.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Ce,texts:re,footer:Cs,strings:{plus:Ns},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Ts,texts:Bt,strings:
|
|
599
|
+
`,{common:{all:Ce,texts:re,footer:Cs,strings:{plus:Ns},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Ts,texts:Bt,strings:Ze}}}=P.getLocalizedStrings(),te={tableContainerLeftPadding:new R(y[2],y[2],y[2]),tableContainerRightPadding:new R(y[3],y[6],y[8]),tabsContainerLeftRightPadding:new R(y[3],y[6],y[8]),selectedNotificationsTextMarginLeft:new R(y[0],y[6],y[6])},Ls={selectedNotificationsText:new ai("smallRegular","standardRegular")},qe="notificationsPage",q="commentsNotificationsTable",K="notificationsTable",Ft=20,aa=({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:b,onMarkAllNotificationsAsRead:k})=>{const B=X(),D=v(),T=Jt({mode:"all",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Qe(e),[e]),values:x.useMemo(()=>Qe(e),[e])}),{currentTab:w,currentSubTab:L,notificationDetailsByTab:j,allSubTabs:Y,allNotifications:I,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:V}=e,U=x.useMemo(()=>Object.keys(j).map($=>({label:re[$],id:re[$].toLocaleLowerCase(),countDetails:{count:j[$].uiState.unreadCount,isFetching:j[$].fetchCountState.fetchState==="In-Progress"}})),[j]),W=x.useMemo(()=>Y.map($=>({label:$==="all"?Ce:re[$],id:$})),[Y]),Gt=x.useMemo(()=>$t(V).filter($=>$.notifications.length>0),[V]),Ut=x.useMemo(()=>It(G).filter($=>$.notifications.length>0),[G]),Et=async($,N)=>{const F=$.split(".")[0],J=[];F!=null&&(F===q||F===K)&&(Object.values(N[F]).forEach(_=>{J.push(..._.filter(Wt=>Wt.includes(Ce.toLowerCase())===!1))}),d({selectedNotificationIds:J},w))};x.useEffect(()=>{const $=T.watch((N,{name:F})=>{F!=null&&N!=null&&Zt(()=>Et(F,N))});return()=>{$.unsubscribe()}});const ge=x.useCallback(()=>{const $=[],N=j[w].selectedNotificationIdsForSubTab,F="read";if(w==="comments"){const J=C.filter(_=>_.inboxNotification.readAt==null).map(_=>_.inboxNotification.id);N.forEach(_=>{J.includes(_)&&$.push(_)})}else{const J=I.filter(_=>_.status!==F).map(_=>_.notificationId);N.forEach(_=>{J.includes(_)&&$.push(_)})}return $},[C,I,w,j]),Ht=ge().length>Ft?"disabled":a,xe=T.watch(q),be=T.watch(K),Le=x.useCallback(()=>{p(w,L)},[p,w,L]),Yt=x.useCallback(()=>{if(w==="comments"){const $={};Object.keys(xe).forEach(N=>{$[N]=[]}),T.reset({[q]:$,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const $={};Object.keys(be).forEach(N=>{$[N]=[]}),T.reset({[K]:$,[q]:xe},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},w)},[be,xe]),Vt=x.useCallback(()=>{const $=j[w].selectedNotificationIdsForSubTab,N="read",F=ge();m(w,$,N,F)},[w,j,ge,m]);return t.jsxs(Rs,{children:[t.jsx(qt,{source:"NotificationsPage",title:Ts.notifications,backgroundColor:B.colors.grey4,onBackClick:b,rightSideComponent:s===!0?t.jsx(Vs,{onClick:f}):t.jsx(Ys,{})}),t.jsx(_s,{}),t.jsx(Ds,{windowSize:D,children:t.jsx(pi,{tabs:U,selectedTab:w,onTabChange:$=>{const N=g.toNotificationTabTypeStrict($);N!=null&&h(N)},subTabs:W,selectedSubTab:L,onSubTabChange:$=>{const N=g.toNotificationSubTabTypeStrict($);N!=null&&u(N)},subTabRightComponent:t.jsx(Is,{notificationCount:j[w].uiState.unreadCount,markAsAllReadUpdateState:j[w].markAsAllReadState.fetchState,markAsReadUpdateState:j[w].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(w)}})})}),t.jsx(zs,{windowSize:D,children:t.jsx(Kt,{...T,children:t.jsx("form",{id:Xe(qe),onSubmit:T.handleSubmit(Vt),style:{width:"100%"},children:w==="comments"?t.jsx(go,{users:o,hasMore:j[w].uiState.hasMore,isFetching:j[w].fetchState==="In-Progress",scrollYOffset:j[w].uiState.scrollYOffset[L],currentSubTab:L,checkBoxMode:j[w].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Gt,sectionId:q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[w].uiState.scrollYOffset,[L]:$}},w),onNotificationClick:l}):t.jsx($s,{hasMore:j[w].uiState.hasMore,isFetching:j[w].fetchState==="In-Progress",scrollYOffset:j[w].uiState.scrollYOffset[L],currentSubTab:L,checkBoxMode:j[w].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ut,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[w].uiState.scrollYOffset,[L]:$}},w),onNotificationClick:n})})})}),j[w].selectedNotificationIdsForSubTab.length?t.jsx(Xt,{formId:Xe(qe),primaryBtn:{label:Bt.markAsRead,isLoading:j[w].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Ht!=null},cancelBtn:{label:Cs.cancel,isDisabled:j[w].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Yt},helperContainerStyle:D==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(we,{controller:D!=="small",children:t.jsx(Ke,{selectedNotificationsCount:j[w].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(we,{controller:D==="small",children:t.jsx(Ke,{selectedNotificationsCount:j[w].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(we,{controller:D!=="small",children:t.jsx(Os,{})})}):null]})},Is=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=x.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Ms,{variant:"tertiary",size:"small",label:Bt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(ti,{size:"Small",start:!0}):t.jsx(As,{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"}})},Ke=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Ps,{windowSize:o,children:[t.jsx(Fs,{children:t.jsx(Bs,{isCircular:e<10,children:t.jsx(Gs,{children:e>Je?`${Je}${Ns}`:e})})}),t.jsxs(Hs,{windowSize:o,children:[t.jsx(Us,{children:e>1?Ze.notificationsSelected:Ze.notificationSelected}),e>Ft?t.jsx(Es,{children:re.maxLimit}):null]})]})},Rs=r.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -627,21 +627,21 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
627
627
|
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
`,
|
|
630
|
+
`,As=r(oi)`
|
|
631
631
|
width: ${i.sp3};
|
|
632
632
|
height: ${i.sp3};
|
|
633
|
-
`,
|
|
633
|
+
`,Os=r.div``,Ps=r.div`
|
|
634
634
|
display: flex;
|
|
635
635
|
align-items: center;
|
|
636
636
|
flex-direction: row;
|
|
637
637
|
gap: ${i.sp2};
|
|
638
638
|
margin-left: ${e=>te.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
|
|
639
639
|
`,Bs=r.div`
|
|
640
|
-
${e=>e.isCircular?
|
|
640
|
+
${e=>e.isCircular?O`
|
|
641
641
|
height: ${i.sp3};
|
|
642
642
|
width: ${i.sp3};
|
|
643
643
|
padding: ${i.sp0};
|
|
644
|
-
`:
|
|
644
|
+
`:O`
|
|
645
645
|
height: 18px;
|
|
646
646
|
min-width: ${i.sp3};
|
|
647
647
|
padding: ${i.sp0} ${i.sp1};
|
|
@@ -671,10 +671,10 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
671
671
|
display: flex;
|
|
672
672
|
align-items: center;
|
|
673
673
|
flex-wrap: wrap;
|
|
674
|
-
`,
|
|
674
|
+
`,Ys=r.div`
|
|
675
675
|
width: ${i.sp4};
|
|
676
676
|
height: ${i.sp4};
|
|
677
|
-
`,
|
|
677
|
+
`,Vs=r(Qt)`
|
|
678
678
|
color: ${e=>e.theme.colors.hero};
|
|
679
679
|
width: ${i.sp4};
|
|
680
680
|
height: ${i.sp4};
|
|
@@ -682,4 +682,4 @@ import{u as Q,e as v,a as Jt,B as P,c9 as qt,j as t,aW as Zt,l as g,F as Kt,a4 a
|
|
|
682
682
|
&:hover {
|
|
683
683
|
color: ${e=>e.theme.colors.primary};
|
|
684
684
|
}
|
|
685
|
-
`,
|
|
685
|
+
`,Xe=e=>`${e}_form`,Qe=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};It(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[ne(d)]=a.filter(u=>h.includes(u))});const c={};return $t(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[ne(d)]=n.filter(u=>h.includes(u))}),{[q]:c,[K]:l}},ra=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Ce.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{aa as default,ra as getSelectedNotificationIds,Xe as uniqueFormName};
|