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'];
|
||||
|
||||
ngModule.component('vnDescriptorContent', {
|
||||
ngModule.vnComponent('vnDescriptorContent', {
|
||||
template: require('./index.html'),
|
||||
controller: DescriptorContent,
|
||||
bindings: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
});
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
});
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -80,7 +80,7 @@ class Controller {
|
|||
}
|
||||
Controller.$inject = ['$scope', '$translate', 'vnConfig', 'vnAuth'];
|
||||
|
||||
ngModule.component('vnUserPopover', {
|
||||
ngModule.vnComponent('vnUserPopover', {
|
||||
template: require('./index.html'),
|
||||
controller: Controller
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue