mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-29 16:12:55 +00:00
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
import { t } from '@/locales'
|
|
const input_type_list = [
|
|
{
|
|
label: t('dynamicsForm.input_type_list.TextInput'),
|
|
value: 'TextInput',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.PasswordInput'),
|
|
value: 'PasswordInput',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.Slider'),
|
|
value: 'Slider',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.SwitchInput'),
|
|
value: 'SwitchInput',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.SingleSelect'),
|
|
value: 'SingleSelect',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.MultiSelect'),
|
|
value: 'MultiSelect',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.DatePicker'),
|
|
value: 'DatePicker',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.JsonInput'),
|
|
value: 'JsonInput',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.RadioCard'),
|
|
value: 'RadioCard',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.RadioRow'),
|
|
value: 'RadioRow',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.UploadInput'),
|
|
value: 'UploadInput',
|
|
},
|
|
{
|
|
label: t('dynamicsForm.input_type_list.TextareaInput'),
|
|
value: 'TextareaInput',
|
|
},
|
|
]
|
|
export { input_type_list }
|