@inseefr/lunatic 3.0.0-rc.25 → 3.0.0-rc.27
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/lib/components/Loop/Loop.js +6 -1
- package/lib/components/Loop/Loop.js.map +1 -1
- package/lib/components/LunaticComponents.d.ts +7 -11
- package/lib/components/LunaticComponents.js +4 -1
- package/lib/components/LunaticComponents.js.map +1 -1
- package/lib/components/RosterForLoop/RosterForLoop.js +4 -3
- package/lib/components/RosterForLoop/RosterForLoop.js.map +1 -1
- package/lib/components/Table/Table.js +1 -1
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/library.d.ts +1 -1
- package/lib/components/shared/HOC/slottableComponent.d.ts +2 -2
- package/lib/components/shared/MDLabel/MDLabel.js +4 -1
- package/lib/components/shared/MDLabel/MDLabel.js.map +1 -1
- package/lib/components/shared/MDLabel/MDLabel.spec.js +4 -1
- package/lib/components/shared/MDLabel/MDLabel.spec.js.map +1 -1
- package/lib/components/shared/Table/Table.js +1 -1
- package/lib/components/shared/Table/Table.js.map +1 -1
- package/lib/components/shared/Table/TableHeader.d.ts +1 -1
- package/lib/components/shared/Table/TableHeader.js +3 -3
- package/lib/components/shared/Table/TableHeader.js.map +1 -1
- package/lib/components/shared/Table/Tbody.d.ts +0 -1
- package/lib/components/shared/Table/Tbody.js +2 -2
- package/lib/components/shared/Table/Tbody.js.map +1 -1
- package/lib/components/shared/Table/Tbody.spec.js +1 -2
- package/lib/components/shared/Table/Tbody.spec.js.map +1 -1
- package/lib/components/shared/Table/Td.d.ts +0 -1
- package/lib/components/shared/Table/Td.js +2 -2
- package/lib/components/shared/Table/Td.js.map +1 -1
- package/lib/components/shared/Table/Td.spec.js +1 -2
- package/lib/components/shared/Table/Td.spec.js.map +1 -1
- package/lib/components/shared/Table/Th.d.ts +0 -1
- package/lib/components/shared/Table/Th.js +2 -2
- package/lib/components/shared/Table/Th.js.map +1 -1
- package/lib/components/shared/Table/Th.spec.js +0 -2
- package/lib/components/shared/Table/Th.spec.js.map +1 -1
- package/lib/components/shared/Table/Thead.d.ts +0 -1
- package/lib/components/shared/Table/Thead.js +2 -2
- package/lib/components/shared/Table/Thead.js.map +1 -1
- package/lib/components/shared/Table/Thead.spec.js +1 -6
- package/lib/components/shared/Table/Thead.spec.js.map +1 -1
- package/lib/components/shared/Table/Tr.d.ts +0 -1
- package/lib/components/shared/Table/Tr.js +2 -2
- package/lib/components/shared/Table/Tr.js.map +1 -1
- package/lib/components/shared/Table/Tr.spec.js +2 -3
- package/lib/components/shared/Table/Tr.spec.js.map +1 -1
- package/lib/components/type.d.ts +10 -10
- package/lib/index.d.ts +1 -1
- package/lib/use-lunatic/actions.d.ts +3 -52
- package/lib/use-lunatic/actions.js +0 -7
- package/lib/use-lunatic/actions.js.map +1 -1
- package/lib/use-lunatic/commons/check-loops.d.ts +2 -2
- package/lib/use-lunatic/commons/check-loops.js.map +1 -1
- package/lib/use-lunatic/commons/compile-controls.d.ts +2 -2
- package/lib/use-lunatic/commons/compile-controls.js +5 -3
- package/lib/use-lunatic/commons/compile-controls.js.map +1 -1
- package/lib/use-lunatic/commons/create-map-pages.d.ts +2 -2
- package/lib/use-lunatic/commons/create-map-pages.js.map +1 -1
- package/lib/use-lunatic/commons/execute-condition-filter.d.ts +2 -2
- package/lib/use-lunatic/commons/execute-condition-filter.js +3 -4
- package/lib/use-lunatic/commons/execute-condition-filter.js.map +1 -1
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.d.ts +614 -6
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +6 -13
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.spec.js +1 -1
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.spec.js.map +1 -1
- package/lib/use-lunatic/commons/fill-components/fill-components.d.ts +19 -17
- package/lib/use-lunatic/commons/fill-components/fill-components.js +29 -29
- package/lib/use-lunatic/commons/fill-components/fill-components.js.map +1 -1
- package/lib/use-lunatic/commons/get-components-from-state.d.ts +2 -3
- package/lib/use-lunatic/commons/get-components-from-state.js +1 -2
- package/lib/use-lunatic/commons/get-components-from-state.js.map +1 -1
- package/lib/use-lunatic/commons/index.d.ts +0 -3
- package/lib/use-lunatic/commons/index.js +0 -3
- package/lib/use-lunatic/commons/index.js.map +1 -1
- package/lib/use-lunatic/commons/page.d.ts +2 -2
- package/lib/use-lunatic/commons/page.js +2 -1
- package/lib/use-lunatic/commons/page.js.map +1 -1
- package/lib/use-lunatic/hooks/use-loop-variables.d.ts +2 -2
- package/lib/use-lunatic/hooks/use-loop-variables.js.map +1 -1
- package/lib/use-lunatic/hooks/use-page-has-response.d.ts +2 -2
- package/lib/use-lunatic/hooks/use-page-has-response.js.map +1 -1
- package/lib/use-lunatic/hooks/useOverview.d.ts +2 -2
- package/lib/use-lunatic/hooks/useOverview.js.map +1 -1
- package/lib/use-lunatic/props/propComponentType.d.ts +9 -0
- package/lib/use-lunatic/{commons/fill-components/fill-specific-expression.js → props/propComponentType.js} +21 -27
- package/lib/use-lunatic/props/propComponentType.js.map +1 -0
- package/lib/use-lunatic/props/propIterations.d.ts +7 -0
- package/lib/use-lunatic/props/propIterations.js +26 -0
- package/lib/use-lunatic/props/propIterations.js.map +1 -0
- package/lib/use-lunatic/props/propMissingResponse.d.ts +9 -0
- package/lib/use-lunatic/props/propMissingResponse.js +13 -0
- package/lib/use-lunatic/props/propMissingResponse.js.map +1 -0
- package/lib/use-lunatic/props/propValue.d.ts +6 -0
- package/lib/use-lunatic/props/propValue.js +28 -0
- package/lib/use-lunatic/props/propValue.js.map +1 -0
- package/lib/use-lunatic/{commons/fill-components/fill-component-value.spec.js → props/propValue.spec.js} +6 -6
- package/lib/use-lunatic/props/propValue.spec.js.map +1 -0
- package/lib/use-lunatic/reducer/commons/auto-explore-loop.d.ts +2 -2
- package/lib/use-lunatic/reducer/commons/auto-explore-loop.js.map +1 -1
- package/lib/use-lunatic/reducer/commons/validate-condition-filter.d.ts +2 -2
- package/lib/use-lunatic/reducer/commons/validate-condition-filter.js.map +1 -1
- package/lib/use-lunatic/reducer/controls/check-base-control.d.ts +2 -2
- package/lib/use-lunatic/reducer/controls/check-base-control.js.map +1 -1
- package/lib/use-lunatic/reducer/controls/check-roundabout-control.d.ts +2 -2
- package/lib/use-lunatic/reducer/controls/check-roundabout-control.js.map +1 -1
- package/lib/use-lunatic/reducer/overview/overviewOnInit.d.ts +4 -105
- package/lib/use-lunatic/reducer/overview/overviewOnInit.js +1 -12
- package/lib/use-lunatic/reducer/overview/overviewOnInit.js.map +1 -1
- package/lib/use-lunatic/reducer/reduce-go-next-page.d.ts +2 -2
- package/lib/use-lunatic/reducer/reduce-go-next-page.js.map +1 -1
- package/lib/use-lunatic/reducer/reduce-go-previous-page.d.ts +2 -3
- package/lib/use-lunatic/reducer/reduce-go-previous-page.js +1 -2
- package/lib/use-lunatic/reducer/reduce-go-previous-page.js.map +1 -1
- package/lib/use-lunatic/reducer/reduce-go-to-page.d.ts +2 -3
- package/lib/use-lunatic/reducer/reduce-go-to-page.js +1 -2
- package/lib/use-lunatic/reducer/reduce-go-to-page.js.map +1 -1
- package/lib/use-lunatic/reducer/reduce-handle-change.d.ts +2 -2
- package/lib/use-lunatic/reducer/reduce-handle-change.js.map +1 -1
- package/lib/use-lunatic/reducer/reducer.d.ts +2 -3
- package/lib/use-lunatic/reducer/reducer.js +3 -10
- package/lib/use-lunatic/reducer/reducer.js.map +1 -1
- package/lib/use-lunatic/reducer/reducerInitializer.d.ts +10 -0
- package/lib/use-lunatic/reducer/{reduce-on-init.js → reducerInitializer.js} +70 -72
- package/lib/use-lunatic/reducer/reducerInitializer.js.map +1 -0
- package/lib/use-lunatic/type.d.ts +77 -49
- package/lib/use-lunatic/use-lunatic.d.ts +23 -69
- package/lib/use-lunatic/use-lunatic.js +69 -74
- package/lib/use-lunatic/use-lunatic.js.map +1 -1
- package/lib/utils/object.d.ts +1 -0
- package/lib/utils/object.js +6 -0
- package/lib/utils/object.js.map +1 -1
- package/package.json +2 -1
- package/lib/stories/behaviour/cleaning/source-loop.json +0 -130
- package/lib/stories/behaviour/resizing/source-resizing-cleaning.json +0 -171
- package/lib/stories/overview/dataLoop.json +0 -189
- package/lib/stories/overview/source.json +0 -28
- package/lib/stories/overview/sourceLoop.json +0 -1423
- package/lib/stories/questionnaires/logement/source.json +0 -31762
- package/lib/stories/questionnaires2023/simpsons/source.json +0 -4728
- package/lib/use-lunatic/commons/fill-components/fill-component-required.d.ts +0 -442
- package/lib/use-lunatic/commons/fill-components/fill-component-required.js +0 -13
- package/lib/use-lunatic/commons/fill-components/fill-component-required.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-component-value.d.ts +0 -5
- package/lib/use-lunatic/commons/fill-components/fill-component-value.js +0 -34
- package/lib/use-lunatic/commons/fill-components/fill-component-value.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-component-value.spec.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-from-state.d.ts +0 -770
- package/lib/use-lunatic/commons/fill-components/fill-from-state.js +0 -18
- package/lib/use-lunatic/commons/fill-components/fill-from-state.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-iterations.d.ts +0 -124
- package/lib/use-lunatic/commons/fill-components/fill-iterations.js +0 -36
- package/lib/use-lunatic/commons/fill-components/fill-iterations.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-management.d.ts +0 -6
- package/lib/use-lunatic/commons/fill-components/fill-management.js +0 -9
- package/lib/use-lunatic/commons/fill-components/fill-management.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-missing-response.d.ts +0 -12
- package/lib/use-lunatic/commons/fill-components/fill-missing-response.js +0 -20
- package/lib/use-lunatic/commons/fill-components/fill-missing-response.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-pagination.d.ts +0 -9
- package/lib/use-lunatic/commons/fill-components/fill-pagination.js +0 -10
- package/lib/use-lunatic/commons/fill-components/fill-pagination.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +0 -1268
- package/lib/use-lunatic/commons/fill-components/fill-specific-expression.js.map +0 -1
- package/lib/use-lunatic/commons/fill-components/index.d.ts +0 -1
- package/lib/use-lunatic/commons/fill-components/index.js +0 -2
- package/lib/use-lunatic/commons/fill-components/index.js.map +0 -1
- package/lib/use-lunatic/commons/use-components-from-state.d.ts +0 -4
- package/lib/use-lunatic/commons/use-components-from-state.js +0 -15
- package/lib/use-lunatic/commons/use-components-from-state.js.map +0 -1
- package/lib/use-lunatic/initial-state.d.ts +0 -3
- package/lib/use-lunatic/initial-state.js +0 -39
- package/lib/use-lunatic/initial-state.js.map +0 -1
- package/lib/use-lunatic/reducer/index.d.ts +0 -1
- package/lib/use-lunatic/reducer/index.js +0 -2
- package/lib/use-lunatic/reducer/index.js.map +0 -1
- package/lib/use-lunatic/reducer/reduce-on-init.d.ts +0 -4
- package/lib/use-lunatic/reducer/reduce-on-init.js.map +0 -1
- package/lib/use-lunatic/reducer/reduce-on-set-waiting.d.ts +0 -4
- package/lib/use-lunatic/reducer/reduce-on-set-waiting.js +0 -8
- package/lib/use-lunatic/reducer/reduce-on-set-waiting.js.map +0 -1
- package/lib/use-lunatic/use-lunatic.test.d.ts +0 -1
- package/lib/use-lunatic/use-lunatic.test.js +0 -280
- package/lib/use-lunatic/use-lunatic.test.js.map +0 -1
- /package/lib/use-lunatic/{commons/fill-components/fill-component-value.spec.d.ts → props/propValue.spec.d.ts} +0 -0
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"resizing": {
|
|
3
|
-
"PRENOM": {
|
|
4
|
-
"variables": ["AGE", "HIDE_AGE"],
|
|
5
|
-
"size": "count(PRENOM)"
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
|
-
"cleaning": {
|
|
9
|
-
"HIDE_AGE": {
|
|
10
|
-
"AGE": "false"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"variables": [
|
|
14
|
-
{
|
|
15
|
-
"variableType": "COLLECTED",
|
|
16
|
-
"values": {
|
|
17
|
-
"COLLECTED": ["John", "Jane"],
|
|
18
|
-
"EDITED": null,
|
|
19
|
-
"INPUTTED": null,
|
|
20
|
-
"FORCED": null,
|
|
21
|
-
"PREVIOUS": null
|
|
22
|
-
},
|
|
23
|
-
"name": "PRENOM"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"variableType": "COLLECTED",
|
|
27
|
-
"values": {
|
|
28
|
-
"COLLECTED": [null],
|
|
29
|
-
"EDITED": null,
|
|
30
|
-
"INPUTTED": null,
|
|
31
|
-
"FORCED": null,
|
|
32
|
-
"PREVIOUS": null
|
|
33
|
-
},
|
|
34
|
-
"name": "AGE"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"variableType": "COLLECTED",
|
|
38
|
-
"values": {
|
|
39
|
-
"COLLECTED": [null],
|
|
40
|
-
"EDITED": null,
|
|
41
|
-
"INPUTTED": null,
|
|
42
|
-
"FORCED": null,
|
|
43
|
-
"PREVIOUS": null
|
|
44
|
-
},
|
|
45
|
-
"name": "HIDE_AGE"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"components": [
|
|
49
|
-
{
|
|
50
|
-
"componentType": "Loop",
|
|
51
|
-
"id": "loop",
|
|
52
|
-
"label": "Ajouter",
|
|
53
|
-
"bindingDependencies": ["PRENOM"],
|
|
54
|
-
"lines": {
|
|
55
|
-
"min": { "value": 1, "type": "VTL" },
|
|
56
|
-
"max": { "value": 10, "type": "VTL" }
|
|
57
|
-
},
|
|
58
|
-
"page": "1",
|
|
59
|
-
"components": [
|
|
60
|
-
{
|
|
61
|
-
"componentType": "Input",
|
|
62
|
-
"label": "Prénom",
|
|
63
|
-
"bindingDependencies": ["PRENOM"],
|
|
64
|
-
"id": "prenom",
|
|
65
|
-
"response": {
|
|
66
|
-
"name": "PRENOM"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"componentType": "Loop",
|
|
73
|
-
"id": "loop2",
|
|
74
|
-
"paginatedLoop": true,
|
|
75
|
-
"bindingDependencies": ["PRENOM"],
|
|
76
|
-
"iterations": { "value": "count(PRENOM)", "type": "VTL" },
|
|
77
|
-
"page": "2",
|
|
78
|
-
"maxPage": "2",
|
|
79
|
-
"components": [
|
|
80
|
-
{
|
|
81
|
-
"componentType": "Input",
|
|
82
|
-
"label": {
|
|
83
|
-
"value": "\"Age de \" || PRENOM",
|
|
84
|
-
"type": "VTL"
|
|
85
|
-
},
|
|
86
|
-
"bindingDependencies": ["AGE"],
|
|
87
|
-
"id": "age",
|
|
88
|
-
"page": "2.1",
|
|
89
|
-
"response": {
|
|
90
|
-
"name": "AGE"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"componentType": "CheckboxBoolean",
|
|
95
|
-
"label": {
|
|
96
|
-
"value": "\"Masquer l'age de \" || PRENOM || \" ?\"",
|
|
97
|
-
"type": "VTL"
|
|
98
|
-
},
|
|
99
|
-
"bindingDependencies": ["HIDE_AGE"],
|
|
100
|
-
"id": "hideage",
|
|
101
|
-
"page": "2.2",
|
|
102
|
-
"response": {
|
|
103
|
-
"name": "HIDE_AGE"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"componentType": "Sequence",
|
|
110
|
-
"conditionFilter": {
|
|
111
|
-
"type": "VTL",
|
|
112
|
-
"value": "true"
|
|
113
|
-
},
|
|
114
|
-
"id": "ksyjs7vy",
|
|
115
|
-
"page": "3",
|
|
116
|
-
"label": {
|
|
117
|
-
"type": "VTL|MD",
|
|
118
|
-
"value": "\"END\""
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"pagination": "question",
|
|
123
|
-
"lunaticModelVersion": "2.3.2-rc4",
|
|
124
|
-
"modele": "TESTSURSUM",
|
|
125
|
-
"enoCoreVersion": "2.4.1-pairwise",
|
|
126
|
-
"generatingDate": "14-04-2023 09:00:09",
|
|
127
|
-
"missing": false,
|
|
128
|
-
"id": "lb3ei722",
|
|
129
|
-
"maxPage": "3"
|
|
130
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "lfrzny8b",
|
|
3
|
-
"modele": "RP",
|
|
4
|
-
"enoCoreVersion": "2.4.1",
|
|
5
|
-
"lunaticModelVersion": "2.3.1",
|
|
6
|
-
"generatingDate": "28-03-2023 12:57:35",
|
|
7
|
-
"missing": false,
|
|
8
|
-
"pagination": "question",
|
|
9
|
-
"maxPage": "2",
|
|
10
|
-
"label": {
|
|
11
|
-
"value": "\"Resizing with cleaning\"",
|
|
12
|
-
"type": "VTL|MD"
|
|
13
|
-
},
|
|
14
|
-
"components": [
|
|
15
|
-
{
|
|
16
|
-
"page": "1",
|
|
17
|
-
"id": "lfwih8tj-habitants",
|
|
18
|
-
"componentType": "InputNumber",
|
|
19
|
-
"mandatory": false,
|
|
20
|
-
"min": 0,
|
|
21
|
-
"max": 25,
|
|
22
|
-
"label": {
|
|
23
|
-
"value": "\"Nombre d'habitant(s) \"",
|
|
24
|
-
"type": "VTL"
|
|
25
|
-
},
|
|
26
|
-
"declarations": [
|
|
27
|
-
{
|
|
28
|
-
"id": "kb9hi4j0-krnoclfe",
|
|
29
|
-
"declarationType": "HELP",
|
|
30
|
-
"position": "DETACHABLE",
|
|
31
|
-
"label": {
|
|
32
|
-
"value": "\"Changing this value should both clean and resize 'PRENOMS'\"",
|
|
33
|
-
"type": "VTL|MD"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"controls": [
|
|
38
|
-
{
|
|
39
|
-
"id": "lfwih8tj-habitants-CI-0",
|
|
40
|
-
"typeOfControl": "CONSISTENCY",
|
|
41
|
-
"criticality": "ERROR",
|
|
42
|
-
"control": {
|
|
43
|
-
"value": "not(isnull(NB))",
|
|
44
|
-
"type": "VTL"
|
|
45
|
-
},
|
|
46
|
-
"errorMessage": {
|
|
47
|
-
"value": "\"Veuillez entrer un nombre d'habitant(s)\"",
|
|
48
|
-
"type": "VTL"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"id": "lfwih8tj-habitants-CI-1",
|
|
53
|
-
"typeOfControl": "CONSISTENCY",
|
|
54
|
-
"criticality": "ERROR",
|
|
55
|
-
"control": {
|
|
56
|
-
"value": "isnull(NB) or NB >= 0",
|
|
57
|
-
"type": "VTL"
|
|
58
|
-
},
|
|
59
|
-
"errorMessage": {
|
|
60
|
-
"value": "\"Veuillez entrer un nombre d'habitant(s) valide\"",
|
|
61
|
-
"type": "VTL"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"conditionFilter": {
|
|
66
|
-
"value": "true",
|
|
67
|
-
"type": "VTL"
|
|
68
|
-
},
|
|
69
|
-
"response": {
|
|
70
|
-
"name": "NB"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"id": "lfwg2ny2-list-habitants",
|
|
75
|
-
"componentType": "Loop",
|
|
76
|
-
"loopDependencies": ["NB"],
|
|
77
|
-
"iterations": {
|
|
78
|
-
"value": "NB",
|
|
79
|
-
"type": "VTL"
|
|
80
|
-
},
|
|
81
|
-
"page": "2",
|
|
82
|
-
"maxPage": "4",
|
|
83
|
-
"depth": 1,
|
|
84
|
-
"paginatedLoop": true,
|
|
85
|
-
"conditionFilter": {
|
|
86
|
-
"value": "NB >= 1",
|
|
87
|
-
"type": "VTL"
|
|
88
|
-
},
|
|
89
|
-
"components": [
|
|
90
|
-
{
|
|
91
|
-
"id": "lfwg2ny2-prenoms",
|
|
92
|
-
"label": {
|
|
93
|
-
"value": "\"Prénom \"",
|
|
94
|
-
"type": "VTL"
|
|
95
|
-
},
|
|
96
|
-
"conditionFilter": {
|
|
97
|
-
"value": "true",
|
|
98
|
-
"type": "VTL"
|
|
99
|
-
},
|
|
100
|
-
"controls": [
|
|
101
|
-
{
|
|
102
|
-
"id": "lfwg2ny2-prenoms-CI-0",
|
|
103
|
-
"typeOfControl": "CONSISTENCY",
|
|
104
|
-
"criticality": "ERROR",
|
|
105
|
-
"control": {
|
|
106
|
-
"value": "not(nvl(PRENOMS, \"\") = \"\")",
|
|
107
|
-
"type": "VTL"
|
|
108
|
-
},
|
|
109
|
-
"errorMessage": {
|
|
110
|
-
"value": "\"Veuillez entrer un prénom\"",
|
|
111
|
-
"type": "VTL"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"id": "lfwg2ny2-prenoms-CI-1",
|
|
116
|
-
"typeOfControl": "CONSISTENCY",
|
|
117
|
-
"criticality": "ERROR",
|
|
118
|
-
"control": {
|
|
119
|
-
"value": "not(match_characters(PRENOMS, \"^[-'a-zA-ZÀ-ÿœ$*\\s]+$\") = false)",
|
|
120
|
-
"type": "VTL"
|
|
121
|
-
},
|
|
122
|
-
"errorMessage": {
|
|
123
|
-
"value": "\"Votre prénom ne peut pas comporter de chiffres ou caractères spéciaux.\"",
|
|
124
|
-
"type": "VTL"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"componentType": "Input",
|
|
129
|
-
"response": {
|
|
130
|
-
"name": "PRENOMS"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"variables": [
|
|
137
|
-
{
|
|
138
|
-
"variableType": "COLLECTED",
|
|
139
|
-
"name": "PRENOMS",
|
|
140
|
-
"values": {
|
|
141
|
-
"PREVIOUS": [null],
|
|
142
|
-
"COLLECTED": [null],
|
|
143
|
-
"FORCED": [null],
|
|
144
|
-
"EDITED": [null],
|
|
145
|
-
"INPUTTED": [null]
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"variableType": "COLLECTED",
|
|
150
|
-
"name": "NB",
|
|
151
|
-
"values": {
|
|
152
|
-
"PREVIOUS": null,
|
|
153
|
-
"COLLECTED": null,
|
|
154
|
-
"FORCED": null,
|
|
155
|
-
"EDITED": null,
|
|
156
|
-
"INPUTTED": null
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
"cleaning": {
|
|
161
|
-
"NB": {
|
|
162
|
-
"PRENOMS": "false"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"resizing": {
|
|
166
|
-
"NB": {
|
|
167
|
-
"size": "cast(NB, integer)",
|
|
168
|
-
"variables": ["PRENOMS"]
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "",
|
|
3
|
-
"questionnaireId": "",
|
|
4
|
-
"data": {
|
|
5
|
-
"EXTERNAL": {},
|
|
6
|
-
"CALCULATED": {
|
|
7
|
-
"T_NBHAB": 3,
|
|
8
|
-
"PRENOMREFB": "Quentin",
|
|
9
|
-
"PRENOMREF": "Quentin",
|
|
10
|
-
"PRENOM": ["Quentin", "Luna", "Paul"],
|
|
11
|
-
"PRENOMB": ["Quentin", "Luna", "Paul"]
|
|
12
|
-
},
|
|
13
|
-
"COLLECTED": {
|
|
14
|
-
"ETAT": {
|
|
15
|
-
"COLLECTED": "1",
|
|
16
|
-
"EDITED": null,
|
|
17
|
-
"FORCED": null,
|
|
18
|
-
"INPUTTED": null,
|
|
19
|
-
"PREVIOUS": null
|
|
20
|
-
},
|
|
21
|
-
"SATISFAIT": {
|
|
22
|
-
"COLLECTED": "1",
|
|
23
|
-
"EDITED": null,
|
|
24
|
-
"FORCED": null,
|
|
25
|
-
"INPUTTED": null,
|
|
26
|
-
"PREVIOUS": null
|
|
27
|
-
},
|
|
28
|
-
"T_NHAB": {
|
|
29
|
-
"COLLECTED": 3,
|
|
30
|
-
"EDITED": null,
|
|
31
|
-
"FORCED": null,
|
|
32
|
-
"INPUTTED": null,
|
|
33
|
-
"PREVIOUS": null
|
|
34
|
-
},
|
|
35
|
-
"T_PRENOM": {
|
|
36
|
-
"COLLECTED": ["Quentin", "Luna", "Paul"],
|
|
37
|
-
"EDITED": [],
|
|
38
|
-
"FORCED": [],
|
|
39
|
-
"INPUTTED": [],
|
|
40
|
-
"PREVIOUS": []
|
|
41
|
-
},
|
|
42
|
-
"COMMCOMPO": {
|
|
43
|
-
"COLLECTED": "super",
|
|
44
|
-
"EDITED": null,
|
|
45
|
-
"FORCED": null,
|
|
46
|
-
"INPUTTED": null,
|
|
47
|
-
"PREVIOUS": null
|
|
48
|
-
},
|
|
49
|
-
"T_SEXE": {
|
|
50
|
-
"COLLECTED": ["1", "2", "1"],
|
|
51
|
-
"EDITED": [],
|
|
52
|
-
"FORCED": [],
|
|
53
|
-
"INPUTTED": [],
|
|
54
|
-
"PREVIOUS": []
|
|
55
|
-
},
|
|
56
|
-
"T_DATENAIS": {
|
|
57
|
-
"COLLECTED": [null, null, null],
|
|
58
|
-
"EDITED": [],
|
|
59
|
-
"FORCED": [],
|
|
60
|
-
"INPUTTED": [],
|
|
61
|
-
"PREVIOUS": []
|
|
62
|
-
},
|
|
63
|
-
"REMARQUES": {
|
|
64
|
-
"COLLECTED": [null, "a", "b"],
|
|
65
|
-
"EDITED": [],
|
|
66
|
-
"FORCED": [],
|
|
67
|
-
"INPUTTED": [],
|
|
68
|
-
"PREVIOUS": []
|
|
69
|
-
},
|
|
70
|
-
"SUPERQUEST": {
|
|
71
|
-
"COLLECTED": ["ok", "ok", null],
|
|
72
|
-
"EDITED": [],
|
|
73
|
-
"FORCED": [],
|
|
74
|
-
"INPUTTED": [],
|
|
75
|
-
"PREVIOUS": []
|
|
76
|
-
},
|
|
77
|
-
"AUTRESUPERQUEST": {
|
|
78
|
-
"COLLECTED": ["a", "c", "ras"],
|
|
79
|
-
"EDITED": [],
|
|
80
|
-
"FORCED": [],
|
|
81
|
-
"INPUTTED": [],
|
|
82
|
-
"PREVIOUS": []
|
|
83
|
-
},
|
|
84
|
-
"ENCOREUNEQ": {
|
|
85
|
-
"COLLECTED": ["wow", "b", null],
|
|
86
|
-
"EDITED": [],
|
|
87
|
-
"FORCED": [],
|
|
88
|
-
"INPUTTED": [],
|
|
89
|
-
"PREVIOUS": []
|
|
90
|
-
},
|
|
91
|
-
"COMMENT_QE": {
|
|
92
|
-
"COLLECTED": null,
|
|
93
|
-
"EDITED": null,
|
|
94
|
-
"FORCED": null,
|
|
95
|
-
"INPUTTED": null,
|
|
96
|
-
"PREVIOUS": null
|
|
97
|
-
},
|
|
98
|
-
"ETAT_MISSING": {
|
|
99
|
-
"COLLECTED": null,
|
|
100
|
-
"EDITED": null,
|
|
101
|
-
"FORCED": null,
|
|
102
|
-
"INPUTTED": null,
|
|
103
|
-
"PREVIOUS": null
|
|
104
|
-
},
|
|
105
|
-
"SATISFAIT_MISSING": {
|
|
106
|
-
"COLLECTED": null,
|
|
107
|
-
"EDITED": null,
|
|
108
|
-
"FORCED": null,
|
|
109
|
-
"INPUTTED": null,
|
|
110
|
-
"PREVIOUS": null
|
|
111
|
-
},
|
|
112
|
-
"T_NHAB_MISSING": {
|
|
113
|
-
"COLLECTED": null,
|
|
114
|
-
"EDITED": null,
|
|
115
|
-
"FORCED": null,
|
|
116
|
-
"INPUTTED": null,
|
|
117
|
-
"PREVIOUS": null
|
|
118
|
-
},
|
|
119
|
-
"T_PRENOM_MISSING": {
|
|
120
|
-
"COLLECTED": null,
|
|
121
|
-
"EDITED": [],
|
|
122
|
-
"FORCED": [],
|
|
123
|
-
"INPUTTED": [],
|
|
124
|
-
"PREVIOUS": []
|
|
125
|
-
},
|
|
126
|
-
"COMMCOMPO_MISSING": {
|
|
127
|
-
"COLLECTED": null,
|
|
128
|
-
"EDITED": null,
|
|
129
|
-
"FORCED": null,
|
|
130
|
-
"INPUTTED": null,
|
|
131
|
-
"PREVIOUS": null
|
|
132
|
-
},
|
|
133
|
-
"T_SEXE_MISSING": {
|
|
134
|
-
"COLLECTED": null,
|
|
135
|
-
"EDITED": [],
|
|
136
|
-
"FORCED": [],
|
|
137
|
-
"INPUTTED": [],
|
|
138
|
-
"PREVIOUS": []
|
|
139
|
-
},
|
|
140
|
-
"T_DATENAIS_MISSING": {
|
|
141
|
-
"COLLECTED": [null, "DK", "RF"],
|
|
142
|
-
"EDITED": [],
|
|
143
|
-
"FORCED": [],
|
|
144
|
-
"INPUTTED": [],
|
|
145
|
-
"PREVIOUS": []
|
|
146
|
-
},
|
|
147
|
-
"REMARQUES_MISSING": {
|
|
148
|
-
"COLLECTED": [null, null, null],
|
|
149
|
-
"EDITED": [],
|
|
150
|
-
"FORCED": [],
|
|
151
|
-
"INPUTTED": [],
|
|
152
|
-
"PREVIOUS": []
|
|
153
|
-
},
|
|
154
|
-
"SUPERQUEST_MISSING": {
|
|
155
|
-
"COLLECTED": [null, null, "DK"],
|
|
156
|
-
"EDITED": [],
|
|
157
|
-
"FORCED": [],
|
|
158
|
-
"INPUTTED": [],
|
|
159
|
-
"PREVIOUS": []
|
|
160
|
-
},
|
|
161
|
-
"ENCOREUNEQ_MISSING": {
|
|
162
|
-
"COLLECTED": [null, null, "RF"],
|
|
163
|
-
"EDITED": [],
|
|
164
|
-
"FORCED": [],
|
|
165
|
-
"INPUTTED": [],
|
|
166
|
-
"PREVIOUS": []
|
|
167
|
-
},
|
|
168
|
-
"AUTRESUPERQUEST_MISSING": {
|
|
169
|
-
"COLLECTED": null,
|
|
170
|
-
"EDITED": [],
|
|
171
|
-
"FORCED": [],
|
|
172
|
-
"INPUTTED": [],
|
|
173
|
-
"PREVIOUS": []
|
|
174
|
-
},
|
|
175
|
-
"COMMENT_QE_MISSING": {
|
|
176
|
-
"COLLECTED": null,
|
|
177
|
-
"EDITED": null,
|
|
178
|
-
"FORCED": null,
|
|
179
|
-
"INPUTTED": null,
|
|
180
|
-
"PREVIOUS": null
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"stateData": {
|
|
185
|
-
"state": "INIT",
|
|
186
|
-
"date": 1712306743767,
|
|
187
|
-
"currentPage": "14"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"components": [
|
|
3
|
-
{
|
|
4
|
-
"componentType": "Overview",
|
|
5
|
-
"label": { "value": "\"What's your name?\"", "type": "VTL|MD" },
|
|
6
|
-
"conditionFilter": { "value": "true", "type": "VTL" },
|
|
7
|
-
"maxLength": 30,
|
|
8
|
-
"id": "name",
|
|
9
|
-
"response": {
|
|
10
|
-
"name": "NAME"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"variables": [
|
|
15
|
-
{
|
|
16
|
-
"variableType": "COLLECTED",
|
|
17
|
-
"name": "NAME",
|
|
18
|
-
"componentRef": "name",
|
|
19
|
-
"values": {
|
|
20
|
-
"PREVIOUS": null,
|
|
21
|
-
"COLLECTED": null,
|
|
22
|
-
"FORCED": null,
|
|
23
|
-
"EDITED": null,
|
|
24
|
-
"INPUTTED": null
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|