2022-05-17 07:22:44 +03:00
|
|
|
import angular from 'angular';
|
|
|
|
|
2022-09-20 21:14:24 +03:00
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
2022-11-21 09:51:55 +02:00
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
2022-09-20 21:14:24 +03:00
|
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
2022-11-21 09:51:55 +02:00
|
|
|
import { WaitingRoomView } from '@/react/edge/edge-devices/WaitingRoomView';
|
2023-11-14 12:57:27 +02:00
|
|
|
import { ListView as EdgeGroupsListView } from '@/react/edge/edge-groups/ListView';
|
2022-09-20 21:14:24 +03:00
|
|
|
|
2023-11-14 14:54:44 +02:00
|
|
|
import { templatesModule } from './templates';
|
2024-04-04 16:25:32 +03:00
|
|
|
import { jobsModule } from './jobs';
|
2024-05-06 08:08:03 +03:00
|
|
|
import { stacksModule } from './edge-stacks';
|
2023-11-14 14:54:44 +02:00
|
|
|
|
2022-09-20 21:14:24 +03:00
|
|
|
export const viewsModule = angular
|
2024-05-06 08:08:03 +03:00
|
|
|
.module('portainer.edge.react.views', [
|
|
|
|
templatesModule,
|
|
|
|
jobsModule,
|
|
|
|
stacksModule,
|
|
|
|
])
|
2022-11-21 09:51:55 +02:00
|
|
|
.component(
|
|
|
|
'waitingRoomView',
|
|
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(WaitingRoomView))), [])
|
2023-07-12 18:26:52 +04:00
|
|
|
)
|
2023-11-14 12:57:27 +02:00
|
|
|
.component(
|
|
|
|
'edgeGroupsView',
|
|
|
|
r2a(withUIRouter(withCurrentUser(EdgeGroupsListView)), [])
|
2022-09-20 21:14:24 +03:00
|
|
|
).name;
|