@inseefr/lunatic 2.0.0-v2 → 2.0.1-v2

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 (64) hide show
  1. package/lib/components/button/lunatic-button.js +5 -1
  2. package/lib/components/checkbox/checkbox-boolean/checkbox-boolean.js +4 -2
  3. package/lib/components/checkbox/checkbox-boolean/lunatic-checkbox-boolean.js +2 -1
  4. package/lib/components/checkbox/checkbox-group/checkbox-group.js +7 -7
  5. package/lib/components/checkbox/checkbox-group/checkbox.scss +1 -0
  6. package/lib/components/checkbox/checkbox-group/lunatic-checkbox-group.js +3 -2
  7. package/lib/components/checkbox/checkbox-one/lunatic-checkbox-one.js +5 -2
  8. package/lib/components/checkbox/commons/checkbox-option.js +12 -3
  9. package/lib/components/checkbox/commons/checkbox-option.scss +3 -0
  10. package/lib/components/commons/components/combo-box/combo-box.js +1 -1
  11. package/lib/components/commons/components/combo-box/combo-box.scss +0 -10
  12. package/lib/components/commons/components/combo-box/selection/label-selection.js +1 -1
  13. package/lib/components/commons/components/errors/errors.js +26 -6
  14. package/lib/components/commons/components/fieldset.scss +2 -0
  15. package/lib/components/commons/components/orchestrated-component.js +4 -2
  16. package/lib/components/commons/create-row-orchestrator.js +4 -2
  17. package/lib/components/datepicker/datepicker.js +4 -1
  18. package/lib/components/datepicker/lunatic-datepicker.js +4 -2
  19. package/lib/components/declarations/declarations.js +5 -1
  20. package/lib/components/dropdown/lunatic-dropdown.js +3 -2
  21. package/lib/components/filter-description/component.js +4 -1
  22. package/lib/components/input/lunatic-input.js +3 -1
  23. package/lib/components/input-number/lunatic-input-number.js +4 -2
  24. package/lib/components/loop/block-for-loop/block-for-loop.js +7 -6
  25. package/lib/components/loop/block-for-loop/row.js +5 -3
  26. package/lib/components/loop/roster-for-loop/roster-for-loop.js +5 -5
  27. package/lib/components/loop/roster-for-loop/row.js +5 -3
  28. package/lib/components/modal-controls/modal-controls.scss +8 -30
  29. package/lib/components/pairwise/index.js +0 -8
  30. package/lib/components/pairwise/links/{links-orchestrator.js → orchestrator.js} +0 -0
  31. package/lib/components/pairwise/links/pairwise-links.js +5 -7
  32. package/lib/components/radio/lunatic-radio-group.js +3 -2
  33. package/lib/components/radio/radio-group.js +3 -5
  34. package/lib/components/radio/radio-option.js +6 -2
  35. package/lib/components/radio/radio.scss +3 -1
  36. package/lib/components/sequence/sequence.js +4 -1
  37. package/lib/components/subsequence/subsequence.js +4 -1
  38. package/lib/components/suggester/check-store.js +1 -6
  39. package/lib/components/suggester/lunatic-suggester.js +2 -1
  40. package/lib/components/table/lunatic-table.js +5 -2
  41. package/lib/components/textarea/lunatic-textarea.js +3 -1
  42. package/lib/stories/pairwise/data.json +13 -0
  43. package/lib/stories/pairwise/{links/links.json → links.json} +90 -24
  44. package/lib/stories/pairwise/{links/pairwise-links.stories.js → pairwise-links.stories.js} +3 -3
  45. package/lib/stories/questionnaires-test/controls/V2_Controles_BouclesLiees_PasPageFin.json +13 -52
  46. package/lib/stories/questionnaires-test/controls/boucles-n.json +74 -444
  47. package/lib/stories/questionnaires-test/controls/controls.stories.js +8 -8
  48. package/lib/use-lunatic/commons/get-errors-without-empty-value.js +31 -0
  49. package/lib/use-lunatic/commons/index.js +8 -0
  50. package/lib/use-lunatic/initial-state.js +1 -0
  51. package/lib/use-lunatic/reducer/reduce-go-next-page.js +16 -9
  52. package/lib/use-lunatic/reducer/reduce-go-previous-page.js +2 -1
  53. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-handle-change.js +8 -1
  54. package/lib/use-lunatic/reducer/validate-controls/create-controls-reducer.js +21 -11
  55. package/lib/use-lunatic/reducer/validate-controls/create-modal-controls-reducer.js +19 -7
  56. package/lib/use-lunatic/reducer/validate-controls/validation-utils.js +5 -3
  57. package/package.json +2 -2
  58. package/lib/components/checkbox/checkbox-group/checkbox-option.js +0 -57
  59. package/lib/components/checkbox/checkbox.scss +0 -1
  60. package/lib/components/pairwise/block/index.js +0 -15
  61. package/lib/components/pairwise/block/pairwise-block.js +0 -17
  62. package/lib/stories/pairwise/block/block.json +0 -3
  63. package/lib/stories/pairwise/block/pairwise-block.stories.js +0 -36
  64. package/lib/stories/pairwise/links/data.json +0 -12
