more module previews

This commit is contained in:
2021-01-29 13:07:04 +01:00
parent fe19e3c238
commit 44b6e6109f
6 changed files with 114 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
<template>
<input :value="url" @input="onChange($event.target.value)" type="text" class="ui-input" :disabled="disabled" />
</template>
<script>
export default {
props: {
value: {
type: Object,
default: {
providerAlias: null,
target: 'default',
urlSuffix: null,
label: null,
title: null,
values: {
url: null
}
}
},
disabled: {
type: Boolean,
default: false
}
},
data: () => ({
url: null
}),
methods: {
onChange(value)
{
this.$emit('input', {
values: {
url: value
}
});
}
}
}
</script>