From de112a57cc25e2a6811e8062c2413f8f9dc045e5 Mon Sep 17 00:00:00 2001 From: horville Date: Tue, 28 Mar 2023 17:00:25 +0200 Subject: [PATCH] =?UTF-8?q?plein=20de=20progr=C3=A8s=20partout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- javascript/fili-info.js | 14 +++++++------- javascript/main-controller.js | 18 +++++++++--------- javascript/school-info.js | 16 ++++++++-------- javascript/school.js | 28 ++++++++++++++-------------- javascript/search.js | 28 ++++++++++++++-------------- 5 files changed, 52 insertions(+), 52 deletions(-) diff --git a/javascript/fili-info.js b/javascript/fili-info.js index 0467335..a418dcd 100644 --- a/javascript/fili-info.js +++ b/javascript/fili-info.js @@ -1,30 +1,30 @@ var filiInfo = { css: null, exports: null, - template: (template, expressionTypes, bindingTypes, getComponent) => template('

BUT / BUT - Production / Informatique

Moyenne des admis19.3

Nombre de formations5

Capacité90

Sélectivité

', [{ + template: (template, expressionTypes, bindingTypes, getComponent) => template('

BUT / BUT - Production / Informatique

Moyenne des admis19.3

Nombre de formations5

Capacité90

Sélectivité

', [{ type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'line-graph', slots: [], attributes: [], - redundantAttribute: 'expr0', - selector: '[expr0]' + redundantAttribute: 'expr12', + selector: '[expr12]' }, { type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'line-graph', slots: [], attributes: [], - redundantAttribute: 'expr1', - selector: '[expr1]' + redundantAttribute: 'expr13', + selector: '[expr13]' }, { type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'line-graph', slots: [], attributes: [], - redundantAttribute: 'expr2', - selector: '[expr2]' + redundantAttribute: 'expr14', + selector: '[expr14]' }]), name: 'fili-info' }; diff --git a/javascript/main-controller.js b/javascript/main-controller.js index aa7d7d8..39f39eb 100644 --- a/javascript/main-controller.js +++ b/javascript/main-controller.js @@ -1,38 +1,38 @@ var mainController = { css: null, exports: {}, - template: (template, expressionTypes, bindingTypes, getComponent) => template('
', [{ + template: (template, expressionTypes, bindingTypes, getComponent) => template('
', [{ type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'search', slots: [], attributes: [], - redundantAttribute: 'expr3', - selector: '[expr3]' + redundantAttribute: 'expr18', + selector: '[expr18]' }, { type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'fili-info', slots: [], attributes: [], - redundantAttribute: 'expr4', - selector: '[expr4]' + redundantAttribute: 'expr19', + selector: '[expr19]' }, { type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'school', slots: [], attributes: [], - redundantAttribute: 'expr5', - selector: '[expr5]' + redundantAttribute: 'expr20', + selector: '[expr20]' }, { type: bindingTypes.TAG, getComponent: getComponent, evaluate: _scope => 'school-info', slots: [], attributes: [], - redundantAttribute: 'expr6', - selector: '[expr6]' + redundantAttribute: 'expr21', + selector: '[expr21]' }]), name: 'main-controller' }; diff --git a/javascript/school-info.js b/javascript/school-info.js index 1bdb901..5e4dd0e 100644 --- a/javascript/school-info.js +++ b/javascript/school-info.js @@ -10,14 +10,14 @@ var schoolInfo = { this.update(); } }, - template: (template, expressionTypes, bindingTypes, getComponent) => template('
', [{ + template: (template, expressionTypes, bindingTypes, getComponent) => template('
', [{ type: bindingTypes.IF, evaluate: _scope => _scope.state.enabled, - redundantAttribute: 'expr7', - selector: '[expr7]', - template: template('

', [{ - redundantAttribute: 'expr8', - selector: '[expr8]', + redundantAttribute: 'expr15', + selector: '[expr15]', + template: template('

', [{ + redundantAttribute: 'expr16', + selector: '[expr16]', expressions: [{ type: expressionTypes.EVENT, name: 'onclick', @@ -29,8 +29,8 @@ var schoolInfo = { evaluate: _scope => 'line-graph', slots: [], attributes: [], - redundantAttribute: 'expr9', - selector: '[expr9]' + redundantAttribute: 'expr17', + selector: '[expr17]' }]) }]), name: 'school-info' diff --git a/javascript/school.js b/javascript/school.js index 57b8f9c..4bbd930 100644 --- a/javascript/school.js +++ b/javascript/school.js @@ -62,53 +62,53 @@ var school = { } }; }, - template: (template, expressionTypes, bindingTypes, getComponent) => template('
NomVilleDptMoyenneSélectivité
', [{ + template: (template, expressionTypes, bindingTypes, getComponent) => template('
NomVilleDptMoyenneSélectivité
', [{ type: bindingTypes.EACH, getKey: null, condition: null, - template: template(' ', [{ - redundantAttribute: 'expr109', - selector: '[expr109]', + template: template(' ', [{ + redundantAttribute: 'expr1', + selector: '[expr1]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.etablissement.fields.g_ea_lib_vx }] }, { - redundantAttribute: 'expr110', - selector: '[expr110]', + redundantAttribute: 'expr2', + selector: '[expr2]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.etablissement.fields.ville_etab }] }, { - redundantAttribute: 'expr111', - selector: '[expr111]', + redundantAttribute: 'expr3', + selector: '[expr3]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.etablissement.fields.dep }] }, { - redundantAttribute: 'expr112', - selector: '[expr112]', + redundantAttribute: 'expr4', + selector: '[expr4]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.etablissement.fields.list_com }] }, { - redundantAttribute: 'expr113', - selector: '[expr113]', + redundantAttribute: 'expr5', + selector: '[expr5]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.etablissement.fields.taux_acces_ens }] }]), - redundantAttribute: 'expr108', - selector: '[expr108]', + redundantAttribute: 'expr0', + selector: '[expr0]', itemName: 'etablissement', indexName: null, evaluate: _scope => _scope.state.items diff --git a/javascript/search.js b/javascript/search.js index 3a22305..77d5513 100644 --- a/javascript/search.js +++ b/javascript/search.js @@ -119,9 +119,9 @@ var search = { } }; }, - template: (template, expressionTypes, bindingTypes, getComponent) => template('
', [{ - redundantAttribute: 'expr10', - selector: '[expr10]', + template: (template, expressionTypes, bindingTypes, getComponent) => template('
', [{ + redundantAttribute: 'expr6', + selector: '[expr6]', expressions: [{ type: expressionTypes.EVENT, name: 'onkeydown', @@ -132,8 +132,8 @@ var search = { evaluate: _scope => _scope.state.placeholder }] }, { - redundantAttribute: 'expr11', - selector: '[expr11]', + redundantAttribute: 'expr7', + selector: '[expr7]', expressions: [{ type: expressionTypes.EVENT, name: 'onclick', @@ -143,33 +143,33 @@ var search = { type: bindingTypes.EACH, getKey: null, condition: null, - template: template('', [{ - redundantAttribute: 'expr13', - selector: '[expr13]', + template: template('', [{ + redundantAttribute: 'expr9', + selector: '[expr9]', expressions: [{ type: expressionTypes.EVENT, name: 'onclick', evaluate: _scope => () => _scope.filter(_scope.item.name) }] }, { - redundantAttribute: 'expr14', - selector: '[expr14]', + redundantAttribute: 'expr10', + selector: '[expr10]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.item.name }] }, { - redundantAttribute: 'expr15', - selector: '[expr15]', + redundantAttribute: 'expr11', + selector: '[expr11]', expressions: [{ type: expressionTypes.TEXT, childNodeIndex: 0, evaluate: _scope => _scope.item.count }] }]), - redundantAttribute: 'expr12', - selector: '[expr12]', + redundantAttribute: 'expr8', + selector: '[expr8]', itemName: 'item', indexName: null, evaluate: _scope => _scope.state.items