@inseefr/lunatic 3.5.3 → 3.5.5

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.
Files changed (141) hide show
  1. package/components/Input/Input.spec.js +6 -0
  2. package/components/Input/Input.spec.js.map +1 -1
  3. package/components/InputNumber/InputNumber.spec.js +6 -0
  4. package/components/InputNumber/InputNumber.spec.js.map +1 -1
  5. package/components/InputNumber/InputNumberThousand.js +1 -1
  6. package/components/InputNumber/InputNumberThousand.js.map +1 -1
  7. package/components/Textarea/Textarea.js +1 -1
  8. package/components/Textarea/Textarea.js.map +1 -1
  9. package/components/Textarea/Textarea.spec.js +7 -0
  10. package/components/Textarea/Textarea.spec.js.map +1 -1
  11. package/esm/components/Input/Input.spec.js +6 -0
  12. package/esm/components/Input/Input.spec.js.map +1 -1
  13. package/esm/components/InputNumber/InputNumber.spec.js +6 -0
  14. package/esm/components/InputNumber/InputNumber.spec.js.map +1 -1
  15. package/esm/components/InputNumber/InputNumberThousand.js +1 -1
  16. package/esm/components/InputNumber/InputNumberThousand.js.map +1 -1
  17. package/esm/components/Textarea/Textarea.js +1 -1
  18. package/esm/components/Textarea/Textarea.js.map +1 -1
  19. package/esm/components/Textarea/Textarea.spec.js +7 -0
  20. package/esm/components/Textarea/Textarea.spec.js.map +1 -1
  21. package/esm/hooks/use-track-changes.js +2 -1
  22. package/esm/hooks/use-track-changes.js.map +1 -1
  23. package/esm/stories/overview/sourceWithHierarchy.json +32 -32
  24. package/esm/type.source.d.ts +1 -1
  25. package/esm/use-lunatic/actions.d.ts +2 -0
  26. package/esm/use-lunatic/actions.js.map +1 -1
  27. package/esm/use-lunatic/commons/fill-components/fill-component.spec.js +1 -1
  28. package/esm/use-lunatic/commons/fill-components/fill-component.spec.js.map +1 -1
  29. package/esm/use-lunatic/commons/fill-components/fill-components.js +1 -1
  30. package/esm/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
  31. package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +11 -7
  32. package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -1
  33. package/esm/use-lunatic/commons/variables/get-questionnaire-data.js +1 -0
  34. package/esm/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -1
  35. package/esm/use-lunatic/commons/variables/lunatic-variables-store.d.ts +18 -3
  36. package/esm/use-lunatic/commons/variables/lunatic-variables-store.js +49 -5
  37. package/esm/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
  38. package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js +44 -0
  39. package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
  40. package/esm/use-lunatic/reducer/reducer.js +9 -0
  41. package/esm/use-lunatic/reducer/reducer.js.map +1 -1
  42. package/esm/use-lunatic/reducer/reducerInitializer.js +1 -1
  43. package/esm/use-lunatic/reducer/reducerInitializer.js.map +1 -1
  44. package/esm/use-lunatic/type.d.ts +3 -0
  45. package/hooks/use-track-changes.js +2 -1
  46. package/hooks/use-track-changes.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/components/Input/Input.spec.tsx +9 -0
  49. package/src/components/InputNumber/InputNumber.spec.tsx +9 -0
  50. package/src/components/InputNumber/InputNumberThousand.tsx +1 -0
  51. package/src/components/InputNumber/__snapshots__/InputNumber.spec.tsx.snap +2 -0
  52. package/src/components/Textarea/Textarea.spec.tsx +10 -0
  53. package/src/components/Textarea/Textarea.tsx +1 -0
  54. package/src/hooks/use-track-changes.ts +2 -1
  55. package/src/stories/behaviour/cleaning/loop.json +4 -4
  56. package/src/stories/behaviour/cleaning/source-loop.json +1 -1
  57. package/src/stories/behaviour/cleaning/source.json +2 -2
  58. package/src/stories/behaviour/controls/boucles-n.json +2 -2
  59. package/src/stories/behaviour/controls/simple-numeric.json +19 -19
  60. package/src/stories/behaviour/controls/simple.json +7 -7
  61. package/src/stories/behaviour/filter/source.json +3 -3
  62. package/src/stories/behaviour/filter/sourceLoop.json +3 -3
  63. package/src/stories/behaviour/missing/source.json +6 -6
  64. package/src/stories/behaviour/others/V2_DeclarationsSimples.json +14 -14
  65. package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +5 -5
  66. package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +28 -28
  67. package/src/stories/behaviour/others/V2_TCMRallyeGames.json +24 -24
  68. package/src/stories/behaviour/others/test-dylan.json +5 -5
  69. package/src/stories/behaviour/resizing/source-resizing-cleaning.json +2 -2
  70. package/src/stories/behaviour/resizing/source.json +5 -5
  71. package/src/stories/checkbox-boolean/source.json +1 -1
  72. package/src/stories/checkbox-one/source.json +1 -1
  73. package/src/stories/checkbox-one/sourceDetail.json +1 -1
  74. package/src/stories/date-picker/source.json +1 -1
  75. package/src/stories/disabled/source.json +5 -5
  76. package/src/stories/dropdown/source.json +2 -2
  77. package/src/stories/duration/mois.json +1 -1
  78. package/src/stories/duration/time.json +1 -1
  79. package/src/stories/input-number/source-big-number.json +1 -1
  80. package/src/stories/input-number/source-euro.json +2 -2
  81. package/src/stories/overview/sourceLoop.json +12 -12
  82. package/src/stories/overview/sourceWithHierarchy.json +32 -32
  83. package/src/stories/question/source.json +2 -2
  84. package/src/stories/questionnaires/logement/source-sequence.json +216 -216
  85. package/src/stories/questionnaires/logement/source-sum.json +189 -189
  86. package/src/stories/questionnaires/logement/source.json +216 -216
  87. package/src/stories/questionnaires/recensement/source.json +85 -85
  88. package/src/stories/questionnaires/rp/source.json +8 -8
  89. package/src/stories/questionnaires/simpsons/source.json +34 -34
  90. package/src/stories/radio/source.json +1 -1
  91. package/src/stories/radio/sourceDetail.json +1 -1
  92. package/src/stories/radio/sourceHorizontal.json +1 -1
  93. package/src/stories/roundabout/source.json +3 -3
  94. package/src/stories/suggester/source-arbitrary-response.json +2 -2
  95. package/src/stories/suggester/source-error.json +2 -2
  96. package/src/stories/suggester/source-multiline.json +2 -2
  97. package/src/stories/suggester/source-option-responses.json +2 -2
  98. package/src/stories/suggester/source.json +5 -5
  99. package/src/stories/summary/source.json +4 -4
  100. package/src/stories/switch/data-forced.json +2 -2
  101. package/src/stories/switch/source.json +2 -2
  102. package/src/stories/table/source-colspan.json +1 -1
  103. package/src/stories/table/source.json +1 -1
  104. package/src/stories/table/table-dynamique.json +1 -1
  105. package/src/stories/text/source-roster.json +1 -1
  106. package/src/stories/text/source-table.json +1 -1
  107. package/src/type.source.ts +1 -1
  108. package/src/use-lunatic/actions.ts +2 -0
  109. package/src/use-lunatic/commons/fill-components/fill-component.spec.ts +1 -1
  110. package/src/use-lunatic/commons/fill-components/fill-components.ts +1 -1
  111. package/src/use-lunatic/commons/variables/behaviours/resizing-behaviour.ts +14 -6
  112. package/src/use-lunatic/commons/variables/get-questionnaire-data.ts +1 -0
  113. package/src/use-lunatic/commons/variables/lunatic-variables-store.spec.ts +49 -0
  114. package/src/use-lunatic/commons/variables/lunatic-variables-store.ts +63 -6
  115. package/src/use-lunatic/reducer/reducer.ts +11 -0
  116. package/src/use-lunatic/reducer/reducerInitializer.tsx +2 -1
  117. package/src/use-lunatic/type.ts +3 -0
  118. package/src/use-lunatic/use-lunatic.test.ts +40 -1
  119. package/stories/overview/sourceWithHierarchy.json +32 -32
  120. package/tsconfig.build.tsbuildinfo +1 -1
  121. package/type.source.d.ts +1 -1
  122. package/use-lunatic/actions.d.ts +2 -0
  123. package/use-lunatic/actions.js.map +1 -1
  124. package/use-lunatic/commons/fill-components/fill-component.spec.js +1 -1
  125. package/use-lunatic/commons/fill-components/fill-component.spec.js.map +1 -1
  126. package/use-lunatic/commons/fill-components/fill-components.js +1 -1
  127. package/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
  128. package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +11 -7
  129. package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -1
  130. package/use-lunatic/commons/variables/get-questionnaire-data.js +1 -0
  131. package/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -1
  132. package/use-lunatic/commons/variables/lunatic-variables-store.d.ts +18 -3
  133. package/use-lunatic/commons/variables/lunatic-variables-store.js +49 -5
  134. package/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
  135. package/use-lunatic/commons/variables/lunatic-variables-store.spec.js +44 -0
  136. package/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
  137. package/use-lunatic/reducer/reducer.js +9 -0
  138. package/use-lunatic/reducer/reducer.js.map +1 -1
  139. package/use-lunatic/reducer/reducerInitializer.js +1 -1
  140. package/use-lunatic/reducer/reducerInitializer.js.map +1 -1
  141. package/use-lunatic/type.d.ts +3 -0
