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

const ProductStockCheckModalMeta: ComponentMetadata = {
  componentName: 'ProductStockCheckModal',
  title: 'ProductStockCheckModal',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  npm: {
    package: '@pisell/private-materials',
    version: '1.1.558',
    exportName: 'ProductStockCheckModal',
    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': 'onContinue',
            'zh-CN': 'onContinue',
          },
        },
        name: 'onContinue',
        setter: {
          componentName: 'FunctionSetter',
          isRequired: false,
        },
      },
      {
        title: {
          label: {
            type: 'i18n',
            'en-US': 'onReturn',
            'zh-CN': 'onReturn',
          },
        },
        name: 'onReturn',
        setter: {
          componentName: 'FunctionSetter',
          isRequired: false,
        },
      },
    ],
    supports: {},
    component: {},
  },
};
const snippets: Snippet[] = [
  {
    title: 'ProductStockCheckModal',
    screenshot: '',
    schema: {
      componentName: 'ProductStockCheckModal',
      props: {},
    },
  },
];

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