diff --git a/src/components/v-item-group/v-item.vue b/src/components/v-item-group/v-item.vue index 0e6d3014e1..3bbd41953b 100644 --- a/src/components/v-item-group/v-item.vue +++ b/src/components/v-item-group/v-item.vue @@ -14,9 +14,13 @@ export default defineComponent({ type: String, default: null, }, + scope: { + type: String, + default: 'item-group', + }, }, setup(props) { - const { active, toggle } = useGroupable(props.value); + const { active, toggle } = useGroupable(props.value, props.scope); return { active, toggle }; }, }); diff --git a/src/interfaces/index.ts b/src/interfaces/index.ts index 6afdf658b6..d18d70e72e 100644 --- a/src/interfaces/index.ts +++ b/src/interfaces/index.ts @@ -25,6 +25,7 @@ import InterfaceRepeater from './repeater'; import InterfaceCode from './code'; import InterfaceFile from './file'; import InterfaceCollections from './collections'; +import InterfaceTranslations from './translations'; export const interfaces = [ InterfaceTextInput, @@ -54,6 +55,7 @@ export const interfaces = [ InterfaceCode, InterfaceFile, InterfaceCollections, + InterfaceTranslations, ]; export default interfaces; diff --git a/src/interfaces/translations/index.ts b/src/interfaces/translations/index.ts new file mode 100644 index 0000000000..c0690189ea --- /dev/null +++ b/src/interfaces/translations/index.ts @@ -0,0 +1,11 @@ +import { defineInterface } from '../define'; +import InterfaceTranslations from './translations.vue'; + +export default defineInterface(({ i18n }) => ({ + id: 'translations', + name: i18n.t('translations'), + icon: 'replay', + types: ['o2m'], + component: InterfaceTranslations, + options: [], +})); diff --git a/src/interfaces/translations/translations.vue b/src/interfaces/translations/translations.vue new file mode 100644 index 0000000000..c25a95d08b --- /dev/null +++ b/src/interfaces/translations/translations.vue @@ -0,0 +1,324 @@ + + + + +