@@ -201,7 +201,7 @@
201
201
  "type": "VTL|MD",
202
202
  "value": "\"➡ 1. \" || \"NB\""
203
203
  },
204
- "mandatory": false,
204
+ "isMandatory": false,
205
205
  "bindingDependencies": ["NB"],
206
206
  "min": 0,
207
207
  "response": {
@@ -313,7 +313,7 @@
313
313
  "type": "VTL|MD",
314
314
  "value": "\"➡ 2. \" || \"prénom\""
315
315
  },
316
- "mandatory": false,
316
+ "isMandatory": false,
317
317
  "maxLength": 249,
318
318
  "declarations": [
319
319
  {
@@ -488,7 +488,7 @@
488
488
  "type": "VTL|MD",
489
489
  "value": "\"➡ 3. \" || \"Age de l’individu : \" || PRENOM"
490
490
  },
491
- "mandatory": false,
491
+ "isMandatory": false,
492
492
  "declarations": [
493
493
  {
494
494
  "declarationType": "HELP",
@@ -639,7 +639,7 @@
639
639
  "type": "VTL|MD",
640
640
  "value": "\"➡ 4. \" || \"divers\""
641
641
  },
642
- "mandatory": false,
642
+ "isMandatory": false,
643
643
  "maxLength": 249
644
644
  },
645
645
  {
@@ -744,7 +744,7 @@
744
744
  "type": "VTL|MD",
745
745
  "value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
746
746
  },
747
- "mandatory": false,
747
+ "isMandatory": false,
748
748
  "maxLength": 2000
749
749
  }
