UNPKG

@chief-editor/brick-control

Version:

Control Brick for chief editor

1 lines 1 kB
"use strict";var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var o in t=arguments[a])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});var base_1=require("@chief-editor/base"),editor_1=require("../../util/editor"),schema_json_1=__importDefault(require("./schema.json"));exports.IfConfig=__assign(__assign(__assign(__assign(__assign({type:"If",category:"Unit",schema:schema_json_1.default,getPartBoardInfoFromBrickData:function(){return{type:base_1.NodeType.STREAM,floatType:base_1.FloatType.NONE,accept:["FormItem","FormContainer","Container","Unit","Layout","FloatLayout"]}}},editor_1.getNormalLayout()),editor_1.getNullableState()),editor_1.getNullableValue()),editor_1.getNullableDatasource()),editor_1.getNullableDisplay());