export default [
  {
    title: '邮箱地址',
    screenshot: '',
    schema: {
      componentName: 'PisellEmail',
      props: {
        mode: 'edit',
        placeholder: '请输入邮箱地址',
      },
    },
  },
  {
    title: '邮箱地址（域名补全）',
    screenshot: '',
    schema: {
      componentName: 'PisellEmail',
      props: {
        mode: 'edit',
        enableAutoComplete: true,
        placeholder: '输入@后自动提示域名',
      },
    },
  },
  {
    title: '邮箱地址（只读可发邮件）',
    screenshot: '',
    schema: {
      componentName: 'PisellEmail',
      props: {
        mode: 'read',
        value: 'user@example.com',
        enableMailto: true,
        displayAsLink: true,
      },
    },
  },
  {
    title: '邮箱地址（域名隐藏）',
    screenshot: '',
    schema: {
      componentName: 'PisellEmail',
      props: {
        mode: 'read',
        value: 'user@example.com',
        hideDomain: true,
        maskPattern: 'partial',
      },
    },
  },
  {
    title: '邮箱地址（公司邮箱）',
    screenshot: '',
    schema: {
      componentName: 'PisellEmail',
      props: {
        mode: 'edit',
        allowedDomains: ['company.com'],
        placeholder: '请使用公司邮箱',
      },
    },
  },
];
