Feat(settings): add renderer for settings configuration #142

Merged
jakob.scheid merged 88 commits from feature/settings-renderer into main 2026-07-28 20:14:50 +02:00
Showing only changes of commit 17351e9f44 - Show all commits
@@ -15,6 +15,8 @@ limitations under the License.
--> -->
<script setup> <script setup>
import Switch from './Switch.vue';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
import { getSectionHeadingLevel } from '../utils/getSectionHeadingLevel.js'; import { getSectionHeadingLevel } from '../utils/getSectionHeadingLevel.js';
@@ -44,6 +46,11 @@ const props = defineProps({
selection: setting.type === 'selection' selection: setting.type === 'selection'
}" }"
> >
<Switch
v-if="setting.type === 'bool'"
:setting="setting"
:path="`${props.path}.${setting.name}`"
/>
</div> </div>
</div> </div>
</template> </template>