diff --git a/src/app/components/pb-schema/pb-schema.component.html b/src/app/components/pb-schema/pb-schema.component.html index dc5af67fa6e213ea6908aedab062e9970b8d901f..b9314c653190799eee8a29ec3d40acae2f9002e2 100644 --- a/src/app/components/pb-schema/pb-schema.component.html +++ b/src/app/components/pb-schema/pb-schema.component.html @@ -46,6 +46,6 @@ <div id="schema" #schema></div> - <!-- <pre id="debug">{{ graphDef }} </pre> --> + <pre id="debug">{{ graphDef }} </pre> </mat-card-content> diff --git a/src/app/formulaire/definition/form-definition.ts b/src/app/formulaire/definition/form-definition.ts index e37c8cd0c14ab41f8f2f21b6291475c67fba2bb1..dd679776531c4cf0cd40287f96d078e460df5b95 100644 --- a/src/app/formulaire/definition/form-definition.ts +++ b/src/app/formulaire/definition/form-definition.ts @@ -24,7 +24,6 @@ import { TopFormulaireElementIterator } from "../form-iterator/top-element-itera import { CalculatorResults } from "../../results/calculator-results"; import { ServiceFactory } from "../../services/service-factory"; import { PabTable } from "../elements/pab-table"; -import { PbSchema } from '../elements/pb-schema'; /** * classe de base pour tous les formulaires @@ -223,13 +222,6 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs this.kids.push(tab); } - private parse_pb_schema(json: {}) { - const sch: PbSchema = new PbSchema(this); - sch.parseConfig(json); - this.kids.push(sch); - } - - /** * 1ère passe d'analyse de la configuration */ @@ -287,10 +279,6 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs this.parse_pab_table(conf); break; - case "pb_schema": // not generic at all - this.parse_pb_schema(conf); - break; - default: throw new Error(`type d'objet de module de calcul ${type} non pris en charge`); }