Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import config from 'veui/managers/config'
config.defaults(
{
ui: {
size: {
values: ['large', 'small']
}
}
},
'switch'
)
import 'veui-theme-one-icons/chevron-down'
import config from 'veui/managers/config'
config.defaults(
{
icons: {
expand: 'chevron-down',
collapse: 'chevron-down'
},
ui: {
size: {
values: ['large', 'small', 'tiny', 'micro'],
inherit: true
},
style: {
values: ['primary'],
inherit: true
},
role: {
values: ['link'],
import config from 'veui/managers/config'
config.defaults(
{
ui: {
style: {
values: ['alt'],
inherit: true
},
size: {
values: ['large', 'small', 'tiny', 'micro'],
inherit: true
}
}
},
'radiobuttongroup'
)
import '../icons/angle-left'
import '../icons/angle-right'
import config from 'veui/managers/config'
config.defaults({
'pagination.icons': {
prev: 'angle-left',
next: 'angle-right'
}
})
import 'veui-theme-one-icons/upload'
import 'veui-theme-one-icons/times'
import 'veui-theme-one-icons/check'
import 'veui-theme-one-icons/paperclip'
import 'veui-theme-one-icons/sync-alt'
import 'veui-theme-one-icons/plus'
import 'veui-theme-one-icons/exclamation-circle'
import config from 'veui/managers/config'
config.defaults(
{
icons: {
upload: 'upload',
clear: 'times',
success: 'check',
redo: 'sync-alt',
file: 'paperclip',
add: 'plus',
alert: 'exclamation-circle'
},
ui: {
direction: {
values: ['horizontal']
}
},
parts: {
import 'veui-theme-dls-icons/plus'
import 'veui-theme-dls-icons/minus'
import config from 'veui/managers/config'
const ICON_MAP = {
normal: {
increase: 'chevron-up',
decrease: 'chevron-down'
},
strong: {
increase: 'plus',
decrease: 'minus'
}
}
config.defaults(
{
ui: {
size: {
values: ['xs', 's', 'm'],
default: 'm',
inherit: true
},
style: {
values: ['normal', 'strong'],
default: 'normal'
}
},
parts: {
spinner: ''
},
icons: {
import 'veui-theme-one-icons/chevron-right'
import config from 'veui/managers/config'
config.defaults(
{
icons: {
expandable: 'chevron-right'
}
},
'optiongroup'
)
import 'veui-theme-one-icons/chevron-left'
import 'veui-theme-one-icons/chevron-down'
import 'veui-theme-one-icons/chevron-right'
import config from 'veui/managers/config'
config.defaults(
{
icons: {
prev: 'chevron-left',
next: 'chevron-right',
expand: 'chevron-down'
}
},
'calendar'
)
import 'veui-theme-one-icons/chevron-right'
import config from 'veui/managers/config'
config.defaults(
{
icons: {
expand: 'chevron-right',
collapse: 'chevron-right'
},
ui: {
slim: {
boolean: true
},
alt: {
boolean: true
},
bordered: {
boolean: true
}
}
import config from 'veui/managers/config'
config.defaults(
{
ui: {
size: {
values: ['s', 'm'],
inherit: true,
default: 'm'
}
}
},
'radiogroup'
)