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

const BookingStartTimeMeta: ComponentMetadata = {
  "componentName": "BookingDuration",
  "title": "BookingDuration",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "npm": {
    "package": "@pisell/private-materials",
    "version": "1.0.4",
    "exportName": "BookingDuration",
    "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": "locale",
            "zh-CN": "locale"
          }
        },
        "name": "locale",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "timeObjChange",
            "zh-CN": "timeObjChange"
          }
        },
        "name": "timeObjChange",
        "setter": {
          "componentName": "FunctionSetter",
          "isRequired": true
        }
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "slice",
            "zh-CN": "slice"
          }
        },
        "name": "slice",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "duration",
            "zh-CN": "duration"
          }
        },
        "name": "duration",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "usableTime",
            "zh-CN": "usableTime"
          }
        },
        "name": "usableTime",
        "setter": ["JsonSetter", "VariableSetter"],
      },
      {
        "title": {
          "label": {
            "type": "i18n",
            "en-US": "startDate",
            "zh-CN": "startDate"
          }
        },
        "name": "startDate",
        "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": "BookingDuration",
    "screenshot": "",
    "schema": {
      "componentName": "BookingDuration",
      "props": {}
    }
  }
];

export default {
  ...BookingStartTimeMeta,
  snippets
};
