@zeniai/web-cockpit-ui 1.15.4-dev → 1.15.5-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-uGxVPurg-BoohNpSs.js → ACHDetailsPage-BLKhKkZC-CoU9qIfj.js} +1 -1
- package/dist/assets/{AIPerformancePage-DqmxZNlX--Hr--1bJ.js → AIPerformancePage-J3dtNEgn-DnDSfWCN.js} +103 -103
- package/dist/assets/{AccountInfoPage-C2Dq8UPa-CDfBL7Wu.js → AccountInfoPage-CI5UcHFj-BegJKMi4.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-HVhR3c9c-DosFJwky.js → AccountInfoPageContent-D8oVcn1T-BXq3_V4W.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DM9AQ-14-CIrGwmC7.js → AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-zcvYkXrD-BPDfVNC-.js → AccountReconDetailsDrawerPage-DFjW0u9--BQEqjGYe.js} +39 -39
- package/dist/assets/{AccountRow-B3ULDo0k-BhJpm00a.js → AccountRow-Bq6uJ1hA-Vc9-Z3M-.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CJZlWV2d-EdC25r6I.js → AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.js} +3 -3
- package/dist/assets/{AddAddressForCardDrawer-Rm7tH3HQ-BC-bWtsD.js → AddAddressForCardDrawer-O987RTn2-BVD6IV9k.js} +1 -1
- package/dist/assets/{AddToWalletPage-DfB-vvqh--jeS88nY.js → AddToWalletPage-C2Z6f8Y6-DKRITatO.js} +1 -1
- package/dist/assets/{AgingReportsPage-__jUwahK-CLXoQ0cz.js → AgingReportsPage-BlPqvXdx-BhMR9uMZ.js} +3 -3
- package/dist/assets/{AllUserItems-Coo6Qik6-UHUBqeo9.js → AllUserItems-CL17FcAl-HA7Ybf9E.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-C1LyqY_A-BtwuroAU.js → ApAgingDetailPage-CHVwRH_g-DOXwF09t.js} +1 -1
- package/dist/assets/{AppBasePage-Cz2ddFfo-mHKaK9iL.js → AppBasePage-CnlPnTBn-DzDs3_Wg.js} +1 -1
- package/dist/assets/{AppDrawerContent-CObWehh2-Cjn399er.js → AppDrawerContent-C2CNe5yn-CV61WWnW.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-ZqKHe7B_-CavRIFVF.js → ApprovalRulesSettingsPage-XsMzIe4e-WBRcfJJV.js} +1 -1
- package/dist/assets/{ArAgingChart-CjRE8wyO-KhcQp5wu.js → ArAgingChart-Ck1uAv_a-BqG8XmZ6.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DXjs7XAS-CBng1tZs.js → ArAgingDetailPage-KRWJzbCq-SXmC1xou.js} +5 -5
- package/dist/assets/{AttachmentView-C3WpRmXR-DHEKPSUE.js → AttachmentView-uaen0kuU-Bv_0F11t.js} +1 -1
- package/dist/assets/{BankAccountSection-BigS_oOq-Ci-ry1uG.js → BankAccountSection-CwOhGEgT-CV3SB5KM.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Czlvc-qX-fV9_v1_E.js → BankAccountWarningSection-D7BVcqIu-RUBf41j-.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BgliKI11-CVrp_3jT.js → BankConnectionsSettingsPage-BOdlcBfa-aX1YHXK9.js} +1 -1
- package/dist/assets/{BillDetailPage-DNPgeuje-DvJjtReR.js → BillDetailPage-Ct4Q960V-B1Ta0IG7.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-OrTzXAEP-F8EXZnBA.js → BillPayApprovalRuleDetailPage-DUU4rXuM-DI9nvx98.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DXcPkwwf-D9IFAJHv.js → BillPayApprovalRulesPage-C0pcFzje-Rb9cSqGe.js} +1 -1
- package/dist/assets/{BillPayPromoPage-fBpp10um-GZ0MLbC-.js → BillPayPromoPage-BsEtxcjB-BRyrvd2x.js} +13 -13
- package/dist/assets/{BillPaySetUpPage-9iEVFLUa-CieGlXQ4.js → BillPaySetUpPage-B-rBYCtR-CKuO1PYp.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IL6J1DV0-C_Ptx6al.js → BillingSettingsPage-BadzsZdt-CdWNz3my.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DcRTKRMw-Dot6MMyh.js → BillsBulkReviewDrawerPage-CbA-LUIt-BCAx-hEw.js} +1 -1
- package/dist/assets/{BoxItem-Cg9N_YPt-DJ_jUCA7.js → BoxItem-BoanamYM-C9a7ISxI.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-KZWTxmeh-Bf4A-QbN.js → BusinessVerificationPage-B9hjIdCd-fjXOOEEK.js} +2 -2
- package/dist/assets/{CardNumberSubText-DqtkAe0V-CnWXJt_4.js → CardNumberSubText-DFO_EKrs-fq6YqMPG.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D-l7cqjW-DUYPwmfE.js → CashbackDetailPage-Bp85-5Ie-BrWWJ_z3.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-ChwrpnhL-veTgs8Ar.js → ChargeCardDetailPage-D8dY9X8Q-CY9gkPfd.js} +1 -1
- package/dist/assets/{ChargeCardListPage-zDV88I5X-B2RVPf-8.js → ChargeCardListPage-CxplfJ1W-Cs-f2f69.js} +1 -1
- package/dist/assets/{ChargeCardListTable-Cu1sCT_g-BGpTFZxZ.js → ChargeCardListTable-scY11ryy-Biigjr-j.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-Db6zW203-WFxJEWqw.js → ChargeCardPaymentHistoryPage-Brh4ot5q-B0jRGM62.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DsrTt5B0-CxLK8tnF.js → ChargeCardPromoPage-CPURUrkI-ElY1-FvK.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-DcYthQvc-CTSyFY1c.js → ChargeCardSetupPage-Bumq17f6-CZtiCi9E.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DkUJKxIz-CnKozjSR.js → ChargeCardStatementsPage-DbU7LEIP-BvT1248-.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-C7rL0Ts2-RP5ItDdY.js → CheckDepositDrawerPage-CFl7Vr_I-m-GUaKwL.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B0N8Ybey-DhyMNzbJ.js → CollapsableReportTable-CRaZZnGr-DHalWth7.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-5DfSL2V8-ScLL5OT8.js → CompanyOfficerDetailsSection-C4rN7mXr-DfF7L_UZ.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BLw_MMZR-CEzISmuM.js → CompanyPassportCard-I21kA_Ir-BLJfyfQk.js} +3 -3
- package/dist/assets/{CompanyPassportPage-BamWWVQB-C7x4VyMq.js → CompanyPassportPage-BSDnF5-7-Cj98T4ob.js} +1 -1
- package/dist/assets/{CompleteProfile-CPwV8diq-J2SvPl5E.js → CompleteProfile-uultMZ5R-wTNN90nG.js} +1 -1
- package/dist/assets/{ConfettiBurst-CJc1ZWFJ-DhK08ncO.js → ConfettiBurst-CpmYtgfk-D3B4eByY.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDqjntBH-Dvy2lhUu.js → CreateOrEditVendorPage-AfKsEb9G-Dm36bf3i.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-cBCHuatx-C8VBVt7-.js → CreditCardPaymentDrawerPage-D0Lh5Tw1-XpTz-POB.js} +1 -1
- package/dist/assets/{CurrencySelectField-kA2N_h2r-CcyWX90z.js → CurrencySelectField-BvNBUOqg-A4J8Uxia.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BU5SX7SV-Difzp9Mo.js → CustomerOnboardingActivationPage-OtCugBPI-qX05IlgL.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BZZCLRzR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dw6MsSJ6.js → CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DnAkQb7J.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dx_Py2Fa-Eccb4L_B.js → CustomerOnboardingNoStepsPage-p062pNc5-C-l3wTbU.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-AHQX5bSN-BxpQ0OvT.js → CustomerOnboardingPage-Byojt-WN-CQTmwoTL.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C9W7h_tT-Brpfoewd.js +202 -0
- package/dist/assets/{Dashboard-BQGdcgDK-CcNLKkZL.js → Dashboard-Dkwr9npN-BXZ9_-Zj.js} +1 -1
- package/dist/assets/{DashboardReportPage-C9eB1Lz--5ieAwPtY.js → DashboardReportPage-Qk5_OFw7-BDc17Jc3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cu7qPhOd-CTi4Znx6.js → DashboardSidebarBackgroundAnimation-BiD26wyg-CHBm92QN.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DOcqx_qa-leYCAzF7.js → DepositAccTransactionItem-13TnlK6P-m98DXUKx.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-gxOQSQ9a-C_x5v-6x.js → DepositAccTransactionListPage-Dc3G81fB-A9cH7zUI.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C_chbExL-BeToz5h5.js → DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js} +1 -1
- package/dist/assets/{DownloadOverlay-a0IFrzRd-D3N8T5hh.js → DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js} +1 -1
- package/dist/assets/{DrawerPage-D3ezgD8z-B72SfIcT.js → DrawerPage-Bq1naYya-CQiLfSVq.js} +1 -1
- package/dist/assets/{EditPeoplePage-BnCysZo9-DrBsiLvG.js → EditPeoplePage-BnYTxq_9-DPMlpday.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BzKR9gus-CcV8vLu7.js → EditReimbursementDetailPage-D-uH9OV3-BSdAEEMn.js} +1 -1
- package/dist/assets/{EntityDetailPage-B8vx2Mri-Dq6ftPMD.js → EntityDetailPage-DCcgGupN-C9TRJ7Es.js} +2 -2
- package/dist/assets/{EntitySummarySection-B5pV5wTI-DsRwDVIH.js → EntitySummarySection-BI44dDjO-CYCNaLvg.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-D25gPCR4-DOT9Bi2a.js → ExpenseAutomationOverviewPage-XA0L4mZw-dYnFXq-m.js} +4 -4
- package/dist/assets/{ExpenseAutomationPage-BUAS2p9i-IL1JLlJv.js → ExpenseAutomationPage-CGkJWoKY-B55w2jvQ.js} +1 -1
- package/dist/assets/{ExpressPayPage-DfIwfewF-QpNTIKub.js → ExpressPayPage-BX3rmT8V-AcNsZZN-.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-AXorSpml-Ds6bcvAF.js → FeaturePreviewPage-W5YS3_F--DlENOTKC.js} +1 -1
- package/dist/assets/{FollowStepsSection-YR8SDxZC-jK4GFXy_.js → FollowStepsSection-C1Nmspra-Cdu3naRV.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CxH9D6qC-D9VCs7_X.js → GlobalReviewListPage-BfVSGVJe-Bw9xs6tt.js} +1 -1
- package/dist/assets/{InformationCardStack-GuTsARmk-m7W2Cyla.js → InformationCardStack-BwgEyJER-uNbIwCBo.js} +3 -3
- package/dist/assets/{InsightsCardStack-CmTNccBr-B7V7JJKw.js → InsightsCardStack-BnEWSQ0m-VtqL0Nqc.js} +2 -2
- package/dist/assets/{InsightsSection-Bu-MplmN-Dorr_z_6.js → InsightsSection-hFNVHtei-D2NFl-zU.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-JZMYvwgs-DuQDlnR9.js → IntegrationsSettingsPage-De8DEt0a-Cw9Ydly2.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CM50BUc0-_CxvnrXr.js → InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cg0oEA0I-D1TCfpW-.js → InternationalWireVerificationPage-CPIRgDy5-DxjBH4Le.js} +3 -3
- package/dist/assets/{InviteFormPage-CDlB29vX-Dmvvor8B.js → InviteFormPage-Ca_tdccZ-C7hXm59I.js} +1 -1
- package/dist/assets/{InvitePageListView-74Ymz8Xr-JpwUJSKI.js → InvitePageListView-BQbRhQ6V-DRrSpNW9.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DxLF-5KU-CkS36yG4.js → InvitePeoplePage-BKffwOP--D-GaMZqa.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-De-7n3RO-qOxwsJtX.js → InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CzKlIsrE-CA_eEqsH.js → IssueChargeCardPage-rinAPB-d-By9lpPwl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZwyvCy5-D1-9Sm0B.js → LabeledAddressValue-kPYLLOgv-BlJjmDxn.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-k9TP-qlZ-BzpglZfd.js → LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DBnXkX-G-D4fP_6xf.js → LabeledControlledCheckBoxField-DiD9FNgO-CEPdNCHK.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CiWNHg9A-DFrwqamp.js → LabeledCountryMultiSelectField-BCYMtV4j-BR8aIp2g.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DdVE_wVv-xntEGmYo.js → LabeledCreatableSingleSelectField-Dm03LVdQ-DGBXlNr1.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DGnh1cGh-BCYe8_PA.js → LabeledDocumentField-CWqz_jSU-BI4o2Iwv.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BnaconeO-Ced0Yfaq.js → LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-Bt5PGbgf-8xamnDnk.js → LabeledMultiSelectField-C9feGqHN-OE3NSO1-.js} +1 -1
- package/dist/assets/{LabeledText-D9rbUJbs-B8rHFe3f.js → LabeledText-C91Eu04E-DW9Q389z.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-CdKxnW8j.js → LabeledUserSingleSelectWithSubtitlesField-uruIe6mr--Ku_p9uL.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DhvE24vx-B-YVtH41.js → LabeledZeniRolesDropDownField-BBpe1-wI-fb12_Q3E.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CpttcuV1-DTLtK8Xw.js → LinkJETransactionPage-Cn7He0uo-CU1EJOb0.js} +2 -2
- package/dist/assets/{LockCardPage-FMI6xt1u-BqXJz86i.js → LockCardPage-CaIor45t-fxRy_eBL.js} +1 -1
- package/dist/assets/{LowBalancePopup-UNnJZwgC-D6ASOhaV.js → LowBalancePopup-DQJYforY-CaW9bnoT.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-BPw-bzqm.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-Cp1zfiCQ.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-BzDP-7_t.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-MURH2rp8-CYwIx8kJ.js → MagicLinkSuccessPage-RsvHwQTQ-DKdw4jPk.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cyx2YimC-BzlWjntf.js → MagicLinkTitleSection-DaThYY60-DuPzkS6C.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Ro9Lxvtp-BP_WY31Z.js → MailingDetailsSection-DKs9SGYB-DpYzwmUT.js} +2 -2
- package/dist/assets/{Menu-XT10vy6U-BOoUbuzb.js → Menu-DWx47kcG-CqRpt11Z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BwD3OyXL-Da0NgCMi.js → MyBankConnectionsSettingsPage-DtnGJLK--62eLaU86.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-B4yQ0O4T-B-nL-DnD.js → MyPendingActivationChargeCardListPage-B1A2Dxw3-KQAV9F2y.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bb4QkILK-HSMShd-J.js → MyProfileSettingsPage-BHpnpTmJ-DUJX3teA.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DhLovvzt-DexTgtAK.js → NavBarWithPicker-Biz620wH-BwhpY8Dt.js} +1 -1
- package/dist/assets/{NavigationArrow-lK8LcatV-DGfMOxMA.js → NavigationArrow-CV_u5I1d-Dq_Cpl0i.js} +1 -1
- package/dist/assets/{NavigationDots-Dp0jKWtv-wJZlAbQ6.js → NavigationDots-DBshnTnS-eQudWkl3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DFt03MpW-DqMLqtG6.js → NewGlobalMerchantPage-DV2k3q5N-BcTx-Ahj.js} +1 -1
- package/dist/assets/{NoDataChart-BVStkyEY-B8WZvGsw.js → NoDataChart-DmThvRWS-pxiREfeT.js} +1 -1
- package/dist/assets/{NoDataTable-CBglXVQp-DDY10FD4.js → NoDataTable-8GCzndE4-Bqx95DdJ.js} +1 -1
- package/dist/assets/{NotFoundPage-8N4Q0cRS-l_4f29AK.js → NotFoundPage-VR72eVPP-RofDTL3E.js} +4 -4
- package/dist/assets/{NotificationSettingsPage--cl75C4Y-CI4sz5M5.js → NotificationSettingsPage-Bwf-7o4F-Aj6P3Xzl.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BvqUVi6A-BHY0be2X.js → NotificationsListConfig-Dn_RFaAK-YhpveZOf.js} +1 -1
- package/dist/assets/{NotificationsPage-ClhmC4cD-IBtrx1co.js → NotificationsPage-B8GufkTS-DUQT6vp2.js} +18 -18
- package/dist/assets/{OpExByVendorPage-B24tsc-s-D6QTllTB.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-qKQBMmtx.js → OverlayContainerPage-Daz3A7cI-jq9xEsKm.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ChmIZfeB--a2CqoGA.js → PandLWithForecastPage-GOxiUR2j-BGagWawc.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-rhNK3_SE-DvD9qIA8.js → PaymentAccountSetupBillingAddressSection-BIxsEOJG-BjXFADJ0.js} +1 -1
- package/dist/assets/{PeoplePage-PetKjS8P-_ragIp3s.js → PeoplePage-DahKRMoB-F0cHCzgT.js} +13 -13
- package/dist/assets/{Preview-BfeJRZ_s.js → Preview-CrPzNPnm.js} +1 -1
- package/dist/assets/{ProductsCarousel-DzhNUiJk-CnpcLYLM.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js} +1 -1
- package/dist/assets/{PromoBaseCards-ZTN2uS4W-CaNYBpDe.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CBtavUIz-BfsbqfyR.js → QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.js} +1 -1
- package/dist/assets/{QBOSetupSection-jcVYFWfP-BR9neq53.js → QBOSetupSection-Me828i1a-N1PCk_UL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BoarRMWS-CplZNZTA.js → ReimbursementApprovalRuleDetailPage-dID4dZbu-DAIygneU.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5hHz-7T-COzYdYAx.js → ReimbursementApprovalRulesPage-D8stgYq_-CqsPNPUT.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-YfiCLu3C-DRrFxOgG.js → ReimbursementDetailPage-DaYD1eTP-BBI-ZKs3.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CC_zFd3U-B-6fRWux.js → ReimbursementPromoPage-ClRa3wo6-GK77Fy92.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-ChjBTodZ-BokcNixy.js → ReimbursementSetUpPage-CaJCRajP-Bhbzq9G6.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DOSDVT4u-B7pg5Efr.js → ReimbursementsBulkReviewDrawerPage-BuBVWui--heWobZZd.js} +1 -1
- package/dist/assets/{ReloadCard-qzpNu5-B-VePHUMif.js → ReloadCard-DzxA-pGI-BwtgRkm9.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-kzIQLZ5u-DS78KTH3.js → ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js} +1 -1
- package/dist/assets/{ReportsPage-DVZ3Rcn1-CBE174bA.js → ReportsPage-DqXYfBQC-DTOBKK0U.js} +5 -5
- package/dist/assets/{RevenueChart-Bu8VCI9M-BYSxY3Z8.js → RevenueChart-C0vx4zUX-Uw0PsYMZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Cl2_0ldt-BqZxApRm.js → ReviewDetailsPage-DmHHVA8I-Sy4HvXq_.js} +52 -52
- package/dist/assets/{ReviewOverlay-vmoQ2B3U-XNVWskNH.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CEcusyL7-YmpTx_Di.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D9w3rUch-DKLGn-zP.js → ScheduleDetailsFixedAssetsPage-DuuvsMhX-gKNOvkFU.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-LbjrnfcH-DCCH1T9I.js → ScheduleDetailsPage-BCw7YaHZ-CsQRejR9.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-2IpjhbUO-GCUPvy0g.js → ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js} +1 -1
- package/dist/assets/{ScreenRoutes-DkDRu-4T.js → ScreenRoutes-CcDq1jZA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-p_viPmIN-BeZeCWCj.js → SetUpAccountSection-D8PGmPML-_7698rPN.js} +1 -1
- package/dist/assets/SignIn-CwWQnPnB-BjWxjduT.js +491 -0
- package/dist/assets/{SignInScreen-DLU3c9qR.js → SignInScreen-CMNwX-LP.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3i-Mkip-BJcfLEEj.js → SpendManagementListViewPage-B-EbBpvJ-ON20KKOZ.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-dTz2pMKg-CV1wRQLN.js → SpendManagementPerTabPage-DANa2aTd-C61KLHM_.js} +1 -1
- package/dist/assets/{SpendManagementSection-DKMG4ReN-CZlClCbP.js → SpendManagementSection-CXYhrJSF-CXDxQfGM.js} +7 -7
- package/dist/assets/StatementItem-DeYhvD3S-1QR10Whm.js +31 -0
- package/dist/assets/{StatementsPage-DwvWOETo-C11bqWeD.js → StatementsPage-2OCuox8g-8nyeHbc9.js} +1 -1
- package/dist/assets/{StatusSwitcher-Moxr70rd-DtIz0Sb6.js → StatusSwitcher-CfBOEbYV-jyQUqc0h.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DnCoUKmO-qRR_BP7y.js → SubTabSwitcher-LzrZe6zz-Bq05ehgW.js} +4 -4
- package/dist/assets/SummaryCard-DTbKziXk-DQjaUfYU.js +1 -0
- package/dist/assets/{TaskManagementPage-kHOwTTeJ-D1GVz39b.js → TaskManagementPage-J0L5w2Wc-ChHzcbst.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-8DihGZnj-BuenjRnY.js → TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-Dy5hbFn4-tf-sE1Tu.js → TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js +31 -0
- package/dist/assets/{TopExCard-D_okDk9T-wYnCPso1.js → TopExCard-D1k8bh_F-C0WRKW8Q.js} +1 -1
- package/dist/assets/{TopExDetailPage-pOK_Ly9f-DZHeA38W.js → TopExDetailPage-BRJ9k9hY-DGh-mViS.js} +1 -1
- package/dist/assets/{TransactionDetailPage-T1xurXsz-B4W_5S1Q.js → TransactionDetailPage-CJjGDJoM-4j_0Nnvx.js} +1 -1
- package/dist/assets/{TransactionList-DblCSg0s-Dp5Vrkhr.js → TransactionList-CLJV-J8J-DPWKYbwQ.js} +6 -6
- package/dist/assets/{TransactionListBig-JLNkkeay-kxPrn2Fz.js → TransactionListBig-CDMd8KmW-BMMhha0s.js} +1 -1
- package/dist/assets/{TransactionListPage-Cf2i0F_k-CbyopTmd.js → TransactionListPage-Dm_JZDPM-CpkM0KX9.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-B4T07nWa-DPNm9QGH.js → TransactionVendorDetailPage-BDuBQged-CAcA5ymW.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BukQB5RF-CjEiIEvy.js → TransferDrawerPage-lY_wB7eB-BHJQPQzp.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C0bQkCDh-BxK_GNbO.js → TreasuryOverviewPage-D5OetJEP-DU_svhq3.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BaXLj90f-CHTsHIFq.js → TreasuryPromoPage-8tXexPVv-CiI-0ZNb.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CNK6wX8W-D72m3AI-.js → TreasuryStatementsPage-DEOyNQFW-CWB-xLSh.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DEnUpGEu-BnF_XmM3.js → TreasuryTaxLetterPage-B2AurZ-A-Dvkl-xbT.js} +1 -1
- package/dist/assets/{TrendChart-BhcSso96-HdF7LRi9.js → TrendChart-DhH1bAfv-Bh3qy9e2.js} +1 -1
- package/dist/assets/{TrendWithTransactions-B6xQ_DkB-Cvs1eKME.js → TrendWithTransactions-BLYyM3MY-D_wSnssv.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-DDqyVfnh-eAWCdEG0.js → UncategorizedAccountsMappingPage-CFir4dX5-DJbsYjHd.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BpT6E05N-RmQBxDe9.js → UnitIntegrationPage-CHR1UsV3-CoAODj2A.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dgwmxm6G-BrPUqWPJ.js → UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CayW9AB7-DH4zWHWM.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CjsWjEGI-DSO-nYli.js → VendorACHDetailsPage-DLY7vm1r-DGGLogkV.js} +1 -1
- package/dist/assets/{VendorDetailPage-DQKnd_wl-DwLsSmFh.js → VendorDetailPage-Bl6Xaq0d-DsXiZRzL.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-B83WB2Vz-DFPT0ZYm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-monlt0GX-DhHW1Hg8.js → VendorFiling1099EditablePage-DHabnH22-CEFAMCGK.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-B_5VMGPE-DN-QZxaX.js → VendorFirstReviewPage-JhwEqiFF-kofbScrA.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Czz9BmEm-DfcATEGo.js → VendorInternationalWireDetailsPage-DKsYBIjo-D8VzNPtl.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-m_5Ao1BR.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BCxVL3Vy-BoF6gQ0C.js → VendorsAccountsSection-Bvhib6Hd-BRinGYjw.js} +3 -3
- package/dist/assets/{VerifyDevice-CzW6x8kw-B7mzxysF.js → VerifyDevice-DGjS39sh-CtcNv75O.js} +1 -1
- package/dist/assets/{VideoPlayer-B6HamlwN-DO-Ebeno.js → VideoPlayer-DufuoQRs-CzFmZCl7.js} +2 -2
- package/dist/assets/{VideoPopup-D2mt1wC7-DHjn2cBV.js → VideoPopup-1aNRmLD6-E6I5SdxR.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BbN2G_rG-D-RK3Kf3.js → WarningsDrawerPage-Bikg48FF-BUXgPrL6.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bs_CVksP-aa_P2NUV.js → ZeniAccountDetailPage-DJiB-R44-8YHKJ_Rk.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D5VNz-Hq-Cl6QAZp7.js → ZeniAccountListViewPage-BJF3-1hq-aqs0GGLS.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-Dr8RdhtI-Bb7xJeYD.js → ZeniAccountNavBarPieces-ZZoVi49V-B5zNoIEH.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DvOrXg46-D6yWqYxW.js → ZeniAccountPromoPage-VfZj6e9J-CEBstujd.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-zxlxRsQl-LI3fD0r9.js → ZeniAccountSetupPage-CfUBgLaM-ZmrhqCPO.js} +1 -1
- package/dist/assets/{ZeniCopyright-F1ki_Lss-DMCcW5zx.js → ZeniCopyright-UUk3LylG-VfT1dTbC.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CK6HDTK_-DITkaxMM.js → ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B95D_4Mz.js → add-to-wallet-DgdBD8_G-DHth-HM4.js} +1 -1
- package/dist/assets/{analytics-Cvgud8Kt.js → analytics-CxT-6Gc4.js} +1 -1
- package/dist/assets/{analyticsHelper-B9B5MkKm.js → analyticsHelper-BbgU3YZ3.js} +1 -1
- package/dist/assets/{analyticsHelper-BgGQcED5-B6zw5Y6I.js → analyticsHelper-C_CHYSrd-D1gtzETx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D4yBr92E.js → arrow-south-east-round-PEovUgvH-jJL-u3ku.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Bx6GnRAc.js → auto-transfer-rule-mbafm5D3-Bxbaldq-.js} +1 -1
- package/dist/assets/{chartTypes-Cdx27b7W-ChloPEmp.js → chartTypes-CfyGWP2E-zDFdatAv.js} +1 -1
- package/dist/assets/{commonDimensions-BIRY_wCD--kqEOvxT.js → commonDimensions-uDLC8oOH-DZ9sBzhX.js} +1 -1
- package/dist/assets/{commonTypes-DfehYs8A-BsLjL_9-.js → commonTypes-DBWmGaRi-Bvj_-gYH.js} +1 -1
- package/dist/assets/{constants-BtzoEfaK.js → constants-Dpo-zUMa.js} +1 -1
- package/dist/assets/{core-CXv949D6.js → core-CYa2vsSD.js} +1 -1
- package/dist/assets/{dash.all.min-Cqg4Xi33.js → dash.all.min-BwfoNW06.js} +1 -1
- package/dist/assets/{detailCommon-C4lCnx9f-C7pmgfja.js → detailCommon-CUjnzfBn-Bjs9ry6w.js} +3 -3
- package/dist/assets/{downloadPdf-BuszScX2-B_Z_90M1.js → downloadPdf-DZnGQqi5-DWxICXE5.js} +1 -1
- package/dist/assets/{empty-ByGWobuT.js → empty-BSEyVh8N.js} +1 -1
- package/dist/assets/{empty-DMMVJjdh.js → empty-CFYi5Ru2.js} +1 -1
- package/dist/assets/{epic-CfYPw6_1.js → epic-BaGEtIuG.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BVRdqnGH.js → gift-box-Cmt9OgIZ-D2c9pOix.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOH0Hki6.js → graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D2SwohD-.js → graphic-no-data-net-burn-l-CzmycA0m-CTFvUdJH.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B7qt1m6p.js → handshake-BPg58FML-cD35y_0x.js} +1 -1
- package/dist/assets/{index-HEX4i15-.js → index-CLqQIFvx.js} +9 -9
- package/dist/assets/{index-B7Vrs2at.js → index-D1NG7F-c.js} +1 -1
- package/dist/assets/{index-BoFx375B.js → index-DEJ7sanz.js} +1 -1
- package/dist/assets/{index-CWzyMkSf.js → index-DhBlfmDf.js} +1 -1
- package/dist/assets/{index-BoBO6goA.js → index-WnHIYL2y.js} +1 -1
- package/dist/assets/{index-sODlkJM-.js → index-o7l6M0TC.js} +1 -1
- package/dist/assets/{index-CuYWWTvq.js → index-oF3vysIj.js} +1 -1
- package/dist/assets/{lexical-DVRjsGc3.js → lexical-DzVC4tTe.js} +1 -1
- package/dist/assets/{liveblocks-Cb1r83bZ.js → liveblocks-DZksneMc.js} +1 -1
- package/dist/assets/{lottie-ChpXBaXa.js → lottie-EtzJiaFi.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-KPnNJcR6-DHEAql9w.js → mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BgJYIgvo-fV_Gwxoc.js → mapSpacerToTreeNode-D950gQIm-BVvu7Mmj.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CJZiBXdi.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-2yg-AGqh.js +1 -0
- package/dist/assets/{mui-ic6OiqS8.js → mui-Co4rhSdf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-k_jk9CoG.js → page-detail-CWX5S47F-DzQ9yNth.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-za7RGM9N.js → radio-default-CiSgisfh-DdBmb3s2.js} +1 -1
- package/dist/assets/{react-CPjX1wmE.js → react-B9BOYeX6.js} +2 -2
- package/dist/assets/{react-DK-HRtjG.js → react-BHvhexjt.js} +1 -1
- package/dist/assets/{react-gyhpZrY7.js → react-BcTgPaBt.js} +1 -1
- package/dist/assets/{react-9LgnLXOA.js → react-BfmS3tc2.js} +1 -1
- package/dist/assets/{react-Bdp1N68v.js → react-BrZdHxR5.js} +1 -1
- package/dist/assets/{react-DQZAFu6o.js → react-DaPNcQnJ.js} +1 -1
- package/dist/assets/{react-BuqZeXYc.js → react-USABo3kI.js} +1 -1
- package/dist/assets/{react-BBhRq74A.js → react-hKmyc3EK.js} +1 -1
- package/dist/assets/{recharts-C7z-lQH-.js → recharts-C4PW-81v.js} +1 -1
- package/dist/assets/{sentry-DNw4E1cx.js → sentry-Cue4MgLi.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D6nz_AIb.js → shield-DOlUxcFf-UAy-EXjs.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js +1 -0
- package/dist/assets/{toChartData-B0HFgnVy-FTnLuytJ.js → toChartData-DD8ISjzM-DQ9NjKIx.js} +1 -1
- package/dist/assets/{uploadAttachment-DlvokhTk-r6x0axxP.js → uploadAttachment-CEqqTe84-MicetzMb.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-BWHPlnz7.js → uploadReceipts-CPw64UYa-BwoznkPo.js} +1 -1
- package/dist/assets/{url-DBQRifxB.js → url-CIbQHzW3.js} +1 -1
- package/dist/assets/{url--ZPS5B7f.js → url-CpxLPhmr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DCMSiElk.js → useLongPress-GCK2COYQ-Da6NOL1P.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BHEAhb94.js → usp-line-BBd1wKwW-BZcVCehg.js} +1 -1
- package/dist/assets/{utils-BM6IYCHh.js → utils-CxOjlxtI.js} +1 -1
- package/dist/assets/{zeni-epic-state-CKYsFVFb.js → zeni-epic-state-DcWK4mxP.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-DINzCoKw.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-BJUYSoDy.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-BkvpBbKP.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DxgLQKhU.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DaBhYRdy.js +0 -1
- package/dist/assets/SignIn-DhRwLJFX-CrhLsfuP.js +0 -448
- package/dist/assets/StatementItem-Dk8gBfGY-DssA0Zy_.js +0 -31
- package/dist/assets/SummaryCard-DvdjDQ13-B4TCkks7.js +0 -1
- package/dist/assets/TimeframeSwitcherWithToggle-V2cHhGoQ-ChkncCQh.js +0 -31
- package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-N9IiH6Qb.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Bc79bIRM.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-DGQoLemv.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-D_2bOFsl.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9--OjhjG_D.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-DL5IPXlV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C__BVdeG-L2MMXLgC.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,aa as ye,F as P,h0 as ti,y as R,i2 as ii,b as Ne,k as oi,ay as tt,ck as it,b2 as ot,di as st,cr as at,j$ as rt,c as w,n as si,k0 as ai,dg as
|
|
1
|
+
import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,aa as ye,F as P,h0 as ti,y as R,i2 as ii,b as Ne,k as oi,ay as tt,ck as it,b2 as ot,di as st,cr as at,j$ as rt,c as w,n as si,k0 as ai,dg as ue,aY as ri,R as ni,M as nt,p as S,ai as li,bN as _,cP as he,g3 as pe,k1 as fe,aw as lt,a8 as dt,dq as U,fo as ct,gf as di,al as ee,ih as ci,am as H,fC as ui,aT as $e,b9 as me,k2 as hi,bK as ut,k3 as Re,bu as pi}from"./index-CLqQIFvx.js";import{a as g}from"./sentry-Cue4MgLi.js";import{n as r,c as A}from"./mui-Co4rhSdf.js";import{Gb as fi,Gc as mi,bL as K,bh as $,E7 as ht}from"./zeni-epic-state-DcWK4mxP.js";import{k as gi}from"./SubTabSwitcher-LzrZe6zz-Bq05ehgW.js";import{d as pt}from"./useLongPress-GCK2COYQ-Da6NOL1P.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-Dn_RFaAK-YhpveZOf.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="47e19299-1e31-4a18-a8a1-3d179be03de0",e._sentryDebugIdIdentifier="sentry-dbid-47e19299-1e31-4a18-a8a1-3d179be03de0")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{u(x.id)},[u]);return e.length===0?null:t.jsxs(bi,{windowSize:h,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=K(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&&
|
|
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=K(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&&hi(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)=>K(n.inboxNotification.notifiedAt.toUTCString()).isAfter(K(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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),h=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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,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"),u=$().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(h,"month").startOf("M").startOf("d"),m=$().subtract(h,"month").endOf("M").endOf("d");h++,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,K(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>K(l.inboxNotification.notifiedAt.toUTCString()).isAfter(K(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:u,notifiedAt:h},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=u!=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,ht(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:h,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 h=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:h},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const h=ci(c.url)??c.url;return t.jsx(Gi,{href:h,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Oi,{children:u},d)),c.italic===!0&&(u=t.jsx(Pi,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Bi,{children:u},d)),c.code===!0&&(u=t.jsx(Ai,{children:u},d)),t.jsx(Fi,{children:u},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;
|
|
@@ -79,7 +79,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,
|
|
|
79
79
|
color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
80
80
|
`,je=r(me)`
|
|
81
81
|
color: inherit;
|
|
82
|
-
`,Ui=r(
|
|
82
|
+
`,Ui=r(ut)`
|
|
83
83
|
flex-shrink: 0;
|
|
84
84
|
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
85
|
`,Hi=r.div`
|
|
@@ -158,7 +158,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,
|
|
|
158
158
|
align-items: baseline;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: end;
|
|
161
|
-
`,Xi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Ki={marginLeft:new R(w[2],w[5],w[7])},Qi=()=>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(Xi,{},
|
|
161
|
+
`,Xi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Ki={marginLeft:new R(w[2],w[5],w[7])},Qi=()=>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(Xi,{},ue()))})]})},eo=r.div`
|
|
162
162
|
display: block;
|
|
163
163
|
min-height: 100%;
|
|
164
164
|
flex-direction: column;
|
|
@@ -175,7 +175,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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(),
|
|
178
|
+
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),u=dt().analytics,{inboxNotification:{id:h,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(h,ht(f.metadata.url),x),f.metadata.application!=="cockpit"&&u.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,h,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,u,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(uo,{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;
|
|
@@ -235,7 +235,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,
|
|
|
235
235
|
align-items: center;
|
|
236
236
|
flex-shrink: 0;
|
|
237
237
|
justify-content: end;
|
|
238
|
-
`,
|
|
238
|
+
`,uo=r.div`
|
|
239
239
|
display: flex;
|
|
240
240
|
flex-direction: column;
|
|
241
241
|
gap: ${i.sp2};
|
|
@@ -244,7 +244,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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(),
|
|
247
|
+
`,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),ho=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:u}=he(),h=u(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:h?.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{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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=Q(),{getValues:
|
|
256
|
+
`,{common:{all:Oe}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:u}=he(),h=u(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:h?.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{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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(
|
|
265
|
+
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(ho,{...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:u,onUpdateScrollYOffset:h,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=>h(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(Qi,{}):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:u,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:u,setRowHeight:h,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&h(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:u,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ue())},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{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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"),
|
|
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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),h=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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,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"),u=$().subtract(2,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(h,"month").startOf("M").startOf("d"),m=$().subtract(h,"month").endOf("M").endOf("d");h++,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:u}=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:u,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(Xo,{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(ui,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Zo,{})},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;
|
|
@@ -368,7 +368,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,
|
|
|
368
368
|
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
369
|
`,Yo=r(me)`
|
|
370
370
|
color: inherit;
|
|
371
|
-
`,Wo=r(
|
|
371
|
+
`,Wo=r(ut)`
|
|
372
372
|
flex-shrink: 0;
|
|
373
373
|
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
374
374
|
`,Jo=r.div`
|
|
@@ -462,7 +462,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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(Ko,{}),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,{},
|
|
465
|
+
`,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Ko,{}),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,{},ue()))})]})},as=r.div`
|
|
466
466
|
display: block;
|
|
467
467
|
min-height: 100%;
|
|
468
468
|
flex-direction: column;
|
|
@@ -479,7 +479,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,
|
|
|
479
479
|
`,ls=r.div`
|
|
480
480
|
display: flex;
|
|
481
481
|
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:
|
|
482
|
+
`,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:u,activities:h},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,u,c,h.length>0?h[0].activityType:void 0)},[p,u,c,h,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ue,{children:[t.jsx(cs,{...e}),t.jsx(hs,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(us,{...e}),h.length>0&&h[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),us=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Ot,{...e})})},hs=e=>t.jsx(ms,{children:t.jsx(At,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
align-items: baseline;
|
|
@@ -561,7 +561,7 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=
|
|
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=Q(),{getValues:d}=he(),u=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((h,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:h,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:u?.includes(h.notificationId)===!0,onNotificationTileClick:l}),value:h.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{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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=Q(),{getValues:d}=
|
|
573
|
+
`,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=he(),u=d(o),h=g.useRef([]);return g.useEffect(()=>{h.current=h.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=>h.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:u?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{h.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{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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:
|
|
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:u,onFetchNotificationGroups:h,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(()=>{h()},[h]),N=g.useCallback(()=>{},[]),b=tt(L=>u(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:u,onNotificationClick:h}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&u(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:h})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},ue())},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{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP 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:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Ze}}}=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")},Xe="notificationsPage",Z="commentsNotificationsTable",X="notificationsTable",Et=20,
|
|
599
|
+
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Ze}}}=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")},Xe="notificationsPage",Z="commentsNotificationsTable",X="notificationsTable",Et=20,ua=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:u,onUpdateNotificationViewSubTab:h,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=Q(),z=v(),N=Zt({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===Z||F===X)&&(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&&Xt(()=>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(Z),we=N.watch(X),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({[Z]:y,[X]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[X]:y,[Z]: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(Kt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Zs,{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&&u(T)},subTabs:W,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&h(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(Qt,{...N,children:t.jsx("form",{id:Qe(Xe),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:Z,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:X,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Qe(Xe),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(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Ke,{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"}})},Ke=({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?Ze.notificationsSelected:Ze.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%;
|
|
@@ -682,4 +682,4 @@ import{d as Q,q as v,a9 as Zt,cC as Xt,V as t,bA as Kt,ac as Qt,aP as ei,o as i,
|
|
|
682
682
|
&:hover {
|
|
683
683
|
color: ${e=>e.theme.colors.primary};
|
|
684
684
|
}
|
|
685
|
-
`,Qe=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
|
|
685
|
+
`,Qe=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 u=d.notifications.map(h=>h.notificationId);l[le(d)]=a.filter(h=>u.includes(h))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(h=>h.inboxNotification.id);c[le(d)]=n.filter(h=>u.includes(h))}),{[Z]:c,[X]:l}},ha=(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{ua as default,ha as getSelectedNotificationIds,Qe as uniqueFormName};
|
package/dist/assets/{OpExByVendorPage-B24tsc-s-D6QTllTB.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,i1 as Ce,F as B,d as q,cb as _e,ay as xe,V as t,bM as Se,aN as we,i0 as ke,bB as ve,bA as Be,i2 as Oe,i3 as Pe,o as u,aR as Te,k as je,y as F,b2 as le,aB as ie,aT as $e,c as O,cd as De,ce as Ne,cf as Ie,bJ as Ee,p as a,al as ce,b as Z,aW as Ae}from"./index-
|
|
1
|
+
import{q as H,i1 as Ce,F as B,d as q,cb as _e,ay as xe,V as t,bM as Se,aN as we,i0 as ke,bB as ve,bA as Be,i2 as Oe,i3 as Pe,o as u,aR as Te,k as je,y as F,b2 as le,aB as ie,aT as $e,c as O,cd as De,ce as Ne,cf as Ie,bJ as Ee,p as a,al as ce,b as Z,aW as Ae}from"./index-CLqQIFvx.js";import{a as C,S as Me}from"./sentry-Cue4MgLi.js";import{n as h}from"./mui-Co4rhSdf.js";import{FX as Le}from"./zeni-epic-state-DcWK4mxP.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-CfyGWP2E-zDFdatAv.js";import{V as Re}from"./toChartData-DD8ISjzM-DQ9NjKIx.js";import{m as V}from"./analyticsHelper-C_CHYSrd-D1gtzETx.js";import{p as ze}from"./TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js";import{M as We}from"./TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js";import{C as Ke}from"./NoDataChart-DmThvRWS-pxiREfeT.js";import{d as Ye}from"./NoDataTable-8GCzndE4-Bqx95DdJ.js";import{H as Ge,Q as oe}from"./detailCommon-CUjnzfBn-Bjs9ry6w.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as J}from"./CollapsableReportTable-CRaZZnGr-DHalWth7.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-CpO1mQ6n-CJZiBXdi.js";import{d as re}from"./mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js";import{l as qe}from"./mapSpacerToTreeNode-D950gQIm-BVvu7Mmj.js";import{N as Je,I as Ue,X as Xe,Y as Qe,J as Ze,K as eo}from"./recharts-C4PW-81v.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js";import"./graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js";import"./AccountRow-Bq6uJ1hA-Vc9-Z3M-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="12c641b8-8664-4c94-a5ec-868ca3ec1785",e._sentryDebugIdIdentifier="sentry-dbid-12c641b8-8664-4c94-a5ec-868ca3ec1785")}catch{}})();const oo=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=h.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as i,V as n}from"./index-
|
|
1
|
+
import{d as i,V as n}from"./index-CLqQIFvx.js";import{n as r}from"./mui-Co4rhSdf.js";import"./sentry-Cue4MgLi.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="f5b93710-1784-4203-8657-2667e67e818e",e._sentryDebugIdIdentifier="sentry-dbid-f5b93710-1784-4203-8657-2667e67e818e")}catch{}})();const d=r.div`
|
|
2
2
|
display: ${({isOpen:e})=>e?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as o,H as A,d as L,q as v,bA as ne,F as c,n as re,aN as F,k as ie,b as ae,y as W,o as s,aB as ce,aT as le,a as de,cA as ge,bx as pe,c as $,cB as me,aR as he,aS as fe,b9 as ue,bJ as xe}from"./index-
|
|
1
|
+
import{V as o,H as A,d as L,q as v,bA as ne,F as c,n as re,aN as F,k as ie,b as ae,y as W,o as s,aB as ce,aT as le,a as de,cA as ge,bx as pe,c as $,cB as me,aR as he,aS as fe,b9 as ue,bJ as xe}from"./index-CLqQIFvx.js";import{a as M}from"./sentry-Cue4MgLi.js";import{n as r}from"./mui-Co4rhSdf.js";import{R as we}from"./NavBarWithPicker-Biz620wH-BwhpY8Dt.js";import{m as Se}from"./analyticsHelper-C_CHYSrd-D1gtzETx.js";import{M as je}from"./TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js";import{I as be,a as ye}from"./CollapsableReportTable-CRaZZnGr-DHalWth7.js";import{M as E}from"./usp-line-BBd1wKwW-BZcVCehg.js";import{F1 as $e,F2 as ke}from"./zeni-epic-state-DcWK4mxP.js";import{D as Pe,T as Ce,C as ze}from"./mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js";import"./AccountRow-Bq6uJ1hA-Vc9-Z3M-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9e8365d8-4110-4854-b4a3-b0ef6711e719",e._sentryDebugIdIdentifier="sentry-dbid-9e8365d8-4110-4854-b4a3-b0ef6711e719")}catch{}})();const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -104,4 +104,4 @@ import{V as o,H as A,d as L,q as v,bA as ne,F as c,n as re,aN as F,k as ie,b as
|
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
106
|
margin-bottom: ${s.sp3};
|
|
107
|
-
`,Ue=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:u})=>{const h=v(),f=[];for(let g=0;g<e.length;++g)f.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:f,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},
|
|
107
|
+
`,Ue=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:n,vsActualOn:a,onVsActualChanged:l,selectedTimeframe:d,onTimeframeChanged:m,onBackClick:p,isPandLReportFetching:i,onClickMenuIcon:u})=>{const h=v(),f=[];for(let g=0;g<e.length;++g)f.push(`${g}`);const x={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:f,valueToLabel:g=>e[parseInt(g)]?.name??"",selectedValue:`${t}`,titleTextStyle:ae.largeMedium,onPickerSelectionChanged:g=>{if(g!=null){const z=e[parseInt(g)];n?.(z.id,parseInt(g))}},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:i},onBackClick:p,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:u},b={toggle:{label:c.getLocalizedStrings().reports.forecast.vsActual,isOn:a,onValueChanged:l},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:d,onTimeframeSelectionChanged:g=>m?.(g)}};return o.jsxs(De,{paddingLeft:T.contentPaddingLeft.value(h),paddingRight:T.contentPaddingRight.value(h),children:[o.jsx(we,{...x}),i?"":o.jsx(We,{children:o.jsx(je,{...b})})]})},Ge=({report:e,type:t,isActualVsForecastOn:n,compareMode:a,onAccountBalanceClick:l,onCompareModeChanged:d,scrollPosition:m,onTableScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u})=>{const h=L(),f=v(),[x,b]=M.useState(void 0),[g,z]=M.useState(void 0),y=!(f==="small"||f==="medium-compact"),I=n===!0?"actual_vs_forecast":"none";return M.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:I,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:ye(t)===!0&&n===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:xe()};if(x==null||!ce(g,e)){const w=Be(e,S,y);z(e),b(w)}else{const w=Oe(x,S,e,y);b(w)}},[t,n,e]),x!=null?o.jsx(be,{backgroundColor:new le(h.colors.grey4),rootNodes:x,type:t,compareMode:a,isSticky:{isStickyHeader:y,isStickyName:y},treeNodePadding:{left:T.contentPaddingLeft.value(f),right:T.contentPaddingRight.value(f)},onAccountClick:l==null?void 0:(S,w)=>{l(S,w)},onCompareModeChanged:d,scrollPosition:m,onScroll:p,nodeOpenStatus:i,onNodeCollapseToggled:u}):null};function fo({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:n,forecastList:a,selectedForecast:l,pandLreport:d,type:m,meetingUrl:p,analytics:i,onForecastSelectionChanged:u,onTimeframeChanged:h,onForecastVsActualsCompareToggle:f,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I,onBackClick:S,onClickMenuIcon:w}){const V=[a.fetchState,d.fetchState],R=l?.index??-1;return se(V)===!0||a.fetchState==="Completed"&&a.forecasts.length===0?o.jsx(_e,{meetingUrl:p,onBackClick:S,onClickMenuIcon:w}):G([a.fetchState])===!0?o.jsx(U,{fetchState:Ye(V)}):o.jsxs(Ee,{children:[o.jsx(Ue,{forecastList:a.forecasts,selectedForecastIndex:R,onForecastSelectionChanged:(j,D)=>{i?.trackForecastSwitch(A.Event.profitAndLossWithForecast,a.forecasts[D].name),u?.(j,D)},vsActualOn:t,onVsActualChanged:j=>{i?.trackForecastVsActualMode(A.Event.profitAndLossWithForecast,a.forecasts[R].name,j),f?.(j)},selectedTimeframe:e,onTimeframeChanged:j=>{i?.trackTimeframeSwitch(Se(j),A.Event.profitAndLossWithForecast),h?.(j)},onBackClick:S,isPandLReportFetching:G([d.fetchState]),onClickMenuIcon:w}),d.fetchState==="In-Progress"?o.jsx(U,{fetchState:"In-Progress"}):o.jsx(Ve,{children:o.jsx(Ge,{report:d,type:m,isActualVsForecastOn:t,compareMode:n,onAccountBalanceClick:x,onCompareModeChanged:b,scrollPosition:g,onTableScroll:z,nodeOpenStatus:y,onNodeCollapseToggled:I})})]})}const He=e=>e.reduce((t,n)=>t===!0&&n==="Completed",!0),se=e=>e.reduce((t,n)=>t===!0||n==="Error",!1),G=e=>e.reduce((t,n)=>t===!0||n==="Not-Started"||n==="In-Progress",!1),Ye=e=>He(e)===!0?"Completed":se(e)===!0?"Error":"In-Progress";export{fo as default,G as isAnyInProgress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as ue,aO as Ne,b as ee,o as u,p as q,q as ce,V as s,bQ as Ue,d as je,cP as Me,aT as ne,F as ke,y as oe,bv as Fe,bT as Ve,al as Ae,aP as qe,ae as de,c as He,gR as Ke,am as Je,R as Ge}from"./index-
|
|
1
|
+
import{B as ue,aO as Ne,b as ee,o as u,p as q,q as ce,V as s,bQ as Ue,d as je,cP as Me,aT as ne,F as ke,y as oe,bv as Fe,bT as Ve,al as Ae,aP as qe,ae as de,c as He,gR as Ke,am as Je,R as Ge}from"./index-CLqQIFvx.js";import{S as l,a as L}from"./sentry-Cue4MgLi.js";import{n as y}from"./mui-Co4rhSdf.js";import{P as d}from"./core-CYa2vsSD.js";import{n as ae}from"./commonTypes-DBWmGaRi-Bvj_-gYH.js";import{F as Ye}from"./SetUpAccountSection-D8PGmPML-_7698rPN.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a2247429-1751-4d2f-a6a3-891b77ce13b9",t._sentryDebugIdIdentifier="sentry-dbid-a2247429-1751-4d2f-a6a3-891b77ce13b9")}catch{}})();function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(r),!0).forEach(function(n){Ie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}function Ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Ze(t)||Xe(t,e)||Qe(t,e)||et()}function Ze(t){if(Array.isArray(t))return t}function Xe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,c,p;try{for(r=r.call(t);!(o=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));o=!0);}catch(a){i=!0,p=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw p}}return n}}function Qe(t,e){if(t){if(typeof t=="string")return me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return me(t,e)}}function me(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var b=0;b<a.length;b+=1)h[a[b]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var P=e,x=r,S=function(I){return t(P[I],x[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,P=function(S){h(function(E){return E.stripe?E:{stripe:S,elements:S.elements(n)}})};return i.tag==="async"&&!a.stripe?i.stripePromise.then(function(x){x&&m&&P(x)}):i.tag==="sync"&&!a.stripe&&P(i.stripe),function(){m=!1}},[i,a,n]);var f=ie(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var b=ie(n);return l.useEffect(function(){if(a.elements){var m=Oe(n,b,["clientSecret","fonts"]);m&&a.elements.update(m)}},[n,b,a.elements]),l.useEffect(function(){at(a.stripe)},[a.stripe]),l.createElement(re.Provider,{value:a},o)};Te.propTypes={stripe:d.any,options:d.object};var it=function(e){var r=l.useContext(re);return Re(r,e)},st=function(){var e=it("calls useElements()"),r=e.elements;return r};d.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var ct=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},lt=l.createContext(null);lt.displayName="CustomCheckoutContext";d.any,d.shape({clientSecret:d.string.isRequired,elementsOptions:d.object}).isRequired;var se=function(e){var r=l.useContext(_e),n=l.useContext(re);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?ct(r,e):Re(n,e)},ut=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e,r){var n="".concat(ut(e),"Element"),o=function(a){var h=a.id,f=a.className,b=a.options,m=b===void 0?{}:b,P=a.onBlur,x=a.onFocus,S=a.onReady,E=a.onChange,I=a.onEscape,U=a.onClick,M=a.onLoadError,F=a.onLoaderStart,z=a.onNetworksChange,$=a.onConfirm,K=a.onCancel,B=a.onShippingAddressChange,N=a.onShippingRateChange,R=se("mounts <".concat(n,">")),_="elements"in R?R.elements:null,w="customCheckoutSdk"in R?R.customCheckoutSdk:null,T=l.useState(null),D=$e(T,2),g=D[0],W=D[1],j=l.useRef(null),V=l.useRef(null);k(g,"blur",P),k(g,"focus",x),k(g,"escape",I),k(g,"click",U),k(g,"loaderror",M),k(g,"loaderstart",F),k(g,"networkschange",z),k(g,"confirm",$),k(g,"cancel",K),k(g,"shippingaddresschange",B),k(g,"shippingratechange",N),k(g,"change",E);var J;S&&(e==="expressCheckout"?J=S:J=function(){S(g)}),k(g,"ready",J),l.useLayoutEffect(function(){if(j.current===null&&V.current!==null&&(_||w)){var O=null;w?O=w.createElement(e,m):_&&(O=_.create(e,m)),j.current=O,W(O),O&&O.mount(V.current)}},[_,w,m]);var le=ie(m);return l.useEffect(function(){if(j.current){var O=Oe(m,le,["paymentRequest"]);O&&j.current.update(O)}},[m,le]),l.useLayoutEffect(function(){return function(){if(j.current&&typeof j.current.destroy=="function")try{j.current.destroy(),j.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:V})},i=function(a){se("mounts <".concat(n,">"));var h=a.id,f=a.className;return l.createElement("div",{id:h,className:f})},c=r?i:o;return c.propTypes={id:d.string,className:d.string,onChange:d.func,onBlur:d.func,onFocus:d.func,onReady:d.func,onEscape:d.func,onClick:d.func,onLoadError:d.func,onLoaderStart:d.func,onNetworksChange:d.func,onConfirm:d.func,onCancel:d.func,onShippingAddressChange:d.func,onShippingRateChange:d.func,options:d.object},c.displayName=n,c.__elementType=e,c},C=typeof window>"u",dt=l.createContext(null);dt.displayName="EmbeddedCheckoutProviderContext";var pt=function(){var e=se("calls useStripe()"),r=e.stripe;return r};v("auBankAccount",C);v("card",C);var ye=v("cardNumber",C),Se=v("cardExpiry",C),ve=v("cardCvc",C);v("fpxBank",C);v("iban",C);v("idealBank",C);v("p24Bank",C);v("epsBank",C);v("payment",C);v("expressCheckout",C);v("paymentRequestButton",C);v("linkAuthentication",C);v("address",C);v("shippingAddress",C);v("paymentMethodMessaging",C);v("affirmMessage",C);v("afterpayClearpayMessage",C);var De="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var mt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(De,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},Ce=function(e){var r="",n=document.createElement("script");n.src="".concat(De).concat(r);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},G=null,X=null,Q=null,gt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return G!==null?G:(G=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var o=mt();if(!(o&&e)){if(!o)o=Ce(e);else if(o&&Q!==null&&X!==null){var i;o.removeEventListener("load",Q),o.removeEventListener("error",X),(i=o.parentNode)===null||i===void 0||i.removeChild(o),o=Ce(e)}}Q=yt(r,n),X=gt(n),o.addEventListener("load",Q),o.addEventListener("error",X)}catch(c){n(c);return}}),G.catch(function(r){return G=null,Promise.reject(r)}))},vt=function(e,r,n){if(e===null)return null;var o=e.apply(void 0,r);return ht(o,n),o},Y,We=!1,ze=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return ze()}).catch(function(t){We||console.warn(t)});var Ct=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var o=Date.now();return ze().then(function(i){return vt(i,r,o)})};const bt={containerHeight:new oe(656,720)},xt=y.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|