mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 12:25:22 +02:00
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
69 lines
2.4 KiB
TypeScript
69 lines
2.4 KiB
TypeScript
import angular from 'angular';
|
|
|
|
import { HomeView } from '@/react/portainer/HomeView';
|
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
|
import { CreateUserAccessToken } from '@/react/portainer/account/CreateAccessTokenView';
|
|
import { EdgeComputeSettingsView } from '@/react/portainer/settings/EdgeComputeView/EdgeComputeSettingsView';
|
|
import { EdgeAutoCreateScriptView } from '@/react/portainer/environments/EdgeAutoCreateScriptView';
|
|
import { ListView as EnvironmentsListView } from '@/react/portainer/environments/ListView';
|
|
import { BackupSettingsPanel } from '@/react/portainer/settings/SettingsView/BackupSettingsView/BackupSettingsPanel';
|
|
import { SettingsView } from '@/react/portainer/settings/SettingsView/SettingsView';
|
|
import { CreateHelmRepositoriesView } from '@/react/portainer/account/helm-repositories/CreateHelmRepositoryView';
|
|
|
|
import { wizardModule } from './wizard';
|
|
import { teamsModule } from './teams';
|
|
import { updateSchedulesModule } from './update-schedules';
|
|
|
|
export const viewsModule = angular
|
|
.module('portainer.app.react.views', [
|
|
wizardModule,
|
|
teamsModule,
|
|
updateSchedulesModule,
|
|
])
|
|
.component(
|
|
'homeView',
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(HomeView))), [])
|
|
)
|
|
.component(
|
|
'edgeAutoCreateScriptView',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(EdgeAutoCreateScriptView))),
|
|
[]
|
|
)
|
|
)
|
|
.component(
|
|
'createUserAccessToken',
|
|
r2a(
|
|
withReactQuery(withCurrentUser(withUIRouter(CreateUserAccessToken))),
|
|
[]
|
|
)
|
|
)
|
|
.component(
|
|
'settingsEdgeCompute',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(EdgeComputeSettingsView))),
|
|
['onSubmit', 'settings']
|
|
)
|
|
)
|
|
.component(
|
|
'environmentsListView',
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(EnvironmentsListView))), [])
|
|
)
|
|
.component(
|
|
'backupSettingsPanel',
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(BackupSettingsPanel))), [])
|
|
)
|
|
.component(
|
|
'settingsView',
|
|
r2a(withUIRouter(withReactQuery(withCurrentUser(SettingsView))), [])
|
|
)
|
|
.component(
|
|
'createHelmRepositoryView',
|
|
r2a(
|
|
withUIRouter(withReactQuery(withCurrentUser(CreateHelmRepositoriesView))),
|
|
[]
|
|
)
|
|
).name;
|