2022-05-17 04:22:44 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
2022-06-26 14:16:50 +00:00
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
2022-08-11 04:33:29 +00:00
|
|
|
import { StackContainersDatatable } from '@/react/docker/stacks/ItemView/StackContainersDatatable';
|
2022-06-26 14:16:50 +00:00
|
|
|
import { ContainerQuickActions } from '@/react/docker/containers/components/ContainerQuickActions';
|
2022-07-20 19:27:15 +00:00
|
|
|
import { TemplateListDropdownAngular } from '@/react/docker/app-templates/TemplateListDropdown';
|
|
|
|
import { TemplateListSortAngular } from '@/react/docker/app-templates/TemplateListSort';
|
2022-06-26 14:16:50 +00:00
|
|
|
|
|
|
|
export const componentsModule = angular
|
|
|
|
.module('portainer.docker.react.components', [])
|
|
|
|
.component(
|
|
|
|
'containerQuickActions',
|
|
|
|
r2a(ContainerQuickActions, [
|
|
|
|
'containerId',
|
|
|
|
'nodeName',
|
|
|
|
'state',
|
|
|
|
'status',
|
|
|
|
'taskId',
|
|
|
|
])
|
2022-07-20 19:27:15 +00:00
|
|
|
)
|
|
|
|
.component('templateListDropdown', TemplateListDropdownAngular)
|
2022-08-11 04:33:29 +00:00
|
|
|
.component('templateListSort', TemplateListSortAngular)
|
|
|
|
.component(
|
|
|
|
'stackContainersDatatable',
|
|
|
|
r2a(StackContainersDatatable, ['environment', 'stackName'])
|
|
|
|
).name;
|