You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/azure/react/views/index.ts

30 lines
1.1 KiB

import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { CreateView } from '@/react/azure/container-instances/CreateView';
import { ItemView } from '@/react/azure/container-instances/ItemView';
import { ListView } from '@/react/azure/container-instances/ListView';
import { DashboardView } from '@/react/azure/DashboardView';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { withUIRouter } from '@/react-tools/withUIRouter';
export const viewsModule = angular
.module('portainer.azure.react.views', [])
.component(
'containerInstanceView',
r2a(withUIRouter(withReactQuery(withCurrentUser(ItemView))), [])
)
.component(
'createContainerInstanceView',
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateView))), [])
)
.component(
'containerInstancesView',
r2a(withUIRouter(withReactQuery(withCurrentUser(ListView))), [])
)
.component(
'dashboardView',
r2a(withUIRouter(withReactQuery(withCurrentUser(DashboardView))), [])
).name;