750
750
  ],
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "id": "checkboxboolean",
5
5
  "componentType": "CheckboxBoolean",
6
- "mandatory": false,
6
+ "isMandatory": false,
7
7
  "page": "1",
8
8
  "label": {
9
9
  "value": "\"checkboxBoolean component (checked: true, unchecked: false)\"",
@@ -5,7 +5,7 @@
5
5
  {
6
6
  "id": "checkboxone",
7
7
  "componentType": "CheckboxOne",
8
- "mandatory": false,
8
+ "isMandatory": false,
9
9
  "page": "1",
10
10
  "label": {
11
11
  "value": "\"checkboxone ONE component\"",
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "id": "checkboxone",
6
6
  "componentType": "CheckboxOne",
7
- "mandatory": false,
7
+ "isMandatory": false,
8
8
  "page": "3",
9
9
  "label": {
10
10
  "value": "\"checkboxone ONE component\"",
@@ -6,7 +6,7 @@
6
6
  "dateFormat": "YYYY-MM-DD",
7
7
  "conditionFilter": { "type": "VTL", "value": "true" },
8
8
  "label": { "type": "VTL|MD", "value": "\"➡ 1. \" || \"Birth day\"" },
9
- "mandatory": false,
9
+ "isMandatory": false,
10
10
  "min": "1900-01-01",
11
11
  "response": { "name": "Q1" },
12
12
  "id": "l7ovm2rv",
@@ -40,7 +40,7 @@
40
40
  {
41
41
  "id": "radio",
42
42
  "componentType": "Radio",
43
- "mandatory": false,
43
+ "isMandatory": false,
44
44
  "page": "1",
45
45
  "label": {
46
46
  "value": "\"Disabled or enabled!\"",
@@ -74,7 +74,7 @@
74
74
  {
75
75
  "id": "radio1",
76
76
  "componentType": "Radio",
77
- "mandatory": false,
77
+ "isMandatory": false,
78
78
  "page": "2",
79
79
  "readOnly": { "value": "DISABLED_SEXE", "type": "VTL" },
80
80
  "label": {
@@ -109,7 +109,7 @@
109
109
  {
110
110
  "id": "radio3",
111
111
  "componentType": "Radio",
112
- "mandatory": false,
112
+ "isMandatory": false,
113
113
  "page": "2",
114
114
  "label": {
115
115
  "value": "\"Disabled or enabled!\"",
@@ -193,7 +193,7 @@
193
193
  {
194
194
  "id": "radio",
195
195
  "componentType": "Radio",
196
- "mandatory": false,
196
+ "isMandatory": false,
197
197
  "page": "3",
198
198
  "label": {
199
199
  "value": "\"Disabled or enabled!\"",
@@ -262,7 +262,7 @@
262
262
  {
263
263
  "id": "radio",
264
264
  "componentType": "Radio",
265
- "mandatory": false,
265
+ "isMandatory": false,
266
266
  "page": "4",
267
267
  "label": {
268
268
  "value": "\"Disabled or enabled!\"",
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "id": "j4nw5cqz",
6
6
  "componentType": "Dropdown",
7
- "mandatory": false,
7
+ "isMandatory": false,
8
8
  "page": "1",
9
9
  "label": {
10
10
  "value": "\"In which state do The Simpsons reside?\"",
@@ -59,7 +59,7 @@
59
59
  {
60
60
  "id": "j4nw5cqz-bis",
61
61
  "componentType": "Dropdown",
62
- "mandatory": false,
62
+ "isMandatory": false,
63
63
  "page": "1",
64
64
  "label": {
65
65
  "value": "\"In which state do The Simpsons reside?\"",
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "id": "kxi788",
5
5
  "componentType": "Duration",
6
- "mandatory": false,
6
+ "isMandatory": false,
7
7
  "format": "PnYnM",
8
8
  "page": "1",
9
9
  "maxPage": "1",
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "id": "kxi788",
5
5
  "componentType": "Duration",
6
- "mandatory": false,
6
+ "isMandatory": false,
7
7
  "format": "PTnHnM",
8
8
  "page": "1",
9
9
  "maxPage": "1",
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "id": "kze792d8",
6
6
  "componentType": "InputNumber",
7
- "mandatory": false,
7
+ "isMandatory": false,
8
8
  "page": "1",
9
9
  "min": 0,
10
10
  "decimals": 0,
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "id": "kze792d8",
6
6
  "componentType": "InputNumber",
7
- "mandatory": false,
7
+ "isMandatory": false,
8
8
  "page": "1",
9
9
  "min": 0,
10
10
  "max": 10,
@@ -18,7 +18,7 @@
18
18
  {
19
19
  "id": "kze792d8",
20
20
  "componentType": "InputNumber",
21
- "mandatory": false,
21
+ "isMandatory": false,
22
22
  "page": "1",
23
23
  "min": 0,
24
24
  "max": 10,
@@ -331,7 +331,7 @@
331
331
  "type": "VTL|MD",
332
332
  "value": "\"➡ 1. \" || \"Vous allez bien ?\""
333
333
  },
334
- "mandatory": false
334
+ "isMandatory": false
335
335
  },
336
336
  {
337
337
  "componentType": "Subsequence",
@@ -428,7 +428,7 @@
428
428
  "type": "VTL|MD",
429
429
  "value": "\"➡ 2. \" || \"Êtes-vous satisfait de votre logement ?\""
430
430
  },
431
- "mandatory": false
431
+ "isMandatory": false
432
432
  },
433
433
  {
434
434
  "componentType": "Sequence",
@@ -484,7 +484,7 @@
484
484
  "type": "VTL|MD",
485
485
  "value": "\"➡ 3. \" || \"Combien d'habitants dans votre logement ?\""
486
486
  },
487
- "mandatory": false
487
+ "isMandatory": false
488
488
  },
489
489
  {
490
490
  "paginatedLoop": false,
@@ -559,7 +559,7 @@
559
559
  "type": "VTL|MD",
560
560
  "value": "\"➡ 4. \" || \" \" || if (T_NBHAB = 1) then \"Votre prénom : \" else (if ( not(isnull(T_PRENOM)) and T_PRENOM=PRENOMREF ) then \"Votre prénom : \" else ( if (isnull(PRENOMREFB) and isnull(T_PRENOM)) then \"Prénom (commencez par votre prénom) : \" else \"Prénom : \")) "
561
561
  },
562
- "mandatory": false,
562
+ "isMandatory": false,
563
563
  "maxLength": 40
564
564
  }
565
565
  ],
@@ -658,7 +658,7 @@
658
658
  "type": "VTL|MD",
659
659
  "value": "\"➡ 5. \" || \"Un petit commentaire sur cette composition de logement ?\""
660
660
  },
661
- "mandatory": false,
661
+ "isMandatory": false,
662
662
  "maxLength": 249
663
663
  },
664
664
  {
@@ -772,7 +772,7 @@
772
772
  "type": "VTL|MD",
773
773
  "value": "\"➡ 6. \" || \"Quel est \" || if (PRENOM = PRENOMREF) then \"votre sexe ?\" else \"le sexe de \" || PRENOM || \" ?\" "
774
774
  },
775
- "mandatory": false
775
+ "isMandatory": false
776
776
  }
777
777
  ],
778
778
  "depth": 1,
@@ -873,7 +873,7 @@
873
873
  "type": "VTL|MD",
874
874
  "value": "\"➡ 7. \" || \"Quelle est la date de naissance de \" || PRENOM || \" ?\" "
875
875
  },
876
- "mandatory": false
876
+ "isMandatory": false
877
877
  },
878
878
  {
879
879
  "componentType": "Subsequence",
@@ -942,7 +942,7 @@
942
942
  "type": "VTL|MD",
943
943
  "value": "\"➡ 8. \" || \"Des remarques pour \" || PRENOM "
944
944
  },
945
- "mandatory": false,
945
+ "isMandatory": false,
946
946
  "maxLength": 249
947
947
  }
948
948
  ],
@@ -1064,7 +1064,7 @@
1064
1064
  "type": "VTL|MD",
1065
1065
  "value": "\"➡ 9. \" || \"Super question pour \" || PRENOM "
1066
1066
  },
1067
- "mandatory": false,
1067
+ "isMandatory": false,
1068
1068
  "maxLength": 249
1069
1069
  },
1070
1070
  {
@@ -1134,7 +1134,7 @@
1134
1134
  "type": "VTL|MD",
1135
1135
  "value": "\"➡ 10. \" || \"Encore une question pour \" || PRENOM "
1136
1136
  },
1137
- "mandatory": false,
1137
+ "isMandatory": false,
1138
1138
  "maxLength": 249
1139
1139
  },
1140
1140
  {
@@ -1188,7 +1188,7 @@
1188
1188
  "type": "VTL|MD",
1189
1189
  "value": "\"➡ 11. \" || \"Autre super question pour \" || PRENOM "
1190
1190
  },
1191
- "mandatory": false,
1191
+ "isMandatory": false,
1192
1192
  "maxLength": 249
1193
1193
  }
