import { __decorate, __extends } from "tslib";
import Component from 'vue-class-component';
import { Emit, Prop } from 'vue-property-decorator';
import { ModulVue } from '../../utils/vue/vue';
import { TABLE_HEADER_NAME } from '../component-names';
import { MIconButtonSkin } from '../icon-button/icon-button';
import { MLink } from '../link/link';
import WithRender from './table-header.html?style=./table-header.scss';
var MTableHeader = /** @class */ (function (_super) {
    __extends(MTableHeader, _super);
    function MTableHeader() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.addButtonSkin = MIconButtonSkin.Link;
        return _this;
    }
    MTableHeader.prototype.add = function () {
    };
    __decorate([
        Prop()
    ], MTableHeader.prototype, "addBtnLabel", void 0);
    __decorate([
        Emit('add')
    ], MTableHeader.prototype, "add", null);
    MTableHeader = __decorate([
        WithRender,
        Component({
            components: {
                MLink: MLink
            }
        })
    ], MTableHeader);
    return MTableHeader;
}(ModulVue));
export { MTableHeader };
var TableHeaderPlugin = {
    install: function (v, options) {
        v.component(TABLE_HEADER_NAME, MTableHeader);
    }
};
export default TableHeaderPlugin;
//# sourceMappingURL=table-header.js.map