@inseefr/lunatic 0.3.0-experimental → 0.3.4-experimental
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +218 -260
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/component-wrapper/controls/validators/datepicker.js +25 -14
- package/src/components/component-wrapper/missing/component.js +37 -17
- package/src/components/datepicker/component.js +8 -12
- package/src/components/declarations/wrappers/input-declarations-wrapper.js +31 -9
- package/src/components/dropdown/commons/components/dropdown.js +21 -0
- package/src/components/dropdown/dropdown-edit/dropdown-edit.js +4 -1
- package/src/components/dropdown/dropdown-simple/dropdown.js +3 -1
- package/src/components/input/input-number.js +2 -1
- package/src/components/loop-constructor/block/index.js +1 -1
- package/src/components/loop-constructor/index.js +1 -1
- package/src/components/loop-constructor/roster/index.js +1 -1
- package/src/components/loop-constructor/wrapper/body-component.js +3 -0
- package/src/components/loop-constructor/wrapper/build-components.js +33 -33
- package/src/components/loop-constructor/wrapper/index.js +1 -1
- package/src/components/suggester/components/panel/option-container.js +1 -1
- package/src/components/suggester/components/suggester-content.js +42 -42
- package/src/components/suggester/components/suggester.js +43 -3
- package/src/components/suggester/idb-suggester.js +7 -1
- package/src/components/suggester/lunatic-suggester.js +1 -0
- package/src/components/suggester/suggester-wrapper.js +9 -3
- package/src/components/table/table.js +3 -1
- package/src/stories/loop-constructor/README.md +27 -27
- package/src/stories/loop-constructor/data-input-forced.json +64 -64
- package/src/stories/loop-constructor/data-input.json +100 -100
- package/src/stories/loop-constructor/data-loop-forced.json +66 -66
- package/src/stories/loop-constructor/data-loop-static-forced.json +66 -66
- package/src/stories/loop-constructor/data-loop-static.json +81 -81
- package/src/stories/loop-constructor/data-loop.json +81 -81
- package/src/stories/loop-constructor/data-roster-forced.json +68 -68
- package/src/stories/loop-constructor/data-roster.json +83 -83
- package/src/stories/loop-constructor/loop-constructor.stories.js +180 -180
- package/src/stories/questionnaire/arithmetic-management.json +47 -0
- package/src/stories/questionnaire/logement-queen.json +23389 -22705
- package/src/stories/questionnaire/logement-s2.json +46027 -44536
- package/src/stories/questionnaire/questionnaire.stories.js +46 -13
- package/src/stories/questionnaire/update-external/data.json +1 -0
- package/src/stories/questionnaire/update-external/questionnaire.json +75 -0
- package/src/stories/suggester/data.json +4 -1
- package/src/stories/suggester/suggester-workers.stories.js +4 -1
- package/src/stories/utils/orchestrator-split.js +119 -0
- package/src/stories/utils/orchestrator.js +12 -3
- package/src/tests/utils/to-expose/handler/results/res-input-edited.json +158 -158
- package/src/tests/utils/to-expose/state/state.spec.js +59 -59
- package/src/utils/lib/index.js +1 -0
- package/src/utils/lib/pagination/navigation/shared.js +5 -5
- package/src/utils/lib/splitting.js +142 -0
- package/src/utils/suggester-workers/commons-tokenizer/create-entity-tokenizer.js +4 -2
- package/src/utils/suggester-workers/commons-tokenizer/filters/{filter-accents-to-lower.js → filter-accents.js} +2 -2
- package/src/utils/suggester-workers/commons-tokenizer/filters/{filter-accents-to-lower.spec.js → filter-accents.spec.js} +1 -1
- package/src/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.js +27 -1
- package/src/utils/suggester-workers/commons-tokenizer/filters/filter-to-lower.js +10 -0
- package/src/utils/suggester-workers/commons-tokenizer/filters/filter-to-lower.spec.js +12 -0
- package/src/utils/suggester-workers/commons-tokenizer/index.js +1 -1
- package/src/utils/to-expose/handler.js +67 -28
- package/src/utils/to-expose/hooks/filter-components.js +106 -106
- package/src/utils/to-expose/hooks/index.js +2 -1
- package/src/utils/to-expose/hooks/lunatic-split.js +421 -0
- package/src/utils/to-expose/hooks/lunatic.js +39 -7
- package/src/utils/to-expose/index.js +11 -11
- package/src/utils/to-expose/state.js +23 -15
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"components": [
|
|
3
|
-
{
|
|
4
|
-
"id": "k3ylzyo4",
|
|
5
|
-
"componentType": "Loop",
|
|
6
|
-
"mandatory": true,
|
|
7
|
-
"positioning": "HORIZONTAL",
|
|
8
|
-
"label": "\"Ajouter un individu\"",
|
|
9
|
-
"conditionFilter": { "value": "true" },
|
|
10
|
-
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
-
"lines": { "min": "3", "max": "3" },
|
|
12
|
-
"components": [
|
|
13
|
-
{
|
|
14
|
-
"componentType": "Input",
|
|
15
|
-
"label": "Prénom",
|
|
16
|
-
"conditionFilter": { "value": "true" },
|
|
17
|
-
"maxLength": 30,
|
|
18
|
-
"bindingDependencies": ["PRENOM"],
|
|
19
|
-
"id": "k3yn2qmr",
|
|
20
|
-
"response": {
|
|
21
|
-
"name": "PRENOM"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"componentType": "InputNumber",
|
|
26
|
-
"label": "Age",
|
|
27
|
-
"conditionFilter": { "value": "true" },
|
|
28
|
-
"min": 0,
|
|
29
|
-
"max": 120,
|
|
30
|
-
"decimals": 0,
|
|
31
|
-
"bindingDependencies": ["AGE"],
|
|
32
|
-
"id": "k3ymundt",
|
|
33
|
-
"response": {
|
|
34
|
-
"name": "AGE"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"variables": [
|
|
41
|
-
{
|
|
42
|
-
"variableType": "COLLECTED",
|
|
43
|
-
"name": "PRENOM",
|
|
44
|
-
"componentRef": "k3ylzyo4",
|
|
45
|
-
"values": {
|
|
46
|
-
"PREVIOUS": [null],
|
|
47
|
-
"COLLECTED": ["Marco"],
|
|
48
|
-
"FORCED": [null],
|
|
49
|
-
"EDITED": [null],
|
|
50
|
-
"INPUTED": [null]
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"variableType": "COLLECTED",
|
|
55
|
-
"name": "AGE",
|
|
56
|
-
"componentRef": "k3ylzyo4",
|
|
57
|
-
"values": {
|
|
58
|
-
"PREVIOUS": [null],
|
|
59
|
-
"COLLECTED": ["28"],
|
|
60
|
-
"FORCED": [null],
|
|
61
|
-
"EDITED": [null],
|
|
62
|
-
"INPUTED": [null]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"id": "k3ylzyo4",
|
|
5
|
+
"componentType": "Loop",
|
|
6
|
+
"mandatory": true,
|
|
7
|
+
"positioning": "HORIZONTAL",
|
|
8
|
+
"label": "\"Ajouter un individu\"",
|
|
9
|
+
"conditionFilter": { "value": "true" },
|
|
10
|
+
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
+
"lines": { "min": "3", "max": "3" },
|
|
12
|
+
"components": [
|
|
13
|
+
{
|
|
14
|
+
"componentType": "Input",
|
|
15
|
+
"label": "Prénom",
|
|
16
|
+
"conditionFilter": { "value": "true" },
|
|
17
|
+
"maxLength": 30,
|
|
18
|
+
"bindingDependencies": ["PRENOM"],
|
|
19
|
+
"id": "k3yn2qmr",
|
|
20
|
+
"response": {
|
|
21
|
+
"name": "PRENOM"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"componentType": "InputNumber",
|
|
26
|
+
"label": "Age",
|
|
27
|
+
"conditionFilter": { "value": "true" },
|
|
28
|
+
"min": 0,
|
|
29
|
+
"max": 120,
|
|
30
|
+
"decimals": 0,
|
|
31
|
+
"bindingDependencies": ["AGE"],
|
|
32
|
+
"id": "k3ymundt",
|
|
33
|
+
"response": {
|
|
34
|
+
"name": "AGE"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"variables": [
|
|
41
|
+
{
|
|
42
|
+
"variableType": "COLLECTED",
|
|
43
|
+
"name": "PRENOM",
|
|
44
|
+
"componentRef": "k3ylzyo4",
|
|
45
|
+
"values": {
|
|
46
|
+
"PREVIOUS": [null],
|
|
47
|
+
"COLLECTED": ["Marco"],
|
|
48
|
+
"FORCED": [null],
|
|
49
|
+
"EDITED": [null],
|
|
50
|
+
"INPUTED": [null]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"variableType": "COLLECTED",
|
|
55
|
+
"name": "AGE",
|
|
56
|
+
"componentRef": "k3ylzyo4",
|
|
57
|
+
"values": {
|
|
58
|
+
"PREVIOUS": [null],
|
|
59
|
+
"COLLECTED": ["28"],
|
|
60
|
+
"FORCED": [null],
|
|
61
|
+
"EDITED": [null],
|
|
62
|
+
"INPUTED": [null]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"components": [
|
|
3
|
-
{
|
|
4
|
-
"id": "k3ylzyo4",
|
|
5
|
-
"componentType": "Loop",
|
|
6
|
-
"mandatory": true,
|
|
7
|
-
"positioning": "HORIZONTAL",
|
|
8
|
-
"label": "\"Ajouter un individu\"",
|
|
9
|
-
"conditionFilter": { "value": "true" },
|
|
10
|
-
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
-
"lines": { "min": "3", "max": "3" },
|
|
12
|
-
"missingResponse": {
|
|
13
|
-
"name": "ROSTER_MISSING"
|
|
14
|
-
},
|
|
15
|
-
"components": [
|
|
16
|
-
{
|
|
17
|
-
"componentType": "Input",
|
|
18
|
-
"label": "Prénom",
|
|
19
|
-
"conditionFilter": { "value": "true" },
|
|
20
|
-
"maxLength": 30,
|
|
21
|
-
"bindingDependencies": ["PRENOM"],
|
|
22
|
-
"id": "k3yn2qmr",
|
|
23
|
-
"response": {
|
|
24
|
-
"name": "PRENOM"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"componentType": "InputNumber",
|
|
29
|
-
"label": "Age",
|
|
30
|
-
"conditionFilter": { "value": "true" },
|
|
31
|
-
"min": 0,
|
|
32
|
-
"max": 120,
|
|
33
|
-
"decimals": 0,
|
|
34
|
-
"bindingDependencies": ["AGE"],
|
|
35
|
-
"id": "k3ymundt",
|
|
36
|
-
"response": {
|
|
37
|
-
"name": "AGE"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"variables": [
|
|
44
|
-
{
|
|
45
|
-
"variableType": "COLLECTED",
|
|
46
|
-
"name": "PRENOM",
|
|
47
|
-
"componentRef": "k3ylzyo4",
|
|
48
|
-
"values": {
|
|
49
|
-
"PREVIOUS": [null],
|
|
50
|
-
"COLLECTED": [null],
|
|
51
|
-
"FORCED": [null],
|
|
52
|
-
"EDITED": [null],
|
|
53
|
-
"INPUTED": [null]
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"variableType": "COLLECTED",
|
|
58
|
-
"name": "AGE",
|
|
59
|
-
"componentRef": "k3ylzyo4",
|
|
60
|
-
"values": {
|
|
61
|
-
"PREVIOUS": [null],
|
|
62
|
-
"COLLECTED": [null],
|
|
63
|
-
"FORCED": [null],
|
|
64
|
-
"EDITED": [null],
|
|
65
|
-
"INPUTED": [null]
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"variableType": "COLLECTED",
|
|
70
|
-
"name": "ROSTER_MISSING",
|
|
71
|
-
"componentRef": "k3ylzyo4",
|
|
72
|
-
"values": {
|
|
73
|
-
"PREVIOUS": null,
|
|
74
|
-
"COLLECTED": null,
|
|
75
|
-
"FORCED": null,
|
|
76
|
-
"EDITED": null,
|
|
77
|
-
"INPUTED": null
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"id": "k3ylzyo4",
|
|
5
|
+
"componentType": "Loop",
|
|
6
|
+
"mandatory": true,
|
|
7
|
+
"positioning": "HORIZONTAL",
|
|
8
|
+
"label": "\"Ajouter un individu\"",
|
|
9
|
+
"conditionFilter": { "value": "true" },
|
|
10
|
+
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
+
"lines": { "min": "3", "max": "3" },
|
|
12
|
+
"missingResponse": {
|
|
13
|
+
"name": "ROSTER_MISSING"
|
|
14
|
+
},
|
|
15
|
+
"components": [
|
|
16
|
+
{
|
|
17
|
+
"componentType": "Input",
|
|
18
|
+
"label": "Prénom",
|
|
19
|
+
"conditionFilter": { "value": "true" },
|
|
20
|
+
"maxLength": 30,
|
|
21
|
+
"bindingDependencies": ["PRENOM"],
|
|
22
|
+
"id": "k3yn2qmr",
|
|
23
|
+
"response": {
|
|
24
|
+
"name": "PRENOM"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"componentType": "InputNumber",
|
|
29
|
+
"label": "Age",
|
|
30
|
+
"conditionFilter": { "value": "true" },
|
|
31
|
+
"min": 0,
|
|
32
|
+
"max": 120,
|
|
33
|
+
"decimals": 0,
|
|
34
|
+
"bindingDependencies": ["AGE"],
|
|
35
|
+
"id": "k3ymundt",
|
|
36
|
+
"response": {
|
|
37
|
+
"name": "AGE"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"variables": [
|
|
44
|
+
{
|
|
45
|
+
"variableType": "COLLECTED",
|
|
46
|
+
"name": "PRENOM",
|
|
47
|
+
"componentRef": "k3ylzyo4",
|
|
48
|
+
"values": {
|
|
49
|
+
"PREVIOUS": [null],
|
|
50
|
+
"COLLECTED": [null],
|
|
51
|
+
"FORCED": [null],
|
|
52
|
+
"EDITED": [null],
|
|
53
|
+
"INPUTED": [null]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"variableType": "COLLECTED",
|
|
58
|
+
"name": "AGE",
|
|
59
|
+
"componentRef": "k3ylzyo4",
|
|
60
|
+
"values": {
|
|
61
|
+
"PREVIOUS": [null],
|
|
62
|
+
"COLLECTED": [null],
|
|
63
|
+
"FORCED": [null],
|
|
64
|
+
"EDITED": [null],
|
|
65
|
+
"INPUTED": [null]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"variableType": "COLLECTED",
|
|
70
|
+
"name": "ROSTER_MISSING",
|
|
71
|
+
"componentRef": "k3ylzyo4",
|
|
72
|
+
"values": {
|
|
73
|
+
"PREVIOUS": null,
|
|
74
|
+
"COLLECTED": null,
|
|
75
|
+
"FORCED": null,
|
|
76
|
+
"EDITED": null,
|
|
77
|
+
"INPUTED": null
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"components": [
|
|
3
|
-
{
|
|
4
|
-
"id": "k3ylzyo4",
|
|
5
|
-
"componentType": "Loop",
|
|
6
|
-
"mandatory": true,
|
|
7
|
-
"positioning": "HORIZONTAL",
|
|
8
|
-
"label": "\"Ajouter un individu\"",
|
|
9
|
-
"conditionFilter": { "value": "true" },
|
|
10
|
-
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
-
"lines": { "min": 1, "max": 3 },
|
|
12
|
-
"missingResponse": {
|
|
13
|
-
"name": "ROSTER_MISSING"
|
|
14
|
-
},
|
|
15
|
-
"components": [
|
|
16
|
-
{
|
|
17
|
-
"componentType": "Input",
|
|
18
|
-
"label": "Prénom",
|
|
19
|
-
"conditionFilter": { "value": "true" },
|
|
20
|
-
"maxLength": 30,
|
|
21
|
-
"bindingDependencies": ["PRENOM"],
|
|
22
|
-
"id": "k3yn2qmr",
|
|
23
|
-
"response": {
|
|
24
|
-
"name": "PRENOM"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"componentType": "InputNumber",
|
|
29
|
-
"label": "Age",
|
|
30
|
-
"conditionFilter": { "value": "true" },
|
|
31
|
-
"min": 0,
|
|
32
|
-
"max": 120,
|
|
33
|
-
"decimals": 0,
|
|
34
|
-
"bindingDependencies": ["AGE"],
|
|
35
|
-
"id": "k3ymundt",
|
|
36
|
-
"response": {
|
|
37
|
-
"name": "AGE"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"variables": [
|
|
44
|
-
{
|
|
45
|
-
"variableType": "COLLECTED",
|
|
46
|
-
"name": "PRENOM",
|
|
47
|
-
"componentRef": "k3ylzyo4",
|
|
48
|
-
"values": {
|
|
49
|
-
"PREVIOUS": [null],
|
|
50
|
-
"COLLECTED": [null],
|
|
51
|
-
"FORCED": [null],
|
|
52
|
-
"EDITED": [null],
|
|
53
|
-
"INPUTED": [null]
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"variableType": "COLLECTED",
|
|
58
|
-
"name": "AGE",
|
|
59
|
-
"componentRef": "k3ylzyo4",
|
|
60
|
-
"values": {
|
|
61
|
-
"PREVIOUS": [null],
|
|
62
|
-
"COLLECTED": [null],
|
|
63
|
-
"FORCED": [null],
|
|
64
|
-
"EDITED": [null],
|
|
65
|
-
"INPUTED": [null]
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"variableType": "COLLECTED",
|
|
70
|
-
"name": "ROSTER_MISSING",
|
|
71
|
-
"componentRef": "k3ylzyo4",
|
|
72
|
-
"values": {
|
|
73
|
-
"PREVIOUS": null,
|
|
74
|
-
"COLLECTED": null,
|
|
75
|
-
"FORCED": null,
|
|
76
|
-
"EDITED": null,
|
|
77
|
-
"INPUTED": null
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"id": "k3ylzyo4",
|
|
5
|
+
"componentType": "Loop",
|
|
6
|
+
"mandatory": true,
|
|
7
|
+
"positioning": "HORIZONTAL",
|
|
8
|
+
"label": "\"Ajouter un individu\"",
|
|
9
|
+
"conditionFilter": { "value": "true" },
|
|
10
|
+
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
+
"lines": { "min": 1, "max": 3 },
|
|
12
|
+
"missingResponse": {
|
|
13
|
+
"name": "ROSTER_MISSING"
|
|
14
|
+
},
|
|
15
|
+
"components": [
|
|
16
|
+
{
|
|
17
|
+
"componentType": "Input",
|
|
18
|
+
"label": "Prénom",
|
|
19
|
+
"conditionFilter": { "value": "true" },
|
|
20
|
+
"maxLength": 30,
|
|
21
|
+
"bindingDependencies": ["PRENOM"],
|
|
22
|
+
"id": "k3yn2qmr",
|
|
23
|
+
"response": {
|
|
24
|
+
"name": "PRENOM"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"componentType": "InputNumber",
|
|
29
|
+
"label": "Age",
|
|
30
|
+
"conditionFilter": { "value": "true" },
|
|
31
|
+
"min": 0,
|
|
32
|
+
"max": 120,
|
|
33
|
+
"decimals": 0,
|
|
34
|
+
"bindingDependencies": ["AGE"],
|
|
35
|
+
"id": "k3ymundt",
|
|
36
|
+
"response": {
|
|
37
|
+
"name": "AGE"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"variables": [
|
|
44
|
+
{
|
|
45
|
+
"variableType": "COLLECTED",
|
|
46
|
+
"name": "PRENOM",
|
|
47
|
+
"componentRef": "k3ylzyo4",
|
|
48
|
+
"values": {
|
|
49
|
+
"PREVIOUS": [null],
|
|
50
|
+
"COLLECTED": [null],
|
|
51
|
+
"FORCED": [null],
|
|
52
|
+
"EDITED": [null],
|
|
53
|
+
"INPUTED": [null]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"variableType": "COLLECTED",
|
|
58
|
+
"name": "AGE",
|
|
59
|
+
"componentRef": "k3ylzyo4",
|
|
60
|
+
"values": {
|
|
61
|
+
"PREVIOUS": [null],
|
|
62
|
+
"COLLECTED": [null],
|
|
63
|
+
"FORCED": [null],
|
|
64
|
+
"EDITED": [null],
|
|
65
|
+
"INPUTED": [null]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"variableType": "COLLECTED",
|
|
70
|
+
"name": "ROSTER_MISSING",
|
|
71
|
+
"componentRef": "k3ylzyo4",
|
|
72
|
+
"values": {
|
|
73
|
+
"PREVIOUS": null,
|
|
74
|
+
"COLLECTED": null,
|
|
75
|
+
"FORCED": null,
|
|
76
|
+
"EDITED": null,
|
|
77
|
+
"INPUTED": null
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"components": [
|
|
3
|
-
{
|
|
4
|
-
"id": "k3ylzyo4",
|
|
5
|
-
"componentType": "RosterForLoop",
|
|
6
|
-
"mandatory": true,
|
|
7
|
-
"positioning": "HORIZONTAL",
|
|
8
|
-
"label": "\"Qui sont les personnes qui habitent dans votre logement ?\"",
|
|
9
|
-
"conditionFilter": { "value": "true" },
|
|
10
|
-
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
-
"lines": { "min": 1, "max": 3 },
|
|
12
|
-
"headers": [
|
|
13
|
-
{ "headerCell": true, "label": "Prénom" },
|
|
14
|
-
{ "headerCell": true, "label": "Age" }
|
|
15
|
-
],
|
|
16
|
-
"components": [
|
|
17
|
-
{
|
|
18
|
-
"componentType": "Input",
|
|
19
|
-
"conditionFilter": { "value": "true" },
|
|
20
|
-
"maxLength": 30,
|
|
21
|
-
"bindingDependencies": ["PRENOM"],
|
|
22
|
-
"id": "k3yn2qmr",
|
|
23
|
-
"response": {
|
|
24
|
-
"name": "PRENOM"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"componentType": "InputNumber",
|
|
29
|
-
"conditionFilter": { "value": "true" },
|
|
30
|
-
"min": 0,
|
|
31
|
-
"max": 120,
|
|
32
|
-
"decimals": 0,
|
|
33
|
-
"bindingDependencies": ["AGE"],
|
|
34
|
-
"id": "k3ymundt",
|
|
35
|
-
"response": {
|
|
36
|
-
"name": "AGE"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"variables": [
|
|
43
|
-
{
|
|
44
|
-
"variableType": "COLLECTED",
|
|
45
|
-
"name": "PRENOM",
|
|
46
|
-
"componentRef": "k3ylzyo4",
|
|
47
|
-
"values": {
|
|
48
|
-
"PREVIOUS": [null],
|
|
49
|
-
"COLLECTED": ["Marco", "Mauro"],
|
|
50
|
-
"FORCED": [null],
|
|
51
|
-
"EDITED": [null],
|
|
52
|
-
"INPUTED": [null]
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"variableType": "COLLECTED",
|
|
57
|
-
"name": "AGE",
|
|
58
|
-
"componentRef": "k3ylzyo4",
|
|
59
|
-
"values": {
|
|
60
|
-
"PREVIOUS": [null],
|
|
61
|
-
"COLLECTED": ["28", ""],
|
|
62
|
-
"FORCED": [null],
|
|
63
|
-
"EDITED": [null],
|
|
64
|
-
"INPUTED": [null]
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"id": "k3ylzyo4",
|
|
5
|
+
"componentType": "RosterForLoop",
|
|
6
|
+
"mandatory": true,
|
|
7
|
+
"positioning": "HORIZONTAL",
|
|
8
|
+
"label": "\"Qui sont les personnes qui habitent dans votre logement ?\"",
|
|
9
|
+
"conditionFilter": { "value": "true" },
|
|
10
|
+
"bindingDependencies": ["PRENOM", "AGE"],
|
|
11
|
+
"lines": { "min": 1, "max": 3 },
|
|
12
|
+
"headers": [
|
|
13
|
+
{ "headerCell": true, "label": "Prénom" },
|
|
14
|
+
{ "headerCell": true, "label": "Age" }
|
|
15
|
+
],
|
|
16
|
+
"components": [
|
|
17
|
+
{
|
|
18
|
+
"componentType": "Input",
|
|
19
|
+
"conditionFilter": { "value": "true" },
|
|
20
|
+
"maxLength": 30,
|
|
21
|
+
"bindingDependencies": ["PRENOM"],
|
|
22
|
+
"id": "k3yn2qmr",
|
|
23
|
+
"response": {
|
|
24
|
+
"name": "PRENOM"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"componentType": "InputNumber",
|
|
29
|
+
"conditionFilter": { "value": "true" },
|
|
30
|
+
"min": 0,
|
|
31
|
+
"max": 120,
|
|
32
|
+
"decimals": 0,
|
|
33
|
+
"bindingDependencies": ["AGE"],
|
|
34
|
+
"id": "k3ymundt",
|
|
35
|
+
"response": {
|
|
36
|
+
"name": "AGE"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"variables": [
|
|
43
|
+
{
|
|
44
|
+
"variableType": "COLLECTED",
|
|
45
|
+
"name": "PRENOM",
|
|
46
|
+
"componentRef": "k3ylzyo4",
|
|
47
|
+
"values": {
|
|
48
|
+
"PREVIOUS": [null],
|
|
49
|
+
"COLLECTED": ["Marco", "Mauro"],
|
|
50
|
+
"FORCED": [null],
|
|
51
|
+
"EDITED": [null],
|
|
52
|
+
"INPUTED": [null]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"variableType": "COLLECTED",
|
|
57
|
+
"name": "AGE",
|
|
58
|
+
"componentRef": "k3ylzyo4",
|
|
59
|
+
"values": {
|
|
60
|
+
"PREVIOUS": [null],
|
|
61
|
+
"COLLECTED": ["28", ""],
|
|
62
|
+
"FORCED": [null],
|
|
63
|
+
"EDITED": [null],
|
|
64
|
+
"INPUTED": [null]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|