@@ -12,39 +12,6 @@
12
12
  },
13
13
  "name": "COMMENT_QE"
14
14
  },
15
- {
16
- "variableType": "COLLECTED",
17
- "values": {
18
- "COLLECTED": null,
19
- "EDITED": null,
20
- "INPUTED": null,
21
- "FORCED": null,
22
- "PREVIOUS": null
23
- },
24
- "name": "Q1"
25
- },
26
- {
27
- "variableType": "COLLECTED",
28
- "values": {
29
- "COLLECTED": [null],
30
- "EDITED": [null],
31
- "INPUTED": [null],
32
- "FORCED": [null],
33
- "PREVIOUS": [null]
34
- },
35
- "name": "Q2"
36
- },
37
- {
38
- "variableType": "COLLECTED",
39
- "values": {
40
- "COLLECTED": [null],
41
- "EDITED": [null],
42
- "INPUTED": [null],
43
- "FORCED": [null],
44
- "PREVIOUS": [null]
45
- },
46
- "name": "Q3"
47
- },
48
15
  {
49
16
  "variableType": "COLLECTED",
50
17
  "values": {
@@ -54,52 +21,14 @@
54
21
  "FORCED": [null],
55
22
  "PREVIOUS": [null]
56
23
  },
57
- "name": "Q4"
58
- },
59
- {
60
- "variableType": "COLLECTED",
61
- "values": {
62
- "COLLECTED": [null],
63
- "EDITED": [null],
64
- "INPUTED": [null],
65
- "FORCED": [null],
66
- "PREVIOUS": [null]
67
- },
68
- "name": "Q5"
24
+ "name": "Q1"
69
25
  },
70
26
  {
71
27
  "variableType": "CALCULATED",
72
28
  "expression": { "type": "VTL", "value": "true" },
73
29
  "name": "FILTER_RESULT_Q1",
74
- "inFilter": "false"
75
- },
76
- {
77
- "variableType": "CALCULATED",
78
- "expression": { "type": "VTL", "value": "true" },
79
- "name": "FILTER_RESULT_Q2",
80
- "inFilter": "false",
81
- "shapeFrom": "Q2"
82
- },
83
- {
84
- "variableType": "CALCULATED",
85
- "expression": { "type": "VTL", "value": "true" },
86
- "name": "FILTER_RESULT_Q3",
87
- "inFilter": "false",
88
- "shapeFrom": "Q3"
89
- },
90
- {
91
- "variableType": "CALCULATED",
92
- "expression": { "type": "VTL", "value": "true" },
93
- "name": "FILTER_RESULT_Q4",
94
- "inFilter": "false",
95
- "shapeFrom": "Q3"
96
- },
97
- {
98
- "variableType": "CALCULATED",
99
- "expression": { "type": "VTL", "value": "true" },
100
- "name": "FILTER_RESULT_Q5",
101
30
  "inFilter": "false",
102
- "shapeFrom": "Q3"
31
+ "shapeFrom": "Q1"
103
32
  }
104
33
  ],
