simple props added to appconfig

This commit is contained in:
Bahadır Sofuoğlu
2022-11-16 11:33:52 +03:00
parent 68b0f0cf64
commit b1b45028ab
6 changed files with 13 additions and 7 deletions

View File

@@ -2,6 +2,12 @@
import { ref } from 'vue';
import { useLayoutService } from '@/layout/composables/layoutService';
defineProps({
simple: {
type: Boolean,
default: false
}
});
const scales = ref([12, 13, 14, 15, 16]);
const visible = ref(false);
@@ -52,7 +58,7 @@ const applyScale = () => {
<Button icon="pi pi-plus" type="button" pButton @click="incrementScale()" class="p-button-text p-button-rounded w-2rem h-2rem ml-2" :disabled="layoutConfig.scale.value === scales[scales.length - 1]"></Button>
</div>
<template v-if="true">
<template v-if="!simple">
<h5>Menu Type</h5>
<div class="flex">
<div class="field-radiobutton flex-1">
@@ -67,7 +73,7 @@ const applyScale = () => {
</div>
</template>
<template v-if="true">
<template v-if="!simple">
<h5>Input Style</h5>
<div class="flex">
<div class="field-radiobutton flex-1">

View File

@@ -404,7 +404,7 @@ const logoUrl = () => {
</div>
</div>
</div>
<AppConfig />
<AppConfig simple />
</template>
<style scoped>

View File

@@ -42,5 +42,5 @@ import AppConfig from '@/layout/AppConfig.vue';
</div>
</div>
</div>
<AppConfig />
<AppConfig simple />
</template>

View File

@@ -24,5 +24,5 @@ import AppConfig from '@/layout/AppConfig.vue';
</div>
</div>
</div>
<AppConfig />
<AppConfig simple />
</template>

View File

@@ -24,5 +24,5 @@ import AppConfig from '@/layout/AppConfig.vue';
</div>
</div>
</div>
<AppConfig />
<AppConfig simple />
</template>

View File

@@ -46,7 +46,7 @@ const logoUrl = () => {
</div>
</div>
</div>
<AppConfig />
<AppConfig simple />
</template>
<style scoped>