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-07-12 14:26:52 +00:00
|
|
|
import { ListView } from '@/react/edge/edge-stacks/ListView';
|
2022-09-20 18:14:24 +00:00
|
|
|
|
|
|
|
export const viewsModule = angular
|
|
|
|
.module('portainer.edge.react.views', [])
|
2022-11-21 07:51:55 +00:00
|
|
|
.component(
|
|
|
|
'waitingRoomView',
|
|
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(WaitingRoomView))), [])
|
2023-07-12 14:26:52 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'edgeStacksView',
|
|
|
|
r2a(withUIRouter(withCurrentUser(ListView)), [])
|
2022-09-20 18:14:24 +00:00
|
|
|
).name;
|