mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
refactor(gitops): migrate git form to react [EE-4849] (#8268)
This commit is contained in:
parent
afe6cd6df0
commit
273a3f9a10
130 changed files with 3194 additions and 1190 deletions
|
@ -38,13 +38,18 @@ import { PortainerSelect } from '@@/form-components/PortainerSelect';
|
|||
import { Slider } from '@@/form-components/Slider';
|
||||
import { TagButton } from '@@/TagButton';
|
||||
import { BETeaserButton } from '@@/BETeaserButton';
|
||||
import { TimeWindowDisplay } from '@@/TimeWindowDisplay';
|
||||
|
||||
import { fileUploadField } from './file-upload-field';
|
||||
import { switchField } from './switch-field';
|
||||
import { customTemplatesModule } from './custom-templates';
|
||||
import { gitFormModule } from './git-form';
|
||||
|
||||
export const componentsModule = angular
|
||||
.module('portainer.app.react.components', [customTemplatesModule])
|
||||
.module('portainer.app.react.components', [
|
||||
customTemplatesModule,
|
||||
gitFormModule,
|
||||
])
|
||||
.component(
|
||||
'tagSelector',
|
||||
r2a(withUIRouter(withReactQuery(TagSelector)), [
|
||||
|
@ -232,4 +237,8 @@ export const componentsModule = angular
|
|||
'porAccessManagementUsersSelector',
|
||||
r2a(PorAccessManagementUsersSelector, ['onChange', 'options', 'value'])
|
||||
)
|
||||
.component('edgeKeyDisplay', r2a(EdgeKeyDisplay, ['edgeKey'])).name;
|
||||
.component('edgeKeyDisplay', r2a(EdgeKeyDisplay, ['edgeKey']))
|
||||
.component(
|
||||
'timeWindowDisplay',
|
||||
r2a(withReactQuery(withUIRouter(TimeWindowDisplay)), [])
|
||||
).name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue