49 lines
947 B
TypeScript
49 lines
947 B
TypeScript
|
|
import type { OptionItem, SettingOption } from './types'
|
||
|
|
|
||
|
|
export const styleKeys: string[] = [
|
||
|
|
'Venetian Modern',
|
||
|
|
'Coastal',
|
||
|
|
'Maximalism',
|
||
|
|
'Memphis',
|
||
|
|
'Verdant',
|
||
|
|
'Century Chrome',
|
||
|
|
'Modern Revival',
|
||
|
|
'Transitional',
|
||
|
|
"Tuscan 2000's",
|
||
|
|
'Kitsch-core',
|
||
|
|
'Bauhaus',
|
||
|
|
'Constructivism',
|
||
|
|
'Nordic Noir',
|
||
|
|
'Dopamine',
|
||
|
|
'Squiggle'
|
||
|
|
]
|
||
|
|
|
||
|
|
export const optionTagOrder = ['type', 'area', 'style'] as const
|
||
|
|
|
||
|
|
export const createTypeOptions = (): OptionItem[] => [
|
||
|
|
{
|
||
|
|
label: 'Input.types.sofa',
|
||
|
|
value: 'Sofa'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: 'Input.types.desk',
|
||
|
|
value: 'Desk'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: 'Input.types.chair',
|
||
|
|
value: 'Chair'
|
||
|
|
}
|
||
|
|
]
|
||
|
|
|
||
|
|
export const createStyleOptions = (): OptionItem[] =>
|
||
|
|
styleKeys.map((key) => ({
|
||
|
|
label: key,
|
||
|
|
value: key
|
||
|
|
}))
|
||
|
|
|
||
|
|
export const createSettingOptions = (): SettingOption[] => [
|
||
|
|
{ label: 'Input.settingOptions.first', value: 50 },
|
||
|
|
{ label: 'Input.settingOptions.second', value: 50 },
|
||
|
|
{ label: 'Input.settingOptions.third', value: 50 }
|
||
|
|
]
|