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


const PisellSelectCustomerModalMeta: ComponentMetadata = {
  componentName: "PisellSelectCustomerModal",
  title: "PisellSelectCustomerModal",
  docUrl: "",
  screenshot: "",
  devMode: "proCode",
  npm: {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "PisellSelectCustomerModal",
    "main": "src/index.ts",
    "destructuring": true,
    "subName": ""
  },
  props: [
    {
      title: "value",
      name: "value",
      setter: ["JsonSetter", "VariableSetter"],
    },
    {
      title: "弹层的配置项",
      name: "popoverProps",
      setter: ["JsonSetter", "VariableSetter"],
    },
    {
      title: "客户卡片的配置项",
      name: "cardProps",
      setter: ["JsonSetter", "VariableSetter"],
    },
    {
      title: "虚拟键盘组件的配置项",
      name: "virtualKeyboardProps",
      setter: ["JsonSetter", "VariableSetter"],
    },
    {
      title: "键盘组件的属性",
      name: "keyboardProps",
      setter: ["JsonSetter", "VariableSetter"],
    },
    {
      title: "虚拟输入框的属性",
      name: "virtualKeyInputProps",
      setter: ["JsonSetter", "VariableSetter"],
    }
  ],
  configure: {
    supports: {
      style: true,
      events: [
        {
          name: "onChange",
          template:
            "onChange(event,${extParams}){\n// 点击时的回调\nconsole.log('onClick', event);}",
        },
      ],
    },
    component: {
      isContainer: true,
    },
  },
};
const snippets: Snippet[] = [
  {
    title: "PisellSelectCustomerModal",
    screenshot: "",
    schema: {
      componentName: "PisellSelectCustomerModal",
      props: {},
    },
  },
];

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