32 lines
988 B
JavaScript
32 lines
988 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = void 0;
|
||
|
|
||
|
var _vue = _interopRequireDefault(require("vue"));
|
||
|
|
||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||
|
|
||
|
// Types
|
||
|
|
||
|
/* @vue/component */
|
||
|
var _default = _vue.default.extend({
|
||
|
name: 'v-list-item-action',
|
||
|
functional: true,
|
||
|
render: function render(h, _ref) {
|
||
|
var data = _ref.data,
|
||
|
_ref$children = _ref.children,
|
||
|
children = _ref$children === void 0 ? [] : _ref$children;
|
||
|
data.staticClass = data.staticClass ? "v-list-item__action ".concat(data.staticClass) : 'v-list-item__action';
|
||
|
var filteredChild = children.filter(function (VNode) {
|
||
|
return VNode.isComment === false && VNode.text !== ' ';
|
||
|
});
|
||
|
if (filteredChild.length > 1) data.staticClass += ' v-list-item__action--stack';
|
||
|
return h('div', data, children);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
exports.default = _default;
|
||
|
//# sourceMappingURL=VListItemAction.js.map
|