import _extends from "@babel/runtime/helpers/extends";
import componentKey from "../_com-props/componentKey";
import { t } from "../../src/locale";
import { uuid } from "../_utils/utils";
import componentName from "../_com-props/componentName";
import { CStringOnlySetter } from "../_setters";
var Meta = {
  "componentName": "Market",
  "title": "Market",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "group": t('market.key_jpo5mWrxEeSQ'),
  "category": "Business",
  "configure": {
    "props": [componentKey, componentName, {
      name: 'pluginId',
      title: {
        label: t('post.pluginId'),
        tip: 'pluginId'
      },
      setter: CStringOnlySetter,
      defaultValue: function defaultValue() {
        return 18;
      },
      condition: function condition() {
        return false;
      }
    }, {
      "title": {
        "label": "_panel"
      },
      "name": "entrySchema",
      "supportVariable": false,
      "setter": {
        "componentName": "CPanelSetter",
        "props": {
          "value": '',
          "defaultValue": '{"pluginId": 18}',
          "placeholder": ""
        },
        "initialValue": ''
      }
    }],
    "supports": {
      "style": false,
      "events": false,
      "loop": false,
      "condition": false
    },
    "component": {}
  }
};
var snippets = [{
  "title": t('market.key_H9AL1uSvGnhR'),
  "screenshot": "https://s3.ap-east-1.amazonaws.com/res.os/icon/comp/Market.png",
  "schema": {
    "componentName": "Market",
    "props": {
      componentKey: "cr_" + uuid(),
      componentName: "cr_" + uuid()
    }
  }
}];
export default _extends({}, Meta, {
  snippets: snippets
});