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/VContent/VContent.js

57 lines
1.5 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/VContent/VContent.sass");
var _ssrBootable = _interopRequireDefault(require("../../mixins/ssr-bootable"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Styles
// Mixins
/* @vue/component */
var _default = _ssrBootable.default.extend({
name: 'v-content',
props: {
tag: {
type: String,
default: 'main'
}
},
computed: {
styles: function styles() {
var _this$$vuetify$applic = this.$vuetify.application,
bar = _this$$vuetify$applic.bar,
top = _this$$vuetify$applic.top,
right = _this$$vuetify$applic.right,
footer = _this$$vuetify$applic.footer,
insetFooter = _this$$vuetify$applic.insetFooter,
bottom = _this$$vuetify$applic.bottom,
left = _this$$vuetify$applic.left;
return {
paddingTop: "".concat(top + bar, "px"),
paddingRight: "".concat(right, "px"),
paddingBottom: "".concat(footer + insetFooter + bottom, "px"),
paddingLeft: "".concat(left, "px")
};
}
},
render: function render(h) {
var data = {
staticClass: 'v-content',
style: this.styles,
ref: 'content'
};
return h(this.tag, data, [h('div', {
staticClass: 'v-content__wrap'
}, this.$slots.default)]);
}
});
exports.default = _default;
//# sourceMappingURL=VContent.js.map