portainer/app/edge/components/index.ts

15 lines
506 B
TypeScript

import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { EdgeScriptForm } from '@/react/edge/components/EdgeScriptForm';
import { EdgeCheckinIntervalFieldAngular } from './EdgeCheckInIntervalField';
export const componentsModule = angular
.module('app.edge.components', [])
.component(
'edgeScriptForm',
r2a(EdgeScriptForm, ['edgeInfo', 'commands', 'isNomadTokenVisible'])
)
.component('edgeCheckinIntervalField', EdgeCheckinIntervalFieldAngular).name;