|
@@ -1,16 +1,16 @@
|
|
|
<template>
|
|
|
<div id="outerContainer" class="app" :class="{ dark: themeMode === 'Dark' }">
|
|
|
- <Header v-if="!isDisabled" />
|
|
|
+ <Header v-if="!isHeaderDisabled" />
|
|
|
<div class="content">
|
|
|
- <LeftPanel />
|
|
|
- <DocumentContainer :isDisabled="isDisabled" />
|
|
|
+ <LeftPanel :isHeaderDisabled="isHeaderDisabled" />
|
|
|
+ <DocumentContainer :isHeaderDisabled="isHeaderDisabled" />
|
|
|
<CompareDocumentContainer />
|
|
|
<DocumentEditorContainer v-if="toolMode === 'document'" :Sortable="Sortable" />
|
|
|
- <RightPanel />
|
|
|
- <RightPanelPageMode />
|
|
|
- <StampPanel />
|
|
|
- <LinkPanel />
|
|
|
- <ContentEditorPanel />
|
|
|
+ <RightPanel :isHeaderDisabled="isHeaderDisabled" />
|
|
|
+ <RightPanelPageMode :isHeaderDisabled="isHeaderDisabled" />
|
|
|
+ <StampPanel :isHeaderDisabled="isHeaderDisabled" />
|
|
|
+ <LinkPanel :isHeaderDisabled="isHeaderDisabled" />
|
|
|
+ <ContentEditorPanel :isHeaderDisabled="isHeaderDisabled" />
|
|
|
</div>
|
|
|
<div class="mask" :class="{ active: downloading || downloadError !== '' }">
|
|
|
<div v-show="downloading" class="loading"><Loading /></div>
|
|
@@ -58,7 +58,7 @@
|
|
|
useViewer.setDisabledElements('header')
|
|
|
}
|
|
|
|
|
|
- const isDisabled = computed(() => useViewer.getDisabledElements('header'))
|
|
|
+ const isHeaderDisabled = computed(() => useViewer.getDisabledElements('header'))
|
|
|
|
|
|
window.instance.changeFile = () => {
|
|
|
const openFileInput = document.getElementById("fileInput")
|