1194
1194
  ],
@@ -1266,7 +1266,7 @@
1266
1266
  "type": "VTL|MD",
1267
1267
  "value": "\"➡ 12. \" || \"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
1268
1268
  },
1269
- "mandatory": false,
1269
+ "isMandatory": false,
1270
1270
  "maxLength": 2000
1271
1271
  }
1272
1272
  ],
@@ -39,7 +39,7 @@
39
39
  {
40
40
  "id": "j6p3dkx6",
41
41
  "componentType": "Textarea",
42
- "mandatory": true,
42
+ "isMandatory": true,
43
43
  "page": "2",
44
44
  "maxLength": 500,
45
45
  "label": {
@@ -62,7 +62,7 @@
62
62
  {
63
63
  "id": "j6p0np9q",
64
64
  "componentType": "CheckboxBoolean",
65
- "mandatory": false,
65
+ "isMandatory": false,
66
66
  "page": "3",
67
67
  "label": {
68
68
  "value": "\"➡ \" || \"If you agree to answer this questionnaire, please check the box\"",
@@ -144,7 +144,7 @@
144
144
  {
145
145
  "id": "j3343qhx",
146
146
  "componentType": "Input",
147
- "mandatory": false,
147
+ "isMandatory": false,
148
148
  "page": "4",
149
149
  "maxLength": 30,
150
150
  "label": {
@@ -179,7 +179,7 @@
179
179
  {
180
180
  "id": "j6q9h8tj",
181
181
  "componentType": "InputNumber",
182
- "mandatory": true,
182
+ "isMandatory": true,
183
183
  "page": "5",
184
184
  "min": 0,
185
185
  "max": 99,
@@ -216,7 +216,7 @@
216
216
  {
217
217
  "id": "kiq71eoi",
218
218
  "componentType": "Datepicker",
219
- "mandatory": false,
219
+ "isMandatory": false,
220
220
  "page": "6",
221
221
  "min": "1900-01-01",
222
222
  "max": "format-date(current-date(),'[Y0001]-[M01]-[D01]')",
@@ -264,7 +264,7 @@
264
264
  {
265
265
  "id": "k5nvty2o",
266
266
  "componentType": "Datepicker",
267
- "mandatory": false,
267
+ "isMandatory": false,
268
268
  "page": "7",
269
269
  "min": "1980-05",
270
270
  "label": {
@@ -311,7 +311,7 @@
311
311
  {
312
312
  "id": "k5nw1fir",
313
313
  "componentType": "Datepicker",
314
- "mandatory": false,
314
+ "isMandatory": false,
315
315
  "page": "8",
316
316
  "min": "1900",
317
317
  "max": "year-from-date(current-date())",
@@ -359,7 +359,7 @@
359
359
  {
360
360
  "id": "k5nw0w05",
361
361
  "componentType": "InputNumber",
362
- "mandatory": false,
362
+ "isMandatory": false,
363
363
  "page": "9",
364
364
  "min": 0,
365
365
  "max": 70,
@@ -397,7 +397,7 @@
397
397
  {
398
398
  "id": "k5nvu98z",
399
399
  "componentType": "InputNumber",
400
- "mandatory": false,
400
+ "isMandatory": false,
401
401
  "page": "10",
402
402
  "min": 0,
403
403
  "max": 366,
@@ -435,7 +435,7 @@
435
435
  {
436
436
  "id": "k5nw8ei1",
437
437
  "componentType": "InputNumber",
438
- "mandatory": false,
438
+ "isMandatory": false,
439
439
  "page": "11",
440
440
  "min": 0,
441
441
  "max": 12,
@@ -473,7 +473,7 @@
473
473
  {
474
474
  "id": "k5nw9dk4",
475
475
  "componentType": "InputNumber",
476
- "mandatory": false,
476
+ "isMandatory": false,
477
477
  "page": "12",
478
478
  "min": 0,
479
479
  "max": 100,
@@ -511,7 +511,7 @@
511
511
  {
512
512
  "id": "j6z06z1e",
513
513
  "componentType": "InputNumber",
514
- "mandatory": false,
514
+ "isMandatory": false,
515
515
  "page": "13",
516
516
  "min": 0,
517
517
  "max": 99,
@@ -582,7 +582,7 @@
582
582
  {
583
583
  "id": "j3343clt",
584
584
  "componentType": "Radio",
585
- "mandatory": true,
585
+ "isMandatory": true,
586
586
  "page": "15",
587
587
  "label": {
588
588
  "value": "\"➡ \" || \"In which city do the Simpsons reside?\"",
@@ -635,7 +635,7 @@
635
635
  {
636
636
  "id": "j6qdfhvw",
637
637
  "componentType": "CheckboxOne",
638
- "mandatory": false,
638
+ "isMandatory": false,
639
639
  "page": "16",
640
640
  "label": {
641
641
  "value": "\"➡ \" || \"Who is the Simpsons city mayor?\"",
@@ -693,7 +693,7 @@
693
693
  {
694
694
  "id": "j4nw5cqz",
695
695
  "componentType": "Dropdown",
696
- "mandatory": false,
696
+ "isMandatory": false,
697
697
  "page": "17",
698
698
  "label": {
699
699
  "value": "\"➡ \" || \"In which state do The Simpsons reside?\"",
@@ -852,7 +852,7 @@
852
852
  {
853
853
  "id": "j6p29i81",
854
854
  "componentType": "Table",
855
- "mandatory": false,
855
+ "isMandatory": false,
856
856
  "page": "20",
857
857
  "label": {
858
858
  "value": "\"➡ \" || \"Does Jay like the following ice cream flavours?\"",
@@ -980,7 +980,7 @@
980
980
  {
981
981
  "id": "j6qefnga",
982
982
  "componentType": "Table",
983
- "mandatory": false,
983
+ "isMandatory": false,
984
984
  "page": "21",
985
985
  "label": {
986
986
  "value": "\"➡ \" || \"Which character works in the nuclear power plant?\"",
@@ -1103,7 +1103,7 @@
1103
1103
  {
1104
1104
  "id": "j6yzoc6g",
1105
1105
  "componentType": "Table",
1106
- "mandatory": false,
1106
+ "isMandatory": false,
1107
1107
  "page": "22",
1108
1108
  "label": {
1109
1109
  "value": "\"➡ \" || \"In which city each character was born?\"",
@@ -1388,7 +1388,7 @@
1388
1388
  {
1389
1389
  "id": "j4nwc63q",
1390
1390
  "componentType": "Table",
1391
- "mandatory": false,
1391
+ "isMandatory": false,
1392
1392
  "page": "24",
1393
1393
  "label": {
1394
1394
  "value": "\"➡ \" || \"Please, specify the percentage of Jay’s expenses in the Kwik-E-Mart for each product?\"",
@@ -1590,7 +1590,7 @@
1590
1590
  {
1591
1591
  "id": "k9cg2q5t",
1592
1592
  "componentType": "Table",
1593
- "mandatory": false,
1593
+ "isMandatory": false,
1594
1594
  "page": "25",
1595
1595
  "label": {
1596
1596
  "value": "\"➡ \" || \"Please specify if Jay has bought each product in his last food shopping\"",
@@ -1930,7 +1930,7 @@
1930
1930
  {
1931
1931
  "id": "kbkjvgel",
1932
1932
  "componentType": "Table",
1933
- "mandatory": false,
1933
+ "isMandatory": false,
1934
1934
  "page": "26",
1935
1935
  "label": {
1936
1936
  "value": "\"➡ \" || \"Who did these clownings and tell us what you remember?\"",
@@ -2189,7 +2189,7 @@
2189
2189
  {
2190
2190
  "id": "j6p2lwuj",
2191
2191
  "componentType": "Table",
2192
- "mandatory": false,
2192
+ "isMandatory": false,
2193
2193
  "page": "27",
2194
2194
  "label": {
2195
2195
  "value": "\"➡ \" || \"Which of the following means of transport were used by the hero and in which country?\"",
@@ -2487,7 +2487,7 @@
2487
2487
  {
2488
2488
  "id": "j6qg8rc6",
2489
2489
  "componentType": "Table",
2490
- "mandatory": false,
2490
+ "isMandatory": false,
2491
2491
  "page": "29",
2492
2492
  "label": {
2493
2493
  "value": "\"➡ \" || \"Please, complete the following grid with your favourite characters\"",
@@ -2977,7 +2977,7 @@
2977
2977
  {
2978
2978
  "id": "jvxux0mi",
2979
2979
  "componentType": "Table",
2980
- "mandatory": false,
2980
+ "isMandatory": false,
2981
2981
  "page": "30",
2982
2982
  "label": {
2983
2983
  "value": "\"➡ \" || \"How has your feeling about the following characters evolved over time?\"",
@@ -3123,7 +3123,7 @@
3123
3123
  {
3124
3124
  "id": "jvxwy68n",
3125
3125
  "componentType": "Table",
3126
- "mandatory": false,
3126
+ "isMandatory": false,
3127
3127
  "page": "31",
3128
3128
  "label": {
3129
3129
  "value": "\"➡ \" || \"Can you tell how long Bart Simpson has been on leave for each type and whether there has been another type?\"",
@@ -3374,7 +3374,7 @@
3374
3374
  {
3375
3375
  "id": "kiq612ky",
3376
3376
  "componentType": "InputNumber",
3377
- "mandatory": false,
3377
+ "isMandatory": false,
3378
3378
  "page": "33",
3379
3379
  "min": 0,
3380
3380
  "max": 20,
@@ -3475,7 +3475,7 @@
3475
3475
  {
3476
3476
  "id": "kiq66gtw",
3477
3477
  "componentType": "Input",
3478
- "mandatory": false,
3478
+ "isMandatory": false,
3479
3479
  "page": "34",
3480
3480
  "maxLength": 30,
3481
3481
  "label": {
@@ -3512,7 +3512,7 @@
3512
3512
  {
3513
3513
  "id": "kiq5r8wu",
3514
3514
  "componentType": "InputNumber",
3515
- "mandatory": false,
3515
+ "isMandatory": false,
3516
3516
  "page": "34",
3517
3517
  "min": 0,
3518
3518
  "max": 120,
@@ -3600,7 +3600,7 @@
3600
3600
  {
3601
3601
  "id": "kiq65x3c",
3602
3602
  "componentType": "CheckboxOne",
3603
- "mandatory": false,
3603
+ "isMandatory": false,
3604
3604
  "page": "35.2",
3605
3605
  "label": {
3606
3606
  "value": "\"➡ \" || \"Is character named \" || NAME_CHAR || \" your favourite one ? \"",
@@ -3639,7 +3639,7 @@
3639
3639
  {
3640
3640
  "id": "kiq651zv",
3641
3641
  "componentType": "Textarea",
3642
- "mandatory": false,
3642
+ "isMandatory": false,
3643
3643
  "page": "35.3",
3644
3644
  "maxLength": 255,
3645
3645
  "label": {
@@ -3692,7 +3692,7 @@
3692
3692
  {
3693
3693
  "id": "j6z0z3us",
3694
3694
  "componentType": "Textarea",
3695
- "mandatory": false,
3695
+ "isMandatory": false,
3696
3696
  "page": "37",
3697
3697
  "maxLength": 255,
3698
3698
  "label": {
@@ -3730,7 +3730,7 @@
3730
3730
  {
3731
3731
  "id": "COMMENT-QUESTION",
3732
3732
  "componentType": "Textarea",
3733
- "mandatory": false,
3733
+ "isMandatory": false,
3734
3734
  "page": "39",
3735
3735
  "maxLength": 2000,
3736
3736
  "label": { "value": "\"VIII - \" || \"Comment\"", "type": "VTL|MD" },
@@ -114,7 +114,7 @@
114
114
  "type": "VTL|MD",
115
115
  "value": "\"Le label du champ input\""
116
116
  },
117
- "mandatory": false,
117
+ "isMandatory": false,
118
118
  "maxLength": 15,
119
119
  "declarations": [
120
120
  {
@@ -146,7 +146,7 @@
146
146
  {
147
147
  "id": "k0dzbfek",
148
148
  "componentType": "InputNumber",
149
- "mandatory": false,
149
+ "isMandatory": false,
150
150
  "page": "2",
151
151
  "min": 0,
152
152
  "max": 100,