my-test123
Version:
A planner front-end for Fabric8.
37 lines • 1.53 kB
JavaScript
import { Component, Input, Output, EventEmitter, ViewEncapsulation } from '@angular/core';
var WorkItemCellComponent = /** @class */ (function () {
function WorkItemCellComponent() {
this.onDetailPreview = new EventEmitter();
this.onQuickPreview = new EventEmitter();
this.clickLabel = new EventEmitter();
}
WorkItemCellComponent.prototype.onDetail = function (Event, id) {
this.onDetailPreview.emit(id);
};
WorkItemCellComponent.prototype.labelClick = function (event) {
this.clickLabel.emit(event);
};
WorkItemCellComponent.prototype.onPreview = function (Event, id) {
this.onQuickPreview.emit(id);
};
WorkItemCellComponent.decorators = [
{ type: Component, args: [{
encapsulation: ViewEncapsulation.None,
selector: 'work-item-cell',
template: require('./work-item-cell.component.html'),
styles: [require('./work-item-cell.component.css').toString()]
},] },
];
/** @nocollapse */
WorkItemCellComponent.ctorParameters = function () { return []; };
WorkItemCellComponent.propDecorators = {
'col': [{ type: Input },],
'row': [{ type: Input },],
'onDetailPreview': [{ type: Output },],
'onQuickPreview': [{ type: Output },],
'clickLabel': [{ type: Output },],
};
return WorkItemCellComponent;
}());
export { WorkItemCellComponent };
//# sourceMappingURL=work-item-cell.component.js.map