| 35599 | ) |
| 35600 | ) |
| 35601 | } |
| 35602 | class ModelWrapper extends Re.Component { |
| 35603 | onToggle = (s, o) => { |
| 35604 | this.props.layoutActions && this.props.layoutActions.show(this.props.fullPath, o) |
| 35605 | } |
| 35606 | render() { |
| 35607 | let { getComponent: s, getConfigs: o } = this.props |
| 35608 | const i = s('Model') |
| 35609 | let a |
| 35610 | return ( |
| 35611 | this.props.layoutSelectors && |
| 35612 | (a = this.props.layoutSelectors.isShown(this.props.fullPath)), |
| 35613 | Re.createElement( |
| 35614 | 'div', |
| 35615 | { className: 'model-box' }, |
| 35616 | Re.createElement( |
| 35617 | i, |
| 35618 | Mn()({}, this.props, { |
| 35619 | getConfigs: o, |
| 35620 | expanded: a, |
| 35621 | depth: 1, |
| 35622 | onToggle: this.onToggle, |
| 35623 | expandDepth: this.props.expandDepth || 0, |
| 35624 | }) |
| 35625 | ) |
| 35626 | ) |
| 35627 | ) |
| 35628 | } |
| 35629 | } |
| 35630 | function _typeof(s) { |
| 35631 | return ( |