update divider

This commit is contained in:
Nitwel
2020-09-04 13:35:36 +02:00
parent 2f15087311
commit d33bb3fbc2
3 changed files with 18 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
'--v-divider-label-color': color,
}"
large
:inlineTitle="inlineTitle"
>
<template v-if="icon" #icon><v-icon :name="icon" /></template>
<template v-if="title" #default>{{ title }}</template>
@@ -30,6 +31,10 @@ export default defineComponent({
type: String,
default: null,
},
inlineTitle: {
type: Boolean,
default: false,
},
},
});
</script>

View File

@@ -17,7 +17,7 @@ export default defineInterface(({ i18n }) => ({
meta: {
width: 'half',
interface: 'color',
}
},
},
{
field: 'icon',
@@ -26,7 +26,7 @@ export default defineInterface(({ i18n }) => ({
meta: {
width: 'half',
interface: 'icon',
}
},
},
{
field: 'title',
@@ -35,7 +35,16 @@ export default defineInterface(({ i18n }) => ({
meta: {
width: 'half',
interface: 'text-input',
}
},
},
{
field: 'inlineTitle',
name: i18n.t('inline_title'),
type: 'boolean',
meta: {
width: 'half',
interface: 'toggle',
},
},
],
}));

View File

@@ -489,6 +489,7 @@
"formatted_value": "Formatted Value",
"format_title": "Format Title",
"inline_title": "Inline Title",
"auto_format_casing": "Auto-format casing",
"errors": {