37 lines
No EOL
888 B
JavaScript
37 lines
No EOL
888 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 }; }
|
|
|
|
var _default = _vue.default.extend({
|
|
name: 'sizeable',
|
|
props: {
|
|
large: Boolean,
|
|
small: Boolean,
|
|
xLarge: Boolean,
|
|
xSmall: Boolean
|
|
},
|
|
computed: {
|
|
medium: function medium() {
|
|
return Boolean(!this.xSmall && !this.small && !this.large && !this.xLarge);
|
|
},
|
|
sizeableClasses: function sizeableClasses() {
|
|
return {
|
|
'v-size--x-small': this.xSmall,
|
|
'v-size--small': this.small,
|
|
'v-size--default': this.medium,
|
|
'v-size--large': this.large,
|
|
'v-size--x-large': this.xLarge
|
|
};
|
|
}
|
|
}
|
|
});
|
|
|
|
exports.default = _default;
|
|
//# sourceMappingURL=index.js.map
|