From c33b9ba58fea9be7f34e222a1d0d8476b2c84bd4 Mon Sep 17 00:00:00 2001 From: mariateresa Date: Fri, 23 Feb 2024 18:08:16 +0100 Subject: [PATCH] work in progress --- src/main/webapp/app/app-routing.module.ts | 5 + .../facet-composer.component.html | 71 ++++++---- .../facet-composer.component.ts | 133 +++++++++++------- src/main/webapp/app/services/i-facet.ts | 11 +- .../table-screen/table-screen.component.html | 3 + 5 files changed, 142 insertions(+), 81 deletions(-) diff --git a/src/main/webapp/app/app-routing.module.ts b/src/main/webapp/app/app-routing.module.ts index d955f6d..d2808b8 100644 --- a/src/main/webapp/app/app-routing.module.ts +++ b/src/main/webapp/app/app-routing.module.ts @@ -11,6 +11,7 @@ import { CommonModule } from '@angular/common'; import { AddResourceComponent } from './add-resource/add-resource.component'; import { FormComposerComponent } from './form-composer/form-composer.component'; import { FacetComposerComponent } from './facet-composer/facet-composer.component'; +import { DynamicFormComponent } from './dynamic-form/dynamic-form.component'; //const routes: Routes =[{path:'addResource', component: AddResourceComponent}]; @@ -40,6 +41,10 @@ import { FacetComposerComponent } from './facet-composer/facet-composer.componen path: 'facetComposer', component: FacetComposerComponent }, + { + path: 'dynamicFormComponent', + component: DynamicFormComponent + }, navbarRoute, ...errorRoute, diff --git a/src/main/webapp/app/facet-composer/facet-composer.component.html b/src/main/webapp/app/facet-composer/facet-composer.component.html index 0ee8490..ca58b68 100644 --- a/src/main/webapp/app/facet-composer/facet-composer.component.html +++ b/src/main/webapp/app/facet-composer/facet-composer.component.html @@ -1,40 +1,59 @@

FacetComposer: New {{titleType}} ({{titlePath}})

-

{{itemName}}

-

{{itemDesc}}

- + + + + Resource Description + + + {{itemName}} + + +

{{itemDesc}}

+
+ +
- -
+
- {{fct.name}} - {{ind}} + {{fct.relation}} - relation: {{fct.relation}} - + {{fct.name}} +

{{fct.description}}

- < -
-
- -
-
-
- {{itemFacets[fctIdx].relation}} :
-
-
-
+ + +
+
+ + + +
+ +
+ + + +
+ +
+ +