105
34
  "components": [
@@ -107,429 +36,135 @@
107
36
  "componentType": "Sequence",
108
37
  "hierarchy": {
109
38
  "sequence": {
110
- "id": "kfxmfvwj",
39
+ "id": "kanya0cm",
111
40
  "page": "1",
112
- "label": { "type": "VTL|MD", "value": "\"I - \" || \"S1\"" }
113
- }
114
- },
115
- "conditionFilter": { "type": "VTL", "value": "true" },
116
- "id": "kfxmfvwj",
117
- "page": "1",
118
- "label": { "type": "VTL|MD", "value": "\"I - \" || \"S1\"" }
119
- },
120
- {
121
- "componentType": "InputNumber",
122
- "controls": [
123
- {
124
- "criticality": "ERROR",
125
- "errorMessage": {
126
- "type": "VTL|MD",
127
- "value": "\"Vous devez saisir un nombre.\""
128
- },
129
- "typeOfControl": "FORMAT",
130
- "control": {
131
- "type": "VTL",
132
- "value": "not(not(isnull(Q1)) and not(isNaN(Q1)))"
133
- },
134
- "id": "l14vfucm-formatNumber"
135
- },
136
- {
137
- "criticality": "ERROR",
138
- "errorMessage": {
139
- "type": "VTL|MD",
140
- "value": "\" La valeur doit être comprise entre 1 et 5.\""
141
- },
142
- "typeOfControl": "FORMAT",
143
- "control": {
144
- "type": "VTL",
145
- "value": "not(not(isnull(Q1)) and (1>Q1 or 5<Q1)))"
146
- },
147
- "id": "l14vfucm-formatBorneInfSup"
148
- },
149
- {
150
- "criticality": "ERROR",
151
- "errorMessage": {
41
+ "label": {
152
42
  "type": "VTL|MD",
153
- "value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
154
- },
155
- "typeOfControl": "FORMAT",
156
- "control": {
157
- "type": "VTL",
158
- "value": "not(not(isnull(Q1)) and trunc(Q1,0)<>Q1)"
159
- },
160
- "id": "l14vfucm-formatDec"
161
- },
162
- {
163
- "bindingDependencies": ["Q1"],
164
- "criticality": "WARN",
165
- "errorMessage": { "type": "VTL|MD", "value": "\"Supérieur à 3\"" },
166
- "typeOfControl": "CONSISTENCY",
167
- "control": { "type": "VTL", "value": "not(nvl(Q1,1) > 3)" },
168
- "id": "l14vfucm-CI-0"
169
- }
170
- ],
171
- "max": 5,
172
- "hierarchy": {
173
- "sequence": {
174
- "id": "kfxmfvwj",
175
- "page": "1",
176
- "label": { "type": "VTL|MD", "value": "\"I - \" || \"S1\"" }
43
+ "value": "\"I - \" || \"Boucle Taille fixe\""
44
+ }
177
45
  }
178
46
  },
179
47
  "conditionFilter": { "type": "VTL", "value": "true" },
48
+ "id": "kanya0cm",
49
+ "page": "1",
180
50
  "label": {
181
51
  "type": "VTL|MD",
182
- "value": "\" 1. \" || \"nbhab de 1 a 5 ? ne pas laisser vide\""
183
- },
184
- "mandatory": false,
185
- "declarations": [
186
- {
187
- "declarationType": "HELP",
188
- "id": "l14vfucm-l5qoq4pp",
189
- "label": { "type": "VTL|MD", "value": "\"Controle si > 3\"" },
190
- "position": "AFTER_QUESTION_TEXT"
191
- }
192
- ],
193
- "bindingDependencies": ["Q1"],
194
- "min": 1,
195
- "response": { "name": "Q1" },
196
- "decimals": 0,
197
- "id": "l14vfucm",
198
- "page": "2"
199
- },
200
- {
201
- "componentType": "Sequence",
202
- "hierarchy": {
203
- "sequence": {
204
- "id": "l5gh9umu",
205
- "page": "3",
206
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
207
- }
208
- },
209
- "conditionFilter": { "type": "VTL", "value": "true" },
210
- "id": "l5gh9umu",
211
- "page": "3",
212
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
213
- },
214
- {
215
- "paginatedLoop": false,
216
- "componentType": "Loop",
217
- "loopDependencies": ["Q1"],
218
- "components": [
219
- {
220
- "componentType": "Subsequence",
221
- "bindingDependencies": ["Q1"],
222
- "goToPage": "4",
223
- "hierarchy": {
224
- "sequence": {
225
- "id": "l5gh9umu",
226
- "page": "3",
227
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
228
- },
229
- "subSequence": {
230
- "id": "l7svg7al",
231
- "page": "4",
232
- "label": { "type": "VTL|MD", "value": "SS2" }
233
- }
234
- },
235
- "conditionFilter": { "type": "VTL", "value": "true" },
236
- "id": "l7svg7al",
237
- "page": "4",
238
- "label": { "type": "VTL|MD", "value": "SS2" }
239
- },
240
- {
241
- "componentType": "Input",
242
- "bindingDependencies": ["Q2", "Q1"],
243
- "response": { "name": "Q2" },
244
- "hierarchy": {
245
- "sequence": {
246
- "id": "l5gh9umu",
247
- "page": "3",
248
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
249
- },
250
- "subSequence": {
251
- "id": "l7svg7al",
252
- "page": "4",
253
- "label": { "type": "VTL|MD", "value": "SS2" }
254
- }
255
- },
256
- "conditionFilter": { "type": "VTL", "value": "true" },
257
- "id": "l5gh84ov",
258
- "page": "4",
259
- "label": { "type": "VTL|MD", "value": "\"➡ 2. \" || \"prenom\"" },
260
- "mandatory": false,
261
- "maxLength": 249
262
- }
263
- ],
264
- "bindingDependencies": ["Q1", "Q2"],
265
- "depth": 1,
266
- "hierarchy": {
267
- "sequence": {
268
- "id": "l5gh9umu",
269
- "page": "3",
270
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
271
- }
272
- },
273
- "conditionFilter": { "type": "VTL", "value": "true" },
274
- "id": "l5gh45ic",
275
- "page": "4",
276
- "lines": {
277
- "min": { "type": "VTL", "value": "nvl(Q1,1)" },
278
- "max": { "type": "VTL", "value": "nvl(Q1,1)" }
52
+ "value": "\"I - \" || \"Boucle Taille fixe\""
279
53
  }
280
54
  },
