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