
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';

const UserCardMeta: IPublicTypeComponentMetadata = {
  "group": '低代码组件',
  "componentName": "UserCard",
  "title": "UserCard",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "category": '信息展示',
  "npm": {
    "package": "@dckj-npm/dc-material",
    "version": "0.1.149",
    "exportName": "UserCard",
    "main": "src/index.tsx",
    "destructuring": true,
    "subName": ""
  },
  "configure": {
    "props": [
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "contentBg",
            "zh-CN": "contentBg"
          }
        },
        "name": "contentBg",
        "setter": {
          "componentName": "StringSetter",
          "isRequired": false,
          "initialValue": "https://pts.dct99.com/hro/api/upload/2024/202412/20241226/1069607404548788224.jpg"
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "headImg",
            "zh-CN": "headImg"
          }
        },
        "name": "headImg",
        "setter": {
          "componentName": "StringSetter",
          "isRequired": false,
          "initialValue": "https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "userName",
            "zh-CN": "userName"
          }
        },
        "name": "userName",
        "setter": {
          "componentName": "StringSetter",
          "isRequired": false,
          "initialValue": "你哈"
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "levelImg",
            "zh-CN": "levelImg"
          }
        },
        "name": "levelImg",
        "setter": {
          "componentName": "StringSetter",
          "isRequired": false,
          "initialValue": "https://pts.dct99.com/hro/api/upload/2024/202412/20241207/1062771672945397760.png"
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "isLogin",
            "zh-CN": "isLogin"
          }
        },
        "name": "isLogin",
        "setter": {
          "componentName": "BoolSetter",
          "isRequired": false,
          "initialValue": false
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "handleClick",
            "zh-CN": "handleClick"
          }
        },
        "name": "handleClick",
        "setter": {
          "componentName": "FunctionSetter",
        }
      }
    ],
    "supports": {
      "style": true
    },
    "component": {}
  }
};
const snippets: IPublicTypeSnippet[] = [
  {
    "title": "UserCard",
    "screenshot": "",
    "schema": {
      "componentName": "UserCard",
      "props": {}
    }
  }
];

export default {
  ...UserCardMeta,
  snippets
};
