2018-06-14 07:52:37 +02:00
|
|
|
<template>
|
|
|
|
<div class="ui-form">
|
|
|
|
<fieldset :disabled="disabled">
|
|
|
|
<slot></slot>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
export default Vue.extend({
|
|
|
|
props: {
|
|
|
|
disabled: {
|
2018-06-15 00:56:56 +02:00
|
|
|
type: Boolean,
|
2018-06-14 07:52:37 +02:00
|
|
|
required: false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
2018-09-26 13:19:35 +02:00
|
|
|
|
2018-06-14 07:52:37 +02:00
|
|
|
|
|
|
|
.ui-form
|
|
|
|
> fieldset
|
2018-06-14 09:48:49 +02:00
|
|
|
margin 0
|
|
|
|
padding 0
|
2018-06-14 07:52:37 +02:00
|
|
|
border none
|
|
|
|
|
|
|
|
</style>
|