@inseefr/lunatic 3.5.2 → 3.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Input/Input.spec.js +6 -0
- package/components/Input/Input.spec.js.map +1 -1
- package/components/InputNumber/InputNumber.spec.js +6 -0
- package/components/InputNumber/InputNumber.spec.js.map +1 -1
- package/components/InputNumber/InputNumberThousand.js +10 -5
- package/components/InputNumber/InputNumberThousand.js.map +1 -1
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/Textarea.js.map +1 -1
- package/components/Textarea/Textarea.spec.js +7 -0
- package/components/Textarea/Textarea.spec.js.map +1 -1
- package/esm/components/Input/Input.spec.js +6 -0
- package/esm/components/Input/Input.spec.js.map +1 -1
- package/esm/components/InputNumber/InputNumber.spec.js +6 -0
- package/esm/components/InputNumber/InputNumber.spec.js.map +1 -1
- package/esm/components/InputNumber/InputNumberThousand.js +10 -5
- package/esm/components/InputNumber/InputNumberThousand.js.map +1 -1
- package/esm/components/Textarea/Textarea.js +1 -1
- package/esm/components/Textarea/Textarea.js.map +1 -1
- package/esm/components/Textarea/Textarea.spec.js +7 -0
- package/esm/components/Textarea/Textarea.spec.js.map +1 -1
- package/esm/hooks/use-track-changes.js +2 -1
- package/esm/hooks/use-track-changes.js.map +1 -1
- package/esm/stories/overview/sourceWithHierarchy.json +32 -32
- package/esm/type.source.d.ts +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-component.spec.js +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-component.spec.js.map +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-components.js +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +11 -7
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -1
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.js +1 -0
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.d.ts +11 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js +38 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js +33 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
- package/esm/use-lunatic/reducer/reducer.js +9 -0
- package/esm/use-lunatic/reducer/reducer.js.map +1 -1
- package/esm/use-lunatic/reducer/reducerInitializer.js +1 -1
- package/esm/use-lunatic/reducer/reducerInitializer.js.map +1 -1
- package/esm/use-lunatic/type.d.ts +2 -0
- package/esm/utils/number.d.ts +0 -4
- package/esm/utils/number.js +0 -10
- package/esm/utils/number.js.map +1 -1
- package/esm/utils/number.spec.js +1 -44
- package/esm/utils/number.spec.js.map +1 -1
- package/hooks/use-track-changes.js +2 -1
- package/hooks/use-track-changes.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Input/Input.spec.tsx +9 -0
- package/src/components/InputNumber/InputNumber.spec.tsx +9 -0
- package/src/components/InputNumber/InputNumberThousand.tsx +10 -6
- package/src/components/InputNumber/__snapshots__/InputNumber.spec.tsx.snap +2 -0
- package/src/components/Textarea/Textarea.spec.tsx +10 -0
- package/src/components/Textarea/Textarea.tsx +1 -0
- package/src/hooks/use-track-changes.ts +2 -1
- package/src/stories/behaviour/cleaning/loop.json +4 -4
- package/src/stories/behaviour/cleaning/source-loop.json +1 -1
- package/src/stories/behaviour/cleaning/source.json +2 -2
- package/src/stories/behaviour/controls/boucles-n.json +2 -2
- package/src/stories/behaviour/controls/simple-numeric.json +19 -19
- package/src/stories/behaviour/controls/simple.json +7 -7
- package/src/stories/behaviour/filter/source.json +3 -3
- package/src/stories/behaviour/filter/sourceLoop.json +3 -3
- package/src/stories/behaviour/missing/source.json +6 -6
- package/src/stories/behaviour/others/V2_DeclarationsSimples.json +14 -14
- package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +5 -5
- package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +28 -28
- package/src/stories/behaviour/others/V2_TCMRallyeGames.json +24 -24
- package/src/stories/behaviour/others/test-dylan.json +5 -5
- package/src/stories/behaviour/resizing/source-resizing-cleaning.json +2 -2
- package/src/stories/behaviour/resizing/source.json +5 -5
- package/src/stories/checkbox-boolean/source.json +1 -1
- package/src/stories/checkbox-one/source.json +1 -1
- package/src/stories/checkbox-one/sourceDetail.json +1 -1
- package/src/stories/date-picker/source.json +1 -1
- package/src/stories/disabled/source.json +5 -5
- package/src/stories/dropdown/source.json +2 -2
- package/src/stories/duration/mois.json +1 -1
- package/src/stories/duration/time.json +1 -1
- package/src/stories/input-number/source-big-number.json +1 -1
- package/src/stories/input-number/source-euro.json +2 -2
- package/src/stories/overview/sourceLoop.json +12 -12
- package/src/stories/overview/sourceWithHierarchy.json +32 -32
- package/src/stories/question/source.json +2 -2
- package/src/stories/questionnaires/logement/source-sequence.json +216 -216
- package/src/stories/questionnaires/logement/source-sum.json +189 -189
- package/src/stories/questionnaires/logement/source.json +216 -216
- package/src/stories/questionnaires/recensement/source.json +85 -85
- package/src/stories/questionnaires/rp/source.json +8 -8
- package/src/stories/questionnaires/simpsons/source.json +34 -34
- package/src/stories/radio/source.json +1 -1
- package/src/stories/radio/sourceDetail.json +1 -1
- package/src/stories/radio/sourceHorizontal.json +1 -1
- package/src/stories/roundabout/source.json +3 -3
- package/src/stories/suggester/source-arbitrary-response.json +2 -2
- package/src/stories/suggester/source-error.json +2 -2
- package/src/stories/suggester/source-multiline.json +2 -2
- package/src/stories/suggester/source-option-responses.json +2 -2
- package/src/stories/suggester/source.json +5 -5
- package/src/stories/summary/source.json +4 -4
- package/src/stories/switch/data-forced.json +2 -2
- package/src/stories/switch/source.json +2 -2
- package/src/stories/table/source-colspan.json +1 -1
- package/src/stories/table/source.json +1 -1
- package/src/stories/table/table-dynamique.json +1 -1
- package/src/stories/text/source-roster.json +1 -1
- package/src/stories/text/source-table.json +1 -1
- package/src/type.source.ts +1 -1
- package/src/use-lunatic/commons/fill-components/fill-component.spec.ts +1 -1
- package/src/use-lunatic/commons/fill-components/fill-components.ts +1 -1
- package/src/use-lunatic/commons/variables/behaviours/resizing-behaviour.ts +14 -6
- package/src/use-lunatic/commons/variables/get-questionnaire-data.ts +1 -0
- package/src/use-lunatic/commons/variables/lunatic-variables-store.spec.ts +37 -0
- package/src/use-lunatic/commons/variables/lunatic-variables-store.ts +43 -1
- package/src/use-lunatic/reducer/reducer.ts +11 -0
- package/src/use-lunatic/reducer/reducerInitializer.tsx +2 -1
- package/src/use-lunatic/type.ts +2 -0
- package/src/use-lunatic/use-lunatic.test.ts +1 -1
- package/src/utils/number.spec.ts +1 -45
- package/src/utils/number.ts +0 -18
- package/stories/overview/sourceWithHierarchy.json +32 -32
- package/tsconfig.build.tsbuildinfo +1 -1
- package/type.source.d.ts +1 -1
- package/use-lunatic/commons/fill-components/fill-component.spec.js +1 -1
- package/use-lunatic/commons/fill-components/fill-component.spec.js.map +1 -1
- package/use-lunatic/commons/fill-components/fill-components.js +1 -1
- package/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
- package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +11 -7
- package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -1
- package/use-lunatic/commons/variables/get-questionnaire-data.js +1 -0
- package/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.d.ts +11 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.js +38 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -1
- package/use-lunatic/commons/variables/lunatic-variables-store.spec.js +33 -0
- package/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -1
- package/use-lunatic/reducer/reducer.js +9 -0
- package/use-lunatic/reducer/reducer.js.map +1 -1
- package/use-lunatic/reducer/reducerInitializer.js +1 -1
- package/use-lunatic/reducer/reducerInitializer.js.map +1 -1
- package/use-lunatic/type.d.ts +2 -0
- package/utils/number.d.ts +0 -4
- package/utils/number.js +0 -11
- package/utils/number.js.map +1 -1
- package/utils/number.spec.js +0 -43
- package/utils/number.spec.js.map +1 -1
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
{
|
|
106
106
|
"id": "jfazk91m",
|
|
107
107
|
"componentType": "CheckboxBoolean",
|
|
108
|
-
"
|
|
108
|
+
"isMandatory": false,
|
|
109
109
|
"page": "3",
|
|
110
110
|
"label": {
|
|
111
111
|
"value": "\"➡ 1. \" || \"Je suis un booleen qui filtre le reste\"",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
{
|
|
182
182
|
"id": "jfazww20",
|
|
183
183
|
"componentType": "Input",
|
|
184
|
-
"
|
|
184
|
+
"isMandatory": false,
|
|
185
185
|
"page": "4",
|
|
186
186
|
"maxLength": 10,
|
|
187
187
|
"label": {
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
{
|
|
219
219
|
"id": "jfazwjyv",
|
|
220
220
|
"componentType": "Input",
|
|
221
|
-
"
|
|
221
|
+
"isMandatory": false,
|
|
222
222
|
"page": "5",
|
|
223
223
|
"maxLength": 249,
|
|
224
224
|
"label": {
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
{
|
|
256
256
|
"id": "kzwqst6c",
|
|
257
257
|
"componentType": "Textarea",
|
|
258
|
-
"
|
|
258
|
+
"isMandatory": false,
|
|
259
259
|
"page": "6",
|
|
260
260
|
"maxLength": 250,
|
|
261
261
|
"label": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
{
|
|
293
293
|
"id": "kk2fu72i",
|
|
294
294
|
"componentType": "Input",
|
|
295
|
-
"
|
|
295
|
+
"isMandatory": false,
|
|
296
296
|
"page": "7",
|
|
297
297
|
"maxLength": 9,
|
|
298
298
|
"label": {
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
{
|
|
380
380
|
"id": "jfjh1ndk",
|
|
381
381
|
"componentType": "InputNumber",
|
|
382
|
-
"
|
|
382
|
+
"isMandatory": false,
|
|
383
383
|
"page": "8",
|
|
384
384
|
"min": 10,
|
|
385
385
|
"max": 100,
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
{
|
|
439
439
|
"id": "jfjhb2pz",
|
|
440
440
|
"componentType": "InputNumber",
|
|
441
|
-
"
|
|
441
|
+
"isMandatory": false,
|
|
442
442
|
"page": "9",
|
|
443
443
|
"min": 10,
|
|
444
444
|
"max": 100,
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
{
|
|
475
475
|
"id": "l1ujlrg4",
|
|
476
476
|
"componentType": "InputNumber",
|
|
477
|
-
"
|
|
477
|
+
"isMandatory": false,
|
|
478
478
|
"page": "10",
|
|
479
479
|
"min": -1000,
|
|
480
480
|
"max": 1000,
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
{
|
|
511
511
|
"id": "jfjtbqh1",
|
|
512
512
|
"componentType": "InputNumber",
|
|
513
|
-
"
|
|
513
|
+
"isMandatory": false,
|
|
514
514
|
"page": "11",
|
|
515
515
|
"min": 0,
|
|
516
516
|
"max": 10,
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
{
|
|
548
548
|
"id": "kyiseu7q",
|
|
549
549
|
"componentType": "InputNumber",
|
|
550
|
-
"
|
|
550
|
+
"isMandatory": false,
|
|
551
551
|
"page": "12",
|
|
552
552
|
"min": 0,
|
|
553
553
|
"max": 10,
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
{
|
|
635
635
|
"id": "jfjfckyw",
|
|
636
636
|
"componentType": "Datepicker",
|
|
637
|
-
"
|
|
637
|
+
"isMandatory": false,
|
|
638
638
|
"page": "13",
|
|
639
639
|
"min": "1980-01-01",
|
|
640
640
|
"max": "2022-01-01",
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
{
|
|
671
671
|
"id": "kvl6bpxb",
|
|
672
672
|
"componentType": "Datepicker",
|
|
673
|
-
"
|
|
673
|
+
"isMandatory": false,
|
|
674
674
|
"page": "14",
|
|
675
675
|
"min": "1900",
|
|
676
676
|
"max": "2022",
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
{
|
|
707
707
|
"id": "jfjeud07",
|
|
708
708
|
"componentType": "CheckboxBoolean",
|
|
709
|
-
"
|
|
709
|
+
"isMandatory": false,
|
|
710
710
|
"page": "15",
|
|
711
711
|
"label": { "value": "\"➡ 13. \" || \"Booléen\"", "type": "VTL|MD" },
|
|
712
712
|
"conditionFilter": {
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
{
|
|
798
798
|
"id": "jfjepz6i",
|
|
799
799
|
"componentType": "Radio",
|
|
800
|
-
"
|
|
800
|
+
"isMandatory": false,
|
|
801
801
|
"page": "18",
|
|
802
802
|
"label": {
|
|
803
803
|
"value": "\"➡ 1. \" || \"Question à choix unique - présentation bouton radio\"",
|
|
@@ -847,7 +847,7 @@
|
|
|
847
847
|
{
|
|
848
848
|
"id": "jfjero7b",
|
|
849
849
|
"componentType": "CheckboxOne",
|
|
850
|
-
"
|
|
850
|
+
"isMandatory": false,
|
|
851
851
|
"page": "19",
|
|
852
852
|
"label": {
|
|
853
853
|
"value": "\"➡ 2. \" || \"Question à choix unique - présentation case à cocher\"",
|
|
@@ -897,7 +897,7 @@
|
|
|
897
897
|
{
|
|
898
898
|
"id": "jfjfae9f",
|
|
899
899
|
"componentType": "Dropdown",
|
|
900
|
-
"
|
|
900
|
+
"isMandatory": false,
|
|
901
901
|
"page": "20",
|
|
902
902
|
"label": {
|
|
903
903
|
"value": "\"➡ 3. \" || \"Question à choix unique - présentation liste déroulante\"",
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
{
|
|
1062
1062
|
"id": "jfkxybfe",
|
|
1063
1063
|
"componentType": "Table",
|
|
1064
|
-
"
|
|
1064
|
+
"isMandatory": false,
|
|
1065
1065
|
"page": "23",
|
|
1066
1066
|
"label": {
|
|
1067
1067
|
"value": "\"➡ 5. \" || \"Question à choix multiple - réponse oui/non case à cocher\"",
|
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
{
|
|
1204
1204
|
"id": "jfkyw9o1",
|
|
1205
1205
|
"componentType": "Table",
|
|
1206
|
-
"
|
|
1206
|
+
"isMandatory": false,
|
|
1207
1207
|
"page": "24",
|
|
1208
1208
|
"label": {
|
|
1209
1209
|
"value": "\"➡ 6. \" || \"Question à choix multiple - réponse oui/non radio\"",
|
|
@@ -1370,7 +1370,7 @@
|
|
|
1370
1370
|
{
|
|
1371
1371
|
"id": "jfkzltkm",
|
|
1372
1372
|
"componentType": "Table",
|
|
1373
|
-
"
|
|
1373
|
+
"isMandatory": false,
|
|
1374
1374
|
"page": "26",
|
|
1375
1375
|
"label": {
|
|
1376
1376
|
"value": "\"➡ 1. \" || \"Tableau un axe simple, une mesure\"",
|
|
@@ -1500,7 +1500,7 @@
|
|
|
1500
1500
|
{
|
|
1501
1501
|
"id": "jfkzpexn",
|
|
1502
1502
|
"componentType": "Table",
|
|
1503
|
-
"
|
|
1503
|
+
"isMandatory": false,
|
|
1504
1504
|
"page": "27",
|
|
1505
1505
|
"label": {
|
|
1506
1506
|
"value": "\"➡ 2. \" || \"Tableau un axe simple, plusieurs mesures\"",
|
|
@@ -1766,7 +1766,7 @@
|
|
|
1766
1766
|
{
|
|
1767
1767
|
"id": "jfkzttm3",
|
|
1768
1768
|
"componentType": "Table",
|
|
1769
|
-
"
|
|
1769
|
+
"isMandatory": false,
|
|
1770
1770
|
"page": "28",
|
|
1771
1771
|
"label": {
|
|
1772
1772
|
"value": "\"➡ 3. \" || \"Tableau 2 axes\"",
|
|
@@ -2173,7 +2173,7 @@
|
|
|
2173
2173
|
{
|
|
2174
2174
|
"id": "jfkzrwce",
|
|
2175
2175
|
"componentType": "Table",
|
|
2176
|
-
"
|
|
2176
|
+
"isMandatory": false,
|
|
2177
2177
|
"page": "29",
|
|
2178
2178
|
"label": {
|
|
2179
2179
|
"value": "\"➡ 4. \" || \"Tableau 1 axe avec hiérarchie , 1 mesure\"",
|
|
@@ -2236,7 +2236,7 @@
|
|
|
2236
2236
|
{
|
|
2237
2237
|
"id": "kk47qwrd",
|
|
2238
2238
|
"componentType": "Table",
|
|
2239
|
-
"
|
|
2239
|
+
"isMandatory": false,
|
|
2240
2240
|
"page": "30",
|
|
2241
2241
|
"label": {
|
|
2242
2242
|
"value": "\"➡ 5. \" || \"Tableau dynamique\"",
|
|
@@ -2412,7 +2412,7 @@
|
|
|
2412
2412
|
{
|
|
2413
2413
|
"id": "kmg10a27",
|
|
2414
2414
|
"componentType": "InputNumber",
|
|
2415
|
-
"
|
|
2415
|
+
"isMandatory": false,
|
|
2416
2416
|
"page": "32",
|
|
2417
2417
|
"min": 1,
|
|
2418
2418
|
"max": 20,
|
|
@@ -2513,7 +2513,7 @@
|
|
|
2513
2513
|
{
|
|
2514
2514
|
"id": "kmg0zlec",
|
|
2515
2515
|
"componentType": "Input",
|
|
2516
|
-
"
|
|
2516
|
+
"isMandatory": false,
|
|
2517
2517
|
"page": "33",
|
|
2518
2518
|
"maxLength": 30,
|
|
2519
2519
|
"label": {
|
|
@@ -2546,7 +2546,7 @@
|
|
|
2546
2546
|
{
|
|
2547
2547
|
"id": "k3opea2m",
|
|
2548
2548
|
"componentType": "InputNumber",
|
|
2549
|
-
"
|
|
2549
|
+
"isMandatory": false,
|
|
2550
2550
|
"page": "33",
|
|
2551
2551
|
"min": 0,
|
|
2552
2552
|
"max": 120,
|
|
@@ -2647,7 +2647,7 @@
|
|
|
2647
2647
|
{
|
|
2648
2648
|
"id": "l204183l",
|
|
2649
2649
|
"componentType": "Input",
|
|
2650
|
-
"
|
|
2650
|
+
"isMandatory": false,
|
|
2651
2651
|
"page": "34",
|
|
2652
2652
|
"maxLength": 30,
|
|
2653
2653
|
"label": {
|
|
@@ -2680,7 +2680,7 @@
|
|
|
2680
2680
|
{
|
|
2681
2681
|
"id": "l20407qf",
|
|
2682
2682
|
"componentType": "InputNumber",
|
|
2683
|
-
"
|
|
2683
|
+
"isMandatory": false,
|
|
2684
2684
|
"page": "34",
|
|
2685
2685
|
"min": 0,
|
|
2686
2686
|
"max": 120,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
{
|
|
42
42
|
"id": "l0v2t2lc",
|
|
43
43
|
"componentType": "InputNumber",
|
|
44
|
-
"
|
|
44
|
+
"isMandatory": false,
|
|
45
45
|
"page": "2",
|
|
46
46
|
"min": 1,
|
|
47
47
|
"max": 20,
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
{
|
|
129
129
|
"id": "l0v3g11i",
|
|
130
130
|
"componentType": "Input",
|
|
131
|
-
"
|
|
131
|
+
"isMandatory": false,
|
|
132
132
|
"page": "3",
|
|
133
133
|
"maxLength": 40,
|
|
134
134
|
"label": {
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
{
|
|
277
277
|
"id": "l0v4b34m",
|
|
278
278
|
"componentType": "Radio",
|
|
279
|
-
"
|
|
279
|
+
"isMandatory": false,
|
|
280
280
|
"page": "4.2",
|
|
281
281
|
"label": {
|
|
282
282
|
"value": "\"➡ 3. \" || \"Quel est \" || if (PRENOM = PRENOMREF) then \"votre sexe ?\" else \"le sexe de \" || PRENOM || \" ?\"",
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
{
|
|
314
314
|
"id": "l0v4oi1v",
|
|
315
315
|
"componentType": "Datepicker",
|
|
316
|
-
"
|
|
316
|
+
"isMandatory": false,
|
|
317
317
|
"page": "4.3",
|
|
318
318
|
"min": "1900-01-01",
|
|
319
319
|
"max": "2022-03-17",
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
{
|
|
354
354
|
"id": "l11z2too",
|
|
355
355
|
"componentType": "Radio",
|
|
356
|
-
"
|
|
356
|
+
"isMandatory": false,
|
|
357
357
|
"page": "4.4",
|
|
358
358
|
"label": {
|
|
359
359
|
"value": "\"➡ 5. \" || \"Vous n’avez pas indiqué de date de naissance, pouvez-vous indiquer \" || if (PRENOM = PRENOMREF) then \" votre âge ?\" else \"l’âge de \" || PRENOM || \" ?\"",
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
{
|
|
450
450
|
"id": "l11zznh4",
|
|
451
451
|
"componentType": "Radio",
|
|
452
|
-
"
|
|
452
|
+
"isMandatory": false,
|
|
453
453
|
"page": "4.5",
|
|
454
454
|
"label": {
|
|
455
455
|
"value": "\"➡ 6. \" || if (PRENOM = PRENOMREF) then \"Où êtes-vous né\"|| LIB_E || \" ?\" else \"Où est né\" || LIB_E || \" \" || PRENOM || \" ?\"",
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
{
|
|
513
513
|
"id": "l120kmks",
|
|
514
514
|
"componentType": "Dropdown",
|
|
515
|
-
"
|
|
515
|
+
"isMandatory": false,
|
|
516
516
|
"page": "4.6",
|
|
517
517
|
"label": {
|
|
518
518
|
"value": "\"➡ 7. \" || \"Dans quel département \" || if (PRENOM = PRENOMREF) then \"êtes-vous né\" || LIB_E || \" ?\" else \"est né\" || LIB_E || \" \" || PRENOM || \" ?\"",
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
{
|
|
575
575
|
"id": "l120lqns",
|
|
576
576
|
"componentType": "Dropdown",
|
|
577
|
-
"
|
|
577
|
+
"isMandatory": false,
|
|
578
578
|
"page": "4.7",
|
|
579
579
|
"label": {
|
|
580
580
|
"value": "\"➡ 8. \" || \"Dans quel pays \" || if(PRENOM = PRENOMREF) then \"êtes-vous né\" || LIB_E || \" ?\" else \"est né\"|| LIB_E || \" \" || PRENOM || \" ?\"",
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
{
|
|
720
720
|
"id": "l121ftlg",
|
|
721
721
|
"componentType": "Dropdown",
|
|
722
|
-
"
|
|
722
|
+
"isMandatory": false,
|
|
723
723
|
"page": "4.9",
|
|
724
724
|
"label": {
|
|
725
725
|
"value": "\"➡ 10. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre nationalité étrangère ?\" else \"la nationalité étrangère de \" || PRENOM || \" ?\"",
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
{
|
|
823
823
|
"id": "l1265ml0",
|
|
824
824
|
"componentType": "Radio",
|
|
825
|
-
"
|
|
825
|
+
"isMandatory": false,
|
|
826
826
|
"page": "4.11",
|
|
827
827
|
"label": {
|
|
828
828
|
"value": "\"➡ 11. \" || (if (PRENOM = PRENOMREF) then \"Depuis votre naissance, avez-vous\" else \"Depuis sa naissance, \" || PRENOM || \" a-t-\" || LIB_PR ) || \" vécu au moins un an sans interruption à l’étranger ?\"",
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
{
|
|
870
870
|
"id": "l12b8hbj",
|
|
871
871
|
"componentType": "Datepicker",
|
|
872
|
-
"
|
|
872
|
+
"isMandatory": false,
|
|
873
873
|
"page": "4.12",
|
|
874
874
|
"min": "1900-01",
|
|
875
875
|
"max": "2022-03",
|
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
{
|
|
935
935
|
"id": "l126og4z",
|
|
936
936
|
"componentType": "Datepicker",
|
|
937
|
-
"
|
|
937
|
+
"isMandatory": false,
|
|
938
938
|
"page": "4.13",
|
|
939
939
|
"min": "1900-01",
|
|
940
940
|
"max": "2022-03",
|
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
{
|
|
1000
1000
|
"id": "l1uxyne3",
|
|
1001
1001
|
"componentType": "InputNumber",
|
|
1002
|
-
"
|
|
1002
|
+
"isMandatory": false,
|
|
1003
1003
|
"page": "4.14",
|
|
1004
1004
|
"min": 0,
|
|
1005
1005
|
"max": 120,
|
|
@@ -1045,7 +1045,7 @@
|
|
|
1045
1045
|
{
|
|
1046
1046
|
"id": "l127ghn9",
|
|
1047
1047
|
"componentType": "Datepicker",
|
|
1048
|
-
"
|
|
1048
|
+
"isMandatory": false,
|
|
1049
1049
|
"page": "4.15",
|
|
1050
1050
|
"min": "1900",
|
|
1051
1051
|
"max": "2022",
|
|
@@ -1117,7 +1117,7 @@
|
|
|
1117
1117
|
{
|
|
1118
1118
|
"id": "l1283pqp",
|
|
1119
1119
|
"componentType": "InputNumber",
|
|
1120
|
-
"
|
|
1120
|
+
"isMandatory": false,
|
|
1121
1121
|
"page": "4.16",
|
|
1122
1122
|
"min": 0,
|
|
1123
1123
|
"max": 120,
|
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
{
|
|
1246
1246
|
"id": "l13nj6s2",
|
|
1247
1247
|
"componentType": "Radio",
|
|
1248
|
-
"
|
|
1248
|
+
"isMandatory": false,
|
|
1249
1249
|
"page": "5.2",
|
|
1250
1250
|
"label": {
|
|
1251
1251
|
"value": "\"➡ 17. \" || (if (PRENOM = PRENOMREF) then \"Vivez-vous\" else PRENOM || \" vit-\" || LIB_PR ) || \" aussi dans un autre logement ?\"",
|
|
@@ -1306,7 +1306,7 @@
|
|
|
1306
1306
|
{
|
|
1307
1307
|
"id": "l13nyqwe",
|
|
1308
1308
|
"componentType": "Radio",
|
|
1309
|
-
"
|
|
1309
|
+
"isMandatory": false,
|
|
1310
1310
|
"page": "5.3",
|
|
1311
1311
|
"label": {
|
|
1312
1312
|
"value": "\"➡ 18. \" || \"Combien de temps \" || if (PRENOM = PRENOMREF) then \"vivez vous dans le logement situé à l’adresse \" || ADR || \" ?\" else PRENOM || \" vit-\" || LIB_PR || \" dans le logement situé à l’adresse \" || ADR || \" ?\"",
|
|
@@ -1456,7 +1456,7 @@
|
|
|
1456
1456
|
{
|
|
1457
1457
|
"id": "l13on6tn",
|
|
1458
1458
|
"componentType": "Radio",
|
|
1459
|
-
"
|
|
1459
|
+
"isMandatory": false,
|
|
1460
1460
|
"page": "5.5",
|
|
1461
1461
|
"label": {
|
|
1462
1462
|
"value": "\"➡ 20. \" || if (PRENOM = PRENOMREF) then \"L’autre logement dans lequel vous vivez est-il ... ?\" else \"Pour \" || PRENOM || \", l’autre logement dans lequel \" || LIB_PR || \" vit, est-il ... ?\"",
|
|
@@ -1563,7 +1563,7 @@
|
|
|
1563
1563
|
{
|
|
1564
1564
|
"id": "l13oux5e",
|
|
1565
1565
|
"componentType": "Radio",
|
|
1566
|
-
"
|
|
1566
|
+
"isMandatory": false,
|
|
1567
1567
|
"page": "5.6",
|
|
1568
1568
|
"label": {
|
|
1569
1569
|
"value": "\"➡ 21. \" || (if (PRENOM = PRENOMREF) then \"Etes-vous\" else PRENOM || \" est-\" ||LIB_PR ) || \" en résidence alternée entre ses deux parents ?\"",
|
|
@@ -1607,7 +1607,7 @@
|
|
|
1607
1607
|
{
|
|
1608
1608
|
"id": "l13pabqu",
|
|
1609
1609
|
"componentType": "Radio",
|
|
1610
|
-
"
|
|
1610
|
+
"isMandatory": false,
|
|
1611
1611
|
"page": "5.7",
|
|
1612
1612
|
"label": {
|
|
1613
1613
|
"value": "\"➡ 22. \" || (if (PRENOM = PRENOMREF) then \"Où avez-vous\" else \"Où \" || PRENOM || \" a-t-\" || LIB_PR ) || \" dormi la nuit derière ?\"",
|
|
@@ -1676,7 +1676,7 @@
|
|
|
1676
1676
|
{
|
|
1677
1677
|
"id": "l13pbxr1",
|
|
1678
1678
|
"componentType": "Radio",
|
|
1679
|
-
"
|
|
1679
|
+
"isMandatory": false,
|
|
1680
1680
|
"page": "5.8",
|
|
1681
1681
|
"label": {
|
|
1682
1682
|
"value": "\"➡ 23. \" || (if (PRENOM = PRENOMREF) then \"Pour vous\" else \"Pour \" || PRENOM ) || \", le logement situé à l’adresse \" || ADR || \" est-il ... ?\"",
|
|
@@ -1773,7 +1773,7 @@
|
|
|
1773
1773
|
{
|
|
1774
1774
|
"id": "l13pyw1k",
|
|
1775
1775
|
"componentType": "Radio",
|
|
1776
|
-
"
|
|
1776
|
+
"isMandatory": false,
|
|
1777
1777
|
"page": "5.9",
|
|
1778
1778
|
"label": {
|
|
1779
1779
|
"value": "\"➡ 24. \" || if (PRENOM = PRENOMREF) then \"L’autre logement dans lequel vous vivez est-il ... ?\" else \"Pour \" || PRENOM || \", l’autre logement dans lequel \" || LIB_PR || \" vit, est-il ... ?\"",
|
|
@@ -1881,7 +1881,7 @@
|
|
|
1881
1881
|
{
|
|
1882
1882
|
"id": "l13q9a24",
|
|
1883
1883
|
"componentType": "Radio",
|
|
1884
|
-
"
|
|
1884
|
+
"isMandatory": false,
|
|
1885
1885
|
"page": "5.10",
|
|
1886
1886
|
"label": {
|
|
1887
1887
|
"value": "\"➡ 25. \" || \"L’autre logement \" || (if (PRENOM = PRENOMREF) then \"dans lequel vous vivez\" else \"où vit \" || PRENOM ) || \" est-il une chambre dans une structure collective (internat, résidence étudiante, foyer de l’enfance, foyer de jeunes travailleurs) ?\"",
|
|
@@ -1919,7 +1919,7 @@
|
|
|
1919
1919
|
{
|
|
1920
1920
|
"id": "l13qc9n8",
|
|
1921
1921
|
"componentType": "Radio",
|
|
1922
|
-
"
|
|
1922
|
+
"isMandatory": false,
|
|
1923
1923
|
"page": "5.11",
|
|
1924
1924
|
"label": {
|
|
1925
1925
|
"value": "\"➡ 26. \" || \"De quelle structure s’agit-il ?\"",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
},
|
|
156
156
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
157
157
|
"label": { "type": "VTL|MD", "value": "\"➡ 1. \" || \"NB\"" },
|
|
158
|
-
"
|
|
158
|
+
"isMandatory": false,
|
|
159
159
|
"bindingDependencies": ["NB"],
|
|
160
160
|
"min": 0,
|
|
161
161
|
"response": { "name": "NB" },
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"id": "ksyjvi40",
|
|
234
234
|
"page": "3",
|
|
235
235
|
"label": { "type": "VTL|MD", "value": "\"➡ 2. \" || \"prénom\"" },
|
|
236
|
-
"
|
|
236
|
+
"isMandatory": false,
|
|
237
237
|
"maxLength": 249,
|
|
238
238
|
"declarations": [
|
|
239
239
|
{
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
"type": "VTL|MD",
|
|
361
361
|
"value": "\"➡ 3. \" || \"Age de l’individu : \" || PRENOM"
|
|
362
362
|
},
|
|
363
|
-
"
|
|
363
|
+
"isMandatory": false,
|
|
364
364
|
"declarations": [
|
|
365
365
|
{
|
|
366
366
|
"declarationType": "HELP",
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
"id": "ku2pxugf",
|
|
484
484
|
"page": "7",
|
|
485
485
|
"label": { "type": "VTL|MD", "value": "\"➡ 4. \" || \"divers\"" },
|
|
486
|
-
"
|
|
486
|
+
"isMandatory": false,
|
|
487
487
|
"maxLength": 249
|
|
488
488
|
},
|
|
489
489
|
{
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
"type": "VTL|MD",
|
|
519
519
|
"value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
|
|
520
520
|
},
|
|
521
|
-
"
|
|
521
|
+
"isMandatory": false,
|
|
522
522
|
"maxLength": 2000
|
|
523
523
|
}
|
|
524
524
|
],
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"lunaticModelVersion": "2.3.1",
|
|
7
7
|
"generatingDate": "28-03-2023 12:57:35",
|
|
8
8
|
"missing": false,
|
|
9
|
-
"pagination": "
|
|
9
|
+
"pagination": "sequence",
|
|
10
10
|
"maxPage": "2",
|
|
11
11
|
"label": {
|
|
12
12
|
"value": "\"Resizing with cleaning\"",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"page": "1",
|
|
18
18
|
"id": "lfwih8tj-habitants",
|
|
19
19
|
"componentType": "InputNumber",
|
|
20
|
-
"
|
|
20
|
+
"isMandatory": false,
|
|
21
21
|
"min": 0,
|
|
22
22
|
"max": 25,
|
|
23
23
|
"label": {
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"type": "VTL|MD",
|
|
202
202
|
"value": "\"➡ 1. \" || \"NB\""
|
|
203
203
|
},
|
|
204
|
-
"
|
|
204
|
+
"isMandatory": false,
|
|
205
205
|
"bindingDependencies": ["NB"],
|
|
206
206
|
"min": 0,
|
|
207
207
|
"response": {
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"type": "VTL|MD",
|
|
314
314
|
"value": "\"➡ 2. \" || \"prénom\""
|
|
315
315
|
},
|
|
316
|
-
"
|
|
316
|
+
"isMandatory": false,
|
|
317
317
|
"maxLength": 249,
|
|
318
318
|
"declarations": [
|
|
319
319
|
{
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
"type": "VTL|MD",
|
|
489
489
|
"value": "\"➡ 3. \" || \"Age de l’individu : \" || PRENOM"
|
|
490
490
|
},
|
|
491
|
-
"
|
|
491
|
+
"isMandatory": false,
|
|
492
492
|
"declarations": [
|
|
493
493
|
{
|
|
494
494
|
"declarationType": "HELP",
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
"type": "VTL|MD",
|
|
640
640
|
"value": "\"➡ 4. \" || \"divers\""
|
|
641
641
|
},
|
|
642
|
-
"
|
|
642
|
+
"isMandatory": false,
|
|
643
643
|
"maxLength": 249
|
|
644
644
|
},
|
|
645
645
|
{
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
"type": "VTL|MD",
|
|
745
745
|
"value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
|
|
746
746
|
},
|
|
747
|
-
"
|
|
747
|
+
"isMandatory": false,
|
|
748
748
|
"maxLength": 2000
|
|
749
749
|
}
|
|
750
750
|
],
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"dateFormat": "YYYY-MM-DD",
|
|
7
7
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
8
8
|
"label": { "type": "VTL|MD", "value": "\"➡ 1. \" || \"Birth day\"" },
|
|
9
|
-
"
|
|
9
|
+
"isMandatory": false,
|
|
10
10
|
"min": "1900-01-01",
|
|
11
11
|
"response": { "name": "Q1" },
|
|
12
12
|
"id": "l7ovm2rv",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
{
|
|
41
41
|
"id": "radio",
|
|
42
42
|
"componentType": "Radio",
|
|
43
|
-
"
|
|
43
|
+
"isMandatory": false,
|
|
44
44
|
"page": "1",
|
|
45
45
|
"label": {
|
|
46
46
|
"value": "\"Disabled or enabled!\"",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
{
|
|
75
75
|
"id": "radio1",
|
|
76
76
|
"componentType": "Radio",
|
|
77
|
-
"
|
|
77
|
+
"isMandatory": false,
|
|
78
78
|
"page": "2",
|
|
79
79
|
"readOnly": { "value": "DISABLED_SEXE", "type": "VTL" },
|
|
80
80
|
"label": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
{
|
|
110
110
|
"id": "radio3",
|
|
111
111
|
"componentType": "Radio",
|
|
112
|
-
"
|
|
112
|
+
"isMandatory": false,
|
|
113
113
|
"page": "2",
|
|
114
114
|
"label": {
|
|
115
115
|
"value": "\"Disabled or enabled!\"",
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
{
|
|
194
194
|
"id": "radio",
|
|
195
195
|
"componentType": "Radio",
|
|
196
|
-
"
|
|
196
|
+
"isMandatory": false,
|
|
197
197
|
"page": "3",
|
|
198
198
|
"label": {
|
|
199
199
|
"value": "\"Disabled or enabled!\"",
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
{
|
|
263
263
|
"id": "radio",
|
|
264
264
|
"componentType": "Radio",
|
|
265
|
-
"
|
|
265
|
+
"isMandatory": false,
|
|
266
266
|
"page": "4",
|
|
267
267
|
"label": {
|
|
268
268
|
"value": "\"Disabled or enabled!\"",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "j4nw5cqz",
|
|
6
6
|
"componentType": "Dropdown",
|
|
7
|
-
"
|
|
7
|
+
"isMandatory": false,
|
|
8
8
|
"page": "1",
|
|
9
9
|
"label": {
|
|
10
10
|
"value": "\"In which state do The Simpsons reside?\"",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
{
|
|
60
60
|
"id": "j4nw5cqz-bis",
|
|
61
61
|
"componentType": "Dropdown",
|
|
62
|
-
"
|
|
62
|
+
"isMandatory": false,
|
|
63
63
|
"page": "1",
|
|
64
64
|
"label": {
|
|
65
65
|
"value": "\"In which state do The Simpsons reside?\"",
|