UNPKG

@chief-editor/flow

Version:

Old核心数据流

1 lines 936 B
var __extends=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();import{BaseBoard}from"@chief-editor/base";var FlowBoard=function(t){function e(e,r){var o=t.call(this,e,r)||this,n=r.part,i=void 0===n?"root":n;return o.template=e,o.part=i,o}return __extends(e,t),e.prototype.getBrick=function(t){return this.getOwnerTemplate().getBrick(t)},e.prototype.getNode=function(){return this.node},e.prototype.getOwnerTemplate=function(){return this.template},e.prototype.getOwnerModel=function(){return this.template.getOwnerModel()},e.prototype.getOwnerContext=function(){return this.template.getOwnerContext()},e}(BaseBoard);export{FlowBoard};