2022-05-17 04:22:44 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
2022-07-26 19:44:08 +00:00
|
|
|
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';
|
|
|
|
|
|
|
|
export const viewsModule = angular
|
|
|
|
.module('portainer.azure.react.views', [])
|
|
|
|
.component('containerInstanceView', r2a(ItemView, []))
|
|
|
|
.component('createContainerInstanceView', r2a(CreateView, []))
|
|
|
|
.component('containerInstancesView', r2a(ListView, []))
|
|
|
|
.component('dashboardView', r2a(DashboardView, [])).name;
|