2024-04-02 19:26:22 +00:00
|
|
|
import angular from 'angular';
|
|
|
|
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
2024-04-11 06:49:38 +00:00
|
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
2024-04-02 19:26:22 +00:00
|
|
|
import { NamespacesDatatable } from '@/react/kubernetes/namespaces/ListView/NamespacesDatatable';
|
2024-04-02 19:55:34 +00:00
|
|
|
import { NamespaceAppsDatatable } from '@/react/kubernetes/namespaces/ItemView/NamespaceAppsDatatable';
|
2024-04-11 06:49:38 +00:00
|
|
|
import { NamespaceAccessDatatable } from '@/react/kubernetes/namespaces/AccessView/AccessDatatable';
|
2024-04-02 19:26:22 +00:00
|
|
|
|
|
|
|
export const namespacesModule = angular
|
|
|
|
.module('portainer.kubernetes.react.components.namespaces', [])
|
|
|
|
.component(
|
|
|
|
'kubernetesNamespacesDatatable',
|
2024-10-01 01:15:51 +00:00
|
|
|
r2a(withUIRouter(withCurrentUser(NamespacesDatatable)), [])
|
2024-04-02 19:55:34 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'kubernetesNamespaceApplicationsDatatable',
|
|
|
|
r2a(withUIRouter(withCurrentUser(NamespaceAppsDatatable)), [
|
|
|
|
'dataset',
|
|
|
|
'isLoading',
|
|
|
|
'onRefresh',
|
|
|
|
])
|
2024-04-11 06:49:38 +00:00
|
|
|
)
|
|
|
|
.component(
|
|
|
|
'namespaceAccessDatatable',
|
|
|
|
r2a(withUIRouter(withReactQuery(NamespaceAccessDatatable)), [
|
|
|
|
'dataset',
|
|
|
|
'onRemove',
|
|
|
|
])
|
2024-04-02 19:26:22 +00:00
|
|
|
).name;
|