Newer
Older
<div class="dm5-topicmap-panel" v-loading="loading">
<dm5-toolbar :comp-defs="toolbarCompDefs"></dm5-toolbar>
<component :is="topicmapRenderer" :object="object_" :writable="writable_" :show-inmap-details="showInmapDetails_"
:detail-renderers="detailRenderers" :context-commands="contextCommands" :quill-config="quillConfig">
import { mapState } from 'vuex'
// console.log('dm5-topicmap-panel created', this.topicmapTypes, this.$store)
this.$store.registerModule('topicmapPanel', require('../topicmap-panel').default)
mounted () {
// console.log('dm5-topicmap-panel mounted')
},
mixins: [
require('./mixins/object').default,
require('./mixins/detail-renderers').default
topicmapTypes: Object,
topicmapRenderer: undefined,
// mirror props (mirroring the *dynamic* props is sufficient)
object_: this.object,
writable_: this.writable,
showInmapDetails_: this.showInmapDetails
// toolbarCompDefs_: this.toolbarCompDefs // FIXME: needed?
loading: state => state.topicmapPanel.loading
'dm5-toolbar': require('./dm5-toolbar').default