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

const VerticalAddServiceMeta: ComponentMetadata = {
  "componentName": "VerticalAddService",
  "title": "VerticalAddService",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "VerticalAddService",
    "main": "src/index.ts",
    "destructuring": true,
    "subName": ""
  },
  "configure": {
    "props": [
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "style",
            "zh-CN": "style"
          }
        },
        "name": "style",
        "setter": {
          "componentName": "MixedSetter",
          "isRequired": true,
          "props": {}
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "globalState",
            "zh-CN": "globalState"
          }
        },
        "name": "globalState",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "setModalState",
            "zh-CN": "setModalState"
          }
        },
        "name": "setGlobalState",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "setState",
            "zh-CN": "setState"
          }
        },
        "name": "setState",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "callback",
            "zh-CN": "callback"
          }
        },
        "name": "callback",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "插槽",
            "zh-CN": "插槽"
          }
        },
        "name": "slot",
        "propType": "node",
        "setter": {
          "componentName": "SlotSetter",
          "initialValue": {
            "type": "JSSlot",
          },
        },
      },
    ],
    "supports": {},
    "component": {}
  }
};
const snippets: Snippet[] = [
  {
    "title": "VerticalAddService",
    "screenshot": "",
    "schema": {
      "componentName": "VerticalAddService",
      "props": {}
    }
  }
];

export default {
  ...VerticalAddServiceMeta,
  snippets
};
