@inseefr/lunatic 3.5.7 → 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.
- package/components/shared/Combobox/Combobox.stories.d.ts +3 -2
- package/components/shared/Combobox/Combobox.stories.js +26 -21
- package/components/shared/Combobox/Combobox.stories.js.map +1 -1
- package/esm/components/shared/Combobox/Combobox.stories.d.ts +3 -2
- package/esm/components/shared/Combobox/Combobox.stories.js +28 -24
- package/esm/components/shared/Combobox/Combobox.stories.js.map +1 -1
- package/esm/hooks/useLocalStorage.d.ts +1 -0
- package/esm/hooks/useLocalStorage.js +31 -0
- package/esm/hooks/useLocalStorage.js.map +1 -0
- package/esm/type.source.d.ts +6 -0
- package/esm/use-lunatic/commons/compile-controls.js +22 -14
- package/esm/use-lunatic/commons/compile-controls.js.map +1 -1
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js +4 -1
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
- package/esm/use-lunatic/hooks/use-page-has-response.js +1 -1
- package/esm/use-lunatic/hooks/use-page-has-response.js.map +1 -1
- package/esm/use-lunatic/hooks/useOverview.spec.js +2 -2
- package/esm/use-lunatic/hooks/useOverview.spec.js.map +1 -1
- package/esm/utils/number.d.ts +4 -0
- package/esm/utils/number.js +12 -0
- package/esm/utils/number.js.map +1 -1
- package/esm/utils/object.d.ts +10 -0
- package/esm/utils/object.js +26 -0
- package/esm/utils/object.js.map +1 -1
- package/hooks/useLocalStorage.d.ts +1 -0
- package/hooks/useLocalStorage.js +34 -0
- package/hooks/useLocalStorage.js.map +1 -0
- package/package.json +76 -137
- package/src/components/shared/Combobox/Combobox.stories.tsx +48 -49
- package/src/hooks/useLocalStorage.ts +37 -0
- package/src/json.d.ts +16 -0
- package/src/stories/accordion/accordion.stories.tsx +21 -0
- package/src/stories/behaviour/cleaning/cleaning.stories.tsx +40 -0
- package/src/stories/behaviour/controls/controls.stories.tsx +51 -0
- package/src/stories/behaviour/disabled/disabled.stories.tsx +29 -0
- package/src/stories/behaviour/filter/filter.stories.tsx +34 -0
- package/src/stories/behaviour/missing/missing.stories.tsx +31 -0
- package/src/stories/behaviour/overview/overview.stories.tsx +61 -0
- package/src/stories/{overview/sourceWithHierarchy.json → behaviour/overview/source.json} +1 -1
- package/src/stories/{overview → behaviour/overview}/sourceLoop.json +1 -1
- package/src/stories/behaviour/performance/performance.stories.tsx +29 -0
- package/src/stories/behaviour/resizing/resizing.stories.tsx +34 -0
- package/src/stories/behaviour/slots.stories.tsx +34 -0
- package/src/stories/checkbox/checkbox.stories.tsx +75 -0
- package/src/stories/{checkbox-group/sourceLoop.json → checkbox/sourceGroupLoop.json} +1 -1
- package/src/stories/datepicker/datepicker.stories.tsx +21 -0
- package/src/stories/declaration/declaration.stories.tsx +27 -0
- package/src/stories/dropdown/dropdown.stories.tsx +27 -0
- package/src/stories/duration/duration.stories.tsx +27 -0
- package/src/stories/filter-description/filter-description.stories.tsx +28 -0
- package/src/stories/input/input.stories.tsx +21 -0
- package/src/stories/input-number/input-number.stories.tsx +35 -0
- package/src/stories/loop/loop.stories.tsx +35 -0
- package/src/stories/loop/roster-for-loop.stories.tsx +59 -0
- package/src/stories/pairwise/pairwise.stories.tsx +30 -0
- package/src/stories/paste.stories.tsx +85 -0
- package/src/stories/question/question.stories.tsx +21 -0
- package/src/stories/questionnaires/logement/logement.stories.tsx +26 -0
- package/src/stories/questionnaires/recensement/recensement.stories.tsx +28 -0
- package/src/stories/questionnaires/rp/rp.stories.tsx +21 -0
- package/src/stories/questionnaires/simpsons/simpsons.stories.tsx +31 -0
- package/src/stories/radio/radio.stories.tsx +53 -0
- package/src/stories/roundabout/roundabout.stories.tsx +37 -0
- package/src/stories/roundabout/source.json +1 -0
- package/src/stories/sequence/sequence.stories.tsx +28 -0
- package/src/stories/suggester/source-option-responses.json +1 -1
- package/src/stories/suggester/suggester.stories.tsx +68 -0
- package/src/stories/summary/source.json +22 -1
- package/src/stories/summary/summary.stories.tsx +31 -0
- package/src/stories/table/table.stories.tsx +35 -0
- package/src/stories/text/text.stories.tsx +38 -0
- package/src/stories/textarea/textarea.stories.tsx +21 -0
- package/src/stories/utils/Orchestrator.tsx +310 -0
- package/src/stories/utils/OrchestratorData.tsx +176 -0
- package/src/stories/utils/OrchestratorOverview.tsx +70 -0
- package/src/stories/utils/OrchestratorSidebar.tsx +119 -0
- package/src/stories/utils/SchemaValidator.tsx +29 -0
- package/src/stories/utils/referentiel.ts +9 -0
- package/src/type.source.ts +6 -0
- package/src/use-lunatic/commons/compile-controls.ts +36 -18
- package/src/use-lunatic/commons/fill-components/fill-component-expressions.ts +4 -1
- package/src/use-lunatic/hooks/use-page-has-response.ts +1 -1
- package/src/use-lunatic/hooks/useOverview.spec.ts +3 -2
- package/src/use-lunatic/use-lunatic.test.ts +53 -40
- package/src/utils/number.ts +13 -0
- package/src/utils/object.ts +40 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/type.source.d.ts +6 -0
- package/use-lunatic/commons/compile-controls.js +21 -13
- package/use-lunatic/commons/compile-controls.js.map +1 -1
- package/use-lunatic/commons/fill-components/fill-component-expressions.js +5 -2
- package/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
- package/use-lunatic/hooks/use-page-has-response.js +2 -2
- package/use-lunatic/hooks/use-page-has-response.js.map +1 -1
- package/use-lunatic/hooks/useOverview.spec.js +8 -8
- package/use-lunatic/hooks/useOverview.spec.js.map +1 -1
- package/utils/number.d.ts +4 -0
- package/utils/number.js +13 -0
- package/utils/number.js.map +1 -1
- package/utils/object.d.ts +10 -0
- package/utils/object.js +30 -0
- package/utils/object.js.map +1 -1
- package/esm/stories/overview/sourceWithHierarchy.json +0 -5151
- package/esm/tests/utils/lunatic.d.ts +0 -15
- package/esm/tests/utils/lunatic.js +0 -27
- package/esm/tests/utils/lunatic.js.map +0 -1
- package/esm/use-lunatic/replace-component-sequence.d.ts +0 -36
- package/esm/use-lunatic/replace-component-sequence.js +0 -19
- package/esm/use-lunatic/replace-component-sequence.js.map +0 -1
- package/esm/use-lunatic/test.utils.d.ts +0 -2
- package/esm/use-lunatic/test.utils.js +0 -13
- package/esm/use-lunatic/test.utils.js.map +0 -1
- package/esm/utils/is-object.d.ts +0 -4
- package/esm/utils/is-object.js +0 -7
- package/esm/utils/is-object.js.map +0 -1
- package/esm/utils/to-number.d.ts +0 -4
- package/esm/utils/to-number.js +0 -13
- package/esm/utils/to-number.js.map +0 -1
- package/src/stories/accordion/accordion.stories.jsx +0 -17
- package/src/stories/behaviour/cleaning/cleaning.stories.jsx +0 -69
- package/src/stories/behaviour/controls/controls.stories.jsx +0 -81
- package/src/stories/behaviour/filter/dataLoop.json +0 -14
- package/src/stories/behaviour/filter/filter.stories.jsx +0 -36
- package/src/stories/behaviour/missing/missing.stories.jsx +0 -69
- package/src/stories/behaviour/others/V2_DeclarationsSimples.json +0 -908
- package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +0 -489
- package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +0 -3919
- package/src/stories/behaviour/others/V2_TCMRallyeGames.json +0 -2760
- package/src/stories/behaviour/others/test-dylan.json +0 -538
- package/src/stories/behaviour/others/test.stories.jsx +0 -78
- package/src/stories/behaviour/paste/source.json +0 -32
- package/src/stories/behaviour/paste/test.stories.jsx +0 -62
- package/src/stories/behaviour/performance/performance.stories.jsx +0 -26
- package/src/stories/behaviour/resizing/resizing.stories.jsx +0 -60
- package/src/stories/behaviour/slots.stories.jsx +0 -32
- package/src/stories/checkbox-boolean/checkboxBoolean.stories.jsx +0 -17
- package/src/stories/checkbox-group/checkbox-group.stories.jsx +0 -77
- package/src/stories/checkbox-one/checkboxOne.stories.jsx +0 -53
- package/src/stories/date-picker/data.json +0 -3
- package/src/stories/date-picker/datepicker.stories.jsx +0 -26
- package/src/stories/declaration/data.json +0 -1
- package/src/stories/declaration/input.stories.jsx +0 -18
- package/src/stories/disabled/data.json +0 -16
- package/src/stories/disabled/disabled.stories.jsx +0 -18
- package/src/stories/dropdown/data.json +0 -8
- package/src/stories/dropdown/dropdown.stories.jsx +0 -25
- package/src/stories/duration/duration.stories.jsx +0 -25
- package/src/stories/filter-description/filter-description.stories.jsx +0 -37
- package/src/stories/input/data.json +0 -1
- package/src/stories/input/input.stories.jsx +0 -18
- package/src/stories/input-number/input-number.stories.jsx +0 -23
- package/src/stories/loop/loop.stories.jsx +0 -29
- package/src/stories/loop/roster-for-loop.stories.jsx +0 -46
- package/src/stories/markdown/markdown.stories.jsx +0 -20
- package/src/stories/overview/data.json +0 -1
- package/src/stories/overview/dataLoop.json +0 -93
- package/src/stories/overview/overview.stories.jsx +0 -44
- package/src/stories/overview/source.json +0 -25
- package/src/stories/pairwise/data.json +0 -12
- package/src/stories/pairwise/pairwise-links.stories.jsx +0 -48
- package/src/stories/question/question.stories.jsx +0 -16
- package/src/stories/questionnaires/logement/logement.stories.jsx +0 -59
- package/src/stories/questionnaires/recensement/data.json +0 -12
- package/src/stories/questionnaires/recensement/recensement.stories.jsx +0 -35
- package/src/stories/questionnaires/rp/data.json +0 -5
- package/src/stories/questionnaires/rp/rp.stories.jsx +0 -23
- package/src/stories/questionnaires/simpsons/simpsons.stories.jsx +0 -246
- package/src/stories/radio/radio.stories.jsx +0 -78
- package/src/stories/roundabout/data1.json +0 -13
- package/src/stories/roundabout/data2.json +0 -16
- package/src/stories/roundabout/roundabout.stories.jsx +0 -32
- package/src/stories/sequence/sequence.stories.jsx +0 -29
- package/src/stories/suggester/suggester.stories.jsx +0 -71
- package/src/stories/summary/data.json +0 -16
- package/src/stories/summary/summary.stories.jsx +0 -23
- package/src/stories/switch/README.md +0 -29
- package/src/stories/switch/data-forced.json +0 -40
- package/src/stories/switch/source.json +0 -64
- package/src/stories/switch/switch.stories.jsx +0 -17
- package/src/stories/table/data.json +0 -1
- package/src/stories/table/table.stories.jsx +0 -30
- package/src/stories/text/data-roster.json +0 -5
- package/src/stories/text/text.stories.jsx +0 -20
- package/src/stories/textarea/data.json +0 -1
- package/src/stories/textarea/textarea.stories.jsx +0 -18
- package/src/stories/utils/SchemaValidator.jsx +0 -40
- package/src/stories/utils/default-arg-types.js +0 -39
- package/src/stories/utils/default-args.js +0 -3
- package/src/stories/utils/options.js +0 -19
- package/src/stories/utils/orchestrator.jsx +0 -267
- package/src/stories/utils/orchestrator.scss +0 -66
- package/src/stories/utils/overview.jsx +0 -39
- package/src/stories/utils/overview.scss +0 -37
- package/src/stories/utils/referentiel.js +0 -7
- package/src/tests/utils/e2e.js +0 -91
- package/src/tests/utils/lunatic.ts +0 -33
- package/src/use-lunatic/replace-component-sequence.ts +0 -25
- package/src/use-lunatic/test.utils.ts +0 -17
- package/src/utils/is-object.ts +0 -6
- package/src/utils/to-number.ts +0 -12
- package/stories/overview/sourceWithHierarchy.json +0 -5151
- package/tests/utils/lunatic.d.ts +0 -15
- package/tests/utils/lunatic.js +0 -31
- package/tests/utils/lunatic.js.map +0 -1
- package/use-lunatic/replace-component-sequence.d.ts +0 -36
- package/use-lunatic/replace-component-sequence.js +0 -22
- package/use-lunatic/replace-component-sequence.js.map +0 -1
- package/use-lunatic/test.utils.d.ts +0 -2
- package/use-lunatic/test.utils.js +0 -17
- package/use-lunatic/test.utils.js.map +0 -1
- package/utils/is-object.d.ts +0 -4
- package/utils/is-object.js +0 -10
- package/utils/is-object.js.map +0 -1
- package/utils/to-number.d.ts +0 -4
- package/utils/to-number.js +0 -16
- package/utils/to-number.js.map +0 -1
- /package/src/stories/behaviour/cleaning/{loop.json → source-loop-scopes.json} +0 -0
- /package/src/stories/behaviour/controls/{boucles-n.json → source-boucles-n.json} +0 -0
- /package/src/stories/behaviour/controls/{loop.json → source-loop.json} +0 -0
- /package/src/stories/behaviour/controls/{roundabout.json → source-roundabout.json} +0 -0
- /package/src/stories/behaviour/controls/{simple-numeric.json → source-simple-numeric.json} +0 -0
- /package/src/stories/behaviour/controls/{simple.json → source-simple.json} +0 -0
- /package/src/stories/{disabled → behaviour/disabled}/source.json +0 -0
- /package/src/stories/{checkbox-boolean → checkbox}/source.json +0 -0
- /package/src/stories/{checkbox-group/source.json → checkbox/sourceGroup.json} +0 -0
- /package/src/stories/{checkbox-group/sourceCondition.json → checkbox/sourceGroupCondition.json} +0 -0
- /package/src/stories/{checkbox-group/sourceDetail.json → checkbox/sourceGroupDetail.json} +0 -0
- /package/src/stories/{checkbox-one/source.json → checkbox/sourceOne.json} +0 -0
- /package/src/stories/{checkbox-one/sourceDetail.json → checkbox/sourceOneDetail.json} +0 -0
- /package/src/stories/{date-picker → datepicker}/source.json +0 -0
- /package/src/stories/{markdown/source.json → declaration/sourceMarkdown.json} +0 -0
- /package/src/stories/duration/{mois.json → sourceMonths.json} +0 -0
- /package/src/stories/duration/{time.json → sourceTime.json} +0 -0
- /package/src/stories/filter-description/{source-options.json → sourceOptions.json} +0 -0
- /package/src/stories/table/{table-dynamique.json → source-dynamic.json} +0 -0
|
@@ -1,489 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "kt32raif",
|
|
3
|
-
"modele": "TESTSURSUM",
|
|
4
|
-
"enoCoreVersion": "2.3.7-dev-lunatic-v2",
|
|
5
|
-
"lunaticModelVersion": "2.2.13-dev-lunatic-v2",
|
|
6
|
-
"generatingDate": "19-07-2022 10:46:24",
|
|
7
|
-
"missing": false,
|
|
8
|
-
"pagination": "question",
|
|
9
|
-
"maxPage": "9",
|
|
10
|
-
"label": {
|
|
11
|
-
"value": "QNONREG test sur sum, min dans une boucle, nb majeurs et filtre",
|
|
12
|
-
"type": "VTL|MD"
|
|
13
|
-
},
|
|
14
|
-
"components": [
|
|
15
|
-
{
|
|
16
|
-
"id": "ksyjs7vy",
|
|
17
|
-
"componentType": "Sequence",
|
|
18
|
-
"page": "1",
|
|
19
|
-
"label": { "value": "S0", "type": "VTL|MD" },
|
|
20
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
21
|
-
"hierarchy": {
|
|
22
|
-
"sequence": {
|
|
23
|
-
"id": "ksyjs7vy",
|
|
24
|
-
"page": "1",
|
|
25
|
-
"label": { "value": "S0", "type": "VTL|MD" }
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
"id": "kze792d8",
|
|
32
|
-
"componentType": "InputNumber",
|
|
33
|
-
"isMandatory": false,
|
|
34
|
-
"page": "2",
|
|
35
|
-
"min": 0,
|
|
36
|
-
"max": 10,
|
|
37
|
-
"decimals": 0,
|
|
38
|
-
"label": { "value": "\"➡ 1. \" || \"NB \"", "type": "VTL|MD" },
|
|
39
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
40
|
-
"hierarchy": {
|
|
41
|
-
"sequence": {
|
|
42
|
-
"id": "ksyjs7vy",
|
|
43
|
-
"page": "1",
|
|
44
|
-
"label": { "value": "S0", "type": "VTL|MD" }
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"bindingDependencies": ["NB"],
|
|
48
|
-
"response": { "name": "NB" }
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
{
|
|
52
|
-
"id": "ksykfdm9",
|
|
53
|
-
"componentType": "Loop",
|
|
54
|
-
"page": "3",
|
|
55
|
-
"depth": 1,
|
|
56
|
-
"paginatedLoop": false,
|
|
57
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
58
|
-
"hierarchy": {
|
|
59
|
-
"sequence": {
|
|
60
|
-
"id": "ksyjs7vy",
|
|
61
|
-
"page": "1",
|
|
62
|
-
"label": { "value": "S0", "type": "VTL|MD" }
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"bindingDependencies": ["NB", "PRENOM"],
|
|
66
|
-
"loopDependencies": ["NB"],
|
|
67
|
-
"lines": {
|
|
68
|
-
"min": { "value": "cast(NB,integer)", "type": "VTL" },
|
|
69
|
-
"max": { "value": "cast(NB,integer)", "type": "VTL" }
|
|
70
|
-
},
|
|
71
|
-
"components": [
|
|
72
|
-
{
|
|
73
|
-
"id": "ksynhpl3",
|
|
74
|
-
"componentType": "Subsequence",
|
|
75
|
-
"page": "3",
|
|
76
|
-
"goToPage": "3",
|
|
77
|
-
"label": { "value": "Habitants", "type": "VTL|MD" },
|
|
78
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
79
|
-
"hierarchy": {
|
|
80
|
-
"sequence": {
|
|
81
|
-
"id": "ksyjs7vy",
|
|
82
|
-
"page": "1",
|
|
83
|
-
"label": { "value": "S0", "type": "VTL|MD" }
|
|
84
|
-
},
|
|
85
|
-
"subSequence": {
|
|
86
|
-
"id": "ksynhpl3",
|
|
87
|
-
"page": "3",
|
|
88
|
-
"label": { "value": "Habitants", "type": "VTL|MD" }
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"bindingDependencies": ["NB"]
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
{
|
|
95
|
-
"id": "ksyjvi40",
|
|
96
|
-
"componentType": "Input",
|
|
97
|
-
"isMandatory": false,
|
|
98
|
-
"page": "3",
|
|
99
|
-
"maxLength": 249,
|
|
100
|
-
"label": { "value": "\"➡ 2. \" || \"prénom\"", "type": "VTL|MD" },
|
|
101
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
102
|
-
"hierarchy": {
|
|
103
|
-
"sequence": {
|
|
104
|
-
"id": "ksyjs7vy",
|
|
105
|
-
"page": "1",
|
|
106
|
-
"label": { "value": "S0", "type": "VTL|MD" }
|
|
107
|
-
},
|
|
108
|
-
"subSequence": {
|
|
109
|
-
"id": "ksynhpl3",
|
|
110
|
-
"page": "3",
|
|
111
|
-
"label": { "value": "Habitants", "type": "VTL|MD" }
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"bindingDependencies": ["PRENOM", "NB"],
|
|
115
|
-
"response": { "name": "PRENOM" }
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
{
|
|
121
|
-
"id": "ksyniqzx",
|
|
122
|
-
"componentType": "Sequence",
|
|
123
|
-
"page": "4",
|
|
124
|
-
"label": { "value": "S1", "type": "VTL|MD" },
|
|
125
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
126
|
-
"hierarchy": {
|
|
127
|
-
"sequence": {
|
|
128
|
-
"id": "ksyniqzx",
|
|
129
|
-
"page": "4",
|
|
130
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
{
|
|
136
|
-
"id": "ksynkaoo",
|
|
137
|
-
"componentType": "Loop",
|
|
138
|
-
"page": "5",
|
|
139
|
-
"maxPage": "1",
|
|
140
|
-
"depth": 1,
|
|
141
|
-
"paginatedLoop": true,
|
|
142
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
143
|
-
"hierarchy": {
|
|
144
|
-
"sequence": {
|
|
145
|
-
"id": "ksyniqzx",
|
|
146
|
-
"page": "4",
|
|
147
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"bindingDependencies": ["AGE_NUM", "PRENOM", "AGE"],
|
|
151
|
-
"loopDependencies": ["PRENOM"],
|
|
152
|
-
"components": [
|
|
153
|
-
{
|
|
154
|
-
"id": "ksyjxw3a",
|
|
155
|
-
"componentType": "Subsequence",
|
|
156
|
-
"goToPage": "5.1",
|
|
157
|
-
"label": { "value": "Les ages", "type": "VTL|MD" },
|
|
158
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
159
|
-
"hierarchy": {
|
|
160
|
-
"sequence": {
|
|
161
|
-
"id": "ksyniqzx",
|
|
162
|
-
"page": "4",
|
|
163
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
164
|
-
},
|
|
165
|
-
"subSequence": {
|
|
166
|
-
"id": "ksyjxw3a",
|
|
167
|
-
"page": "5.1",
|
|
168
|
-
"label": { "value": "Les ages", "type": "VTL|MD" }
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"bindingDependencies": ["PRENOM"]
|
|
172
|
-
},
|
|
173
|
-
|
|
174
|
-
{
|
|
175
|
-
"id": "ksyke448",
|
|
176
|
-
"componentType": "InputNumber",
|
|
177
|
-
"isMandatory": false,
|
|
178
|
-
"page": "5.1",
|
|
179
|
-
"min": 0,
|
|
180
|
-
"max": 100,
|
|
181
|
-
"decimals": 0,
|
|
182
|
-
"label": {
|
|
183
|
-
"value": "\"➡ 1. \" || \"Q3 Age de l’individu : \" || PRENOM",
|
|
184
|
-
"type": "VTL|MD"
|
|
185
|
-
},
|
|
186
|
-
"declarations": [
|
|
187
|
-
{
|
|
188
|
-
"id": "ksyke448-ktwsl4qu",
|
|
189
|
-
"declarationType": "HELP",
|
|
190
|
-
"position": "AFTER_QUESTION_TEXT",
|
|
191
|
-
"label": {
|
|
192
|
-
"value": "\"AGE_NUM vaut : \" || cast(AGE_NUM,string)",
|
|
193
|
-
"type": "VTL|MD"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
198
|
-
"hierarchy": {
|
|
199
|
-
"sequence": {
|
|
200
|
-
"id": "ksyniqzx",
|
|
201
|
-
"page": "4",
|
|
202
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
203
|
-
},
|
|
204
|
-
"subSequence": {
|
|
205
|
-
"id": "ksyjxw3a",
|
|
206
|
-
"page": "5.1",
|
|
207
|
-
"label": { "value": "Les ages", "type": "VTL|MD" }
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"bindingDependencies": ["AGE_NUM", "PRENOM", "AGE"],
|
|
211
|
-
"response": { "name": "AGE" }
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"iterations": { "value": "count(PRENOM)", "type": "VTL" }
|
|
215
|
-
},
|
|
216
|
-
|
|
217
|
-
{
|
|
218
|
-
"id": "ku2pnlmr",
|
|
219
|
-
"componentType": "Subsequence",
|
|
220
|
-
"page": "6",
|
|
221
|
-
"goToPage": "6",
|
|
222
|
-
"label": { "value": "\"Affichage de qq var\"", "type": "VTL|MD" },
|
|
223
|
-
"declarations": [
|
|
224
|
-
{
|
|
225
|
-
"id": "ku2pnlmr-kze7f245",
|
|
226
|
-
"declarationType": "HELP",
|
|
227
|
-
"position": "AFTER_QUESTION_TEXT",
|
|
228
|
-
"label": {
|
|
229
|
-
"value": "\"Affichage de la somme des ages : \" || cast(SUM_AGE,string)",
|
|
230
|
-
"type": "VTL|MD"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
|
|
234
|
-
{
|
|
235
|
-
"id": "ku2pnlmr-kzsevgcm",
|
|
236
|
-
"declarationType": "HELP",
|
|
237
|
-
"position": "AFTER_QUESTION_TEXT",
|
|
238
|
-
"label": {
|
|
239
|
-
"value": "\"Affichage du min des ages : \" || cast(MIN_AGE,string)",
|
|
240
|
-
"type": "VTL|MD"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
],
|
|
244
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
245
|
-
"hierarchy": {
|
|
246
|
-
"sequence": {
|
|
247
|
-
"id": "ksyniqzx",
|
|
248
|
-
"page": "4",
|
|
249
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
250
|
-
},
|
|
251
|
-
"subSequence": {
|
|
252
|
-
"id": "ku2pnlmr",
|
|
253
|
-
"page": "6",
|
|
254
|
-
"label": { "value": "\"Affichage de qq var\"", "type": "VTL|MD" }
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"bindingDependencies": ["SUM_AGE", "MIN_AGE"]
|
|
258
|
-
},
|
|
259
|
-
|
|
260
|
-
{
|
|
261
|
-
"id": "ku2pxugf",
|
|
262
|
-
"componentType": "Input",
|
|
263
|
-
"isMandatory": false,
|
|
264
|
-
"page": "7",
|
|
265
|
-
"maxLength": 249,
|
|
266
|
-
"label": { "value": "\"➡ 2. \" || \"divers\"", "type": "VTL|MD" },
|
|
267
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
268
|
-
"hierarchy": {
|
|
269
|
-
"sequence": {
|
|
270
|
-
"id": "ksyniqzx",
|
|
271
|
-
"page": "4",
|
|
272
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
273
|
-
},
|
|
274
|
-
"subSequence": {
|
|
275
|
-
"id": "ku2pnlmr",
|
|
276
|
-
"page": "6",
|
|
277
|
-
"label": { "value": "\"Affichage de qq var\"", "type": "VTL|MD" }
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
"bindingDependencies": ["DIVERS"],
|
|
281
|
-
"response": { "name": "DIVERS" }
|
|
282
|
-
},
|
|
283
|
-
|
|
284
|
-
{
|
|
285
|
-
"id": "ku2pqil5",
|
|
286
|
-
"componentType": "Subsequence",
|
|
287
|
-
"page": "8",
|
|
288
|
-
"goToPage": "8",
|
|
289
|
-
"label": {
|
|
290
|
-
"value": "\"Affichage de la question suivante si au moins 1 majeur. Pour info : nb de majeurs calculé = \" || cast(NB_MAJEUR,string)",
|
|
291
|
-
"type": "VTL|MD"
|
|
292
|
-
},
|
|
293
|
-
"declarations": [
|
|
294
|
-
{
|
|
295
|
-
"id": "ku2pqil5-kze7d4ia",
|
|
296
|
-
"declarationType": "HELP",
|
|
297
|
-
"position": "AFTER_QUESTION_TEXT",
|
|
298
|
-
"label": {
|
|
299
|
-
"value": "Affichage de cette sous séquence systématique. Affichage question qui suit si au moins 1 majeur",
|
|
300
|
-
"type": "VTL|MD"
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
305
|
-
"hierarchy": {
|
|
306
|
-
"sequence": {
|
|
307
|
-
"id": "ksyniqzx",
|
|
308
|
-
"page": "4",
|
|
309
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
310
|
-
},
|
|
311
|
-
"subSequence": {
|
|
312
|
-
"id": "ku2pqil5",
|
|
313
|
-
"page": "8",
|
|
314
|
-
"label": {
|
|
315
|
-
"value": "\"Affichage de la question suivante si au moins 1 majeur. Pour info : nb de majeurs calculé = \" || cast(NB_MAJEUR,string)",
|
|
316
|
-
"type": "VTL|MD"
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
"bindingDependencies": ["NB_MAJEUR"]
|
|
321
|
-
},
|
|
322
|
-
|
|
323
|
-
{
|
|
324
|
-
"id": "ktwvc5zc",
|
|
325
|
-
"componentType": "Input",
|
|
326
|
-
"isMandatory": false,
|
|
327
|
-
"page": "9",
|
|
328
|
-
"maxLength": 249,
|
|
329
|
-
"label": { "value": "\"➡ 3. \" || \"Texte\"", "type": "VTL|MD" },
|
|
330
|
-
"conditionFilter": {
|
|
331
|
-
"value": "(cast(NB_MAJEUR,integer) > 0)",
|
|
332
|
-
"type": "VTL",
|
|
333
|
-
"bindingDependencies": ["NB_MAJEUR", "IND_MAJEUR", "AGE"]
|
|
334
|
-
},
|
|
335
|
-
"hierarchy": {
|
|
336
|
-
"sequence": {
|
|
337
|
-
"id": "ksyniqzx",
|
|
338
|
-
"page": "4",
|
|
339
|
-
"label": { "value": "S1", "type": "VTL|MD" }
|
|
340
|
-
},
|
|
341
|
-
"subSequence": {
|
|
342
|
-
"id": "ku2pqil5",
|
|
343
|
-
"page": "8",
|
|
344
|
-
"label": {
|
|
345
|
-
"value": "\"Affichage de la question suivante si au moins 1 majeur. Pour info : nb de majeurs calculé = \" || cast(NB_MAJEUR,string)",
|
|
346
|
-
"type": "VTL|MD"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"bindingDependencies": ["TEXTE"],
|
|
351
|
-
"response": { "name": "TEXTE" }
|
|
352
|
-
}
|
|
353
|
-
],
|
|
354
|
-
"variables": [
|
|
355
|
-
{
|
|
356
|
-
"variableType": "COLLECTED",
|
|
357
|
-
"name": "NB",
|
|
358
|
-
"values": {
|
|
359
|
-
"COLLECTED": null
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
|
|
363
|
-
{
|
|
364
|
-
"variableType": "COLLECTED",
|
|
365
|
-
"name": "PRENOM",
|
|
366
|
-
"values": {
|
|
367
|
-
"COLLECTED": [null]
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
|
|
371
|
-
{
|
|
372
|
-
"variableType": "COLLECTED",
|
|
373
|
-
"name": "AGE",
|
|
374
|
-
"values": {
|
|
375
|
-
"COLLECTED": [null]
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
{
|
|
380
|
-
"variableType": "COLLECTED",
|
|
381
|
-
"name": "DIVERS",
|
|
382
|
-
"values": {
|
|
383
|
-
"COLLECTED": null
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
{
|
|
388
|
-
"variableType": "COLLECTED",
|
|
389
|
-
"name": "TEXTE",
|
|
390
|
-
"values": {
|
|
391
|
-
"COLLECTED": null
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
|
|
395
|
-
{
|
|
396
|
-
"variableType": "CALCULATED",
|
|
397
|
-
"name": "FILTER_RESULT_NB",
|
|
398
|
-
"expression": { "value": "true", "type": "VTL" },
|
|
399
|
-
"inFilter": "false"
|
|
400
|
-
},
|
|
401
|
-
|
|
402
|
-
{
|
|
403
|
-
"variableType": "CALCULATED",
|
|
404
|
-
"name": "FILTER_RESULT_PRENOM",
|
|
405
|
-
"expression": { "value": "true", "type": "VTL" },
|
|
406
|
-
"shapeFrom": "PRENOM",
|
|
407
|
-
"inFilter": "false"
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
{
|
|
411
|
-
"variableType": "CALCULATED",
|
|
412
|
-
"name": "AGE_NUM",
|
|
413
|
-
"expression": {
|
|
414
|
-
"value": "cast(nvl(AGE, \"0\"), integer)",
|
|
415
|
-
"type": "VTL"
|
|
416
|
-
},
|
|
417
|
-
"bindingDependencies": ["AGE"],
|
|
418
|
-
"shapeFrom": "PRENOM",
|
|
419
|
-
"inFilter": "true"
|
|
420
|
-
},
|
|
421
|
-
|
|
422
|
-
{
|
|
423
|
-
"variableType": "CALCULATED",
|
|
424
|
-
"name": "IND_MAJEUR",
|
|
425
|
-
"expression": {
|
|
426
|
-
"value": "if cast(AGE_NUM, integer) > 17 then 1 else 0",
|
|
427
|
-
"type": "VTL"
|
|
428
|
-
},
|
|
429
|
-
"bindingDependencies": ["AGE_NUM", "AGE"],
|
|
430
|
-
"shapeFrom": "PRENOM",
|
|
431
|
-
"inFilter": "true"
|
|
432
|
-
},
|
|
433
|
-
|
|
434
|
-
{
|
|
435
|
-
"variableType": "CALCULATED",
|
|
436
|
-
"name": "FILTER_RESULT_AGE",
|
|
437
|
-
"expression": { "value": "true", "type": "VTL" },
|
|
438
|
-
"shapeFrom": "AGE",
|
|
439
|
-
"inFilter": "false"
|
|
440
|
-
},
|
|
441
|
-
|
|
442
|
-
{
|
|
443
|
-
"variableType": "CALCULATED",
|
|
444
|
-
"name": "FILTER_RESULT_DIVERS",
|
|
445
|
-
"expression": { "value": "true", "type": "VTL" },
|
|
446
|
-
"inFilter": "false"
|
|
447
|
-
},
|
|
448
|
-
|
|
449
|
-
{
|
|
450
|
-
"variableType": "CALCULATED",
|
|
451
|
-
"name": "FILTER_RESULT_TEXTE",
|
|
452
|
-
"expression": { "value": "(cast(NB_MAJEUR,integer) > 0)", "type": "VTL" },
|
|
453
|
-
"bindingDependencies": ["NB_MAJEUR"],
|
|
454
|
-
"inFilter": "false"
|
|
455
|
-
},
|
|
456
|
-
|
|
457
|
-
{
|
|
458
|
-
"variableType": "CALCULATED",
|
|
459
|
-
"name": "SUM_AGE",
|
|
460
|
-
"expression": { "value": "sum(AGE_NUM)", "type": "VTL" },
|
|
461
|
-
"bindingDependencies": ["AGE_NUM", "AGE"],
|
|
462
|
-
"inFilter": "false"
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
{
|
|
466
|
-
"variableType": "CALCULATED",
|
|
467
|
-
"name": "NB_MAJEUR",
|
|
468
|
-
"expression": { "value": "sum(IND_MAJEUR)", "type": "VTL" },
|
|
469
|
-
"bindingDependencies": ["IND_MAJEUR", "AGE"],
|
|
470
|
-
"inFilter": "true"
|
|
471
|
-
},
|
|
472
|
-
|
|
473
|
-
{
|
|
474
|
-
"variableType": "CALCULATED",
|
|
475
|
-
"name": "MIN_AGE",
|
|
476
|
-
"expression": { "value": "min(AGE_NUM)", "type": "VTL" },
|
|
477
|
-
"bindingDependencies": ["AGE_NUM", "AGE"],
|
|
478
|
-
"inFilter": "false"
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"cleaning": {
|
|
482
|
-
"NB_MAJEUR": { "TEXTE": "(cast(NB_MAJEUR,integer) > 0)" },
|
|
483
|
-
"IND_MAJEUR": { "TEXTE": "(cast(NB_MAJEUR,integer) > 0)" },
|
|
484
|
-
"AGE": { "TEXTE": "(cast(NB_MAJEUR,integer) > 0)" }
|
|
485
|
-
},
|
|
486
|
-
"resizing": {
|
|
487
|
-
"NB": { "size": "cast(NB,integer)", "variables": ["PRENOM", "AGE"] }
|
|
488
|
-
}
|
|
489
|
-
}
|