2024-05-06 05:08:03 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
|
|
import { CreateView } from '@/react/edge/edge-stacks/CreateView/CreateView';
|
2024-05-09 15:02:20 +00:00
|
|
|
import { ItemView } from '@/react/edge/edge-stacks/ItemView/ItemView';
|
|
|
|
import { ListView } from '@/react/edge/edge-stacks/ListView';
|
2024-05-06 05:08:03 +00:00
|
|
|
|
|
|
|
export const stacksModule = angular
|
|
|
|
.module('portainer.edge.react.views.stacks', [])
|
|
|
|
.component(
|
|
|
|
'edgeStacksCreateView',
|
|
|
|
r2a(withCurrentUser(withUIRouter(CreateView)), [])
|
2024-05-09 15:02:20 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'edgeStacksItemView',
|
|
|
|
r2a(withCurrentUser(withUIRouter(ItemView)), [])
|
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'edgeStacksView',
|
|
|
|
r2a(withUIRouter(withCurrentUser(ListView)), [])
|
2024-05-06 05:08:03 +00:00
|
|
|
).name;
|