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