front salix component to vnComponent working
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c62801e741
commit
fbd020e600
|
@ -107,7 +107,7 @@ export class DescriptorContent {
|
||||||
}
|
}
|
||||||
DescriptorContent.$inject = ['$transclude', 'vnModules'];
|
DescriptorContent.$inject = ['$transclude', 'vnModules'];
|
||||||
|
|
||||||
ngModule.component('vnDescriptorContent', {
|
ngModule.vnComponent('vnDescriptorContent', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
controller: DescriptorContent,
|
controller: DescriptorContent,
|
||||||
bindings: {
|
bindings: {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import ngModule from '../../module';
|
||||||
|
|
||||||
export default class QuickLink {}
|
export default class QuickLink {}
|
||||||
|
|
||||||
ngModule.component('vnQuickLink', {
|
ngModule.vnComponent('vnQuickLink', {
|
||||||
template: require('./quick-link.html'),
|
template: require('./quick-link.html'),
|
||||||
controller: QuickLink,
|
controller: QuickLink,
|
||||||
bindings: {
|
bindings: {
|
||||||
|
|
|
@ -28,7 +28,7 @@ export default class Controller extends Component {
|
||||||
}
|
}
|
||||||
Controller.$inject = ['$element', '$scope', 'vnModules', '$sce'];
|
Controller.$inject = ['$element', '$scope', 'vnModules', '$sce'];
|
||||||
|
|
||||||
ngModule.component('vnHome', {
|
ngModule.vnComponent('vnHome', {
|
||||||
template: require('./home.html'),
|
template: require('./home.html'),
|
||||||
controller: Controller
|
controller: Controller
|
||||||
});
|
});
|
||||||
|
|
|
@ -21,7 +21,7 @@ export class Layout extends Component {
|
||||||
}
|
}
|
||||||
Layout.$inject = ['$element', '$scope', 'vnModules'];
|
Layout.$inject = ['$element', '$scope', 'vnModules'];
|
||||||
|
|
||||||
ngModule.component('vnLayout', {
|
ngModule.vnComponent('vnLayout', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
controller: Layout,
|
controller: Layout,
|
||||||
require: {
|
require: {
|
||||||
|
|
|
@ -117,7 +117,7 @@ export default class LeftMenu {
|
||||||
}
|
}
|
||||||
LeftMenu.$inject = ['$state', '$transitions', 'aclService', '$timeout', '$element'];
|
LeftMenu.$inject = ['$state', '$transitions', 'aclService', '$timeout', '$element'];
|
||||||
|
|
||||||
ngModule.component('vnLeftMenu', {
|
ngModule.vnComponent('vnLeftMenu', {
|
||||||
template: require('./left-menu.html'),
|
template: require('./left-menu.html'),
|
||||||
controller: LeftMenu,
|
controller: LeftMenu,
|
||||||
bindings: {
|
bindings: {
|
||||||
|
|
|
@ -37,7 +37,7 @@ export default class Controller {
|
||||||
}
|
}
|
||||||
Controller.$inject = ['$scope', '$element', 'vnAuth'];
|
Controller.$inject = ['$scope', '$element', 'vnAuth'];
|
||||||
|
|
||||||
ngModule.component('vnLogin', {
|
ngModule.vnComponent('vnLogin', {
|
||||||
template: require('./login.html'),
|
template: require('./login.html'),
|
||||||
controller: Controller
|
controller: Controller
|
||||||
});
|
});
|
||||||
|
|
|
@ -68,7 +68,7 @@ export default class SideMenu extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngModule.component('vnSideMenu', {
|
ngModule.vnComponent('vnSideMenu', {
|
||||||
template: require('./side-menu.html'),
|
template: require('./side-menu.html'),
|
||||||
controller: SideMenu,
|
controller: SideMenu,
|
||||||
transclude: true,
|
transclude: true,
|
||||||
|
|
|
@ -80,7 +80,7 @@ class Controller {
|
||||||
}
|
}
|
||||||
Controller.$inject = ['$scope', '$translate', 'vnConfig', 'vnAuth'];
|
Controller.$inject = ['$scope', '$translate', 'vnConfig', 'vnAuth'];
|
||||||
|
|
||||||
ngModule.component('vnUserPopover', {
|
ngModule.vnComponent('vnUserPopover', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
controller: Controller
|
controller: Controller
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue