2020-06-05 17:34:50 +00:00
|
|
|
<template>
|
2022-12-15 19:28:13 +00:00
|
|
|
<div class="d-flex">
|
|
|
|
<div class="d-flex justify-content-between me-2" :class="classLabel">
|
|
|
|
<label>{{ description }}</label>
|
|
|
|
<InfoBox v-if="help" :hint="help" />
|
|
|
|
</div>
|
2021-03-10 15:35:14 +00:00
|
|
|
<div :class="classValue">
|
2020-06-05 17:34:50 +00:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2023-05-09 17:58:23 +00:00
|
|
|
<script setup lang="ts">
|
2022-12-15 19:28:13 +00:00
|
|
|
import InfoBox from '@/components/general/InfoBox.vue';
|
2020-10-25 09:35:19 +00:00
|
|
|
|
2023-05-09 17:58:23 +00:00
|
|
|
defineProps({
|
|
|
|
description: { type: String, required: true },
|
|
|
|
help: { type: String, default: '', required: false },
|
|
|
|
classLabel: { type: String, default: 'col-4 fw-bold mb-0' },
|
|
|
|
classValue: { type: String, default: 'col-8' },
|
2020-10-25 09:35:19 +00:00
|
|
|
});
|
2020-06-05 17:34:50 +00:00
|
|
|
</script>
|
|
|
|
|
2021-03-10 15:35:14 +00:00
|
|
|
<style scoped></style>
|