Reviewed-on: #261 Reviewed-by: Mikolaj Widla <widlam@noreply.example.com> Co-authored-by: Adam Bem <adam.bem@zoho.eu> Co-committed-by: Adam Bem <adam.bem@zoho.eu>
20 lines
817 B
Vue
20 lines
817 B
Vue
<script setup lang="ts">
|
|
import xmlInputFieldComponent from '@/components/xml/XmlInputFieldComponent.vue';
|
|
import xmlOutputFieldComponent from '@/components/xml/XmlOutputFieldComponent.vue';
|
|
import { ref } from 'vue';
|
|
|
|
|
|
const xml = ref('');
|
|
const query = ref('');
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div id="layout" class="flex flex-col 2xl:flex-row w-full h-full">
|
|
<div class="flex flex-col w-full 2xl:w-1/2 h-2/3 2xl:h-full flex-none items-center">
|
|
<xmlInputFieldComponent stylized-name="XML" @update="(data) => {xml = data}"></xmlInputFieldComponent>
|
|
<xmlInputFieldComponent stylized-name="XSD" @update="(data) => {query = data}"></xmlInputFieldComponent>
|
|
</div>
|
|
<xmlOutputFieldComponent tool="xsd" :xml="xml" :query="query"></xmlOutputFieldComponent>
|
|
</div>
|
|
</template> |