2018-11-05 08:29:05 +00:00
|
|
|
import ngModule from '../../module';
|
|
|
|
import './style.scss';
|
|
|
|
|
2018-11-29 15:03:59 +00:00
|
|
|
export default class Controller {
|
|
|
|
constructor() {
|
|
|
|
this.actionsText = {
|
|
|
|
'insert': 'Creates',
|
|
|
|
'update': 'Updates',
|
|
|
|
'delete': 'Deletes',
|
|
|
|
'select': 'Views'
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-05 08:29:05 +00:00
|
|
|
ngModule.component('vnLog', {
|
2018-11-29 15:03:59 +00:00
|
|
|
controller: Controller,
|
2018-11-05 08:29:05 +00:00
|
|
|
template: require('./index.html'),
|
|
|
|
bindings: {
|
|
|
|
model: '<'
|
|
|
|
}
|
|
|
|
});
|