2023-09-07 14:19:03 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
2023-10-22 09:32:05 +00:00
|
|
|
import { ServicesDatatable } from '@/react/docker/services/ListView/ServicesDatatable';
|
2023-10-23 10:52:49 +00:00
|
|
|
import { TasksDatatable } from '@/react/docker/services/ItemView/TasksDatatable';
|
2023-09-07 14:19:03 +00:00
|
|
|
|
|
|
|
export const servicesModule = angular
|
|
|
|
.module('portainer.docker.react.components.services', [])
|
|
|
|
.component(
|
|
|
|
'dockerServiceTasksDatatable',
|
2023-10-23 10:52:49 +00:00
|
|
|
r2a(withUIRouter(withCurrentUser(TasksDatatable)), [
|
|
|
|
'serviceName',
|
|
|
|
'dataset',
|
|
|
|
'isSlotColumnVisible',
|
2023-09-07 14:19:03 +00:00
|
|
|
])
|
2023-10-22 09:32:05 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'dockerServicesDatatable',
|
|
|
|
r2a(withUIRouter(withCurrentUser(ServicesDatatable)), [
|
|
|
|
'dataset',
|
|
|
|
'isAddActionVisible',
|
|
|
|
'isStackColumnVisible',
|
|
|
|
'onRefresh',
|
|
|
|
'titleIcon',
|
|
|
|
])
|
2023-09-07 14:19:03 +00:00
|
|
|
).name;
|