diff --git a/src/router/index.ts b/src/router/index.ts index a732e793..41041f02 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -83,14 +83,6 @@ const authenticatedRoutes = [ path: 'components', name: 'system:components', component: () => import('../views/system/ComponentsView.vue'), - children: [ - { - path: ':componentId/dashboards', - name: 'system-component-dashboards', - component: () => - import('../views/system/partials/ComponentDashboardsView.vue'), - }, - ], }, { path: 'authorizations', @@ -194,6 +186,14 @@ const authenticatedRoutes = [ requiresAuth: true, }, }, + { + path: '/profiles/build-props', + name: 'profile-build-props', + component: () => import('../views/profile/ProfileBuildPropsView.vue'), + meta: { + requiresAuth: true, + }, + }, { path: '/profiles/:id', name: 'profile:view', @@ -244,14 +244,6 @@ const authenticatedRoutes = [ requiresAuth: true, }, }, - { - path: '/admin/import', - name: 'admin-import', - component: () => import('../views/admin/ImportView.vue'), - meta: { - requiresAuth: true, - }, - }, { path: '/component-definitions', name: 'component-definitions', @@ -748,14 +740,6 @@ const authenticatedRoutes = [ requiresAuth: true, }, }, - { - path: '/preferences', - name: 'preferences', - component: () => import('../views/PreferencesView.vue'), - meta: { - requiresAuth: true, - }, - }, { path: '/about', name: 'about', diff --git a/src/views/LeftSideNav.vue b/src/views/LeftSideNav.vue index dd324479..3b189fd3 100644 --- a/src/views/LeftSideNav.vue +++ b/src/views/LeftSideNav.vue @@ -103,6 +103,10 @@ const links = ref>([ title: 'Profiles', abbr: 'PR', }, + { + name: 'profile-build-props', + title: 'Build Profile by Props', + }, { name: 'component-definitions', title: 'Component Definitions', @@ -119,11 +123,6 @@ const links = ref>([ name: 'users-list', title: 'System Users', }, - { - name: 'admin-import', - title: 'Import', - abbr: 'IMP', - }, ], }, ]); diff --git a/src/views/catalog/CatalogControl.vue b/src/views/catalog/CatalogControl.vue index c46a359e..8da77188 100644 --- a/src/views/catalog/CatalogControl.vue +++ b/src/views/catalog/CatalogControl.vue @@ -42,10 +42,22 @@
Add Statement - Edit Statement + Add Objective - Add Guidance @@ -100,6 +112,27 @@ :parent-control="props.control" v-model="showControlForm" /> + + + (false); const showEdit = ref(false); +const showEditStatement = ref(false); +const showEditObjective = ref(false); +const showEditGuidance = ref(false); function controlCreated(control: Control) { controls.value?.push(control); diff --git a/src/views/catalog/CatalogView.vue b/src/views/catalog/CatalogView.vue index 3b369fe1..6a48087b 100644 --- a/src/views/catalog/CatalogView.vue +++ b/src/views/catalog/CatalogView.vue @@ -138,7 +138,6 @@ async function deleteCatalog(uuid: string, title: string) { function deleteCurrentCatalog() { deleteCatalog(catalogId.value, catalog.value?.metadata?.title || ''); } - function reloadLists() { groupExecute(`/api/oscal/catalogs/${catalogId.value}/groups`); catalogExecute(`/api/oscal/catalogs/${catalogId.value}/controls`); diff --git a/src/views/profile/ProfileBuildPropsView.vue b/src/views/profile/ProfileBuildPropsView.vue new file mode 100644 index 00000000..86636fd4 --- /dev/null +++ b/src/views/profile/ProfileBuildPropsView.vue @@ -0,0 +1,266 @@ + + + diff --git a/src/views/profile/ProfileList.vue b/src/views/profile/ProfileList.vue index c7179ad9..65bc7ae5 100644 --- a/src/views/profile/ProfileList.vue +++ b/src/views/profile/ProfileList.vue @@ -1,5 +1,10 @@