v-tables-3
Version:
Vue.js 3 grid components
29 lines (26 loc) • 1.04 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var getThStyle = require('../../mixins/get-th-style');
var _default = {
name: 'RLHeadingRow',
inject: ['opts', 'theme', 'hasChildRow', 'allColumns', 'toggleAllRows', 'componentsOverride'],
mixins: [getThStyle],
render: function render() {
return this.$slots["default"]({
override: this.componentsOverride.headingsRow,
theme: this.theme,
opts: this.opts(),
columns: this.allColumns(),
selectable: this.opts().selectable.mode && !this.opts().selectable.programmatic,
thStyle: this.getThStyle(),
toggleAll: this.toggleAllRows,
hasChildRow: this.hasChildRow,
childRowTogglerFirst: this.hasChildRow() && this.opts().showChildRowToggler && this.opts().childRowTogglerFirst,
childRowTogglerLast: this.hasChildRow() && this.opts().showChildRowToggler && !this.opts().childRowTogglerFirst
});
}
};
exports["default"] = _default;