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

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

export default {
  ...SchedulesMeta,
  snippets
};
