index.ts 3.52 KB
const t = window['$t']

export const animations = [
  {
    label: t('external.animation.emphAnimationText'),
    children: [
      { label: t('external.animation.bounceText'), value: 'bounce' },
      { label: t('external.animation.flashText'), value: 'flash' },
      { label: t('external.animation.zoomText'), value: 'pulse' },
      { label: t('external.animation.zoomSpringText'), value: 'rubberBand' },
      { label: t('external.animation.shakeText'), value: 'headShake' },
      { label: t('external.animation.swingText'), value: 'swing' },
      { label: t('external.animation.zoomShakeText'), value: 'tada' },
      { label: t('external.animation.shapedText'), value: 'wobble' },
      { label: t('external.animation.shakeDownText'), value: 'jello' },
    ]
  },
  {
    label: t('external.animation.moveAnimationText'),
    children: [
      { label: t('external.animation.fadeIn'), value: 'fadeIn' },
      { label: t('external.animation.fadeInLeft'), value: 'fadeInLeft' },
      { label: t('external.animation.fadeInRight'), value: 'fadeInRight' },
      { label: t('external.animation.fadeInUp'), value: 'fadeInUp' },
      { label: t('external.animation.fadeInDown'), value: 'fadeInDown' },
      { label: t('external.animation.fadeInLeftBig'), value: 'fadeInLeftBig' },
      { label: t('external.animation.fadeInRightBig'), value: 'fadeInRightBig' },
      { label: t('external.animation.fadeInUpBig'), value: 'fadeInUpBig' },
      { label: t('external.animation.fadeInDownBig'), value: 'fadeInDownBig' },
      { label: t('external.animation.rotateIn'), value: 'rotateIn' },
      { label: t('external.animation.rotateInDownLeft'), value: 'rotateInDownLeft' },
      { label: t('external.animation.rotateInDownRight'), value: 'rotateInDownRight' },
      { label: t('external.animation.rotateInUpLeft'), value: 'rotateInUpLeft' },
      { label: t('external.animation.rotateInUpRight'), value: 'rotateInUpRight' },
      { label: t('external.animation.bounceIn'), value: 'bounceIn' },
      { label: t('external.animation.bounceInLeft'), value: 'bounceInLeft' },
      { label: t('external.animation.bounceInRight'), value: 'bounceInRight' },
      { label: t('external.animation.bounceInUp'), value: 'bounceInUp' },
      { label: t('external.animation.bounceInDown'), value: 'bounceInDown' },
      { label: t('external.animation.lightSpeedInRight'), value: 'lightSpeedInRight' },
      { label: t('external.animation.lightSpeedInLeft'), value: 'lightSpeedInLeft' },
      { label: t('external.animation.lightSpeedOutRight'), value: 'lightSpeedOutRight' },
      { label: t('external.animation.lightSpeedOutLeft'), value: 'lightSpeedOutLeft' },
      { label: t('external.animation.flip'), value: 'flip' },
      { label: t('external.animation.flipInX'), value: 'flipInX' },
      { label: t('external.animation.flipInY'), value: 'flipInY' },
      { label: t('external.animation.rollIn'), value: 'rollIn' },
      { label: t('external.animation.zoomIn'), value: 'zoomIn' },
      { label: t('external.animation.zoomInLeft'), value: 'zoomInLeft' },
      { label: t('external.animation.zoomInRight'), value: 'zoomInRight' },
      { label: t('external.animation.zoomInUp'), value: 'zoomInUp' },
      { label: t('external.animation.zoomInDown'), value: 'zoomInDown' },
      { label: t('external.animation.slideInLeft'), value: 'slideInLeft' },
      { label: t('external.animation.slideInRight'), value: 'slideInRight' },
      { label: t('external.animation.slideInUp'), value: 'slideInUp' },
      { label: t('external.animation.slideInDown'), value: 'slideInDown' },

    ]
  }
]