@inseefr/lunatic 3.5.3 → 3.5.4
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/components/Input/Input.spec.js +6 -0
- package/components/Input/Input.spec.js.map +1 -1
- package/components/InputNumber/InputNumber.spec.js +6 -0
- package/components/InputNumber/InputNumber.spec.js.map +1 -1
- package/components/InputNumber/InputNumberThousand.js +1 -1
- package/components/InputNumber/InputNumberThousand.js.map +1 -1
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/Textarea.js.map +1 -1
- package/components/Textarea/Textarea.spec.js +7 -0
- package/components/Textarea/Textarea.spec.js.map +1 -1
- package/esm/components/Input/Input.spec.js +6 -0
- package/esm/components/Input/Input.spec.js.map +1 -1
- package/esm/components/InputNumber/InputNumber.spec.js +6 -0
- package/esm/components/InputNumber/InputNumber.spec.js.map +1 -1
- package/esm/components/InputNumber/InputNumberThousand.js +1 -1
- package/esm/components/InputNumber/InputNumberThousand.js.map +1 -1
- package/esm/components/Textarea/Textarea.js +1 -1
- package/esm/components/Textarea/Textarea.js.map +1 -1
- package/esm/components/Textarea/Textarea.spec.js +7 -0
- package/esm/components/Textarea/Textarea.spec.js.map +1 -1
- package/esm/hooks/use-track-changes.js +2 -1
- package/esm/hooks/use-track-changes.js.map +1 -1
- package/esm/stories/overview/sourceWithHierarchy.json +32 -32
- package/esm/type.source.d.ts +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-component.spec.js +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-component.spec.js.map +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-components.js +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +11 -7
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -1
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.js +1 -0
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.d.ts +11 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js +38 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js +33 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
- package/esm/use-lunatic/reducer/reducer.js +9 -0
- package/esm/use-lunatic/reducer/reducer.js.map +1 -1
- package/esm/use-lunatic/reducer/reducerInitializer.js +1 -1
- package/esm/use-lunatic/reducer/reducerInitializer.js.map +1 -1
- package/esm/use-lunatic/type.d.ts +2 -0
- package/hooks/use-track-changes.js +2 -1
- package/hooks/use-track-changes.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Input/Input.spec.tsx +9 -0
- package/src/components/InputNumber/InputNumber.spec.tsx +9 -0
- package/src/components/InputNumber/InputNumberThousand.tsx +1 -0
- package/src/components/InputNumber/__snapshots__/InputNumber.spec.tsx.snap +2 -0
- package/src/components/Textarea/Textarea.spec.tsx +10 -0
- package/src/components/Textarea/Textarea.tsx +1 -0
- package/src/hooks/use-track-changes.ts +2 -1
- package/src/stories/behaviour/cleaning/loop.json +4 -4
- package/src/stories/behaviour/cleaning/source-loop.json +1 -1
- package/src/stories/behaviour/cleaning/source.json +2 -2
- package/src/stories/behaviour/controls/boucles-n.json +2 -2
- package/src/stories/behaviour/controls/simple-numeric.json +19 -19
- package/src/stories/behaviour/controls/simple.json +7 -7
- package/src/stories/behaviour/filter/source.json +3 -3
- package/src/stories/behaviour/filter/sourceLoop.json +3 -3
- package/src/stories/behaviour/missing/source.json +6 -6
- package/src/stories/behaviour/others/V2_DeclarationsSimples.json +14 -14
- package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +5 -5
- package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +28 -28
- package/src/stories/behaviour/others/V2_TCMRallyeGames.json +24 -24
- package/src/stories/behaviour/others/test-dylan.json +5 -5
- package/src/stories/behaviour/resizing/source-resizing-cleaning.json +2 -2
- package/src/stories/behaviour/resizing/source.json +5 -5
- package/src/stories/checkbox-boolean/source.json +1 -1
- package/src/stories/checkbox-one/source.json +1 -1
- package/src/stories/checkbox-one/sourceDetail.json +1 -1
- package/src/stories/date-picker/source.json +1 -1
- package/src/stories/disabled/source.json +5 -5
- package/src/stories/dropdown/source.json +2 -2
- package/src/stories/duration/mois.json +1 -1
- package/src/stories/duration/time.json +1 -1
- package/src/stories/input-number/source-big-number.json +1 -1
- package/src/stories/input-number/source-euro.json +2 -2
- package/src/stories/overview/sourceLoop.json +12 -12
- package/src/stories/overview/sourceWithHierarchy.json +32 -32
- package/src/stories/question/source.json +2 -2
- package/src/stories/questionnaires/logement/source-sequence.json +216 -216
- package/src/stories/questionnaires/logement/source-sum.json +189 -189
- package/src/stories/questionnaires/logement/source.json +216 -216
- package/src/stories/questionnaires/recensement/source.json +85 -85
- package/src/stories/questionnaires/rp/source.json +8 -8
- package/src/stories/questionnaires/simpsons/source.json +34 -34
- package/src/stories/radio/source.json +1 -1
- package/src/stories/radio/sourceDetail.json +1 -1
- package/src/stories/radio/sourceHorizontal.json +1 -1
- package/src/stories/roundabout/source.json +3 -3
- package/src/stories/suggester/source-arbitrary-response.json +2 -2
- package/src/stories/suggester/source-error.json +2 -2
- package/src/stories/suggester/source-multiline.json +2 -2
- package/src/stories/suggester/source-option-responses.json +2 -2
- package/src/stories/suggester/source.json +5 -5
- package/src/stories/summary/source.json +4 -4
- package/src/stories/switch/data-forced.json +2 -2
- package/src/stories/switch/source.json +2 -2
- package/src/stories/table/source-colspan.json +1 -1
- package/src/stories/table/source.json +1 -1
- package/src/stories/table/table-dynamique.json +1 -1
- package/src/stories/text/source-roster.json +1 -1
- package/src/stories/text/source-table.json +1 -1
- package/src/type.source.ts +1 -1
- package/src/use-lunatic/commons/fill-components/fill-component.spec.ts +1 -1
- package/src/use-lunatic/commons/fill-components/fill-components.ts +1 -1
- package/src/use-lunatic/commons/variables/behaviours/resizing-behaviour.ts +14 -6
- package/src/use-lunatic/commons/variables/get-questionnaire-data.ts +1 -0
- package/src/use-lunatic/commons/variables/lunatic-variables-store.spec.ts +37 -0
- package/src/use-lunatic/commons/variables/lunatic-variables-store.ts +43 -1
- package/src/use-lunatic/reducer/reducer.ts +11 -0
- package/src/use-lunatic/reducer/reducerInitializer.tsx +2 -1
- package/src/use-lunatic/type.ts +2 -0
- package/src/use-lunatic/use-lunatic.test.ts +1 -1
- package/stories/overview/sourceWithHierarchy.json +32 -32
- package/tsconfig.build.tsbuildinfo +1 -1
- package/type.source.d.ts +1 -1
- package/use-lunatic/commons/fill-components/fill-component.spec.js +1 -1
- package/use-lunatic/commons/fill-components/fill-component.spec.js.map +1 -1
- package/use-lunatic/commons/fill-components/fill-components.js +1 -1
- package/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
- package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +11 -7
- package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -1
- package/use-lunatic/commons/variables/get-questionnaire-data.js +1 -0
- package/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.d.ts +11 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.js +38 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.spec.js +33 -0
- package/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
- package/use-lunatic/reducer/reducer.js +9 -0
- package/use-lunatic/reducer/reducer.js.map +1 -1
- package/use-lunatic/reducer/reducerInitializer.js +1 -1
- package/use-lunatic/reducer/reducerInitializer.js.map +1 -1
- package/use-lunatic/type.d.ts +2 -0
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{
|
|
31
31
|
"id": "com",
|
|
32
32
|
"componentType": "Input",
|
|
33
|
-
"
|
|
33
|
+
"isMandatory": false,
|
|
34
34
|
"page": "1",
|
|
35
35
|
"maxLength": 60,
|
|
36
36
|
"label": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
{
|
|
47
47
|
"id": "code_dep",
|
|
48
48
|
"componentType": "Input",
|
|
49
|
-
"
|
|
49
|
+
"isMandatory": false,
|
|
50
50
|
"page": "1",
|
|
51
51
|
"maxLength": 3,
|
|
52
52
|
"label": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
{
|
|
63
63
|
"id": "code_com",
|
|
64
64
|
"componentType": "Input",
|
|
65
|
-
"
|
|
65
|
+
"isMandatory": false,
|
|
66
66
|
"page": "1",
|
|
67
67
|
"maxLength": 3,
|
|
68
68
|
"label": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
{
|
|
79
79
|
"id": "iris",
|
|
80
80
|
"componentType": "Input",
|
|
81
|
-
"
|
|
81
|
+
"isMandatory": false,
|
|
82
82
|
"page": "1",
|
|
83
83
|
"maxLength": 3,
|
|
84
84
|
"label": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
{
|
|
95
95
|
"id": "rang-a",
|
|
96
96
|
"componentType": "Input",
|
|
97
|
-
"
|
|
97
|
+
"isMandatory": false,
|
|
98
98
|
"page": "1",
|
|
99
99
|
"maxLength": 3,
|
|
100
100
|
"label": {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
{
|
|
111
111
|
"id": "rang-l",
|
|
112
112
|
"componentType": "Input",
|
|
113
|
-
"
|
|
113
|
+
"isMandatory": false,
|
|
114
114
|
"page": "1",
|
|
115
115
|
"maxLength": 3,
|
|
116
116
|
"label": {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
{
|
|
135
135
|
"id": "log-indic-coll",
|
|
136
136
|
"componentType": "Radio",
|
|
137
|
-
"
|
|
137
|
+
"isMandatory": false,
|
|
138
138
|
"page": "2",
|
|
139
139
|
"label": {
|
|
140
140
|
"value": "\"Votre batiment d'habitation ne comprend qu'un seul logement ?\"",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
{
|
|
153
153
|
"id": "log-isole-coll",
|
|
154
154
|
"componentType": "Radio",
|
|
155
|
-
"
|
|
155
|
+
"isMandatory": false,
|
|
156
156
|
"page": "2",
|
|
157
157
|
"label": {
|
|
158
158
|
"value": "\"Votre logement possède au moins un mur mitoyen avec un autre batiment ?\"",
|
|
@@ -978,7 +978,7 @@
|
|
|
978
978
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
979
979
|
"id": "j6p3dkx6",
|
|
980
980
|
"page": "2",
|
|
981
|
-
"
|
|
981
|
+
"isMandatory": true,
|
|
982
982
|
"maxLength": 500
|
|
983
983
|
}
|
|
984
984
|
],
|
|
@@ -1008,7 +1008,7 @@
|
|
|
1008
1008
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1009
1009
|
"id": "j6p0np9q",
|
|
1010
1010
|
"page": "3",
|
|
1011
|
-
"
|
|
1011
|
+
"isMandatory": false
|
|
1012
1012
|
}
|
|
1013
1013
|
],
|
|
1014
1014
|
"id": "question-j6p0np9q",
|
|
@@ -1081,7 +1081,7 @@
|
|
|
1081
1081
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1082
1082
|
"id": "j3343qhx",
|
|
1083
1083
|
"page": "4",
|
|
1084
|
-
"
|
|
1084
|
+
"isMandatory": false,
|
|
1085
1085
|
"maxLength": 30
|
|
1086
1086
|
}
|
|
1087
1087
|
],
|
|
@@ -1163,7 +1163,7 @@
|
|
|
1163
1163
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1164
1164
|
"id": "j6q9h8tj",
|
|
1165
1165
|
"page": "5",
|
|
1166
|
-
"
|
|
1166
|
+
"isMandatory": true
|
|
1167
1167
|
}
|
|
1168
1168
|
],
|
|
1169
1169
|
"id": "question-j6q9h8tj",
|
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1219
1219
|
"id": "kiq71eoi",
|
|
1220
1220
|
"page": "6",
|
|
1221
|
-
"
|
|
1221
|
+
"isMandatory": false
|
|
1222
1222
|
}
|
|
1223
1223
|
],
|
|
1224
1224
|
"id": "question-kiq71eoi",
|
|
@@ -1283,7 +1283,7 @@
|
|
|
1283
1283
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1284
1284
|
"id": "k5nvty2o",
|
|
1285
1285
|
"page": "7",
|
|
1286
|
-
"
|
|
1286
|
+
"isMandatory": false
|
|
1287
1287
|
}
|
|
1288
1288
|
],
|
|
1289
1289
|
"id": "question-k5nvty2o",
|
|
@@ -1349,7 +1349,7 @@
|
|
|
1349
1349
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1350
1350
|
"id": "k5nw1fir",
|
|
1351
1351
|
"page": "8",
|
|
1352
|
-
"
|
|
1352
|
+
"isMandatory": false
|
|
1353
1353
|
}
|
|
1354
1354
|
],
|
|
1355
1355
|
"id": "question-k5nw1fir",
|
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1430
1430
|
"id": "k5nw0w05",
|
|
1431
1431
|
"page": "9",
|
|
1432
|
-
"
|
|
1432
|
+
"isMandatory": false
|
|
1433
1433
|
}
|
|
1434
1434
|
],
|
|
1435
1435
|
"id": "question-k5nw0w05",
|
|
@@ -1498,7 +1498,7 @@
|
|
|
1498
1498
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1499
1499
|
"id": "k5nvu98z",
|
|
1500
1500
|
"page": "10",
|
|
1501
|
-
"
|
|
1501
|
+
"isMandatory": false
|
|
1502
1502
|
}
|
|
1503
1503
|
],
|
|
1504
1504
|
"id": "question-k5nvu98z",
|
|
@@ -1567,7 +1567,7 @@
|
|
|
1567
1567
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1568
1568
|
"id": "k5nw8ei1",
|
|
1569
1569
|
"page": "11",
|
|
1570
|
-
"
|
|
1570
|
+
"isMandatory": false
|
|
1571
1571
|
}
|
|
1572
1572
|
],
|
|
1573
1573
|
"id": "question-k5nw8ei1",
|
|
@@ -1636,7 +1636,7 @@
|
|
|
1636
1636
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1637
1637
|
"id": "k5nw9dk4",
|
|
1638
1638
|
"page": "12",
|
|
1639
|
-
"
|
|
1639
|
+
"isMandatory": false
|
|
1640
1640
|
}
|
|
1641
1641
|
],
|
|
1642
1642
|
"id": "question-k5nw9dk4",
|
|
@@ -1674,7 +1674,7 @@
|
|
|
1674
1674
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1675
1675
|
"id": "k5nw6hr0",
|
|
1676
1676
|
"page": "13",
|
|
1677
|
-
"
|
|
1677
|
+
"isMandatory": true
|
|
1678
1678
|
}
|
|
1679
1679
|
],
|
|
1680
1680
|
"id": "question-k5nw6hr0",
|
|
@@ -1712,7 +1712,7 @@
|
|
|
1712
1712
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1713
1713
|
"id": "k5nweurr",
|
|
1714
1714
|
"page": "14",
|
|
1715
|
-
"
|
|
1715
|
+
"isMandatory": false
|
|
1716
1716
|
}
|
|
1717
1717
|
],
|
|
1718
1718
|
"id": "question-k5nweurr",
|
|
@@ -1750,7 +1750,7 @@
|
|
|
1750
1750
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1751
1751
|
"id": "kiq51oqq",
|
|
1752
1752
|
"page": "15",
|
|
1753
|
-
"
|
|
1753
|
+
"isMandatory": false
|
|
1754
1754
|
}
|
|
1755
1755
|
],
|
|
1756
1756
|
"id": "question-kiq51oqq",
|
|
@@ -1819,7 +1819,7 @@
|
|
|
1819
1819
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1820
1820
|
"id": "j6z06z1e",
|
|
1821
1821
|
"page": "16",
|
|
1822
|
-
"
|
|
1822
|
+
"isMandatory": false
|
|
1823
1823
|
}
|
|
1824
1824
|
],
|
|
1825
1825
|
"id": "question-j6z06z1e",
|
|
@@ -1890,7 +1890,7 @@
|
|
|
1890
1890
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1891
1891
|
"id": "j3343clt",
|
|
1892
1892
|
"page": "18",
|
|
1893
|
-
"
|
|
1893
|
+
"isMandatory": true
|
|
1894
1894
|
}
|
|
1895
1895
|
],
|
|
1896
1896
|
"id": "question-j3343clt",
|
|
@@ -1945,7 +1945,7 @@
|
|
|
1945
1945
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
1946
1946
|
"id": "j6qdfhvw",
|
|
1947
1947
|
"page": "19",
|
|
1948
|
-
"
|
|
1948
|
+
"isMandatory": false
|
|
1949
1949
|
}
|
|
1950
1950
|
],
|
|
1951
1951
|
"id": "question-j6qdfhvw",
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
2043
2043
|
"id": "j4nw5cqz",
|
|
2044
2044
|
"page": "20",
|
|
2045
|
-
"
|
|
2045
|
+
"isMandatory": false
|
|
2046
2046
|
}
|
|
2047
2047
|
],
|
|
2048
2048
|
"id": "question-j4nw5cqz",
|
|
@@ -2233,7 +2233,7 @@
|
|
|
2233
2233
|
}
|
|
2234
2234
|
]
|
|
2235
2235
|
],
|
|
2236
|
-
"
|
|
2236
|
+
"isMandatory": false
|
|
2237
2237
|
}
|
|
2238
2238
|
],
|
|
2239
2239
|
"id": "question-j6p29i81",
|
|
@@ -2361,7 +2361,7 @@
|
|
|
2361
2361
|
}
|
|
2362
2362
|
]
|
|
2363
2363
|
],
|
|
2364
|
-
"
|
|
2364
|
+
"isMandatory": false
|
|
2365
2365
|
}
|
|
2366
2366
|
],
|
|
2367
2367
|
"id": "question-j6qefnga",
|
|
@@ -2559,7 +2559,7 @@
|
|
|
2559
2559
|
}
|
|
2560
2560
|
]
|
|
2561
2561
|
],
|
|
2562
|
-
"
|
|
2562
|
+
"isMandatory": false
|
|
2563
2563
|
}
|
|
2564
2564
|
],
|
|
2565
2565
|
"id": "question-j6yzoc6g",
|
|
@@ -2999,7 +2999,7 @@
|
|
|
2999
2999
|
}
|
|
3000
3000
|
]
|
|
3001
3001
|
],
|
|
3002
|
-
"
|
|
3002
|
+
"isMandatory": false
|
|
3003
3003
|
}
|
|
3004
3004
|
],
|
|
3005
3005
|
"id": "question-j4nwc63q",
|
|
@@ -3270,7 +3270,7 @@
|
|
|
3270
3270
|
}
|
|
3271
3271
|
]
|
|
3272
3272
|
],
|
|
3273
|
-
"
|
|
3273
|
+
"isMandatory": false
|
|
3274
3274
|
}
|
|
3275
3275
|
],
|
|
3276
3276
|
"id": "question-k9cg2q5t",
|
|
@@ -3496,7 +3496,7 @@
|
|
|
3496
3496
|
}
|
|
3497
3497
|
]
|
|
3498
3498
|
],
|
|
3499
|
-
"
|
|
3499
|
+
"isMandatory": false
|
|
3500
3500
|
}
|
|
3501
3501
|
],
|
|
3502
3502
|
"id": "question-kbkjvgel",
|
|
@@ -3711,7 +3711,7 @@
|
|
|
3711
3711
|
}
|
|
3712
3712
|
]
|
|
3713
3713
|
],
|
|
3714
|
-
"
|
|
3714
|
+
"isMandatory": false
|
|
3715
3715
|
}
|
|
3716
3716
|
],
|
|
3717
3717
|
"id": "question-j6p2lwuj",
|
|
@@ -3785,7 +3785,7 @@
|
|
|
3785
3785
|
"min": { "type": "VTL", "value": "1" },
|
|
3786
3786
|
"max": { "type": "VTL", "value": "5" }
|
|
3787
3787
|
},
|
|
3788
|
-
"
|
|
3788
|
+
"isMandatory": false
|
|
3789
3789
|
}
|
|
3790
3790
|
],
|
|
3791
3791
|
"id": "question-kvkvfojo",
|
|
@@ -3915,7 +3915,7 @@
|
|
|
3915
3915
|
}
|
|
3916
3916
|
]
|
|
3917
3917
|
],
|
|
3918
|
-
"
|
|
3918
|
+
"isMandatory": false
|
|
3919
3919
|
}
|
|
3920
3920
|
],
|
|
3921
3921
|
"id": "question-jvxux0mi",
|
|
@@ -4230,7 +4230,7 @@
|
|
|
4230
4230
|
}
|
|
4231
4231
|
]
|
|
4232
4232
|
],
|
|
4233
|
-
"
|
|
4233
|
+
"isMandatory": false
|
|
4234
4234
|
}
|
|
4235
4235
|
],
|
|
4236
4236
|
"id": "question-jvxwy68n",
|
|
@@ -4310,7 +4310,7 @@
|
|
|
4310
4310
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
4311
4311
|
"id": "kiq612ky",
|
|
4312
4312
|
"page": "36",
|
|
4313
|
-
"
|
|
4313
|
+
"isMandatory": false
|
|
4314
4314
|
}
|
|
4315
4315
|
],
|
|
4316
4316
|
"id": "question-kiq612ky",
|
|
@@ -4381,7 +4381,7 @@
|
|
|
4381
4381
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
4382
4382
|
"id": "kiq66gtw",
|
|
4383
4383
|
"page": "37",
|
|
4384
|
-
"
|
|
4384
|
+
"isMandatory": false,
|
|
4385
4385
|
"maxLength": 30
|
|
4386
4386
|
}
|
|
4387
4387
|
],
|
|
@@ -4450,7 +4450,7 @@
|
|
|
4450
4450
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
4451
4451
|
"id": "kiq5r8wu",
|
|
4452
4452
|
"page": "37",
|
|
4453
|
-
"
|
|
4453
|
+
"isMandatory": false
|
|
4454
4454
|
}
|
|
4455
4455
|
],
|
|
4456
4456
|
"id": "question-kiq5r8wu",
|
|
@@ -4535,7 +4535,7 @@
|
|
|
4535
4535
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
4536
4536
|
"id": "kiq65x3c",
|
|
4537
4537
|
"page": "38.2",
|
|
4538
|
-
"
|
|
4538
|
+
"isMandatory": false
|
|
4539
4539
|
}
|
|
4540
4540
|
],
|
|
4541
4541
|
"id": "question-kiq65x3c",
|
|
@@ -4564,7 +4564,7 @@
|
|
|
4564
4564
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
4565
4565
|
"id": "kiq651zv",
|
|
4566
4566
|
"page": "38.3",
|
|
4567
|
-
"
|
|
4567
|
+
"isMandatory": false,
|
|
4568
4568
|
"maxLength": 255
|
|
4569
4569
|
}
|
|
4570
4570
|
],
|
|
@@ -4626,7 +4626,7 @@
|
|
|
4626
4626
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
4627
4627
|
"id": "j6z0z3us",
|
|
4628
4628
|
"page": "40",
|
|
4629
|
-
"
|
|
4629
|
+
"isMandatory": false,
|
|
4630
4630
|
"maxLength": 255
|
|
4631
4631
|
}
|
|
4632
4632
|
],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "how",
|
|
6
6
|
"componentType": "InputNumber",
|
|
7
|
-
"
|
|
7
|
+
"isMandatory": false,
|
|
8
8
|
"page": "1",
|
|
9
9
|
"min": 1,
|
|
10
10
|
"max": 10,
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
{
|
|
33
33
|
"id": "prenom",
|
|
34
34
|
"componentType": "Input",
|
|
35
|
-
"
|
|
35
|
+
"isMandatory": false,
|
|
36
36
|
"maxLength": 20,
|
|
37
37
|
"label": {
|
|
38
38
|
"value": "\"Prénom\"))",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
{
|
|
93
93
|
"id": "radio",
|
|
94
94
|
"componentType": "Radio",
|
|
95
|
-
"
|
|
95
|
+
"isMandatory": false,
|
|
96
96
|
"page": "3.1",
|
|
97
97
|
"label": {
|
|
98
98
|
"value": "\"Connaissez-vous le recensement de la population ?\"",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"type": "VTL"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"isMandatory": false,
|
|
76
76
|
"maxLength": 249
|
|
77
77
|
},
|
|
78
78
|
{
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"type": "VTL|MD",
|
|
91
91
|
"value": "\"➡ 2. Vous aimez \" || PRODUCT_NAME || \" à \" || cast(PRODUCT_PRICE, string) || \"€ mais quel est votre prénom ?\""
|
|
92
92
|
},
|
|
93
|
-
"
|
|
93
|
+
"isMandatory": false,
|
|
94
94
|
"maxLength": 249
|
|
95
95
|
}
|
|
96
96
|
],
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"type": "VTL"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
"
|
|
52
|
+
"isMandatory": false,
|
|
53
53
|
"maxLength": 249
|
|
54
54
|
},
|
|
55
55
|
{
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"type": "VTL|MD",
|
|
68
68
|
"value": "\"➡ 2. Vous aimez \" || PRODUCT_NAME || \" à \" || cast(PRODUCT_PRICE, string) || \"€ mais quel est votre prénom ?\""
|
|
69
69
|
},
|
|
70
|
-
"
|
|
70
|
+
"isMandatory": false,
|
|
71
71
|
"maxLength": 249
|
|
72
72
|
}
|
|
73
73
|
],
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"typeOfControl": "FORMAT"
|
|
174
174
|
}
|
|
175
175
|
],
|
|
176
|
-
"
|
|
176
|
+
"isMandatory": false,
|
|
177
177
|
"components": [
|
|
178
178
|
{
|
|
179
179
|
"id": "lsvppebo-RDOP-lyphsg13",
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"response": {
|
|
241
241
|
"name": "QUELESTLEP"
|
|
242
242
|
},
|
|
243
|
-
"
|
|
243
|
+
"isMandatory": false,
|
|
244
244
|
"storeName": "L_DECHETS",
|
|
245
245
|
"componentType": "Suggester"
|
|
246
246
|
}
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
|
-
"
|
|
64
|
+
"isMandatory": false,
|
|
65
65
|
"maxLength": 249
|
|
66
66
|
},
|
|
67
67
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"type": "VTL|MD",
|
|
80
80
|
"value": "\"➡ 2. Vous aimez \" || PRODUCT_NAME || \" à \" || cast(PRODUCT_PRICE, string) || \"€ mais quel est votre prénom ?\""
|
|
81
81
|
},
|
|
82
|
-
"
|
|
82
|
+
"isMandatory": false,
|
|
83
83
|
"maxLength": 249
|
|
84
84
|
}
|
|
85
85
|
],
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"type": "VTL",
|
|
205
205
|
"value": "\"id || \" - \" || label\""
|
|
206
206
|
},
|
|
207
|
-
"
|
|
207
|
+
"isMandatory": false,
|
|
208
208
|
"maxLength": 249
|
|
209
209
|
},
|
|
210
210
|
{
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
"type": "VTL|MD",
|
|
224
224
|
"value": "\"➡ 2. \" || \"Variable Pays\""
|
|
225
225
|
},
|
|
226
|
-
"
|
|
226
|
+
"isMandatory": false,
|
|
227
227
|
"maxLength": 249
|
|
228
228
|
},
|
|
229
229
|
{
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"type": "VTL|MD",
|
|
243
243
|
"value": "\"➡ 3. \" || \"Variable Nationalité\""
|
|
244
244
|
},
|
|
245
|
-
"
|
|
245
|
+
"isMandatory": false,
|
|
246
246
|
"maxLength": 249
|
|
247
247
|
},
|
|
248
248
|
{
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
"type": "VTL|MD",
|
|
263
263
|
"value": "\"➡ 4. \" || \"VARIABLE_PCS\""
|
|
264
264
|
},
|
|
265
|
-
"
|
|
265
|
+
"isMandatory": false,
|
|
266
266
|
"maxLength": 249
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"type": "VTL|MD",
|
|
282
282
|
"value": "\"➡ 5. \" || \"VARIABLE_BAILLEURS_SOCIAUX\""
|
|
283
283
|
},
|
|
284
|
-
"
|
|
284
|
+
"isMandatory": false,
|
|
285
285
|
"maxLength": 249
|
|
286
286
|
}
|
|
287
287
|
],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"id": "how",
|
|
17
17
|
"componentType": "InputNumber",
|
|
18
|
-
"
|
|
18
|
+
"isMandatory": false,
|
|
19
19
|
"page": "2",
|
|
20
20
|
"min": 1,
|
|
21
21
|
"max": 10,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{
|
|
31
31
|
"id": "hoew",
|
|
32
32
|
"componentType": "InputNumber",
|
|
33
|
-
"
|
|
33
|
+
"isMandatory": false,
|
|
34
34
|
"page": "2",
|
|
35
35
|
"min": 42,
|
|
36
36
|
"max": 42,
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
{
|
|
59
59
|
"id": "prenom",
|
|
60
60
|
"componentType": "Input",
|
|
61
|
-
"
|
|
61
|
+
"isMandatory": false,
|
|
62
62
|
"maxLength": 20,
|
|
63
63
|
"label": {
|
|
64
64
|
"value": "\"Prénom\"))",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
{
|
|
134
134
|
"id": "radio",
|
|
135
135
|
"componentType": "Radio",
|
|
136
|
-
"
|
|
136
|
+
"isMandatory": false,
|
|
137
137
|
"page": "4.1",
|
|
138
138
|
"label": {
|
|
139
139
|
"value": "\"Connaissez-vous le recensement de la population ?\"",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{
|
|
4
4
|
"id": "1",
|
|
5
5
|
"componentType": "Switch",
|
|
6
|
-
"
|
|
6
|
+
"isMandatory": false,
|
|
7
7
|
"label": "➡ 1. Are you ready?",
|
|
8
8
|
"response": {
|
|
9
9
|
"name": "READY"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{
|
|
13
13
|
"id": "2",
|
|
14
14
|
"componentType": "Switch",
|
|
15
|
-
"
|
|
15
|
+
"isMandatory": false,
|
|
16
16
|
"label": "➡ 2. Are you always ready?",
|
|
17
17
|
"response": {
|
|
18
18
|
"name": "READY2"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{
|
|
4
4
|
"id": "1",
|
|
5
5
|
"componentType": "Switch",
|
|
6
|
-
"
|
|
6
|
+
"isMandatory": false,
|
|
7
7
|
"label": { "value": "\"➡ 1. Are you ready?\"", "type": "VTL|MD" },
|
|
8
8
|
"statusLabel": { "true": "Yes", "false": "No" },
|
|
9
9
|
"response": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{
|
|
17
17
|
"id": "2",
|
|
18
18
|
"componentType": "Switch",
|
|
19
|
-
"
|
|
19
|
+
"isMandatory": false,
|
|
20
20
|
"label": { "value": "\"➡ 2. Are you always ready?\"", "type": "VTL|MD" },
|
|
21
21
|
"response": {
|
|
22
22
|
"name": "READY2"
|
package/src/type.source.ts
CHANGED
|
@@ -338,7 +338,7 @@ export type ComponentDefinitionBase = {
|
|
|
338
338
|
conditionFilter?: VTLScalarExpression;
|
|
339
339
|
controls?: ControlDefinition[];
|
|
340
340
|
id: string;
|
|
341
|
-
|
|
341
|
+
isMandatory?: boolean;
|
|
342
342
|
missingResponse?: ResponseDefinition;
|
|
343
343
|
};
|
|
344
344
|
export type Declaration = {
|