281
55
  {
282
- "paginatedLoop": true,
56
+ "paginatedLoop": false,
283
57
  "componentType": "Loop",
284
- "loopDependencies": ["Q2"],
285
58
  "components": [
286
59
  {
287
60
  "componentType": "Subsequence",
288
- "bindingDependencies": ["Q2"],
289
- "goToPage": "5.1",
61
+ "goToPage": "2",
290
62
  "hierarchy": {
291
63
  "sequence": {
292
- "id": "l5gh9umu",
293
- "page": "3",
294
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
295
- },
296
- "subSequence": {
297
- "id": "l7svbzu7",
298
- "page": "5.1",
299
- "label": { "type": "VTL|MD", "value": "SS3" }
300
- }
301
- },
302
- "conditionFilter": { "type": "VTL", "value": "true" },
303
- "id": "l7svbzu7",
304
- "label": { "type": "VTL|MD", "value": "SS3" }
305
- },
306
- {
307
- "componentType": "InputNumber",
308
- "controls": [
309
- {
310
- "criticality": "ERROR",
311
- "errorMessage": {
312
- "type": "VTL|MD",
313
- "value": "\"Vous devez saisir un nombre.\""
314
- },
315
- "typeOfControl": "FORMAT",
316
- "control": {
317
- "type": "VTL",
318
- "value": "not(not(isnull(Q3)) and not(isNaN(Q3)))"
319
- },
320
- "id": "l5ggvqgj-formatNumber"
321
- },
322
- {
323
- "criticality": "ERROR",
324
- "errorMessage": {
325
- "type": "VTL|MD",
326
- "value": "\" La valeur doit être comprise entre 0 et 20.\""
327
- },
328
- "typeOfControl": "FORMAT",
329
- "control": {
330
- "type": "VTL",
331
- "value": "not(not(isnull(Q3)) and (0>Q3 or 20<Q3)))"
332
- },
333
- "id": "l5ggvqgj-formatBorneInfSup"
334
- },
335
- {
336
- "criticality": "ERROR",
337
- "errorMessage": {
64
+ "id": "kanya0cm",
65
+ "page": "1",
66
+ "label": {
338
67
  "type": "VTL|MD",
339
- "value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
340
- },
341
- "typeOfControl": "FORMAT",
342
- "control": {
343
- "type": "VTL",
344
- "value": "not(not(isnull(Q3)) and trunc(Q3,0)<>Q3)"
345
- },
346
- "id": "l5ggvqgj-formatDec"
347
- }
348
- ],
349
- "max": 20,
350
- "hierarchy": {
351
- "sequence": {
352
- "id": "l5gh9umu",
353
- "page": "3",
354
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
68
+ "value": "\"I - \" || \"Boucle Taille fixe\""
69
+ }
355
70
  },
356
71
  "subSequence": {
357
- "id": "l7svbzu7",
358
- "page": "5.1",
359
- "label": { "type": "VTL|MD", "value": "SS3" }
72
+ "id": "l7qast3a",
73
+ "page": "2",
74
+ "label": { "type": "VTL|MD", "value": "SS1" }
360
75
  }
361
76
  },
362
77
  "conditionFilter": { "type": "VTL", "value": "true" },
363
- "label": {
364
- "type": "VTL|MD",
365
- "value": "\" 3. \" || \"Q3 entre 0 et 20\""
366
- },
367
- "mandatory": false,
368
- "bindingDependencies": ["Q3", "Q2"],
369
- "min": 0,
370
- "response": { "name": "Q3" },
371
- "decimals": 0,
372
- "id": "l5ggvqgj",
373
- "page": "5.1"
78
+ "id": "l7qast3a",
79
+ "page": "2",
80
+ "label": { "type": "VTL|MD", "value": "SS1" }
374
81
  },
375
82
  {
376
- "componentType": "InputNumber",
83
+ "componentType": "Input",
84
+ "bindingDependencies": ["Q1"],
377
85
  "controls": [
378
86
  {
379
- "criticality": "ERROR",
380
- "errorMessage": {
381
- "type": "VTL|MD",
382
- "value": "\"Vous devez saisir un nombre.\""
383
- },
384
- "typeOfControl": "FORMAT",
385
- "control": {
386
- "type": "VTL",
387
- "value": "not(not(isnull(Q4)) and not(isNaN(Q4)))"
388
- },
389
- "id": "l5ggzuuo-formatNumber"
390
- },
391
- {
392
- "criticality": "ERROR",
393
- "errorMessage": {
394
- "type": "VTL|MD",
395
- "value": "\" La valeur doit être comprise entre 0 et 20.\""
396
- },
397
- "typeOfControl": "FORMAT",
398
- "control": {
399
- "type": "VTL",
400
- "value": "not(not(isnull(Q4)) and (0>Q4 or 20<Q4)))"
401
- },
402
- "id": "l5ggzuuo-formatBorneInfSup"
403
- },
404
- {
405
- "criticality": "ERROR",
406
- "errorMessage": {
407
- "type": "VTL|MD",
408
- "value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
409
- },
410
- "typeOfControl": "FORMAT",
411
- "control": {
412
- "type": "VTL",
413
- "value": "not(not(isnull(Q4)) and trunc(Q4,0)<>Q4)"
414
- },
415
- "id": "l5ggzuuo-formatDec"
416
- },
417
- {
418
- "bindingDependencies": ["Q3", "Q4"],
87
+ "bindingDependencies": ["Q1"],
419
88
  "criticality": "WARN",
420
- "errorMessage": { "type": "VTL|MD", "value": "\"Q3 > Q4\"" },
89
+ "errorMessage": { "type": "VTL|MD", "value": "\"Q1 est vide\"" },
421
90
  "typeOfControl": "CONSISTENCY",
422
91
  "control": {
423
92
  "type": "VTL",
424
- "value": "not(nvl(Q3,0) > nvl(Q4,0))"
93
+ "value": "not(isnull(Q1) or Q1=\"\")"
425
94
  },
426
- "id": "l5ggzuuo-CI-0"
95
+ "id": "kanz18h6-CI-0"
427
96
  }
428
97
  ],
429
- "max": 20,
98
+ "response": { "name": "Q1" },
430
99
  "hierarchy": {
431
100
  "sequence": {
432
- "id": "l5gh9umu",
433
- "page": "3",
434
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
101
+ "id": "kanya0cm",
102
+ "page": "1",
103
+ "label": {
104
+ "type": "VTL|MD",
105
+ "value": "\"I - \" || \"Boucle Taille fixe\""
106
+ }
435
107
  },
436
108
  "subSequence": {
437
- "id": "l7svbzu7",
438
- "page": "5.1",
439
- "label": { "type": "VTL|MD", "value": "SS3" }
109
+ "id": "l7qast3a",
110
+ "page": "2",
111
+ "label": { "type": "VTL|MD", "value": "SS1" }
440
112
  }
441
113
  },
442
114
  "conditionFilter": { "type": "VTL", "value": "true" },
115
+ "id": "kanz18h6",
116
+ "page": "2",
443
117
  "label": {
444
118
  "type": "VTL|MD",
445
- "value": "\"➡ 4. \" || \"Q4 entre 0 et 20 et controle si Q3 > Q4\""
119
+ "value": "\"➡ 1. \" || \"\"question 1 : Q1\" \""
446
120
  },
447
121
  "mandatory": false,
448
- "bindingDependencies": ["Q4", "Q2"],
449
- "min": 0,
450
- "response": { "name": "Q4" },
451
- "decimals": 0,
452
- "id": "l5ggzuuo",
453
- "page": "5.2"
454
- },
455
- {
456
- "componentType": "Input",
457
- "bindingDependencies": ["Q5", "Q2"],
458
- "controls": [
122
+ "maxLength": 5,
123
+ "declarations": [
459
124
  {
460
- "bindingDependencies": ["Q5"],
461
- "criticality": "WARN",
462
- "errorMessage": { "type": "VTL|MD", "value": "\"Q5 est vide\"" },
463
- "typeOfControl": "CONSISTENCY",
464
- "control": { "type": "VTL", "value": "not(isnull(Q5))" },
465
- "id": "l5ghsjv2-CI-0"
466
- }
467
- ],
468
- "response": { "name": "Q5" },
469
- "hierarchy": {
470
- "sequence": {
471
- "id": "l5gh9umu",
472
- "page": "3",
473
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
474
- },
475
- "subSequence": {
476
- "id": "l7svbzu7",
477
- "page": "5.1",
478
- "label": { "type": "VTL|MD", "value": "SS3" }
125
+ "declarationType": "HELP",
126
+ "id": "kanz18h6-l8abm1g3",
127
+ "label": {
128
+ "type": "VTL|MD",
129
+ "value": "\"affichage question Q1\""
130
+ },
131
+ "position": "AFTER_QUESTION_TEXT"
479
132
  }
480
- },
481
- "conditionFilter": { "type": "VTL", "value": "true" },
482
- "id": "l5ghsjv2",
483
- "page": "5.3",
484
- "label": {
485
- "type": "VTL|MD",
486
- "value": "\"➡ 5. \" || \"Q5 controle sur vide\""
487
- },
488
- "mandatory": false,
489
- "maxLength": 249
133
+ ]
490
134
  }
491
135
  ],
492
- "bindingDependencies": ["Q3", "Q4", "Q5"],
136
+ "bindingDependencies": ["Q1"],
493
137
  "depth": 1,
494
138
  "hierarchy": {
495
139
  "sequence": {
496
- "id": "l5gh9umu",
497
- "page": "3",
498
- "label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
499
- }
500
- },
501
- "conditionFilter": { "type": "VTL", "value": "true" },
502
- "id": "l5gh8yro",
503
- "page": "5",
504
- "maxPage": "3",
505
- "iterations": { "type": "VTL", "value": "count(Q2)" }
506
- },
507
- {
508
- "componentType": "Sequence",
509
- "hierarchy": {
510
- "sequence": {
511
- "id": "l5gh8epv",
512
- "page": "6",
513
- "label": { "type": "VTL|MD", "value": "\"III - \" || \"S4\"" }
140
+ "id": "kanya0cm",
141
+ "page": "1",
142
+ "label": {
143
+ "type": "VTL|MD",
144
+ "value": "\"I - \" || \"Boucle Taille fixe\""
145
+ }
514
146
  }
515
147
  },
516
148
  "conditionFilter": { "type": "VTL", "value": "true" },
517
- "id": "l5gh8epv",
518
- "page": "6",
519
- "label": { "type": "VTL|MD", "value": "\"III - \" || \"S4\"" }
149
+ "id": "l7qb3gb0",
150
+ "page": "2",
151
+ "lines": {
152
+ "min": { "type": "VTL", "value": "1" },
153
+ "max": { "type": "VTL", "value": "4" }
154
+ }
520
155
  },
