@chief-editor/brick-control
Version:
Control Brick for chief editor
1 lines • 834 B
JavaScript
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,getNullableDefaultValue,getNullableDisplayData,getNullableDynamicDefaultValue,getNullablePartBoardInfo}from"../../util/flow";export var TabConfig=__assign(__assign(__assign(__assign(__assign({getInitialState:function(){return{}},getDynamicInitialState:function(a){var t=a.datasource,e=a.config.props.activeId;return{currentIndex:null!=e?e:t.length?String(t[0].value):void 0}},getInitialDatasource:function(){return[]}},getNullablePartBoardInfo()),getNormalRenderConfig()),getNullableDefaultValue()),getNullableDynamicDefaultValue()),getNullableDisplayData());