34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import angular from 'angular';
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
|
import { HelmRepositoryDatatable } from '@/react/portainer/account/AccountView/HelmRepositoryDatatable';
|
|
import { AccessTokensDatatable } from '@/react/portainer/account/AccountView/AccessTokensDatatable';
|
|
import { ApplicationSettingsWidget } from '@/react/portainer/account/AccountView/ApplicationSettings';
|
|
|
|
export const accountModule = angular
|
|
.module('portainer.app.react.components.account', [])
|
|
.component(
|
|
'applicationSettingsWidget',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(ApplicationSettingsWidget))),
|
|
[]
|
|
)
|
|
)
|
|
.component(
|
|
'helmRepositoryDatatable',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(HelmRepositoryDatatable))),
|
|
[]
|
|
)
|
|
)
|
|
.component(
|
|
'accessTokensDatatable',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(AccessTokensDatatable))),
|
|
[]
|
|
)
|
|
).name;
|