Merge branch 'prod'

pull/3815/head
Cagatay Civici 2023-03-28 16:42:18 +03:00
commit 8a6c3dfa9e
3 changed files with 2 additions and 34 deletions

View File

@ -321,7 +321,7 @@ export default {
visible: false, visible: false,
scale: 14, scale: 14,
scales: [12, 13, 14, 15, 16], scales: [12, 13, 14, 15, 16],
inputStyle: 'filled', inputStyle: 'outlined',
ripple: true ripple: true
}; };
}, },
@ -330,7 +330,7 @@ export default {
this.visible = value; this.visible = value;
}, },
inputStyle(value) { inputStyle(value) {
this.$primevue.config.inputStyle = value === 'filled'; this.$primevue.config.inputStyle = value;
}, },
ripple(value) { ripple(value) {
this.$primevue.config.ripple = value; this.$primevue.config.ripple = value;

View File

@ -1,30 +0,0 @@
<template>
<div class="app-inputstyleswitch">
<h4>Input Style</h4>
<div class="formgroup-inline">
<div class="field-radiobutton">
<RadioButton id="input_outlined" name="inputstyle" value="outlined" :modelValue="value" @update:modelValue="onChange" />
<label for="input_outlined">Outlined</label>
</div>
<div class="field-radiobutton">
<RadioButton id="input_filled" name="inputstyle" value="filled" :modelValue="value" @update:modelValue="onChange" />
<label for="input_filled">Filled</label>
</div>
</div>
</div>
</template>
<script>
export default {
methods: {
onChange(value) {
this.$primevue.config.inputStyle = value;
}
},
computed: {
value() {
return this.$primevue.config.inputStyle;
}
}
};
</script>

View File

@ -100,7 +100,6 @@ import TriStateCheckbox from '@/components/lib/tristatecheckbox/TriStateCheckbox
import VirtualScroller from '@/components/lib/virtualscroller/VirtualScroller'; import VirtualScroller from '@/components/lib/virtualscroller/VirtualScroller';
import CodeHighlight from '@/layouts/AppCodeHighlight'; import CodeHighlight from '@/layouts/AppCodeHighlight';
import AppInputStyleSwitch from '@/layouts/AppInputStyleSwitch';
import DevelopmentSection from '@/layouts/DevelopmentSection'; import DevelopmentSection from '@/layouts/DevelopmentSection';
import DocApiSection from '@/layouts/doc/DocApiSection'; import DocApiSection from '@/layouts/doc/DocApiSection';
import DocComponent from '@/layouts/doc/DocComponent'; import DocComponent from '@/layouts/doc/DocComponent';
@ -215,7 +214,6 @@ export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.component('Galleria', Galleria); nuxtApp.vueApp.component('Galleria', Galleria);
nuxtApp.vueApp.component('VirtualScroller', VirtualScroller); nuxtApp.vueApp.component('VirtualScroller', VirtualScroller);
nuxtApp.vueApp.component('AppInputStyleSwitch', AppInputStyleSwitch);
nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection); nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection);
nuxtApp.vueApp.component('DocSections', DocSections); nuxtApp.vueApp.component('DocSections', DocSections);
nuxtApp.vueApp.component('DocSectionText', DocSectionText); nuxtApp.vueApp.component('DocSectionText', DocSectionText);