@chief-editor/brick-control
Version:
Control Brick for chief editor
1 lines • 818 B
JavaScript
;var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,a=1,n=arguments.length;a<n;a++)for(var l in e=arguments[a])Object.prototype.hasOwnProperty.call(e,l)&&(t[l]=e[l]);return t}).apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0});var flow_1=require("../../util/flow");exports.TabConfig=__assign(__assign(__assign(__assign(__assign({getInitialState:function(){return{}},getDynamicInitialState:function(t){var e=t.datasource,a=t.config.props.activeId;return{currentIndex:null!=a?a:e.length?String(e[0].value):void 0}},getInitialDatasource:function(){return[]}},flow_1.getNullablePartBoardInfo()),flow_1.getNormalRenderConfig()),flow_1.getNullableDefaultValue()),flow_1.getNullableDynamicDefaultValue()),flow_1.getNullableDisplayData());