This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/es5/components/VDataTable/VDataTableHeader.js

44 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-08-11 18:48:02 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
require("../../../src/components/VDataTable/VDataTableHeader.sass");
var _vue = _interopRequireDefault(require("vue"));
var _dedupeModelListeners = _interopRequireDefault(require("../../util/dedupeModelListeners"));
var _rebuildFunctionalSlots = _interopRequireDefault(require("../../util/rebuildFunctionalSlots"));
var _VDataTableHeaderMobile = _interopRequireDefault(require("./VDataTableHeaderMobile"));
var _VDataTableHeaderDesktop = _interopRequireDefault(require("./VDataTableHeaderDesktop"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = _vue.default.extend({
name: 'v-data-table-header',
functional: true,
props: {
mobile: Boolean
},
render: function render(h, _ref) {
var props = _ref.props,
data = _ref.data,
slots = _ref.slots;
(0, _dedupeModelListeners.default)(data);
var children = (0, _rebuildFunctionalSlots.default)(slots(), h);
if (props.mobile) {
return h(_VDataTableHeaderMobile.default, data, children);
} else {
return h(_VDataTableHeaderDesktop.default, data, children);
}
}
});
exports.default = _default;
//# sourceMappingURL=VDataTableHeader.js.map