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

const BookingInfoMeta: ComponentMetadata = {
  "componentName": "BookingInfo",
  "title": "BookingInfo",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "BookingInfo",
    "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": "modules",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "插槽",
            "zh-CN": "插槽"
          }
        },
        "name": "slot",
        "propType": "node",
        "setter": {
          "componentName": "SlotSetter",
          "initialValue": {
            "type": "JSSlot",
          },
        },
      },
    ],
    "supports": {},
    "component": {}
  }
};
const snippets: Snippet[] = [
  {
    "title": "BookingInfo",
    "screenshot": "",
    "schema": {
      "componentName": "BookingInfo",
      "props": {}
    }
  }
];

export default {
  ...BookingInfoMeta,
  snippets
};
