"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _componentKey = _interopRequireDefault(require("../_com-props/componentKey"));
var _locale = require("../../src/locale");
var _setters = require("../_setters");
var _utils = require("../_utils/utils");
var _componentName = _interopRequireDefault(require("../_com-props/componentName"));
var Meta = {
  "componentName": "Governance",
  "title": "Governance",
  "docUrl": "",
  "screenshot": "",
  "devMode": "proCode",
  "group": (0, _locale.t)('governance.key_7IjFLMpBRTkj'),
  "category": "Business",
  "configure": {
    "props": [_componentKey["default"], _componentName["default"], {
      name: 'pluginId',
      title: {
        label: (0, _locale.t)('governance.key_aP2rlMoPFtkQ'),
        tip: 'pluginId'
      },
      setter: _setters.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": (0, _locale.t)('governance.key_HmrQoB6NkgyU'),
  "screenshot": "https://s3.ap-east-1.amazonaws.com/res.os/icon/comp/Governance.png",
  "schema": {
    "componentName": "Governance",
    "props": {
      componentKey: "cr_" + (0, _utils.uuid)(),
      componentName: "cr_" + (0, _utils.uuid)()
    }
  }
}];
var _default = exports["default"] = (0, _extends2["default"])({}, Meta, {
  snippets: snippets
});