diff --git a/components.d.ts b/components.d.ts index fa30f35..ec75f2d 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,17 +7,13 @@ export {} declare module 'vue' { export interface GlobalComponents { - copy: typeof import('./src/composables/EditGoalDialog copy.vue')['default'] - EditGoal: typeof import('./src/composables/EditGoal.vue')['default'] + EditCategoryDialog: typeof import('./src/composables/EditCategoryDialog.vue')['default'] EditGoalDialog: typeof import('./src/composables/EditGoalDialog.vue')['default'] EditGoalListDialog: typeof import('./src/composables/EditGoalListDialog.vue')['default'] EditorComponent: typeof import('./src/components/EditorComponent.vue')['default'] - GameEditor: typeof import('./src/composables/GameEditor.vue')['default'] GameEditorDialog: typeof import('./src/composables/GameEditorDialog.vue')['default'] - GameList: typeof import('./src/composables/GameList.vue')['default'] GameListDialog__UNUSED_NEEDS_EDITS: typeof import('./src/composables/GameListDialog__UNUSED_NEEDS_EDITS.vue')['default'] GeneratorComponent: typeof import('./src/components/GeneratorComponent.vue')['default'] - GoalEditorDialog: typeof import('./src/components/GoalEditorDialog.vue')['default'] MarkdownRenderer: typeof import('./src/composables/MarkdownRenderer.vue')['default'] NavbarComponent: typeof import('./src/components/NavbarComponent.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/composables/EditCategoryDialog.vue b/src/composables/EditCategoryDialog.vue new file mode 100644 index 0000000..9d4250c --- /dev/null +++ b/src/composables/EditCategoryDialog.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/composables/GameEditorDialog.vue b/src/composables/GameEditorDialog.vue index 7770ddd..e93aa83 100644 --- a/src/composables/GameEditorDialog.vue +++ b/src/composables/GameEditorDialog.vue @@ -145,6 +145,14 @@ @click="event => openEditCategoryDialog(prop.node, event)" />
{{ prop.node.item?.name || prop.node.label }}
+ + + + +