1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00
portainer/app/kubernetes/react/views/index.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1,018 B
TypeScript
Raw Normal View History

import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
2022-09-22 16:12:19 +12:00
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { YAMLReplace } from '@/kubernetes/react/views/yamlReplace';
import { IngressesDatatableView } from '@/react/kubernetes/ingresses/IngressDatatable';
import { CreateIngressView } from '@/react/kubernetes/ingresses/CreateIngressView';
export const viewsModule = angular
.module('portainer.kubernetes.react.views', [])
2022-09-22 16:12:19 +12:00
.component(
'kubernetesIngressesView',
r2a(
withUIRouter(withReactQuery(withCurrentUser(IngressesDatatableView))),
[]
)
)
.component(
'kubernetesIngressesCreateView',
r2a(withUIRouter(withReactQuery(withCurrentUser(CreateIngressView))), [])
)
.component(
'yamlReplace',
r2a(withUIRouter(withReactQuery(withCurrentUser(YAMLReplace))), [
'featureId',
])
2022-09-22 16:12:19 +12:00
).name;