Skip to content
Snippets Groups Projects
Commit 31607d81 authored by Mathias Chouet's avatar Mathias Chouet Committed by mathias.chouet
Browse files

[WIP] subform system for PreBarrage

parent afe3f9ce
No related branches found
No related tags found
1 merge request!93Resolve "Ajout du module Prébarrage"
...@@ -46,6 +46,6 @@ ...@@ -46,6 +46,6 @@
<div id="schema" #schema></div> <div id="schema" #schema></div>
<!-- <pre id="debug">{{ graphDef }} </pre> --> <pre id="debug">{{ graphDef }} </pre>
</mat-card-content> </mat-card-content>
...@@ -219,13 +219,6 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs ...@@ -219,13 +219,6 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs
this.kids.push(tab); 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 * 1ère passe d'analyse de la configuration
*/ */
...@@ -283,10 +276,6 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs ...@@ -283,10 +276,6 @@ export abstract class FormulaireDefinition extends FormulaireNode implements Obs
this.parse_pab_table(conf); this.parse_pab_table(conf);
break; break;
case "pb_schema": // not generic at all
this.parse_pb_schema(conf);
break;
default: default:
throw new Error(`type d'objet de module de calcul ${type} non pris en charge`); throw new Error(`type d'objet de module de calcul ${type} non pris en charge`);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment