@inseefr/lunatic 3.5.6 → 3.5.8

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 (245) hide show
  1. package/components/CheckboxOne/CheckboxOne.spec.js +3 -2
  2. package/components/CheckboxOne/CheckboxOne.spec.js.map +1 -1
  3. package/components/shared/Combobox/Combobox.stories.d.ts +3 -2
  4. package/components/shared/Combobox/Combobox.stories.js +26 -21
  5. package/components/shared/Combobox/Combobox.stories.js.map +1 -1
  6. package/components/type.d.ts +3 -0
  7. package/esm/components/CheckboxOne/CheckboxOne.spec.js +3 -2
  8. package/esm/components/CheckboxOne/CheckboxOne.spec.js.map +1 -1
  9. package/esm/components/shared/Combobox/Combobox.stories.d.ts +3 -2
  10. package/esm/components/shared/Combobox/Combobox.stories.js +28 -24
  11. package/esm/components/shared/Combobox/Combobox.stories.js.map +1 -1
  12. package/esm/components/type.d.ts +3 -0
  13. package/esm/hooks/useLocalStorage.d.ts +1 -0
  14. package/esm/hooks/useLocalStorage.js +31 -0
  15. package/esm/hooks/useLocalStorage.js.map +1 -0
  16. package/esm/type.source.d.ts +6 -0
  17. package/esm/use-lunatic/commons/compile-controls.js +22 -14
  18. package/esm/use-lunatic/commons/compile-controls.js.map +1 -1
  19. package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js +4 -1
  20. package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
  21. package/esm/use-lunatic/hooks/use-page-has-response.js +1 -1
  22. package/esm/use-lunatic/hooks/use-page-has-response.js.map +1 -1
  23. package/esm/use-lunatic/hooks/useOverview.spec.js +2 -2
  24. package/esm/use-lunatic/hooks/useOverview.spec.js.map +1 -1
  25. package/esm/use-lunatic/props/getComponentTypeProps.d.ts +3 -0
  26. package/esm/utils/number.d.ts +4 -0
  27. package/esm/utils/number.js +12 -0
  28. package/esm/utils/number.js.map +1 -1
  29. package/esm/utils/object.d.ts +10 -0
  30. package/esm/utils/object.js +26 -0
  31. package/esm/utils/object.js.map +1 -1
  32. package/hooks/useLocalStorage.d.ts +1 -0
  33. package/hooks/useLocalStorage.js +34 -0
  34. package/hooks/useLocalStorage.js.map +1 -0
  35. package/package.json +76 -137
  36. package/src/components/CheckboxOne/CheckboxOne.spec.tsx +3 -0
  37. package/src/components/shared/Combobox/Combobox.stories.tsx +48 -49
  38. package/src/components/type.ts +1 -0
  39. package/src/hooks/useLocalStorage.ts +37 -0
  40. package/src/json.d.ts +16 -0
  41. package/src/stories/accordion/accordion.stories.tsx +21 -0
  42. package/src/stories/behaviour/cleaning/cleaning.stories.tsx +40 -0
  43. package/src/stories/behaviour/controls/controls.stories.tsx +51 -0
  44. package/src/stories/behaviour/disabled/disabled.stories.tsx +29 -0
  45. package/src/stories/behaviour/filter/filter.stories.tsx +34 -0
  46. package/src/stories/behaviour/missing/missing.stories.tsx +31 -0
  47. package/src/stories/behaviour/overview/overview.stories.tsx +61 -0
  48. package/src/stories/{overview/sourceWithHierarchy.json → behaviour/overview/source.json} +1 -1
  49. package/src/stories/{overview → behaviour/overview}/sourceLoop.json +1 -1
  50. package/src/stories/behaviour/performance/performance.stories.tsx +29 -0
  51. package/src/stories/behaviour/resizing/resizing.stories.tsx +34 -0
  52. package/src/stories/behaviour/slots.stories.tsx +34 -0
  53. package/src/stories/checkbox/checkbox.stories.tsx +75 -0
  54. package/src/stories/{checkbox-group/sourceLoop.json → checkbox/sourceGroupLoop.json} +1 -1
  55. package/src/stories/datepicker/datepicker.stories.tsx +21 -0
  56. package/src/stories/declaration/declaration.stories.tsx +27 -0
  57. package/src/stories/dropdown/dropdown.stories.tsx +27 -0
  58. package/src/stories/duration/duration.stories.tsx +27 -0
  59. package/src/stories/filter-description/filter-description.stories.tsx +28 -0
  60. package/src/stories/input/input.stories.tsx +21 -0
  61. package/src/stories/input-number/input-number.stories.tsx +35 -0
  62. package/src/stories/loop/loop.stories.tsx +35 -0
  63. package/src/stories/loop/roster-for-loop.stories.tsx +59 -0
  64. package/src/stories/pairwise/pairwise.stories.tsx +30 -0
  65. package/src/stories/paste.stories.tsx +85 -0
  66. package/src/stories/question/question.stories.tsx +21 -0
  67. package/src/stories/questionnaires/logement/logement.stories.tsx +26 -0
  68. package/src/stories/questionnaires/recensement/recensement.stories.tsx +28 -0
  69. package/src/stories/questionnaires/rp/rp.stories.tsx +21 -0
  70. package/src/stories/questionnaires/simpsons/simpsons.stories.tsx +31 -0
  71. package/src/stories/radio/radio.stories.tsx +53 -0
  72. package/src/stories/roundabout/roundabout.stories.tsx +37 -0
  73. package/src/stories/roundabout/source.json +1 -0
  74. package/src/stories/sequence/sequence.stories.tsx +28 -0
  75. package/src/stories/suggester/source-option-responses.json +1 -1
  76. package/src/stories/suggester/suggester.stories.tsx +68 -0
  77. package/src/stories/summary/source.json +22 -1
  78. package/src/stories/summary/summary.stories.tsx +31 -0
  79. package/src/stories/table/table.stories.tsx +35 -0
  80. package/src/stories/text/text.stories.tsx +38 -0
  81. package/src/stories/textarea/textarea.stories.tsx +21 -0
  82. package/src/stories/utils/Orchestrator.tsx +310 -0
  83. package/src/stories/utils/OrchestratorData.tsx +176 -0
  84. package/src/stories/utils/OrchestratorOverview.tsx +70 -0
  85. package/src/stories/utils/OrchestratorSidebar.tsx +119 -0
  86. package/src/stories/utils/SchemaValidator.tsx +29 -0
  87. package/src/stories/utils/referentiel.ts +9 -0
  88. package/src/type.source.ts +6 -0
  89. package/src/use-lunatic/commons/compile-controls.ts +36 -18
  90. package/src/use-lunatic/commons/fill-components/fill-component-expressions.ts +4 -1
  91. package/src/use-lunatic/hooks/use-page-has-response.ts +1 -1
  92. package/src/use-lunatic/hooks/useOverview.spec.ts +3 -2
  93. package/src/use-lunatic/use-lunatic.test.ts +53 -40
  94. package/src/utils/number.ts +13 -0
  95. package/src/utils/object.ts +40 -0
  96. package/tsconfig.build.tsbuildinfo +1 -1
  97. package/type.source.d.ts +6 -0
  98. package/use-lunatic/commons/compile-controls.js +21 -13
  99. package/use-lunatic/commons/compile-controls.js.map +1 -1
  100. package/use-lunatic/commons/fill-components/fill-component-expressions.js +5 -2
  101. package/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
  102. package/use-lunatic/hooks/use-page-has-response.js +2 -2
  103. package/use-lunatic/hooks/use-page-has-response.js.map +1 -1
  104. package/use-lunatic/hooks/useOverview.spec.js +8 -8
  105. package/use-lunatic/hooks/useOverview.spec.js.map +1 -1
  106. package/use-lunatic/props/getComponentTypeProps.d.ts +3 -0
  107. package/utils/number.d.ts +4 -0
  108. package/utils/number.js +13 -0
  109. package/utils/number.js.map +1 -1
  110. package/utils/object.d.ts +10 -0
  111. package/utils/object.js +30 -0
  112. package/utils/object.js.map +1 -1
  113. package/esm/stories/overview/sourceWithHierarchy.json +0 -5151
  114. package/esm/tests/utils/lunatic.d.ts +0 -15
  115. package/esm/tests/utils/lunatic.js +0 -27
  116. package/esm/tests/utils/lunatic.js.map +0 -1
  117. package/esm/use-lunatic/replace-component-sequence.d.ts +0 -36
  118. package/esm/use-lunatic/replace-component-sequence.js +0 -19
  119. package/esm/use-lunatic/replace-component-sequence.js.map +0 -1
  120. package/esm/use-lunatic/test.utils.d.ts +0 -2
  121. package/esm/use-lunatic/test.utils.js +0 -13
  122. package/esm/use-lunatic/test.utils.js.map +0 -1
  123. package/esm/utils/is-object.d.ts +0 -4
  124. package/esm/utils/is-object.js +0 -7
  125. package/esm/utils/is-object.js.map +0 -1
  126. package/esm/utils/to-number.d.ts +0 -4
  127. package/esm/utils/to-number.js +0 -13
  128. package/esm/utils/to-number.js.map +0 -1
  129. package/src/stories/accordion/accordion.stories.jsx +0 -17
  130. package/src/stories/behaviour/cleaning/cleaning.stories.jsx +0 -69
  131. package/src/stories/behaviour/controls/controls.stories.jsx +0 -81
  132. package/src/stories/behaviour/filter/dataLoop.json +0 -14
  133. package/src/stories/behaviour/filter/filter.stories.jsx +0 -36
  134. package/src/stories/behaviour/missing/missing.stories.jsx +0 -69
  135. package/src/stories/behaviour/others/V2_DeclarationsSimples.json +0 -908
  136. package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +0 -489
  137. package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +0 -3919
  138. package/src/stories/behaviour/others/V2_TCMRallyeGames.json +0 -2760
  139. package/src/stories/behaviour/others/test-dylan.json +0 -538
  140. package/src/stories/behaviour/others/test.stories.jsx +0 -78
  141. package/src/stories/behaviour/paste/source.json +0 -32
  142. package/src/stories/behaviour/paste/test.stories.jsx +0 -62
  143. package/src/stories/behaviour/performance/performance.stories.jsx +0 -26
  144. package/src/stories/behaviour/resizing/resizing.stories.jsx +0 -60
  145. package/src/stories/behaviour/slots.stories.jsx +0 -32
  146. package/src/stories/checkbox-boolean/checkboxBoolean.stories.jsx +0 -17
  147. package/src/stories/checkbox-group/checkbox-group.stories.jsx +0 -77
  148. package/src/stories/checkbox-one/checkboxOne.stories.jsx +0 -53
  149. package/src/stories/date-picker/data.json +0 -3
  150. package/src/stories/date-picker/datepicker.stories.jsx +0 -26
  151. package/src/stories/declaration/data.json +0 -1
  152. package/src/stories/declaration/input.stories.jsx +0 -18
  153. package/src/stories/disabled/data.json +0 -16
  154. package/src/stories/disabled/disabled.stories.jsx +0 -18
  155. package/src/stories/dropdown/data.json +0 -8
  156. package/src/stories/dropdown/dropdown.stories.jsx +0 -25
  157. package/src/stories/duration/duration.stories.jsx +0 -25
  158. package/src/stories/filter-description/filter-description.stories.jsx +0 -37
  159. package/src/stories/input/data.json +0 -1
  160. package/src/stories/input/input.stories.jsx +0 -18
  161. package/src/stories/input-number/input-number.stories.jsx +0 -23
  162. package/src/stories/loop/loop.stories.jsx +0 -29
  163. package/src/stories/loop/roster-for-loop.stories.jsx +0 -46
  164. package/src/stories/markdown/markdown.stories.jsx +0 -20
  165. package/src/stories/overview/data.json +0 -1
  166. package/src/stories/overview/dataLoop.json +0 -93
  167. package/src/stories/overview/overview.stories.jsx +0 -44
  168. package/src/stories/overview/source.json +0 -25
  169. package/src/stories/pairwise/data.json +0 -12
  170. package/src/stories/pairwise/pairwise-links.stories.jsx +0 -48
  171. package/src/stories/question/question.stories.jsx +0 -16
  172. package/src/stories/questionnaires/logement/logement.stories.jsx +0 -59
  173. package/src/stories/questionnaires/recensement/data.json +0 -12
  174. package/src/stories/questionnaires/recensement/recensement.stories.jsx +0 -35
  175. package/src/stories/questionnaires/rp/data.json +0 -5
  176. package/src/stories/questionnaires/rp/rp.stories.jsx +0 -23
  177. package/src/stories/questionnaires/simpsons/simpsons.stories.jsx +0 -246
  178. package/src/stories/radio/radio.stories.jsx +0 -78
  179. package/src/stories/roundabout/data1.json +0 -13
  180. package/src/stories/roundabout/data2.json +0 -16
  181. package/src/stories/roundabout/roundabout.stories.jsx +0 -32
  182. package/src/stories/sequence/sequence.stories.jsx +0 -29
  183. package/src/stories/suggester/suggester.stories.jsx +0 -71
  184. package/src/stories/summary/data.json +0 -16
  185. package/src/stories/summary/summary.stories.jsx +0 -23
  186. package/src/stories/switch/README.md +0 -29
  187. package/src/stories/switch/data-forced.json +0 -40
  188. package/src/stories/switch/source.json +0 -64
  189. package/src/stories/switch/switch.stories.jsx +0 -17
  190. package/src/stories/table/data.json +0 -1
  191. package/src/stories/table/table.stories.jsx +0 -30
  192. package/src/stories/text/data-roster.json +0 -5
  193. package/src/stories/text/text.stories.jsx +0 -20
  194. package/src/stories/textarea/data.json +0 -1
  195. package/src/stories/textarea/textarea.stories.jsx +0 -18
  196. package/src/stories/utils/SchemaValidator.jsx +0 -40
  197. package/src/stories/utils/default-arg-types.js +0 -39
  198. package/src/stories/utils/default-args.js +0 -3
  199. package/src/stories/utils/options.js +0 -19
  200. package/src/stories/utils/orchestrator.jsx +0 -267
  201. package/src/stories/utils/orchestrator.scss +0 -66
  202. package/src/stories/utils/overview.jsx +0 -39
  203. package/src/stories/utils/overview.scss +0 -37
  204. package/src/stories/utils/referentiel.js +0 -7
  205. package/src/tests/utils/e2e.js +0 -91
  206. package/src/tests/utils/lunatic.ts +0 -33
  207. package/src/use-lunatic/replace-component-sequence.ts +0 -25
  208. package/src/use-lunatic/test.utils.ts +0 -17
  209. package/src/utils/is-object.ts +0 -6
  210. package/src/utils/to-number.ts +0 -12
  211. package/stories/overview/sourceWithHierarchy.json +0 -5151
  212. package/tests/utils/lunatic.d.ts +0 -15
  213. package/tests/utils/lunatic.js +0 -31
  214. package/tests/utils/lunatic.js.map +0 -1
  215. package/use-lunatic/replace-component-sequence.d.ts +0 -36
  216. package/use-lunatic/replace-component-sequence.js +0 -22
  217. package/use-lunatic/replace-component-sequence.js.map +0 -1
  218. package/use-lunatic/test.utils.d.ts +0 -2
  219. package/use-lunatic/test.utils.js +0 -17
  220. package/use-lunatic/test.utils.js.map +0 -1
  221. package/utils/is-object.d.ts +0 -4
  222. package/utils/is-object.js +0 -10
  223. package/utils/is-object.js.map +0 -1
  224. package/utils/to-number.d.ts +0 -4
  225. package/utils/to-number.js +0 -16
  226. package/utils/to-number.js.map +0 -1
  227. /package/src/stories/behaviour/cleaning/{loop.json → source-loop-scopes.json} +0 -0
  228. /package/src/stories/behaviour/controls/{boucles-n.json → source-boucles-n.json} +0 -0
  229. /package/src/stories/behaviour/controls/{loop.json → source-loop.json} +0 -0
  230. /package/src/stories/behaviour/controls/{roundabout.json → source-roundabout.json} +0 -0
  231. /package/src/stories/behaviour/controls/{simple-numeric.json → source-simple-numeric.json} +0 -0
  232. /package/src/stories/behaviour/controls/{simple.json → source-simple.json} +0 -0
  233. /package/src/stories/{disabled → behaviour/disabled}/source.json +0 -0
  234. /package/src/stories/{checkbox-boolean → checkbox}/source.json +0 -0
  235. /package/src/stories/{checkbox-group/source.json → checkbox/sourceGroup.json} +0 -0
  236. /package/src/stories/{checkbox-group/sourceCondition.json → checkbox/sourceGroupCondition.json} +0 -0
  237. /package/src/stories/{checkbox-group/sourceDetail.json → checkbox/sourceGroupDetail.json} +0 -0
  238. /package/src/stories/{checkbox-one/source.json → checkbox/sourceOne.json} +0 -0
  239. /package/src/stories/{checkbox-one/sourceDetail.json → checkbox/sourceOneDetail.json} +0 -0
  240. /package/src/stories/{date-picker → datepicker}/source.json +0 -0
  241. /package/src/stories/{markdown/source.json → declaration/sourceMarkdown.json} +0 -0
  242. /package/src/stories/duration/{mois.json → sourceMonths.json} +0 -0
  243. /package/src/stories/duration/{time.json → sourceTime.json} +0 -0
  244. /package/src/stories/filter-description/{source-options.json → sourceOptions.json} +0 -0
  245. /package/src/stories/table/{table-dynamique.json → source-dynamic.json} +0 -0
