Add CiaMultipleImpactView component and enhance ChangeImpactOutputViewer with Markdown preview

This commit is contained in:
andrea.terzani
2025-01-10 17:19:16 +01:00
parent 68d38dda21
commit 95a44d3a8d
3 changed files with 155 additions and 10 deletions

View File

@@ -1,13 +1,15 @@
<template>
<div v-if="parsedOuput != null">
<h1>{{ parsedOuput.title }}</h1>
<p>{{ parsedOuput.description }}</p>
<MdPreview class="editor" v-model="parsedOuput.description" language="en-US" />
<CiaFlowCodeViewer :changes="parsedOuput.changes">
</CiaFlowCodeViewer>
</div>
</template>
<script setup>
import { MdPreview } from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
import { defineProps, onMounted, ref, toRefs } from 'vue';
import CiaFlowCodeViewer from './CiaFlowCodeViewer.vue';