@inseefr/lunatic 3.0.0-rc.21 → 3.0.0-rc.22

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 (34) hide show
  1. package/lib/stories/overview/dataLoop.json +189 -0
  2. package/lib/stories/overview/sourceLoop.json +1423 -0
  3. package/lib/use-lunatic/commons/fill-components/fill-component-required.d.ts +2 -1
  4. package/lib/use-lunatic/commons/fill-components/fill-from-state.d.ts +0 -1
  5. package/lib/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +4 -2
  6. package/lib/use-lunatic/commons/variables/lunatic-variables-store.js +14 -1
  7. package/lib/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
  8. package/lib/use-lunatic/hooks/useOverview.d.ts +15 -0
  9. package/lib/use-lunatic/hooks/useOverview.js +83 -0
  10. package/lib/use-lunatic/hooks/useOverview.js.map +1 -0
  11. package/lib/use-lunatic/reducer/overview/{overview-on-init.d.ts → overviewOnInit.d.ts} +9 -4
  12. package/lib/use-lunatic/reducer/overview/overviewOnInit.js +59 -0
  13. package/lib/use-lunatic/reducer/overview/overviewOnInit.js.map +1 -0
  14. package/lib/use-lunatic/reducer/reduce-go-next-page.d.ts +1 -1
  15. package/lib/use-lunatic/reducer/reduce-go-next-page.js +3 -7
  16. package/lib/use-lunatic/reducer/reduce-go-next-page.js.map +1 -1
  17. package/lib/use-lunatic/reducer/reduce-on-init.js +1 -1
  18. package/lib/use-lunatic/reducer/reduce-on-init.js.map +1 -1
  19. package/lib/use-lunatic/type-source.d.ts +2 -1
  20. package/lib/use-lunatic/type.d.ts +10 -14
  21. package/lib/use-lunatic/use-lunatic.d.ts +1 -9
  22. package/lib/use-lunatic/use-lunatic.js +6 -3
  23. package/lib/use-lunatic/use-lunatic.js.map +1 -1
  24. package/lib/use-lunatic/use-lunatic.test.js +20 -19
  25. package/lib/use-lunatic/use-lunatic.test.js.map +1 -1
  26. package/package.json +5 -1
  27. package/lib/use-lunatic/commons/getOverview.d.ts +0 -19
  28. package/lib/use-lunatic/commons/getOverview.js +0 -31
  29. package/lib/use-lunatic/commons/getOverview.js.map +0 -1
  30. package/lib/use-lunatic/reducer/overview/overview-on-change.d.ts +0 -2
  31. package/lib/use-lunatic/reducer/overview/overview-on-change.js +0 -30
  32. package/lib/use-lunatic/reducer/overview/overview-on-change.js.map +0 -1
  33. package/lib/use-lunatic/reducer/overview/overview-on-init.js +0 -59
  34. package/lib/use-lunatic/reducer/overview/overview-on-init.js.map +0 -1
