UNPKG

@chief-editor/brick-control

Version:

Control Brick for chief editor

1 lines 801 B
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(a){for(var t,e=1,r=arguments.length;e<r;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(a[o]=t[o]);return a}).apply(this,arguments)};import{getNormalLayout,getNormalPartBoardInfo,getNullableDatasource,getNullableDisplay,getNullableState}from"../../util/editor";import schema from"./schema.json";export var TextAreaConfig=__assign(__assign(__assign(__assign(__assign(__assign({type:"TextArea",category:"FormItem",isContainer:!1,schema:schema},getNormalLayout()),getNormalPartBoardInfo()),{getValueFromBrickData:function(a){var t=(a.config.props||{}).defaultValue;return void 0===t?"":t},setValueToBrickData:function(){}}),getNullableDatasource()),getNullableDisplay()),getNullableState());