StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.0 KiB
80 lines
2.0 KiB
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
import Vue from '../../utils/vue';
|
|
import { getComponentConfig, getBreakpoints } from '../../utils/config';
|
|
import { isString } from '../../utils/inspect';
|
|
import normalizeSlotMixin from '../../mixins/normalize-slot';
|
|
var NAME = 'BNavbar';
|
|
export var props = {
|
|
tag: {
|
|
type: String,
|
|
default: 'nav'
|
|
},
|
|
type: {
|
|
type: String,
|
|
default: 'light'
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: function _default() {
|
|
return getComponentConfig(NAME, 'variant');
|
|
}
|
|
},
|
|
toggleable: {
|
|
type: [Boolean, String],
|
|
default: false
|
|
},
|
|
fixed: {
|
|
type: String
|
|
},
|
|
sticky: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
print: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}; // @vue/component
|
|
|
|
export var BNavbar =
|
|
/*#__PURE__*/
|
|
Vue.extend({
|
|
name: NAME,
|
|
mixins: [normalizeSlotMixin],
|
|
props: props,
|
|
provide: function provide() {
|
|
return {
|
|
bvNavbar: this
|
|
};
|
|
},
|
|
computed: {
|
|
breakpointClass: function breakpointClass() {
|
|
var breakpoint = null;
|
|
var xs = getBreakpoints()[0];
|
|
var toggleable = this.toggleable;
|
|
|
|
if (toggleable && isString(toggleable) && toggleable !== xs) {
|
|
breakpoint = "navbar-expand-".concat(toggleable);
|
|
} else if (toggleable === false) {
|
|
breakpoint = 'navbar-expand';
|
|
}
|
|
|
|
return breakpoint;
|
|
}
|
|
},
|
|
render: function render(h) {
|
|
var _ref;
|
|
|
|
return h(this.tag, {
|
|
staticClass: 'navbar',
|
|
class: [(_ref = {
|
|
'd-print': this.print,
|
|
'sticky-top': this.sticky
|
|
}, _defineProperty(_ref, "navbar-".concat(this.type), this.type), _defineProperty(_ref, "bg-".concat(this.variant), this.variant), _defineProperty(_ref, "fixed-".concat(this.fixed), this.fixed), _ref), this.breakpointClass],
|
|
attrs: {
|
|
role: this.tag === 'nav' ? null : 'navigation'
|
|
}
|
|
}, [this.normalizeSlot('default')]);
|
|
}
|
|
}); |