Initiated designer
parent
26795f0ece
commit
282ed7fa2d
File diff suppressed because it is too large
Load Diff
|
@ -94,6 +94,11 @@
|
||||||
</button>
|
</button>
|
||||||
<AppConfigurator />
|
<AppConfigurator />
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<button type="button" class="topbar-item" @click="toggleDesigner">
|
||||||
|
<i class="pi pi-pencil"></i>
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
v-styleclass="{ selector: '@next', enterFromClass: 'hidden', enterActiveClass: 'animate-scalein', leaveToClass: 'hidden', leaveActiveClass: 'animate-fadeout', hideOnOutsideClick: true }"
|
v-styleclass="{ selector: '@next', enterFromClass: 'hidden', enterActiveClass: 'animate-scalein', leaveToClass: 'hidden', leaveActiveClass: 'animate-fadeout', hideOnOutsideClick: true }"
|
||||||
|
@ -237,6 +242,9 @@ export default {
|
||||||
},
|
},
|
||||||
containerRef(el) {
|
containerRef(el) {
|
||||||
this.container = el;
|
this.container = el;
|
||||||
|
},
|
||||||
|
toggleDesigner() {
|
||||||
|
this.$appState.designerActive = !this.$appState.designerActive;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<AppDesigner />
|
||||||
<AppFooter />
|
<AppFooter />
|
||||||
<Toast />
|
<Toast />
|
||||||
<Toast position="top-left" group="tl" />
|
<Toast position="top-left" group="tl" />
|
||||||
|
@ -22,6 +23,7 @@ import { blockBodyScroll, unblockBodyScroll } from '@primeuix/utils/dom';
|
||||||
import AppFooter from './AppFooter.vue';
|
import AppFooter from './AppFooter.vue';
|
||||||
import AppMenu from './AppMenu.vue';
|
import AppMenu from './AppMenu.vue';
|
||||||
import AppNews from './AppNews.vue';
|
import AppNews from './AppNews.vue';
|
||||||
|
import AppDesigner from './AppDesigner.vue';
|
||||||
import AppTopBar from './AppTopBar.vue';
|
import AppTopBar from './AppTopBar.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -82,7 +84,8 @@ export default {
|
||||||
AppTopBar,
|
AppTopBar,
|
||||||
AppMenu,
|
AppMenu,
|
||||||
AppFooter,
|
AppFooter,
|
||||||
AppNews
|
AppNews,
|
||||||
|
AppDesigner
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -13,7 +13,8 @@ const $appState = {
|
||||||
sourceType: 'options-api',
|
sourceType: 'options-api',
|
||||||
newsActive: false,
|
newsActive: false,
|
||||||
announcement: null,
|
announcement: null,
|
||||||
storageKey: 'primevue'
|
storageKey: 'primevue',
|
||||||
|
designerActive: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue