tree-exp-viewtreeexpbar-treeexpbar.html 1.6 KB
<split id="treeexpviewtreeexpbar" class='app-tree-exp-bar' v-model="split" mode="horizontal" @on-move-end="onSplitChange.apply(_self, arguments)">
    <div class="app-tree-exp-bar-left" slot='left'>
        <div class='tree-exp-content'>
                        <view_treeexpbar_tree 
                :viewState="viewState"  
                :viewparams="viewparams" 
                :context="context" 
                :showBusyIndicator="true"
                updateAction='Update' 
                removeAction='Remove' 
                loadAction='Get' 
                createAction='Create' 
                :isSelectFirstDefault="true"
                :isBranchAvailable="true"
                name="treeexpbar_tree"  
                ref='treeexpbar_tree' 
                @selectionchange="treeexpbar_tree_selectionchange($event)"  
                @load="treeexpbar_tree_load($event)"  
                @closeview="closeView($event)">
            </view_treeexpbar_tree>
        </div>
    </div>
    <div class="app-tree-exp-bar-right" slot='right'>
        <component 
            v-if="selection.view && !Object.is(this.selection.view.viewname, '')" 
            :is="selection.view.viewname"
            class="viewcontainer2"
            :viewDefaultUsage="false"
            :viewdata="JSON.stringify(selection.context)"
            :viewparam="JSON.stringify(selection.viewparam)"
            @viewdataschange="onViewDatasChange.apply(_self, arguments)"
            @viewdatasactivated="viewDatasActivated.apply(_self, arguments)"
            @viewload="onViewLoad.apply(_self, arguments)">
        </component>
    </div>
</split>