@@ -1,908 +0,0 @@
1
- {
2
- "id": "kanye31s",
3
- "modele": "QTEST_DECL",
4
- "enoCoreVersion": "2.3.7-dev-lunatic-v2",
5
- "lunaticModelVersion": "2.2.13-dev-lunatic-v2",
6
- "generatingDate": "19-07-2022 10:51:57",
7
- "missing": false,
8
- "pagination": "question",
9
- "maxPage": "18",
10
- "label": { "value": "QNONREG Declarations xpath ou vtl", "type": "VTL|MD" },
11
- "components": [
12
- {
13
- "id": "kanya0cm",
14
- "componentType": "Sequence",
15
- "page": "1",
16
- "label": {
17
- "value": "Questions comportant des déclarations de différents types",
18
- "type": "VTL|MD"
19
- },
20
- "declarations": [
21
- {
22
- "id": "kanya0cm-kanzilet",
23
- "declarationType": "INSTRUCTION",
24
- "position": "AFTER_QUESTION_TEXT",
25
- "label": { "value": "consigne de séquence cawi", "type": "VTL|MD" }
26
- },
27
-
28
- {
29
- "id": "kanya0cm-kzfdtx2b",
30
- "declarationType": "HELP",
31
- "position": "AFTER_QUESTION_TEXT",
32
- "label": { "value": "aide de séquence cawi", "type": "VTL|MD" }
33
- }
34
- ],
35
- "conditionFilter": { "value": "true", "type": "VTL" },
36
- "hierarchy": {
37
- "sequence": {
38
- "id": "kanya0cm",
39
- "page": "1",
40
- "label": {
41
- "value": "Questions comportant des déclarations de différents types",
42
- "type": "VTL|MD"
43
- }
44
- }
45
- }
46
- },
47
-
48
- {
49
- "id": "kzfdxu5g",
50
- "componentType": "Subsequence",
51
- "page": "2",
52
- "goToPage": "2",
53
- "label": { "value": "Déclarations", "type": "VTL|MD" },
54
- "declarations": [
55
- {
56
- "id": "kzfdxu5g-kzfdtfyi",
57
- "declarationType": "HELP",
58
- "position": "AFTER_QUESTION_TEXT",
59
- "label": { "value": "Aide sous séquence CAWI", "type": "VTL|MD" }
60
- },
61
-
62
- {
63
- "id": "kzfdxu5g-kzfe5gdf",
64
- "declarationType": "INSTRUCTION",
65
- "position": "AFTER_QUESTION_TEXT",
66
- "label": { "value": "Consigne sous séquence CAWI", "type": "VTL|MD" }
67
- }
68
- ],
69
- "conditionFilter": { "value": "true", "type": "VTL" },
70
- "hierarchy": {
71
- "sequence": {
72
- "id": "kanya0cm",
73
- "page": "1",
74
- "label": {
75
- "value": "Questions comportant des déclarations de différents types",
76
- "type": "VTL|MD"
77
- }
78
- },
79
- "subSequence": {
80
- "id": "kzfdxu5g",
81
- "page": "2",
82
- "label": { "value": "Déclarations", "type": "VTL|MD" }
83
- }
84
- }
85
- },
86
-
87
- {
88
- "id": "kanyduey",
89
- "componentType": "Textarea",
90
- "isMandatory": false,
91
- "page": "3",
92
- "maxLength": 255,
93
- "label": {
94
- "value": "\"➡ 1. \" || \"Q1 avec déclar consigne CAWI PAPI \"",
95
- "type": "VTL|MD"
96
- },
97
- "declarations": [
98
- {
99
- "id": "kanyduey-kanys16a",
100
- "declarationType": "INSTRUCTION",
101
- "position": "AFTER_QUESTION_TEXT",
102
- "label": { "value": "je suis la consigne cawi", "type": "VTL|MD" }
103
- }
104
- ],
105
- "conditionFilter": { "value": "true", "type": "VTL" },
106
- "hierarchy": {
107
- "sequence": {
108
- "id": "kanya0cm",
109
- "page": "1",
110
- "label": {
111
- "value": "Questions comportant des déclarations de différents types",
112
- "type": "VTL|MD"
113
- }
114
- }
115
- },
116
- "bindingDependencies": ["Q1"],
117
- "response": { "name": "Q1" }
118
- },
119
-
120
- {
121
- "id": "kzfdehqy",
122
- "componentType": "Textarea",
123
- "isMandatory": false,
124
- "page": "4",
125
- "maxLength": 255,
126
- "label": {
127
- "value": "\"➡ 2. \" || \"Q2 avec déclar consigne CATI \"",
128
- "type": "VTL|MD"
129
- },
130
- "conditionFilter": { "value": "true", "type": "VTL" },
131
- "hierarchy": {
132
- "sequence": {
133
- "id": "kanya0cm",
134
- "page": "1",
135
- "label": {
136
- "value": "Questions comportant des déclarations de différents types",
137
- "type": "VTL|MD"
138
- }
139
- }
140
- },
141
- "bindingDependencies": ["Q2"],
142
- "response": { "name": "Q2" }
143
- },
144
-
145
- {
146
- "id": "kzfdsuhw",
147
- "componentType": "Textarea",
148
- "isMandatory": false,
149
- "page": "5",
150
- "maxLength": 255,
151
- "label": {
152
- "value": "\"➡ 3. \" || \"Q3 avec déclar consigne CAPI \"",
153
- "type": "VTL|MD"
154
- },
155
- "conditionFilter": { "value": "true", "type": "VTL" },
156
- "hierarchy": {
157
- "sequence": {
158
- "id": "kanya0cm",
159
- "page": "1",
160
- "label": {
161
- "value": "Questions comportant des déclarations de différents types",
162
- "type": "VTL|MD"
163
- }
164
- }
165
- },
166
- "bindingDependencies": ["Q3"],
167
- "response": { "name": "Q3" }
168
- },
169
-
170
- {
171
- "id": "kanye45b",
172
- "componentType": "Textarea",
173
- "isMandatory": false,
174
- "page": "6",
175
- "maxLength": 255,
176
- "label": {
177
- "value": "\"➡ 4. \" || \"Q4 avec déclar aide CAWI \"",
178
- "type": "VTL|MD"
179
- },
180
- "declarations": [
181
- {
182
- "id": "kanye45b-kanysl02",
183
- "declarationType": "HELP",
184
- "position": "AFTER_QUESTION_TEXT",
185
- "label": { "value": "Je suis l’aide après CAWI", "type": "VTL|MD" }
186
- }
187
- ],
188
- "conditionFilter": { "value": "true", "type": "VTL" },
189
- "hierarchy": {
190
- "sequence": {
191
- "id": "kanya0cm",
192
- "page": "1",
193
- "label": {
194
- "value": "Questions comportant des déclarations de différents types",
195
- "type": "VTL|MD"
196
- }
197
- }
198
- },
199
- "bindingDependencies": ["Q4"],
200
- "response": { "name": "Q4" }
201
- },
202
-
203
- {
204
- "id": "kzfds450",
205
- "componentType": "Textarea",
206
- "isMandatory": false,
207
- "page": "7",
208
- "maxLength": 255,
209
- "label": {
210
- "value": "\"➡ 5. \" || \"Q5 avec déclar aide CATI \"",
211
- "type": "VTL|MD"
212
- },
213
- "conditionFilter": { "value": "true", "type": "VTL" },
214
- "hierarchy": {
215
- "sequence": {
216
- "id": "kanya0cm",
217
- "page": "1",
218
- "label": {
219
- "value": "Questions comportant des déclarations de différents types",
220
- "type": "VTL|MD"
221
- }
222
- }
223
- },
224
- "bindingDependencies": ["Q5"],
225
- "response": { "name": "Q5" }
226
- },
227
-
228
- {
229
- "id": "kzfdnpeb",
230
- "componentType": "Textarea",
231
- "isMandatory": false,
232
- "page": "8",
233
- "maxLength": 255,
234
- "label": {
235
- "value": "\"➡ 6. \" || \"Q6 avec déclar aide CAPI \"",
236
- "type": "VTL|MD"
237
- },
238
- "conditionFilter": { "value": "true", "type": "VTL" },
239
- "hierarchy": {
240
- "sequence": {
241
- "id": "kanya0cm",
242
- "page": "1",
243
- "label": {
244
- "value": "Questions comportant des déclarations de différents types",
245
- "type": "VTL|MD"
246
- }
247
- }
248
- },
249
- "bindingDependencies": ["Q6"],
250
- "response": { "name": "Q6" }
251
- },
252
-
253
- {
254
- "id": "kzwo41pm",
255
- "componentType": "Textarea",
256
- "isMandatory": false,
257
- "page": "9",
258
- "maxLength": 255,
259
- "label": {
260
- "value": "\"➡ 7. \" || \"Q7avec déclar carte code CAPI\"",
261
- "type": "VTL|MD"
262
- },
263
- "conditionFilter": { "value": "true", "type": "VTL" },
264
- "hierarchy": {
265
- "sequence": {
266
- "id": "kanya0cm",
267
- "page": "1",
268
- "label": {
269
- "value": "Questions comportant des déclarations de différents types",
270
- "type": "VTL|MD"
271
- }
272
- }
273
- },
274
- "bindingDependencies": ["Q7"],
275
- "response": { "name": "Q7" }
276
- },
277
-
278
- {
279
- "id": "kanywetv",
280
- "componentType": "Textarea",
281
- "isMandatory": false,
282
- "page": "10",
283
- "maxLength": 255,
284
- "label": {
285
- "value": "\"➡ 8. \" || \"Q8 avec toutes les déclarations apres \"",
286
- "type": "VTL|MD"
287
- },
288
- "declarations": [
289
- {
290
- "id": "kanywetv-kzfe9908",
291
- "declarationType": "HELP",
292
- "position": "AFTER_QUESTION_TEXT",
293
- "label": { "value": "je suis l’aide CAWI", "type": "VTL|MD" }
294
- },
295
-
296
- {
297
- "id": "kanywetv-kzfe7p9e",
298
- "declarationType": "HELP",
299
- "position": "AFTER_QUESTION_TEXT",
300
- "label": { "value": "je suis la consigne CAWI", "type": "VTL|MD" }
301
- }
302
- ],
303
- "conditionFilter": { "value": "true", "type": "VTL" },
304
- "hierarchy": {
305
- "sequence": {
306
- "id": "kanya0cm",
307
- "page": "1",
308
- "label": {
309
- "value": "Questions comportant des déclarations de différents types",
310
- "type": "VTL|MD"
311
- }
312
- }
313
- },
314
- "bindingDependencies": ["Q8"],
315
- "response": { "name": "Q8" }
316
- },
317
-
318
- {
319
- "id": "kanz9wv6",
320
- "componentType": "Subsequence",
321
- "page": "11",
322
- "goToPage": "11",
323
- "label": { "value": "Statement Item", "type": "VTL|MD" },
324
- "declarations": [
325
- {
326
- "id": "kanz9wv6-kanz0yxv",
327
- "declarationType": "INSTRUCTION",
328
- "position": "AFTER_QUESTION_TEXT",
329
- "label": { "value": "Consigne de sous séquence", "type": "VTL|MD" }
330
- },
331
-
332
- {
333
- "id": "kanz9wv6-kanzfcd1",
334
- "declarationType": "INSTRUCTION",
335
- "position": "AFTER_QUESTION_TEXT",
336
- "label": {
337
- "value": "commentaire de sous séquence avec saut de ligne
​
​
commentaire ligne 4",
338
- "type": "VTL|MD"
339
- }
340
- }
341
- ],
342
- "conditionFilter": { "value": "true", "type": "VTL" },
343
- "hierarchy": {
344
- "sequence": {
345
- "id": "kanya0cm",
346
- "page": "1",
347
- "label": {
348
- "value": "Questions comportant des déclarations de différents types",
349
- "type": "VTL|MD"
350
- }
351
- },
352
- "subSequence": {
353
- "id": "kanz9wv6",
354
- "page": "11",
355
- "label": { "value": "Statement Item", "type": "VTL|MD" }
356
- }
357
- }
358
- },
359
-
360
- {
361
- "id": "kanyscwo",
362
- "componentType": "Textarea",
363
- "isMandatory": false,
364
- "page": "12",
365
- "maxLength": 255,
366
- "label": {
367
- "value": "\"➡ 9. \" || \"Q9 avec declarations avant \"",
368
- "type": "VTL|MD"
369
- },
370
- "declarations": [
371
- {
372
- "id": "kanyjk4c-SI",
373
- "declarationType": "STATEMENT",
374
- "position": "BEFORE_QUESTION_TEXT",
375
- "label": {
376
- "value": "je suis statementItem aide avant CAWI",
377
- "type": "VTL|MD"
378
- }
379
- },
380
-
381
- {
382
- "id": "kzfedzvq-SI",
383
- "declarationType": "STATEMENT",
384
- "position": "BEFORE_QUESTION_TEXT",
385
- "label": {
386
- "value": "je suis statementItem consigne avant CAWI",
387
- "type": "VTL|MD"
388
- }
389
- }
390
- ],
391
- "conditionFilter": { "value": "true", "type": "VTL" },
392
- "hierarchy": {
393
- "sequence": {
394
- "id": "kanya0cm",
395
- "page": "1",
396
- "label": {
397
- "value": "Questions comportant des déclarations de différents types",
398
- "type": "VTL|MD"
399
- }
400
- },
401
- "subSequence": {
402
- "id": "kanz9wv6",
403
- "page": "11",
404
- "label": { "value": "Statement Item", "type": "VTL|MD" }
405
- }
406
- },
407
- "bindingDependencies": ["Q9"],
408
- "response": { "name": "Q9" }
409
- },
410
-
411
- {
412
- "id": "kanz8hgh",
413
- "componentType": "Textarea",
414
- "isMandatory": false,
415
- "page": "13",
416
- "maxLength": 255,
417
- "label": {
418
- "value": "\"➡ 10. \" || \"Q10 avec consigne avant et consigne après, tous modes \"",
419
- "type": "VTL|MD"
420
- },
421
- "declarations": [
422
- {
423
- "id": "kanz99uf-SI",
424
- "declarationType": "STATEMENT",
425
- "position": "BEFORE_QUESTION_TEXT",
426
- "label": { "value": "consigne avant tous modes", "type": "VTL|MD" }
427
- },
428
-
429
- {
430
- "id": "kanz8hgh-kanzgjgz",
431
- "declarationType": "INSTRUCTION",
432
- "position": "AFTER_QUESTION_TEXT",
433
- "label": { "value": "consigne après tous modes", "type": "VTL|MD" }
434
- }
435
- ],
436
- "conditionFilter": { "value": "true", "type": "VTL" },
437
- "hierarchy": {
438
- "sequence": {
439
- "id": "kanya0cm",
440
- "page": "1",
441
- "label": {
442
- "value": "Questions comportant des déclarations de différents types",
443
- "type": "VTL|MD"
444
- }
445
- },
446
- "subSequence": {
447
- "id": "kanz9wv6",
448
- "page": "11",
449
- "label": { "value": "Statement Item", "type": "VTL|MD" }
450
- }
451
- },
452
- "bindingDependencies": ["Q10"],
453
- "response": { "name": "Q10" }
454
- },
455
-
456
- {
457
- "id": "kanyrdwp",
458
- "componentType": "Subsequence",
459
- "page": "14",
460
- "goToPage": "14",
461
- "label": {
462
- "value": "Autres tests sur les sauts de lignes",
463
- "type": "VTL|MD"
464
- },
465
- "declarations": [
466
- {
467
- "id": "kanyrdwp-kzwkhqf7",
468
- "declarationType": "HELP",
469
- "position": "AFTER_QUESTION_TEXT",
470
- "label": {
471
- "value": "Déclarations avec sauts de ligne",
472
- "type": "VTL|MD"
473
- }
474
- }
475
- ],
476
- "conditionFilter": { "value": "true", "type": "VTL" },
477
- "hierarchy": {
478
- "sequence": {
479
- "id": "kanya0cm",
480
- "page": "1",
481
- "label": {
482
- "value": "Questions comportant des déclarations de différents types",
483
- "type": "VTL|MD"
484
- }
485
- },
486
- "subSequence": {
487
- "id": "kanyrdwp",
488
- "page": "14",
489
- "label": {
490
- "value": "Autres tests sur les sauts de lignes",
491
- "type": "VTL|MD"
492
- }
493
- }
494
- }
495
- },
496
-
497
- {
498
- "id": "kao1aya7",
499
- "componentType": "Textarea",
500
- "isMandatory": false,
501
- "page": "15",
502
- "maxLength": 255,
503
- "label": {
504
- "value": "\"➡ 11. \" || \"Consigne et des sauts de ligne avec des tirets, puis un commentaire\"",
505
- "type": "VTL|MD"
506
- },
507
- "declarations": [
508
- {
509
- "id": "kao1aya7-kao0znec",
510
- "declarationType": "INSTRUCTION",
511
- "position": "AFTER_QUESTION_TEXT",
512
- "label": {
513
- "value": "\"- je suis la consigne ligne 1. **- Je suis la consigne ligne 2 en gras** ​ - Je suis la consigne [ligne 4](. 'infobulle ligne 4') (la ligne 3 est blanche)\" || \"\"",
514
- "type": "VTL|MD"
515
- }
516
- },
517
-
518
- {
519
- "id": "kao1aya7-kao1b4v0",
520
- "declarationType": "INSTRUCTION",
521
- "position": "AFTER_QUESTION_TEXT",
522
- "label": {
523
- "value": "je suis le commentaire sans saut de ligne",
524
- "type": "VTL|MD"
525
- }
526
- }
527
- ],
528
- "conditionFilter": { "value": "true", "type": "VTL" },
529
- "hierarchy": {
530
- "sequence": {
531
- "id": "kanya0cm",
532
- "page": "1",
533
- "label": {
534
- "value": "Questions comportant des déclarations de différents types",
535
- "type": "VTL|MD"
536
- }
537
- },
538
- "subSequence": {
539
- "id": "kanyrdwp",
540
- "page": "14",
541
- "label": {
542
- "value": "Autres tests sur les sauts de lignes",
543
- "type": "VTL|MD"
544
- }
545
- }
546
- },
547
- "bindingDependencies": ["MIX1"],
548
- "response": { "name": "MIX1" }
549
- },
550
-
551
- {
552
- "id": "kanyicbv",
553
- "componentType": "Textarea",
554
- "isMandatory": false,
555
- "page": "16",
556
- "maxLength": 255,
557
- "label": {
558
- "value": "\"➡ 12. \" || \"Q10 question avec sauts de lignes : a t on tout le libellé ?
ligne 2
ligne 3
​
ligne 5
​
​
ligne 8 \"",
559
- "type": "VTL|MD"
560
- },
561
- "conditionFilter": { "value": "true", "type": "VTL" },
562
- "hierarchy": {
563
- "sequence": {
564
- "id": "kanya0cm",
565
- "page": "1",
566
- "label": {
567
- "value": "Questions comportant des déclarations de différents types",
568
- "type": "VTL|MD"
569
- }
570
- },
571
- "subSequence": {
572
- "id": "kanyrdwp",
573
- "page": "14",
574
- "label": {
575
- "value": "Autres tests sur les sauts de lignes",
576
- "type": "VTL|MD"
577
- }
578
- }
579
- },
580
- "bindingDependencies": ["MIX2"],
581
- "response": { "name": "MIX2" }
582
- },
583
-
584
- {
585
- "id": "kanyu00b",
586
- "componentType": "Textarea",
587
- "isMandatory": false,
588
- "page": "17",
589
- "maxLength": 255,
590
- "label": {
591
- "value": "\"➡ 13. \" || \"Q9 avec 1 consigne et des sauts de ligne, puis un commentaire et des styles \"",
592
- "type": "VTL|MD"
593
- },
594
- "declarations": [
595
- {
596
- "id": "kanyu00b-kanz07j8",
597
- "declarationType": "INSTRUCTION",
598
- "position": "AFTER_QUESTION_TEXT",
599
- "label": {
600
- "value": "je suis la consigne ligne 1.
**Je suis la consigne ligne 2 en gras**
​
Je suis la consigne [ligne 4](. \"infobulle ligne 4\") (la ligne 3 est blanche)",
601
- "type": "VTL|MD"
602
- }
603
- },
604
-
605
- {
606
- "id": "kanyu00b-kanys0bt",
607
- "declarationType": "INSTRUCTION",
608
- "position": "AFTER_QUESTION_TEXT",
609
- "label": {
610
- "value": "je suis le commentaire sans saut de lignes",
611
- "type": "VTL|MD"
612
- }
613
- }
614
- ],
615
- "conditionFilter": { "value": "true", "type": "VTL" },
616
- "hierarchy": {
617
- "sequence": {
618
- "id": "kanya0cm",
619
- "page": "1",
620
- "label": {
621
- "value": "Questions comportant des déclarations de différents types",
622
- "type": "VTL|MD"
623
- }
624
- },
625
- "subSequence": {
626
- "id": "kanyrdwp",
627
- "page": "14",
628
- "label": {
629
- "value": "Autres tests sur les sauts de lignes",
630
- "type": "VTL|MD"
631
- }
632
- }
633
- },
634
- "bindingDependencies": ["MIX3"],
635
- "response": { "name": "MIX3" }
636
- },
637
-
638
- {
639
- "id": "kanz18h6",
640
- "componentType": "CheckboxOne",
641
- "isMandatory": false,
642
- "page": "18",
643
- "label": {
644
- "value": "\"➡ 14. \" || \"Q11 saut de lignes dans les modalités de réponses (ne marche pas je crois)\"",
645
- "type": "VTL|MD"
646
- },
647
- "conditionFilter": { "value": "true", "type": "VTL" },
648
- "hierarchy": {
649
- "sequence": {
650
- "id": "kanya0cm",
651
- "page": "1",
652
- "label": {
653
- "value": "Questions comportant des déclarations de différents types",
654
- "type": "VTL|MD"
655
- }
656
- },
657
- "subSequence": {
658
- "id": "kanyrdwp",
659
- "page": "14",
660
- "label": {
661
- "value": "Autres tests sur les sauts de lignes",
662
- "type": "VTL|MD"
663
- }
664
- }
665
- },
666
- "bindingDependencies": ["MIX4"],
667
- "options": [
668
- {
669
- "value": "1",
670
- "label": {
671
- "value": "modalité 1 sans saut de ligne",
672
- "type": "VTL|MD"
673
- }
674
- },
675
-
676
- {
677
- "value": "2",
678
- "label": {
679
- "value": "modalité 2 avec sauts de ligne ligne2 ​ ligne 4",
680
- "type": "VTL|MD"
681
- }
682
- },
683
-
684
- {
685
- "value": "3",
686
- "label": {
687
- "value": "modalité avec style et saut de ligne *ligne 2 en italique* ligne 3",
688
- "type": "VTL|MD"
689
- }
690
- }
691
- ],
692
- "response": { "name": "MIX4" }
693
- }
694
- ],
695
- "variables": [
696
- {
697
- "variableType": "COLLECTED",
698
- "name": "Q1",
699
- "values": {
700
- "COLLECTED": null
701
- }
702
- },
703
-
704
- {
705
- "variableType": "COLLECTED",
706
- "name": "Q2",
707
- "values": {
708
- "COLLECTED": null
709
- }
710
- },
711
-
712
- {
713
- "variableType": "COLLECTED",
714
- "name": "Q3",
715
- "values": {
716
- "COLLECTED": null
717
- }
718
- },
719
-
720
- {
721
- "variableType": "COLLECTED",
722
- "name": "Q4",
723
- "values": {
724
- "COLLECTED": null
725
- }
726
- },
727
-
728
- {
729
- "variableType": "COLLECTED",
730
- "name": "Q5",
731
- "values": {
732
- "COLLECTED": null
733
- }
734
- },
735
-
736
- {
737
- "variableType": "COLLECTED",
738
- "name": "Q6",
739
- "values": {
740
- "COLLECTED": null
741
- }
742
- },
743
-
744
- {
745
- "variableType": "COLLECTED",
746
- "name": "Q7",
747
- "values": {
748
- "COLLECTED": null
749
- }
750
- },
751
-
752
- {
753
- "variableType": "COLLECTED",
754
- "name": "Q8",
755
- "values": {
756
- "COLLECTED": null
757
- }
758
- },
759
-
760
- {
761
- "variableType": "COLLECTED",
762
- "name": "Q9",
763
- "values": {
764
- "COLLECTED": null
765
- }
766
- },
767
-
768
- {
769
- "variableType": "COLLECTED",
770
- "name": "Q10",
771
- "values": {
772
- "COLLECTED": null
773
- }
774
- },
775
-
776
- {
777
- "variableType": "COLLECTED",
778
- "name": "MIX1",
779
- "values": {
780
- "COLLECTED": null
781
- }
782
- },
783
-
784
- {
785
- "variableType": "COLLECTED",
786
- "name": "MIX2",
787
- "values": {
788
- "COLLECTED": null
789
- }
790
- },
791
-
792
- {
793
- "variableType": "COLLECTED",
794
- "name": "MIX3",
795
- "values": {
796
- "COLLECTED": null
797
- }
798
- },
799
-
800
- {
801
- "variableType": "COLLECTED",
802
- "name": "MIX4",
803
- "values": {
804
- "COLLECTED": null
805
- }
806
- },
807
-
808
- {
809
- "variableType": "CALCULATED",
810
- "name": "FILTER_RESULT_Q1",
811
- "expression": { "value": "true", "type": "VTL" },
812
- "inFilter": "false"
813
- },
814
-
815
- {
816
- "variableType": "CALCULATED",
817
- "name": "FILTER_RESULT_Q2",
818
- "expression": { "value": "true", "type": "VTL" },
819
- "inFilter": "false"
820
- },
821
-
822
- {
823
- "variableType": "CALCULATED",
824
- "name": "FILTER_RESULT_Q3",
825
- "expression": { "value": "true", "type": "VTL" },
826
- "inFilter": "false"
827
- },
828
-
829
- {
830
- "variableType": "CALCULATED",
831
- "name": "FILTER_RESULT_Q4",
832
- "expression": { "value": "true", "type": "VTL" },
833
- "inFilter": "false"
834
- },
835
-
836
- {
837
- "variableType": "CALCULATED",
838
- "name": "FILTER_RESULT_Q5",
839
- "expression": { "value": "true", "type": "VTL" },
840
- "inFilter": "false"
841
- },
842
-
843
- {
844
- "variableType": "CALCULATED",
845
- "name": "FILTER_RESULT_Q6",
846
- "expression": { "value": "true", "type": "VTL" },
847
- "inFilter": "false"
848
- },
849
-
850
- {
851
- "variableType": "CALCULATED",
852
- "name": "FILTER_RESULT_Q7",
853
- "expression": { "value": "true", "type": "VTL" },
854
- "inFilter": "false"
855
- },
856
-
857
- {
858
- "variableType": "CALCULATED",
859
- "name": "FILTER_RESULT_Q8",
860
- "expression": { "value": "true", "type": "VTL" },
861
- "inFilter": "false"
862
- },
863
-
864
- {
865
- "variableType": "CALCULATED",
866
- "name": "FILTER_RESULT_Q9",
867
- "expression": { "value": "true", "type": "VTL" },
868
- "inFilter": "false"
869
- },
870
-
871
- {
872
- "variableType": "CALCULATED",
873
- "name": "FILTER_RESULT_Q10",
874
- "expression": { "value": "true", "type": "VTL" },
875
- "inFilter": "false"
876
- },
877
-
878
- {
879
- "variableType": "CALCULATED",
880
- "name": "FILTER_RESULT_MIX1",
881
- "expression": { "value": "true", "type": "VTL" },
882
- "inFilter": "false"
883
- },
884
-
885
- {
886
- "variableType": "CALCULATED",
887
- "name": "FILTER_RESULT_MIX2",
888
- "expression": { "value": "true", "type": "VTL" },
889
- "inFilter": "false"
890
- },
891
-
892
- {
893
- "variableType": "CALCULATED",
894
- "name": "FILTER_RESULT_MIX3",
895
- "expression": { "value": "true", "type": "VTL" },
896
- "inFilter": "false"
897
- },
898
-
899
- {
900
- "variableType": "CALCULATED",
901
- "name": "FILTER_RESULT_MIX4",
902
- "expression": { "value": "true", "type": "VTL" },
903
- "inFilter": "false"
904
- }
905
- ],
906
- "cleaning": {},
907
- "resizing": {}
908
- }