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.
68 lines
1.6 KiB
68 lines
1.6 KiB
4 years ago
|
import Vue, { Component, PluginFunction, PluginObject } from 'vue'
|
||
|
|
||
|
// Plugin Config Options
|
||
|
export type BvConfigComponentOptionValue =
|
||
|
| string
|
||
|
| string[]
|
||
|
| number
|
||
|
| number[]
|
||
|
| boolean
|
||
|
| object
|
||
|
| null
|
||
|
export type BvConfigBreakpointsValue = string[]
|
||
|
export interface BvConfigComponentOptions {
|
||
|
[key: string]: BvConfigComponentOptionValue | any
|
||
|
}
|
||
|
export interface BvConfigOptions {
|
||
|
breakpoints?: BvConfigBreakpointsValue
|
||
|
[key: string]: BvConfigComponentOptions | any
|
||
|
}
|
||
|
|
||
|
// Plugin definition
|
||
|
export interface BvPlugin extends PluginObject<BvConfigOptions> {
|
||
|
install: PluginFunction<BvConfigOptions>
|
||
|
}
|
||
|
|
||
|
// Component base definition
|
||
|
export class BvComponent extends Vue {
|
||
|
// Simple catch-all to allow any prop/type
|
||
|
[key: string]: any
|
||
|
}
|
||
|
|
||
|
// Generic BvEvent Object
|
||
|
export interface BvEvent {
|
||
|
readonly type: string
|
||
|
readonly cancelable: boolean
|
||
|
readonly nativeEvent: any
|
||
|
readonly target: any
|
||
|
readonly relatedTarget: any
|
||
|
readonly defaultPrevented: boolean
|
||
|
readonly vueTarget: Vue | Component | null
|
||
|
readonly componentId: string | null
|
||
|
preventDefault: () => void
|
||
|
// Catch all
|
||
|
[key: string]: any
|
||
|
}
|
||
|
|
||
|
// Vue prototype augments
|
||
|
import './vue-injections'
|
||
|
|
||
|
// BvConfig Plugin
|
||
|
export * from './bv-config'
|
||
|
|
||
|
// Components & Plugins
|
||
|
export * from './components'
|
||
|
|
||
|
// Icons & Plugin
|
||
|
export * from './icons'
|
||
|
|
||
|
// Directives & Plugins
|
||
|
export * from './directives'
|
||
|
|
||
|
// BootstrapVue plugin
|
||
|
export interface BootstrapVuePlugin extends BvPlugin {
|
||
|
setConfig: (config: BvConfigOptions) => void
|
||
|
}
|
||
|
export declare const BootstrapVue: BootstrapVuePlugin
|
||
|
export default BootstrapVue
|