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.
 
 
 
 
StackGenVis/frontend/node_modules/vue-cli-plugin-vuetify/prompts.js

83 lines
1.8 KiB

const path = require('path')
const resolve = file => path.resolve(__dirname, file)
const iconfonts = require(resolve('./util/iconfonts.js'))
const presets = require(resolve('./util/presets.js'))
const locales = require(resolve('./util/locales.js'))
function isCustom (answers) {
return answers.preset === 'configure'
}
module.exports = [
{
name: 'preset',
message: 'Choose a preset:',
type: 'list',
choices: [
...presets,
{ name: 'Configure (advanced)', value: 'configure' },
],
default: 'default',
},
{
name: 'replaceComponents',
type: 'confirm',
message: 'Use a pre-made template? (will replace App.vue and HelloWorld.vue)',
default: true,
when: isCustom,
},
{
name: 'useTheme',
type: 'confirm',
message: 'Use custom theme?',
default: false,
when: isCustom,
},
{
name: 'useCustomProperties',
type: 'confirm',
message: 'Use custom properties (CSS variables)?',
default: false,
when: isCustom,
},
{
name: 'iconFont',
type: 'list',
message: 'Select icon font',
choices: iconfonts,
default: 'mdi',
when: isCustom,
},
{
name: 'installFonts',
type: 'confirm',
message: 'Use fonts as a dependency (for Electron or offline)?',
default: false,
when: isCustom,
},
{
name: 'useAlaCarte',
type: 'confirm',
message: 'Use a-la-carte components?',
default: true,
when: isCustom,
},
{
name: 'usePolyfill',
type: 'confirm',
message: 'Use babel/polyfill?',
default: true,
when: answers => {
return isCustom(answers) && !answers.useAlaCarte
},
},
{
name: 'locale',
type: 'list',
message: 'Select locale',
choices: locales,
default: 'en',
when: isCustom,
},
]