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

const BookingResourcesMeta: ComponentMetadata = {
  "componentName": "BookingResources",
  "title": "BookingResources",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "BookingResources",
    "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": "resources",
            "zh-CN": "resources"
          }
        },
        "name": "resources",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "watch",
            "zh-CN": "watch"
          }
        },
        "name": "watch",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "resourcesChange",
            "zh-CN": "resourcesChange"
          }
        },
        "name": "resourcesChange",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "getResources",
            "zh-CN": "getResources"
          }
        },
        "name": "getResources",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "currentDate",
            "zh-CN": "currentDate"
          }
        },
        "name": "currentDate",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "cacheItem",
            "zh-CN": "cacheItem"
          }
        },
        "name": "cacheItem",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "selectProps",
            "zh-CN": "selectProps"
          }
        },
        "name": "selectProps",
        "setter": ["JsonSetter", "VariableSetter"],
      },
    ],
    "supports": {
      style: true,
    },
    "component": {},
  }
};
const snippets: Snippet[] = [
  {
    "title": "BookingResources",
    "screenshot": "",
    "schema": {
      "componentName": "BookingResources",
      "props": {}
    }
  }
];

export default {
  ...BookingResourcesMeta,
  snippets
};
