2022-02-07 12:03:14 +03:00
|
|
|
//
|
|
|
|
// Copyright © 2020, 2021 Anticrm Platform Contributors.
|
|
|
|
// Copyright © 2021, 2022 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2022-09-21 11:08:25 +03:00
|
|
|
import { Resources } from '@hcengineering/platform'
|
2022-02-11 12:18:55 +03:00
|
|
|
import NotificationsPopup from './components/NotificationsPopup.svelte'
|
2022-02-22 12:09:13 +03:00
|
|
|
import NotificationSettings from './components/NotificationSettings.svelte'
|
2022-02-25 12:04:57 +03:00
|
|
|
import NotificationPresenter from './components/NotificationPresenter.svelte'
|
|
|
|
import LastViewEditor from './components/LastViewEditor.svelte'
|
2022-02-28 06:42:06 +03:00
|
|
|
import { NotificationClientImpl } from './utils'
|
2022-02-07 12:03:14 +03:00
|
|
|
|
|
|
|
export * from './utils'
|
2022-02-11 12:18:55 +03:00
|
|
|
|
2022-06-30 14:24:19 +03:00
|
|
|
export { default as BrowserNotificatator } from './components/BrowserNotificatator.svelte'
|
|
|
|
|
2022-02-11 12:18:55 +03:00
|
|
|
export default async (): Promise<Resources> => ({
|
|
|
|
component: {
|
2022-02-22 12:09:13 +03:00
|
|
|
NotificationsPopup,
|
2022-02-25 12:04:57 +03:00
|
|
|
NotificationPresenter,
|
|
|
|
NotificationSettings,
|
|
|
|
LastViewEditor
|
2022-02-28 06:42:06 +03:00
|
|
|
},
|
|
|
|
function: {
|
|
|
|
GetNotificationClient: NotificationClientImpl.getClient
|
2022-02-11 12:18:55 +03:00
|
|
|
}
|
|
|
|
})
|