@@ -0,0 +1,1423 @@
1
+ {
2
+ "cleaning": {
3
+ "T_PRENOM": {
4
+ "REMARQUES": "(PRENOM <> PRENOMREF)",
5
+ "T_DATENAIS": "(PRENOM <> PRENOMREF)"
6
+ }
7
+ },
8
+ "componentType": "Questionnaire",
9
+ "variables": [
10
+ {
11
+ "variableType": "CALCULATED",
12
+ "bindingDependencies": ["T_NHAB"],
13
+ "expression": {
14
+ "type": "VTL",
15
+ "value": "nvl(T_NHAB,1)"
16
+ },
17
+ "name": "T_NBHAB"
18
+ },
19
+ {
20
+ "variableType": "CALCULATED",
21
+ "bindingDependencies": ["T_PRENOM"],
22
+ "expression": {
23
+ "type": "VTL",
24
+ "value": "first_value(T_PRENOM over())"
25
+ },
26
+ "name": "PRENOMREFB"
27
+ },
28
+ {
29
+ "variableType": "CALCULATED",
30
+ "bindingDependencies": ["T_PRENOM", "T_NBHAB", "PRENOMREFB", "T_NHAB"],
31
+ "expression": {
32
+ "type": "VTL",
33
+ "value": "if (T_NBHAB = 1) then nvl(PRENOMREFB, \"PRENOM\") else nvl(PRENOMREFB, \"PRENOM1\")"
34
+ },
35
+ "name": "PRENOMREF"
36
+ },
37
+ {
38
+ "variableType": "CALCULATED",
39
+ "bindingDependencies": ["PRENOMB", "T_PRENOM"],
40
+ "expression": {
41
+ "type": "VTL",
42
+ "value": "nvl(PRENOMB, \"PRENOM\")"
43
+ },
44
+ "name": "PRENOM",
45
+ "shapeFrom": "T_PRENOM"
46
+ },
47
+ {
48
+ "variableType": "CALCULATED",
49
+ "bindingDependencies": ["T_PRENOM"],
50
+ "expression": {
51
+ "type": "VTL",
52
+ "value": "T_PRENOM"
53
+ },
54
+ "name": "PRENOMB",
55
+ "shapeFrom": "T_PRENOM"
56
+ },
57
+ {
58
+ "variableType": "COLLECTED",
59
+ "values": {
60
+ "COLLECTED": null,
61
+ "EDITED": null,
62
+ "FORCED": null,
63
+ "INPUTTED": null,
64
+ "PREVIOUS": null
65
+ },
66
+ "name": "ETAT"
67
+ },
68
+ {
69
+ "variableType": "COLLECTED",
70
+ "values": {
71
+ "COLLECTED": null,
72
+ "EDITED": null,
73
+ "FORCED": null,
74
+ "INPUTTED": null,
75
+ "PREVIOUS": null
76
+ },
77
+ "name": "SATISFAIT"
78
+ },
79
+ {
80
+ "variableType": "COLLECTED",
81
+ "values": {
82
+ "COLLECTED": null,
83
+ "EDITED": null,
84
+ "FORCED": null,
85
+ "INPUTTED": null,
86
+ "PREVIOUS": null
87
+ },
88
+ "name": "T_NHAB"
89
+ },
90
+ {
91
+ "variableType": "COLLECTED",
92
+ "values": {
93
+ "COLLECTED": [],
94
+ "EDITED": [],
95
+ "FORCED": [],
96
+ "INPUTTED": [],
97
+ "PREVIOUS": []
98
+ },
99
+ "name": "T_PRENOM"
100
+ },
101
+ {
102
+ "variableType": "COLLECTED",
103
+ "values": {
104
+ "COLLECTED": null,
105
+ "EDITED": null,
106
+ "FORCED": null,
107
+ "INPUTTED": null,
108
+ "PREVIOUS": null
109
+ },
110
+ "name": "COMMCOMPO"
111
+ },
112
+ {
113
+ "variableType": "COLLECTED",
114
+ "values": {
115
+ "COLLECTED": [],
116
+ "EDITED": [],
117
+ "FORCED": [],
118
+ "INPUTTED": [],
119
+ "PREVIOUS": []
120
+ },
121
+ "name": "T_SEXE"
122
+ },
123
+ {
124
+ "variableType": "COLLECTED",
125
+ "values": {
126
+ "COLLECTED": [],
127
+ "EDITED": [],
128
+ "FORCED": [],
129
+ "INPUTTED": [],
130
+ "PREVIOUS": []
131
+ },
132
+ "name": "T_DATENAIS"
133
+ },
134
+ {
135
+ "variableType": "COLLECTED",
136
+ "values": {
137
+ "COLLECTED": [],
138
+ "EDITED": [],
139
+ "FORCED": [],
140
+ "INPUTTED": [],
141
+ "PREVIOUS": []
142
+ },
143
+ "name": "REMARQUES"
144
+ },
145
+ {
146
+ "variableType": "COLLECTED",
147
+ "values": {
148
+ "COLLECTED": [],
149
+ "EDITED": [],
150
+ "FORCED": [],
151
+ "INPUTTED": [],
152
+ "PREVIOUS": []
153
+ },
154
+ "name": "SUPERQUEST"
155
+ },
156
+ {
157
+ "variableType": "COLLECTED",
158
+ "values": {
159
+ "COLLECTED": [],
160
+ "EDITED": [],
161
+ "FORCED": [],
162
+ "INPUTTED": [],
163
+ "PREVIOUS": []
164
+ },
165
+ "name": "AUTRESUPERQUEST"
166
+ },
167
+ {
168
+ "variableType": "COLLECTED",
169
+ "values": {
170
+ "COLLECTED": [],
171
+ "EDITED": [],
172
+ "FORCED": [],
173
+ "INPUTTED": [],
174
+ "PREVIOUS": []
175
+ },
176
+ "name": "ENCOREUNEQ"
177
+ },
178
+ {
179
+ "variableType": "COLLECTED",
180
+ "values": {
181
+ "COLLECTED": null,
182
+ "EDITED": null,
183
+ "FORCED": null,
184
+ "INPUTTED": null,
185
+ "PREVIOUS": null
186
+ },
187
+ "name": "COMMENT_QE"
188
+ },
189
+ {
190
+ "variableType": "COLLECTED",
191
+ "values": {
192
+ "COLLECTED": null,
193
+ "EDITED": null,
194
+ "FORCED": null,
195
+ "INPUTTED": null,
196
+ "PREVIOUS": null
197
+ },
198
+ "name": "ETAT_MISSING"
199
+ },
200
+ {
201
+ "variableType": "COLLECTED",
202
+ "values": {
203
+ "COLLECTED": null,
204
+ "EDITED": null,
205
+ "FORCED": null,
206
+ "INPUTTED": null,
207
+ "PREVIOUS": null
208
+ },
209
+ "name": "SATISFAIT_MISSING"
210
+ },
211
+ {
212
+ "variableType": "COLLECTED",
213
+ "values": {
214
+ "COLLECTED": null,
215
+ "EDITED": null,
216
+ "FORCED": null,
217
+ "INPUTTED": null,
218
+ "PREVIOUS": null
219
+ },
220
+ "name": "T_NHAB_MISSING"
221
+ },
222
+ {
223
+ "variableType": "COLLECTED",
224
+ "values": {
225
+ "COLLECTED": [],
226
+ "EDITED": [],
227
+ "FORCED": [],
228
+ "INPUTTED": [],
229
+ "PREVIOUS": []
230
+ },
231
+ "name": "T_PRENOM_MISSING"
232
+ },
233
+ {
234
+ "variableType": "COLLECTED",
235
+ "values": {
236
+ "COLLECTED": null,
237
+ "EDITED": null,
238
+ "FORCED": null,
239
+ "INPUTTED": null,
240
+ "PREVIOUS": null
241
+ },
242
+ "name": "COMMCOMPO_MISSING"
243
+ },
244
+ {
245
+ "variableType": "COLLECTED",
246
+ "values": {
247
+ "COLLECTED": [],
248
+ "EDITED": [],
249
+ "FORCED": [],
250
+ "INPUTTED": [],
251
+ "PREVIOUS": []
252
+ },
253
+ "name": "T_SEXE_MISSING"
254
+ },
255
+ {
256
+ "variableType": "COLLECTED",
257
+ "values": {
258
+ "COLLECTED": [],
259
+ "EDITED": [],
260
+ "FORCED": [],
261
+ "INPUTTED": [],
262
+ "PREVIOUS": []
263
+ },
264
+ "name": "T_DATENAIS_MISSING"
265
+ },
266
+ {
267
+ "variableType": "COLLECTED",
268
+ "values": {
269
+ "COLLECTED": [],
270
+ "EDITED": [],
271
+ "FORCED": [],
272
+ "INPUTTED": [],
273
+ "PREVIOUS": []
274
+ },
275
+ "name": "REMARQUES_MISSING"
276
+ },
277
+ {
278
+ "variableType": "COLLECTED",
279
+ "values": {
280
+ "COLLECTED": [],
281
+ "EDITED": [],
282
+ "FORCED": [],
283
+ "INPUTTED": [],
284
+ "PREVIOUS": []
285
+ },
286
+ "name": "SUPERQUEST_MISSING"
287
+ },
288
+ {
289
+ "variableType": "COLLECTED",
290
+ "values": {
291
+ "COLLECTED": [],
292
+ "EDITED": [],
293
+ "FORCED": [],
294
+ "INPUTTED": [],
295
+ "PREVIOUS": []
296
+ },
297
+ "name": "ENCOREUNEQ_MISSING"
298
+ },
299
+ {
300
+ "variableType": "COLLECTED",
301
+ "values": {
302
+ "COLLECTED": [],
303
+ "EDITED": [],
304
+ "FORCED": [],
305
+ "INPUTTED": [],
306
+ "PREVIOUS": []
307
+ },
308
+ "name": "AUTRESUPERQUEST_MISSING"
309
+ },
310
+ {
311
+ "variableType": "COLLECTED",
312
+ "values": {
313
+ "COLLECTED": null,
314
+ "EDITED": null,
315
+ "FORCED": null,
316
+ "INPUTTED": null,
317
+ "PREVIOUS": null
318
+ },
319
+ "name": "COMMENT_QE_MISSING"
320
+ }
321
+ ],
322
+ "components": [
323
+ {
324
+ "componentType": "Sequence",
325
+ "hierarchy": {
326
+ "sequence": {
327
+ "id": "lujqfpva",
328
+ "page": "1",
329
+ "label": {
330
+ "type": "VTL|MD",
331
+ "value": "\"I - \" || \"Séquence 1\""
332
+ }
333
+ }
334
+ },
335
+ "conditionFilter": {
336
+ "type": "VTL",
337
+ "value": "true"
338
+ },
339
+ "id": "lujqfpva",
340
+ "page": "1",
341
+ "label": {
342
+ "type": "VTL|MD",
343
+ "value": "\"I - \" || \"Séquence 1\""
344
+ }
345
+ },
346
+ {
347
+ "componentType": "Subsequence",
348
+ "goToPage": "2",
349
+ "hierarchy": {
350
+ "sequence": {
351
+ "id": "lujqfpva",
352
+ "page": "1",
353
+ "label": {
354
+ "type": "VTL|MD",
355
+ "value": "\"I - \" || \"Séquence 1\""
356
+ }
357
+ },
358
+ "subSequence": {
359
+ "id": "lujqeci5",
360
+ "page": "2",
361
+ "label": {
362
+ "type": "VTL|MD",
363
+ "value": "\"Votre santé\""
364
+ }
365
+ }
366
+ },
367
+ "conditionFilter": {
368
+ "type": "VTL",
369
+ "value": "true"
370
+ },
371
+ "id": "lujqeci5",
372
+ "label": {
373
+ "type": "VTL|MD",
374
+ "value": "\"Votre santé\""
375
+ }
376
+ },
377
+ {
378
+ "componentType": "Radio",
379
+ "missingResponse": {
380
+ "name": "ETAT_MISSING"
381
+ },
382
+ "response": {
383
+ "name": "ETAT"
384
+ },
385
+ "hierarchy": {
386
+ "sequence": {
387
+ "id": "lujqfpva",
388
+ "page": "1",
389
+ "label": {
390
+ "type": "VTL|MD",
391
+ "value": "\"I - \" || \"Séquence 1\""
392
+ }
393
+ },
394
+ "subSequence": {
395
+ "id": "lujqeci5",
396
+ "page": "2",
397
+ "label": {
398
+ "type": "VTL|MD",
399
+ "value": "\"Votre santé\""
400
+ }
401
+ }
402
+ },
403
+ "options": [
404
+ {
405
+ "label": {
406
+ "type": "VTL|MD",
407
+ "value": "\"Oui\""
408
+ },
409
+ "value": "1"
410
+ },
411
+ {
412
+ "label": {
413
+ "type": "VTL|MD",
414
+ "value": "\"Non\""
415
+ },
416
+ "value": "2"
417
+ }
418
+ ],
419
+ "conditionFilter": {
420
+ "type": "VTL",
421
+ "value": "true"
422
+ },
423
+ "id": "lujqp80o",
424
+ "page": "2",
425
+ "label": {
426
+ "type": "VTL|MD",
427
+ "value": "\"➡ 1. \" || \"Vous allez bien ?\""
428
+ },
429
+ "mandatory": false
430
+ },
431
+ {
432
+ "componentType": "Subsequence",
433
+ "goToPage": "3",
434
+ "hierarchy": {
435
+ "sequence": {
436
+ "id": "lujqfpva",
437
+ "page": "1",
438
+ "label": {
439
+ "type": "VTL|MD",
440
+ "value": "\"I - \" || \"Séquence 1\""
441
+ }
442
+ },
443
+ "subSequence": {
444
+ "id": "lujqbyzl",
445
+ "page": "3",
446
+ "label": {
447
+ "type": "VTL|MD",
448
+ "value": "\"Votre logement\""
449
+ }
450
+ }
451
+ },
452
+ "conditionFilter": {
453
+ "type": "VTL",
454
+ "value": "true"
455
+ },
456
+ "id": "lujqbyzl",
457
+ "page": "3",
458
+ "label": {
459
+ "type": "VTL|MD",
460
+ "value": "\"Votre logement\""
461
+ },
462
+ "declarations": [
463
+ {
464
+ "declarationType": "HELP",
465
+ "id": "lujqi58d",
466
+ "label": {
467
+ "type": "VTL|MD",
468
+ "value": "\"Questions sur votre logement\""
469
+ },
470
+ "position": "AFTER_QUESTION_TEXT"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "componentType": "Radio",
476
+ "missingResponse": {
477
+ "name": "SATISFAIT_MISSING"
478
+ },
479
+ "response": {
480
+ "name": "SATISFAIT"
481
+ },
482
+ "hierarchy": {
483
+ "sequence": {
484
+ "id": "lujqfpva",
485
+ "page": "1",
486
+ "label": {
487
+ "type": "VTL|MD",
488
+ "value": "\"I - \" || \"Séquence 1\""
489
+ }
490
+ },
491
+ "subSequence": {
492
+ "id": "lujqbyzl",
493
+ "page": "3",
494
+ "label": {
495
+ "type": "VTL|MD",
496
+ "value": "\"Votre logement\""
497
+ }
498
+ }
499
+ },
500
+ "options": [
501
+ {
502
+ "label": {
503
+ "type": "VTL|MD",
504
+ "value": "\"Oui\""
505
+ },
506
+ "value": "1"
507
+ },
508
+ {
509
+ "label": {
510
+ "type": "VTL|MD",
511
+ "value": "\"Non\""
512
+ },
513
+ "value": "2"
514
+ }
515
+ ],
516
+ "conditionFilter": {
517
+ "type": "VTL",
518
+ "value": "true"
519
+ },
520
+ "id": "lujqu9v7",
521
+ "page": "4",
522
+ "label": {
523
+ "type": "VTL|MD",
524
+ "value": "\"➡ 2. \" || \"Êtes-vous satisfait de votre logement ?\""
525
+ },
526
+ "mandatory": false
527
+ },
528
+ {
529
+ "componentType": "Sequence",
530
+ "hierarchy": {
531
+ "sequence": {
532
+ "id": "lujqrqmp",
533
+ "page": "5",
534
+ "label": {
535
+ "type": "VTL|MD",
536
+ "value": "\"II - \" || \"Habitants du logement\""
537
+ }
538
+ }
539
+ },
540
+ "conditionFilter": {
541
+ "type": "VTL",
542
+ "value": "true"
543
+ },
544
+ "id": "lujqrqmp",
545
+ "page": "5",
546
+ "label": {
547
+ "type": "VTL|MD",
548
+ "value": "\"II - \" || \"Habitants du logement\""
549
+ }
550
+ },
551
+ {
552
+ "componentType": "InputNumber",
553
+ "min": 0,
554
+ "missingResponse": {
555
+ "name": "T_NHAB_MISSING"
556
+ },
557
+ "max": 10,
558
+ "response": {
559
+ "name": "T_NHAB"
560
+ },
561
+ "decimals": 0,
562
+ "hierarchy": {
563
+ "sequence": {
564
+ "id": "lujqrqmp",
565
+ "page": "5",
566
+ "label": {
567
+ "type": "VTL|MD",
568
+ "value": "\"II - \" || \"Habitants du logement\""
569
+ }
570
+ }
571
+ },
572
+ "conditionFilter": {
573
+ "type": "VTL",
574
+ "value": "true"
575
+ },
576
+ "id": "lujqwl1t",
577
+ "page": "6",
578
+ "label": {
579
+ "type": "VTL|MD",
580
+ "value": "\"➡ 3. \" || \"Combien d'habitants dans votre logement ?\""
581
+ },
582
+ "mandatory": false
583
+ },
584
+ {
585
+ "paginatedLoop": false,
586
+ "componentType": "Loop",
587
+ "loopDependencies": ["T_NHAB", "T_NBHAB"],
588
+ "components": [
589
+ {
590
+ "componentType": "Subsequence",
591
+ "goToPage": "7",
592
+ "hierarchy": {
593
+ "sequence": {
594
+ "id": "lujqrqmp",
595
+ "page": "5",
596
+ "label": {
597
+ "type": "VTL|MD",
598
+ "value": "\"II - \" || \"Habitants du logement\""
599
+ }
600
+ },
601
+ "subSequence": {
602
+ "id": "luk18oun",
603
+ "page": "7",
604
+ "label": {
605
+ "type": "VTL|MD",
606
+ "value": "\"Composition du logement\""
607
+ }
608
+ }
609
+ },
610
+ "conditionFilter": {
611
+ "type": "VTL",
612
+ "value": "true"
613
+ },
614
+ "id": "luk18oun",
615
+ "page": "7",
616
+ "label": {
617
+ "type": "VTL|MD",
618
+ "value": "\"Composition du logement\""
619
+ }
620
+ },
621
+ {
622
+ "componentType": "Input",
623
+ "missingResponse": {
624
+ "name": "T_PRENOM_MISSING"
625
+ },
626
+ "response": {
627
+ "name": "T_PRENOM"
628
+ },
629
+ "hierarchy": {
630
+ "sequence": {
631
+ "id": "lujqrqmp",
632
+ "page": "5",
633
+ "label": {
634
+ "type": "VTL|MD",
635
+ "value": "\"II - \" || \"Habitants du logement\""
636
+ }
637
+ },
638
+ "subSequence": {
639
+ "id": "luk18oun",
640
+ "page": "7",
641
+ "label": {
642
+ "type": "VTL|MD",
643
+ "value": "\"Composition du logement\""
644
+ }
645
+ }
646
+ },
647
+ "conditionFilter": {
648
+ "type": "VTL",
649
+ "value": "true"
650
+ },
651
+ "id": "lujr5vll",
652
+ "page": "7",
653
+ "label": {
654
+ "type": "VTL|MD",
655
+ "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 : \")) "
656
+ },
657
+ "mandatory": false,
658
+ "maxLength": 40
659
+ }
660
+ ],
661
+ "depth": 1,
662
+ "hierarchy": {
663
+ "sequence": {
664
+ "id": "lujqrqmp",
665
+ "page": "5",
666
+ "label": {
667
+ "type": "VTL|MD",
668
+ "value": "\"II - \" || \"Habitants du logement\""
669
+ }
670
+ }
671
+ },
672
+ "conditionFilter": {
673
+ "type": "VTL",
674
+ "value": "true"
675
+ },
676
+ "id": "luk13nnr",
677
+ "page": "7",
678
+ "lines": {
679
+ "min": {
680
+ "type": "VTL",
681
+ "value": "T_NBHAB"
682
+ },
683
+ "max": {
684
+ "type": "VTL",
685
+ "value": "T_NBHAB"
686
+ }
687
+ }
688
+ },
689
+ {
690
+ "componentType": "Subsequence",
691
+ "goToPage": "8",
692
+ "hierarchy": {
693
+ "sequence": {
694
+ "id": "lujqrqmp",
695
+ "page": "5",
696
+ "label": {
697
+ "type": "VTL|MD",
698
+ "value": "\"II - \" || \"Habitants du logement\""
699
+ }
700
+ },
701
+ "subSequence": {
702
+ "id": "lulbmyhr",
703
+ "page": "8",
704
+ "label": {
705
+ "type": "VTL|MD",
706
+ "value": "\"Commentaire sur composition du logement\""
707
+ }
708
+ }
709
+ },
710
+ "conditionFilter": {
711
+ "type": "VTL",
712
+ "value": "true"
713
+ },
714
+ "id": "lulbmyhr",
715
+ "label": {
716
+ "type": "VTL|MD",
717
+ "value": "\"Commentaire sur composition du logement\""
718
+ }
719
+ },
720
+ {
721
+ "componentType": "Input",
722
+ "missingResponse": {
723
+ "name": "COMMCOMPO_MISSING"
724
+ },
725
+ "response": {
726
+ "name": "COMMCOMPO"
727
+ },
728
+ "hierarchy": {
729
+ "sequence": {
730
+ "id": "lujqrqmp",
731
+ "page": "5",
732
+ "label": {
733
+ "type": "VTL|MD",
734
+ "value": "\"II - \" || \"Habitants du logement\""
735
+ }
736
+ },
737
+ "subSequence": {
738
+ "id": "lulbmyhr",
739
+ "page": "8",
740
+ "label": {
741
+ "type": "VTL|MD",
742
+ "value": "\"Commentaire sur composition du logement\""
743
+ }
744
+ }
745
+ },
746
+ "conditionFilter": {
747
+ "type": "VTL",
748
+ "value": "true"
749
+ },
750
+ "id": "lulbam4k",
751
+ "page": "8",
752
+ "label": {
753
+ "type": "VTL|MD",
754
+ "value": "\"➡ 5. \" || \"Un petit commentaire sur cette composition de logement ?\""
755
+ },
756
+ "mandatory": false,
757
+ "maxLength": 249
758
+ },
759
+ {
760
+ "componentType": "Sequence",
761
+ "hierarchy": {
762
+ "sequence": {
763
+ "id": "lujyi4pe",
764
+ "page": "9",
765
+ "label": {
766
+ "type": "VTL|MD",
767
+ "value": "\"III - \" || \"Détail des individus\""
768
+ }
769
+ }
770
+ },
771
+ "conditionFilter": {
772
+ "type": "VTL",
773
+ "value": "true"
774
+ },
775
+ "id": "lujyi4pe",
776
+ "page": "9",
777
+ "label": {
778
+ "type": "VTL|MD",
779
+ "value": "\"III - \" || \"Détail des individus\""
780
+ }
781
+ },
782
+ {
783
+ "paginatedLoop": true,
784
+ "componentType": "Loop",
785
+ "loopDependencies": ["T_PRENOM"],
786
+ "components": [
787
+ {
788
+ "componentType": "Subsequence",
789
+ "goToPage": "10.1",
790
+ "hierarchy": {
791
+ "sequence": {
792
+ "id": "lujyi4pe",
793
+ "page": "9",
794
+ "label": {
795
+ "type": "VTL|MD",
796
+ "value": "\"III - \" || \"Détail des individus\""
797
+ }
798
+ },
799
+ "subSequence": {
800
+ "id": "lujykwaz",
801
+ "page": "10.1",
802
+ "label": {
803
+ "type": "VTL|MD",
804
+ "value": "\"Caractéristiques de \" || PRENOM "
805
+ }
806
+ }
807
+ },
808
+ "conditionFilter": {
809
+ "type": "VTL",
810
+ "value": "true"
811
+ },
812
+ "id": "lujykwaz",
813
+ "label": {
814
+ "type": "VTL|MD",
815
+ "value": "\"Caractéristiques de \" || PRENOM "
816
+ }
817
+ },
818
+ {
819
+ "componentType": "Radio",
820
+ "missingResponse": {
821
+ "name": "T_SEXE_MISSING"
822
+ },
823
+ "response": {
824
+ "name": "T_SEXE"
825
+ },
826
+ "hierarchy": {
827
+ "sequence": {
828
+ "id": "lujyi4pe",
829
+ "page": "9",
830
+ "label": {
831
+ "type": "VTL|MD",
832
+ "value": "\"III - \" || \"Détail des individus\""
833
+ }
834
+ },
835
+ "subSequence": {
836
+ "id": "lujykwaz",
837
+ "page": "10.1",
838
+ "label": {
839
+ "type": "VTL|MD",
840
+ "value": "\"Caractéristiques de \" || PRENOM "
841
+ }
842
+ }
843
+ },
844
+ "options": [
845
+ {
846
+ "label": {
847
+ "type": "VTL|MD",
848
+ "value": "\"Homme\""
849
+ },
850
+ "value": "1"
851
+ },
852
+ {
853
+ "label": {
854
+ "type": "VTL|MD",
855
+ "value": "\"Femme\""
856
+ },
857
+ "value": "2"
858
+ }
859
+ ],
860
+ "conditionFilter": {
861
+ "type": "VTL",
862
+ "value": "true"
863
+ },
864
+ "id": "lujyd8ap",
865
+ "page": "10.1",
866
+ "label": {
867
+ "type": "VTL|MD",
868
+ "value": "\"➡ 6. \" || \"Quel est \" || if (PRENOM = PRENOMREF) then \"votre sexe ?\" else \"le sexe de \" || PRENOM || \" ?\" "
869
+ },
870
+ "mandatory": false
871
+ }
872
+ ],
873
+ "depth": 1,
874
+ "hierarchy": {
875
+ "sequence": {
876
+ "id": "lujyi4pe",
877
+ "page": "9",
878
+ "label": {
879
+ "type": "VTL|MD",
880
+ "value": "\"III - \" || \"Détail des individus\""
881
+ }
882
+ }
883
+ },
884
+ "conditionFilter": {
885
+ "type": "VTL",
886
+ "value": "true"
887
+ },
888
+ "id": "lujyp9vl",
889
+ "page": "10",
890
+ "maxPage": "1",
891
+ "iterations": {
892
+ "type": "VTL",
893
+ "value": "count(T_PRENOM)"
894
+ }
895
+ },
896
+ {
897
+ "paginatedLoop": true,
898
+ "componentType": "Loop",
899
+ "loopDependencies": ["T_PRENOM"],
900
+ "components": [
901
+ {
902
+ "componentType": "Subsequence",
903
+ "goToPage": "11.1",
904
+ "hierarchy": {
905
+ "sequence": {
906
+ "id": "lujyi4pe",
907
+ "page": "9",
908
+ "label": {
909
+ "type": "VTL|MD",
910
+ "value": "\"III - \" || \"Détail des individus\""
911
+ }
912
+ },
913
+ "subSequence": {
914
+ "id": "lujyik5q",
915
+ "page": "11.1",
916
+ "label": {
917
+ "type": "VTL|MD",
918
+ "value": "\"Autres caractéristiques de \" || PRENOM || \" : filtrée pour le premier individu\" "
919
+ }
920
+ }
921
+ },
922
+ "conditionFilter": {
923
+ "type": "VTL",
924
+ "value": "(PRENOM <> PRENOMREF)"
925
+ },
926
+ "id": "lujyik5q",
927
+ "label": {
928
+ "type": "VTL|MD",
929
+ "value": "\"Autres caractéristiques de \" || PRENOM || \" : filtrée pour le premier individu\" "
930
+ }
931
+ },
932
+ {
933
+ "componentType": "Datepicker",
934
+ "min": "1900-01-01",
935
+ "missingResponse": {
936
+ "name": "T_DATENAIS_MISSING"
937
+ },
938
+ "max": "2025-12-31",
939
+ "dateFormat": "YYYY-MM-DD",
940
+ "response": {
941
+ "name": "T_DATENAIS"
942
+ },
943
+ "hierarchy": {
944
+ "sequence": {
945
+ "id": "lujyi4pe",
946
+ "page": "9",
947
+ "label": {
948
+ "type": "VTL|MD",
949
+ "value": "\"III - \" || \"Détail des individus\""
950
+ }
951
+ },
952
+ "subSequence": {
953
+ "id": "lujyik5q",
954
+ "page": "11.1",
955
+ "label": {
956
+ "type": "VTL|MD",
957
+ "value": "\"Autres caractéristiques de \" || PRENOM || \" : filtrée pour le premier individu\" "
958
+ }
959
+ }
960
+ },
961
+ "conditionFilter": {
962
+ "type": "VTL",
963
+ "value": "(PRENOM <> PRENOMREF)"
964
+ },
965
+ "id": "lujyq5qw",
966
+ "page": "11.1",
967
+ "label": {
968
+ "type": "VTL|MD",
969
+ "value": "\"➡ 7. \" || \"Quelle est la date de naissance de \" || PRENOM || \" ?\" "
970
+ },
971
+ "mandatory": false
972
+ },
973
+ {
974
+ "componentType": "Subsequence",
975
+ "goToPage": "11.2",
976
+ "hierarchy": {
977
+ "sequence": {
978
+ "id": "lujyi4pe",
979
+ "page": "9",
980
+ "label": {
981
+ "type": "VTL|MD",
982
+ "value": "\"III - \" || \"Détail des individus\""
983
+ }
984
+ },
985
+ "subSequence": {
986
+ "id": "luk0swcz",
987
+ "page": "11.2",
988
+ "label": {
989
+ "type": "VTL|MD",
990
+ "value": "\"Encore d'autres caractéristiques de \" || PRENOM || \" : filtrée pour le premier individu\" "
991
+ }
992
+ }
993
+ },
994
+ "conditionFilter": {
995
+ "type": "VTL",
996
+ "value": "(PRENOM <> PRENOMREF)"
997
+ },
998
+ "id": "luk0swcz",
999
+ "label": {
1000
+ "type": "VTL|MD",
1001
+ "value": "\"Encore d'autres caractéristiques de \" || PRENOM || \" : filtrée pour le premier individu\" "
1002
+ }
1003
+ },
1004
+ {
1005
+ "componentType": "Input",
1006
+ "missingResponse": {
1007
+ "name": "REMARQUES_MISSING"
1008
+ },
1009
+ "response": {
1010
+ "name": "REMARQUES"
1011
+ },
1012
+ "hierarchy": {
1013
+ "sequence": {
1014
+ "id": "lujyi4pe",
1015
+ "page": "9",
1016
+ "label": {
1017
+ "type": "VTL|MD",
1018
+ "value": "\"III - \" || \"Détail des individus\""
1019
+ }
1020
+ },
1021
+ "subSequence": {
1022
+ "id": "luk0swcz",
1023
+ "page": "11.2",
1024
+ "label": {
1025
+ "type": "VTL|MD",
1026
+ "value": "\"Encore d'autres caractéristiques de \" || PRENOM || \" : filtrée pour le premier individu\" "
1027
+ }
1028
+ }
1029
+ },
1030
+ "conditionFilter": {
1031
+ "type": "VTL",
1032
+ "value": "(PRENOM <> PRENOMREF)"
1033
+ },
1034
+ "id": "luk0npgm",
1035
+ "page": "11.2",
1036
+ "label": {
1037
+ "type": "VTL|MD",
1038
+ "value": "\"➡ 8. \" || \"Des remarques pour \" || PRENOM "
1039
+ },
1040
+ "mandatory": false,
1041
+ "maxLength": 249
1042
+ }
1043
+ ],
1044
+ "depth": 1,
1045
+ "hierarchy": {
1046
+ "sequence": {
1047
+ "id": "lujyi4pe",
1048
+ "page": "9",
1049
+ "label": {
1050
+ "type": "VTL|MD",
1051
+ "value": "\"III - \" || \"Détail des individus\""
1052
+ }
1053
+ }
1054
+ },
1055
+ "conditionFilter": {
1056
+ "type": "VTL",
1057
+ "value": "(PRENOM <> PRENOMREF)"
1058
+ },
1059
+ "id": "lujyo21b",
1060
+ "page": "11",
1061
+ "maxPage": "2",
1062
+ "iterations": {
1063
+ "type": "VTL",
1064
+ "value": "count(T_PRENOM)"
1065
+ }
1066
+ },
1067
+ {
1068
+ "paginatedLoop": true,
1069
+ "componentType": "Loop",
1070
+ "loopDependencies": ["T_PRENOM"],
1071
+ "components": [
1072
+ {
1073
+ "componentType": "Sequence",
1074
+ "hierarchy": {
1075
+ "sequence": {
1076
+ "id": "luk1ojt5",
1077
+ "page": "12.1",
1078
+ "label": {
1079
+ "type": "VTL|MD",
1080
+ "value": "\"IV - \" || \"Belle séquence pour \" || PRENOM "
1081
+ }
1082
+ }
1083
+ },
1084
+ "conditionFilter": {
1085
+ "type": "VTL",
1086
+ "value": "true"
1087
+ },
1088
+ "id": "luk1ojt5",
1089
+ "page": "12.1",
1090
+ "label": {
1091
+ "type": "VTL|MD",
1092
+ "value": "\"IV - \" || \"Belle séquence pour \" || PRENOM "
1093
+ }
1094
+ },
1095
+ {
1096
+ "componentType": "Subsequence",
1097
+ "goToPage": "12.2",
1098
+ "hierarchy": {
1099
+ "sequence": {
1100
+ "id": "luk1ojt5",
1101
+ "page": "12.1",
1102
+ "label": {
1103
+ "type": "VTL|MD",
1104
+ "value": "\"IV - \" || \"Belle séquence pour \" || PRENOM "
1105
+ }
1106
+ },
1107
+ "subSequence": {
1108
+ "id": "lumfc98o",
1109
+ "page": "12.2",
1110
+ "label": {
1111
+ "type": "VTL|MD",
1112
+ "value": "\"Belle sous-séquence pour \" || PRENOM "
1113
+ }
1114
+ }
1115
+ },
1116
+ "conditionFilter": {
1117
+ "type": "VTL",
1118
+ "value": "true"
1119
+ },
1120
+ "id": "lumfc98o",
1121
+ "label": {
1122
+ "type": "VTL|MD",
1123
+ "value": "\"Belle sous-séquence pour \" || PRENOM "
1124
+ }
1125
+ },
1126
+ {
1127
+ "componentType": "Input",
1128
+ "missingResponse": {
1129
+ "name": "SUPERQUEST_MISSING"
1130
+ },
1131
+ "response": {
1132
+ "name": "SUPERQUEST"
1133
+ },
1134
+ "hierarchy": {
1135
+ "sequence": {
1136
+ "id": "luk1ojt5",
1137
+ "page": "12.1",
1138
+ "label": {
1139
+ "type": "VTL|MD",
1140
+ "value": "\"IV - \" || \"Belle séquence pour \" || PRENOM "
1141
+ }
1142
+ },
1143
+ "subSequence": {
1144
+ "id": "lumfc98o",
1145
+ "page": "12.2",
1146
+ "label": {
1147
+ "type": "VTL|MD",
1148
+ "value": "\"Belle sous-séquence pour \" || PRENOM "
1149
+ }
1150
+ }
1151
+ },
1152
+ "conditionFilter": {
1153
+ "type": "VTL",
1154
+ "value": "true"
1155
+ },
1156
+ "id": "luk17g1l",
1157
+ "page": "12.2",
1158
+ "label": {
1159
+ "type": "VTL|MD",
1160
+ "value": "\"➡ 9. \" || \"Super question pour \" || PRENOM "
1161
+ },
1162
+ "mandatory": false,
1163
+ "maxLength": 249
1164
+ },
1165
+ {
1166
+ "componentType": "Subsequence",
1167
+ "goToPage": "12.3",
1168
+ "hierarchy": {
1169
+ "sequence": {
1170
+ "id": "luk1ojt5",
1171
+ "page": "12.1",
1172
+ "label": {
1173
+ "type": "VTL|MD",
1174
+ "value": "\"IV - \" || \"Belle séquence pour \" || PRENOM "
1175
+ }
1176
+ },
1177
+ "subSequence": {
1178
+ "id": "lumfe3bj",
1179
+ "page": "12.3",
1180
+ "label": {
1181
+ "type": "VTL|MD",
1182
+ "value": "\"Autre belle sous-seq\""
1183
+ }
1184
+ }
1185
+ },
1186
+ "conditionFilter": {
1187
+ "type": "VTL",
1188
+ "value": "true"
1189
+ },
1190
+ "id": "lumfe3bj",
1191
+ "label": {
1192
+ "type": "VTL|MD",
1193
+ "value": "\"Autre belle sous-seq\""
1194
+ }
1195
+ },
1196
+ {
1197
+ "componentType": "Input",
1198
+ "missingResponse": {
1199
+ "name": "ENCOREUNEQ_MISSING"
1200
+ },
1201
+ "response": {
1202
+ "name": "ENCOREUNEQ"
1203
+ },
1204
+ "hierarchy": {
1205
+ "sequence": {
1206
+ "id": "luk1ojt5",
1207
+ "page": "12.1",
1208
+ "label": {
1209
+ "type": "VTL|MD",
1210
+ "value": "\"IV - \" || \"Belle séquence pour \" || PRENOM "
1211
+ }
1212
+ },
1213
+ "subSequence": {
1214
+ "id": "lumfe3bj",
1215
+ "page": "12.3",
1216
+ "label": {
1217
+ "type": "VTL|MD",
1218
+ "value": "\"Autre belle sous-seq\""
1219
+ }
1220
+ }
1221
+ },
1222
+ "conditionFilter": {
1223
+ "type": "VTL",
1224
+ "value": "true"
1225
+ },
1226
+ "id": "lumfai3t",
1227
+ "page": "12.3",
1228
+ "label": {
1229
+ "type": "VTL|MD",
1230
+ "value": "\"➡ 10. \" || \"Encore une question pour \" || PRENOM "
1231
+ },
1232
+ "mandatory": false,
1233
+ "maxLength": 249
1234
+ },
1235
+ {
1236
+ "componentType": "Sequence",
1237
+ "hierarchy": {
1238
+ "sequence": {
1239
+ "id": "lulbelgr",
1240
+ "page": "12.4",
1241
+ "label": {
1242
+ "type": "VTL|MD",
1243
+ "value": "\"V - \" || \"Autre séquence pour \" || PRENOM "
1244
+ }
1245
+ }
1246
+ },
1247
+ "conditionFilter": {
1248
+ "type": "VTL",
1249
+ "value": "true"
1250
+ },
1251
+ "id": "lulbelgr",
1252
+ "page": "12.4",
1253
+ "label": {
1254
+ "type": "VTL|MD",
1255
+ "value": "\"V - \" || \"Autre séquence pour \" || PRENOM "
1256
+ }
1257
+ },
1258
+ {
1259
+ "componentType": "Input",
1260
+ "missingResponse": {
1261
+ "name": "AUTRESUPERQUEST_MISSING"
1262
+ },
1263
+ "response": {
1264
+ "name": "AUTRESUPERQUEST"
1265
+ },
1266
+ "hierarchy": {
1267
+ "sequence": {
1268
+ "id": "lulbelgr",
1269
+ "page": "12.4",
1270
+ "label": {
1271
+ "type": "VTL|MD",
1272
+ "value": "\"V - \" || \"Autre séquence pour \" || PRENOM "
1273
+ }
1274
+ }
1275
+ },
1276
+ "conditionFilter": {
1277
+ "type": "VTL",
1278
+ "value": "true"
1279
+ },
1280
+ "id": "lulbqdzi",
1281
+ "page": "12.5",
1282
+ "label": {
1283
+ "type": "VTL|MD",
1284
+ "value": "\"➡ 11. \" || \"Autre super question pour \" || PRENOM "
1285
+ },
1286
+ "mandatory": false,
1287
+ "maxLength": 249
1288
+ }
1289
+ ],
1290
+ "depth": 1,
1291
+ "hierarchy": {
1292
+ "sequence": {
1293
+ "id": "lujyi4pe",
1294
+ "page": "9",
1295
+ "label": {
1296
+ "type": "VTL|MD",
1297
+ "value": "\"III - \" || \"Détail des individus\""
1298
+ }
1299
+ }
1300
+ },
1301
+ "conditionFilter": {
1302
+ "type": "VTL",
1303
+ "value": "true"
1304
+ },
1305
+ "id": "luk1sm54",
1306
+ "page": "12",
1307
+ "maxPage": "5",
1308
+ "iterations": {
1309
+ "type": "VTL",
1310
+ "value": "count(T_PRENOM)"
1311
+ }
1312
+ },
1313
+ {
1314
+ "componentType": "Sequence",
1315
+ "hierarchy": {
1316
+ "sequence": {
1317
+ "id": "COMMENT-SEQ",
1318
+ "page": "13",
1319
+ "label": {
1320
+ "type": "VTL|MD",
1321
+ "value": "\"Commentaire\""
1322
+ }
1323
+ }
1324
+ },
1325
+ "conditionFilter": {
1326
+ "type": "VTL",
1327
+ "value": "true"
1328
+ },
1329
+ "id": "COMMENT-SEQ",
1330
+ "page": "13",
1331
+ "label": {
1332
+ "type": "VTL|MD",
1333
+ "value": "\"Commentaire\""
1334
+ }
1335
+ },
1336
+ {
1337
+ "componentType": "Textarea",
1338
+ "missingResponse": {
1339
+ "name": "COMMENT_QE_MISSING"
1340
+ },
1341
+ "response": {
1342
+ "name": "COMMENT_QE"
1343
+ },
1344
+ "hierarchy": {
1345
+ "sequence": {
1346
+ "id": "COMMENT-SEQ",
1347
+ "page": "13",
1348
+ "label": {
1349
+ "type": "VTL|MD",
1350
+ "value": "\"Commentaire\""
1351
+ }
1352
+ }
1353
+ },
1354
+ "conditionFilter": {
1355
+ "type": "VTL",
1356
+ "value": "true"
1357
+ },
1358
+ "id": "COMMENT-QUESTION",
1359
+ "page": "14",
1360
+ "label": {
1361
+ "type": "VTL|MD",
1362
+ "value": "\"➡ 12. \" || \"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
1363
+ },
1364
+ "mandatory": false,
1365
+ "maxLength": 2000
1366
+ }
1367
+ ],
1368
+ "pagination": "question",
1369
+ "resizing": {
1370
+ "T_NHAB": {
1371
+ "variables": ["T_PRENOM"],
1372
+ "size": "T_NBHAB"
1373
+ },
1374
+ "T_PRENOM": {
1375
+ "variables": [
1376
+ "T_SEXE",
1377
+ "REMARQUES",
1378
+ "T_DATENAIS",
1379
+ "SUPERQUEST",
1380
+ "AUTRESUPERQUEST",
1381
+ "ENCOREUNEQ"
1382
+ ],
1383
+ "size": "count(T_PRENOM)"
1384
+ }
1385
+ },
1386
+ "missingBlock": {
1387
+ "ETAT": ["ETAT_MISSING"],
1388
+ "T_PRENOM_MISSING": ["T_PRENOM"],
1389
+ "COMMCOMPO_MISSING": ["COMMCOMPO"],
1390
+ "SATISFAIT_MISSING": ["SATISFAIT"],
1391
+ "COMMENT_QE_MISSING": ["COMMENT_QE"],
1392
+ "SUPERQUEST_MISSING": ["SUPERQUEST"],
1393
+ "ETAT_MISSING": ["ETAT"],
1394
+ "REMARQUES": ["REMARQUES_MISSING"],
1395
+ "ENCOREUNEQ": ["ENCOREUNEQ_MISSING"],
1396
+ "T_PRENOM": ["T_PRENOM_MISSING"],
1397
+ "T_NHAB": ["T_NHAB_MISSING"],
1398
+ "T_NHAB_MISSING": ["T_NHAB"],
1399
+ "T_SEXE": ["T_SEXE_MISSING"],
1400
+ "COMMCOMPO": ["COMMCOMPO_MISSING"],
1401
+ "COMMENT_QE": ["COMMENT_QE_MISSING"],
1402
+ "SUPERQUEST": ["SUPERQUEST_MISSING"],
1403
+ "AUTRESUPERQUEST": ["AUTRESUPERQUEST_MISSING"],
1404
+ "SATISFAIT": ["SATISFAIT_MISSING"],
1405
+ "AUTRESUPERQUEST_MISSING": ["AUTRESUPERQUEST"],
1406
+ "ENCOREUNEQ_MISSING": ["ENCOREUNEQ"],
1407
+ "T_DATENAIS": ["T_DATENAIS_MISSING"],
1408
+ "T_SEXE_MISSING": ["T_SEXE"],
1409
+ "T_DATENAIS_MISSING": ["T_DATENAIS"],
1410
+ "REMARQUES_MISSING": ["REMARQUES"]
1411
+ },
1412
+ "label": {
1413
+ "type": "VTL|MD",
1414
+ "value": "Test boucle overview"
1415
+ },
1416
+ "lunaticModelVersion": "3.5.0",
1417
+ "modele": "BOUCLEOVERVIEW",
1418
+ "enoCoreVersion": "3.18.5-SNAPSHOT",
1419
+ "generatingDate": "05-04-2024 08:47:05",
1420
+ "missing": true,
1421
+ "id": "lujqh1w6",
1422
+ "maxPage": "14"
1423
+ }