521
156
  {
522
157
  "componentType": "Sequence",
523
158
  "hierarchy": {
524
159
  "sequence": {
525
160
  "id": "COMMENT-SEQ",
526
- "page": "7",
161
+ "page": "3",
527
162
  "label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
528
163
  }
529
164
  },
530
165
  "conditionFilter": { "type": "VTL", "value": "true" },
531
166
  "id": "COMMENT-SEQ",
532
- "page": "7",
167
+ "page": "3",
533
168
  "label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
534
169
  },
535
170
  {
@@ -539,13 +174,13 @@
539
174
  "hierarchy": {
540
175
  "sequence": {
541
176
  "id": "COMMENT-SEQ",
542
- "page": "7",
177
+ "page": "3",
543
178
  "label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
544
179
  }
545
180
  },
546
181
  "conditionFilter": { "type": "VTL", "value": "true" },
547
182
  "id": "COMMENT-QUESTION",
548
- "page": "8",
183
+ "page": "4",
549
184
  "label": {
550
185
  "type": "VTL|MD",
551
186
  "value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
@@ -555,18 +190,13 @@
555
190
  }
556
191
  ],
557
192
  "pagination": "question",
558
- "resizing": {
559
- "Q1": { "variables": ["Q2", "Q3", "Q4", "Q5"], "size": "nvl(Q1,1)" }
560
- },
561
- "label": {
562
- "type": "VTL|MD",
563
- "value": "Lunatic V2 - controles dans boucles liees (bug V1)"
564
- },
193
+ "resizing": {},
194
+ "label": { "type": "VTL|MD", "value": "Boucle taille 1 a 4" },
565
195
  "lunaticModelVersion": "2.2.14-rc",
