import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';

const PinVerifyModalMeta: ComponentMetadata = {
  componentName: 'PinVerifyModal',
  title: 'PinVerifyModal',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  npm: {
    package: '@pisell/private-materials',
    version: '1.1.558',
    exportName: 'PinVerifyModal',
    main: 'src/index.ts',
    destructuring: true,
    subName: '',
  },
  configure: {
    props: [
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'onOpen',
            'zh-CN': 'onOpen',
          },
        },
        name: 'onOpen',
        setter: {
          componentName: 'FunctionSetter',
          isRequired: false,
        },
      },
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'onClose',
            'zh-CN': 'onClose',
          },
        },
        name: 'onClose',
        setter: {
          componentName: 'FunctionSetter',
          isRequired: false,
        },
      },
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'onSuccess',
            'zh-CN': 'onSuccess',
          },
        },
        name: 'onSuccess',
        setter: {
          componentName: 'FunctionSetter',
          isRequired: false,
        },
      },
    ],
    supports: {},
    component: {},
  },
};
const snippets: Snippet[] = [
  {
    title: 'PinVerifyModal',
    screenshot: '',
    schema: {
      componentName: 'PinVerifyModal',
      props: {},
    },
  },
];

export default {
  ...PinVerifyModalMeta,
  snippets,
};
