import ngModule from '../module'; import DescriptorPopover from 'salix/components/descriptor-popover'; class Controller extends DescriptorPopover { show(parent, id, lineFk, dated) { super.show(parent, id); this.lineFk = lineFk; this.dated = dated; } hide() { super.hide(); this.lineFk = null; this.dated = null; } } ngModule.vnComponent('vnItemDescriptorPopover', { slotTemplate: require('./index.html'), controller: Controller, bindings: { warehouseFk: '