front salix component to vnComponent working
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-07-24 14:55:01 +02:00
parent c62801e741
commit fbd020e600
8 changed files with 8 additions and 8 deletions

View File

@ -107,7 +107,7 @@ export class DescriptorContent {
}
DescriptorContent.$inject = ['$transclude', 'vnModules'];
ngModule.component('vnDescriptorContent', {
ngModule.vnComponent('vnDescriptorContent', {
template: require('./index.html'),
controller: DescriptorContent,
bindings: {

View File

@ -2,7 +2,7 @@ import ngModule from '../../module';
export default class QuickLink {}
ngModule.component('vnQuickLink', {
ngModule.vnComponent('vnQuickLink', {
template: require('./quick-link.html'),
controller: QuickLink,
bindings: {

View File

@ -28,7 +28,7 @@ export default class Controller extends Component {
}
Controller.$inject = ['$element', '$scope', 'vnModules', '$sce'];
ngModule.component('vnHome', {
ngModule.vnComponent('vnHome', {
template: require('./home.html'),
controller: Controller
});

View File

@ -21,7 +21,7 @@ export class Layout extends Component {
}
Layout.$inject = ['$element', '$scope', 'vnModules'];
ngModule.component('vnLayout', {
ngModule.vnComponent('vnLayout', {
template: require('./index.html'),
controller: Layout,
require: {

View File

@ -117,7 +117,7 @@ export default class LeftMenu {
}
LeftMenu.$inject = ['$state', '$transitions', 'aclService', '$timeout', '$element'];
ngModule.component('vnLeftMenu', {
ngModule.vnComponent('vnLeftMenu', {
template: require('./left-menu.html'),
controller: LeftMenu,
bindings: {

View File

@ -37,7 +37,7 @@ export default class Controller {
}
Controller.$inject = ['$scope', '$element', 'vnAuth'];
ngModule.component('vnLogin', {
ngModule.vnComponent('vnLogin', {
template: require('./login.html'),
controller: Controller
});

View File

@ -68,7 +68,7 @@ export default class SideMenu extends Component {
}
}
ngModule.component('vnSideMenu', {
ngModule.vnComponent('vnSideMenu', {
template: require('./side-menu.html'),
controller: SideMenu,
transclude: true,

View File

@ -80,7 +80,7 @@ class Controller {
}
Controller.$inject = ['$scope', '$translate', 'vnConfig', 'vnAuth'];
ngModule.component('vnUserPopover', {
ngModule.vnComponent('vnUserPopover', {
template: require('./index.html'),
controller: Controller
});