2022-05-17 04:22:44 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
2022-08-11 04:33:29 +00:00
|
|
|
import { ItemView as NetworksItemView } from '@/react/docker/networks/ItemView';
|
2022-06-26 14:16:50 +00:00
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
2022-09-20 18:14:24 +00:00
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
2024-05-20 06:34:51 +00:00
|
|
|
import { DashboardView } from '@/react/docker/DashboardView/DashboardView';
|
2024-08-28 19:41:15 +00:00
|
|
|
import { ListView } from '@/react/docker/events/ListView';
|
2022-06-26 14:16:50 +00:00
|
|
|
|
2022-08-11 04:33:29 +00:00
|
|
|
import { containersModule } from './containers';
|
|
|
|
|
2022-06-26 14:16:50 +00:00
|
|
|
export const viewsModule = angular
|
2022-08-11 04:33:29 +00:00
|
|
|
.module('portainer.docker.react.views', [containersModule])
|
2024-05-20 06:34:51 +00:00
|
|
|
.component(
|
|
|
|
'dockerDashboardView',
|
|
|
|
r2a(withUIRouter(withCurrentUser(DashboardView)), [])
|
|
|
|
)
|
2024-08-28 19:41:15 +00:00
|
|
|
.component('eventsListView', r2a(withUIRouter(withCurrentUser(ListView)), []))
|
2022-07-17 23:02:14 +00:00
|
|
|
.component(
|
2022-09-20 18:14:24 +00:00
|
|
|
'networkDetailsView',
|
2024-05-20 06:34:51 +00:00
|
|
|
r2a(withUIRouter(withCurrentUser(NetworksItemView)), [])
|
2022-09-20 18:14:24 +00:00
|
|
|
).name;
|