Files
aida_front/src/component/home/tools/poseTransfer/prompt.ts
2025-11-14 15:10:32 +08:00

31 lines
1.5 KiB
TypeScript

export const getFirstAndLastFrame = (t: (key: string) => string) => [
{ id: '1', type: 'text', value: t('poseTransfer.firstAndLastFrameText1') },
{
id: '2',
type: 'input',
value: '',
placeholder: t('poseTransfer.firstAndLastFramePlaceholder1')
},
{ id: '3', type: 'text', value: t('poseTransfer.firstAndLastFrameText2') },
{ id: '4', type: 'input', value: '', placeholder: t('poseTransfer.firstAndLastFramePlaceholder2') },
{
id: '5',
type: 'text',
value: t('poseTransfer.firstAndLastFrameText3')
}
]
export const getFirstFrame = (t: (key: string) => string) => [
{ id: '1', type: 'text', value: t('poseTransfer.firstFrameText1') },
{ id: '2', type: 'input', value: '', placeholder: t('poseTransfer.firstFramePlaceholder1') },
{ id: '3', type: 'text', value: t('poseTransfer.firstFrameText2') },
{ id: '4', type: 'input', value: '', placeholder: t('poseTransfer.firstFramePlaceholder2') },
{ id: '5', type: 'text', value: t('poseTransfer.firstFrameText3') },
{ id: '6', type: 'input', value: '', placeholder: t('poseTransfer.firstFramePlaceholder3') },
{ id: '7', type: 'text', value: t('poseTransfer.firstFrameText4') },
{ id: '8', type: 'input', value: '', placeholder: t('poseTransfer.firstFramePlaceholder4') },
{ id: '9', type: 'text', value: t('poseTransfer.firstFrameText5') },
{ id: '10', type: 'input', value: '', placeholder: t('poseTransfer.firstFramePlaceholder5') },
{ id: '11', type: 'text', value: t('poseTransfer.firstFrameText6') }
]