UNPKG

@chief-editor/brick-control

Version:

Control Brick for chief editor

1 lines 728 B
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(a){for(var t,e=1,l=arguments.length;e<l;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(a[n]=t[n]);return a}).apply(this,arguments)};import{getNormalRenderConfig,getNullableDatasource,getNullableDisplayData,getNullablePartBoardInfo,getNullableState}from"../../util/flow";export var ColorConfig=__assign(__assign(__assign(__assign(__assign(__assign({},getNullableState()),getNullablePartBoardInfo()),getNormalRenderConfig()),{getDynamicDefaultValue:function(a){var t=a.config.props.defaultValue;return void 0===t?"#338AFF":t},getDefaultValue:function(){return""}}),getNullableDisplayData()),getNullableDatasource());