@chief-editor/brick-control
Version:
Control Brick for chief editor
1 lines • 954 B
JavaScript
;var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},__importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});var editor_1=require("../../util/editor"),schema_json_1=__importDefault(require("./schema.json"));exports.JSONEditorConfig=__assign(__assign(__assign(__assign(__assign(__assign({type:"JSONEditor",category:"FormItem",isContainer:!1,schema:schema_json_1.default},editor_1.getNormalLayout()),editor_1.getNormalPartBoardInfo()),{setValueToBrickData:function(){},getValueFromBrickData:function(t){var e=t.config.props.defaultValue;return void 0===e?[]:e}}),editor_1.getNullableDatasource()),editor_1.getNullableDisplay()),editor_1.getNullableState());