566
- "modele": "TESTCONTBOUCL",
196
+ "modele": "QTEST_DECL",
567
197
  "enoCoreVersion": "2.3.10-controls-type",
568
- "generatingDate": "08-09-2022 12:16:00",
198
+ "generatingDate": "20-09-2022 14:56:51",
569
199
  "missing": false,
570
- "id": "l5gghitu",
571
- "maxPage": "8"
200
+ "id": "l7qax3st",
201
+ "maxPage": "4"
572
202
  }
@@ -67,6 +67,14 @@ var Template = function Template(args) {
67
67
  return /*#__PURE__*/_react["default"].createElement(_orchestrator["default"], args);
68
68
  };
69
69
 
70
+ var BoucleN = Template.bind({});
71
+ exports.BoucleN = BoucleN;
72
+ BoucleN.args = {
73
+ id: 'boucle-dylan',
74
+ pagination: true,
75
+ activeControls: true,
76
+ source: _bouclesN["default"]
77
+ };
70
78
  var Simple = Template.bind({});
71
79
  exports.Simple = Simple;
72
80
  Simple.args = {
@@ -97,12 +105,4 @@ LinkedLoop2.args = {
97
105
  source: _V2_Controles_BouclesLiees2_PasPageFin["default"],
98
106
  pagination: true,
99
107
  activeControls: true
100
- };
101
- var BoucleN = Template.bind({});
102
- exports.BoucleN = BoucleN;
103
- BoucleN.args = {
104
- id: 'boucle-dylan',
105
- pagination: true,
106
- activeControls: true,
107
- source: _bouclesN["default"]
108
108
  };