UNPKG

@chief-editor/brick-control

Version:

Control Brick for chief editor

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