@inseefr/lunatic 2.4.5-mvp-eap → 2.4.6-allDecla

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 (132) hide show
  1. package/lib/components/commons/components/combo-box/combo-box-content.js +5 -2
  2. package/lib/components/commons/components/combo-box/combo-box.js +16 -16
  3. package/lib/components/commons/components/combo-box/combo-box.scss +1 -0
  4. package/lib/components/commons/components/combo-box/panel/panel.js +4 -2
  5. package/lib/components/commons/components/combo-box/state-management/reduce-on-init.js +1 -4
  6. package/lib/components/commons/components/dragger/dragger.scss +7 -7
  7. package/lib/components/commons/components/is-network/use-online-status.spec.js +0 -4
  8. package/lib/components/commons/components/lunatic-component-without-label.js +4 -11
  9. package/lib/components/commons/components/md-label/md-label.js +2 -1
  10. package/lib/components/commons/components/orchestrated-component.js +3 -4
  11. package/lib/components/commons/create-row-orchestrator.js +2 -2
  12. package/lib/components/component-set/html/component-set-components.js +6 -2
  13. package/lib/components/component-set/lunatic-component-set.js +3 -1
  14. package/lib/components/declarations/declarations.spec.js +0 -1
  15. package/lib/components/dropdown/html/dropdown-simple/simple-label-renderer.js +1 -1
  16. package/lib/components/dropdown/html/dropdown-simple/simple-option-renderer.js +5 -7
  17. package/lib/components/dropdown/html/dropdown-writable/writable-label-renderer.js +1 -1
  18. package/lib/components/dropdown/html/dropdown-writable/writable-option-renderer.js +1 -1
  19. package/lib/components/dropdown/html/dropdown.scss +0 -3
  20. package/lib/components/dropdown/lunatic-dropdown.js +0 -1
  21. package/lib/components/index.js +14 -0
  22. package/lib/components/input-number/html/input-number.js +1 -2
  23. package/lib/components/input-number/html/input-number.scss +1 -1
  24. package/lib/components/input-number/lunatic-input-number.js +0 -2
  25. package/lib/components/loop/loop.js +4 -6
  26. package/lib/components/loop/roster-for-loop/body.js +52 -0
  27. package/lib/components/loop/roster-for-loop/header.js +34 -0
  28. package/lib/components/loop/roster-for-loop/roster-for-loop-orchestrator.js +0 -1
  29. package/lib/components/loop/roster-for-loop/roster-for-loop.js +33 -45
  30. package/lib/components/loop/roster-for-loop/roster-table.js +17 -22
  31. package/lib/components/loop/roster-for-loop/roster.scss +34 -30
  32. package/lib/components/loop/roster-for-loop/row.js +31 -84
  33. package/lib/components/modal-controls/modal-controls.spec.js +0 -14
  34. package/lib/components/pairwise-links/pairwise-links.js +3 -2
  35. package/lib/components/pairwise-links/row.js +0 -1
  36. package/lib/components/questions/question-context.js +21 -7
  37. package/lib/components/questions/question-context.scss +1 -0
  38. package/lib/components/questions/question-information.js +19 -5
  39. package/lib/components/questions/question-information.scss +1 -0
  40. package/lib/components/roundabout/components/roundabout.scss +0 -3
  41. package/lib/components/sequence/html/sequence.js +13 -6
  42. package/lib/components/sequence/html/sequence.scss +13 -0
  43. package/lib/components/sequence/lunatic-sequence.js +1 -5
  44. package/lib/components/sequence/sequence.spec.js +0 -3
  45. package/lib/components/suggester/html/default-style.scss +1 -6
  46. package/lib/components/suggester/html/suggester.js +12 -31
  47. package/lib/components/suggester/idb-suggester/check-store.js +2 -1
  48. package/lib/components/suggester/idb-suggester/idb-suggester.js +7 -10
  49. package/lib/components/suggester/lunatic-suggester.js +4 -31
  50. package/lib/components/suggester-loader-widget/loader-row.js +2 -1
  51. package/lib/components/switch/html/switch.scss +0 -2
  52. package/lib/components/switch/lunatic-switch.js +1 -1
  53. package/lib/src/components/commons/components/combo-box/combo-box.d.ts +4 -4
  54. package/lib/src/components/commons/components/combo-box/combo-box.stories.d.ts +2 -2
  55. package/lib/src/components/commons/components/combo-box/panel/panel.d.ts +1 -1
  56. package/lib/src/components/commons/components/combo-box/state-management/actions.d.ts +4 -4
  57. package/lib/src/components/commons/components/lunatic-component-without-label.d.ts +1 -1
  58. package/lib/src/components/commons/components/orchestrated-component.d.ts +3 -3
  59. package/lib/src/components/commons/create-row-orchestrator.d.ts +4 -5
  60. package/lib/src/components/component-set/html/component-set-components.d.ts +3 -2
  61. package/lib/src/components/dropdown/html/dropdown-writable/dropdown-writable.d.ts +1 -1
  62. package/lib/src/components/dropdown/html/dropdown.d.ts +1 -2
  63. package/lib/src/components/index.d.ts +2 -0
  64. package/lib/src/components/input-number/html/input-number.d.ts +0 -1
  65. package/lib/src/components/loop/block-for-loop/block-for-loop-ochestrator.d.ts +3 -11
  66. package/lib/src/components/loop/block-for-loop/block-for-loop.d.ts +1 -5
  67. package/lib/src/components/loop/commons/handle-row-button.d.ts +1 -2
  68. package/lib/src/components/loop/roster-for-loop/body.d.ts +12 -0
  69. package/lib/src/components/loop/roster-for-loop/header.d.ts +9 -0
  70. package/lib/src/components/loop/roster-for-loop/roster-for-loop-orchestrator.d.ts +3 -11
  71. package/lib/src/components/loop/roster-for-loop/roster-for-loop.d.ts +4 -8
  72. package/lib/src/components/loop/roster-for-loop/roster-table.d.ts +3 -3
  73. package/lib/src/components/loop/roster-for-loop/row.d.ts +2 -3
  74. package/lib/src/components/questions/question-context.d.ts +1 -2
  75. package/lib/src/components/questions/question-information.d.ts +1 -2
  76. package/lib/src/components/sequence/html/sequence.d.ts +1 -1
  77. package/lib/src/components/sequence/lunatic-sequence.d.ts +1 -1
  78. package/lib/src/components/suggester/html/suggester.d.ts +4 -6
  79. package/lib/src/components/suggester/idb-suggester/idb-suggester.d.ts +3 -4
  80. package/lib/src/components/suggester/idb-suggester/suggester-notification.d.ts +1 -3
  81. package/lib/src/components/suggester/lunatic-suggester.d.ts +1 -1
  82. package/lib/src/components/type.d.ts +7 -28
  83. package/lib/src/hooks/use-ref-sync.d.ts +1 -1
  84. package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +16 -61
  85. package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +0 -36
  86. package/lib/src/use-lunatic/reducer/commons/is-loop-component.d.ts +2 -2
  87. package/lib/src/use-lunatic/reducer/commons/resize-array-variable.d.ts +1 -1
  88. package/lib/src/use-lunatic/reducer/overview/overview-on-init.d.ts +1 -1
  89. package/lib/src/use-lunatic/reducer/reduce-update-state.d.ts +1 -106
  90. package/lib/src/use-lunatic/replace-component-sequence.d.ts +1 -1
  91. package/lib/src/use-lunatic/type-source.d.ts +1 -11
  92. package/lib/src/use-lunatic/type.d.ts +1 -1
  93. package/lib/src/utils/logger.d.ts +6 -0
  94. package/lib/stories/component-set/data2.json +7 -0
  95. package/lib/stories/component-set/source2.json +31 -31
  96. package/lib/stories/custom-mui/suggester-mui/suggester-mui.js +0 -1
  97. package/lib/stories/input/input.stories.js +9 -1
  98. package/lib/stories/input/source-with-question.json +74 -0
  99. package/lib/stories/input-number/input-number.stories.js +1 -8
  100. package/lib/stories/loop/block-for-loop.stories.js +8 -1
  101. package/lib/stories/loop/roster-for-loop.stories.js +1 -8
  102. package/lib/stories/loop/source-with-header.json +3 -15
  103. package/lib/stories/questionnaires/simpsons/simpsons.stories.js +2 -1
  104. package/lib/stories/sequence/afterInSeq.json +293 -0
  105. package/lib/stories/sequence/sequence.stories.js +12 -8
  106. package/lib/stories/sequence/source-declarations.json +9 -0
  107. package/lib/stories/suggester/suggester-workers.stories.js +7 -6
  108. package/lib/stories/suggester/suggester.stories.js +5 -18
  109. package/lib/stories/utils/orchestrator.js +4 -3
  110. package/lib/use-lunatic/commons/calculated-variables.js +1 -1
  111. package/lib/use-lunatic/commons/compile-controls.js +1 -1
  112. package/lib/use-lunatic/commons/execute-expression/create-execute-expression.js +1 -4
  113. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +1 -1
  114. package/lib/use-lunatic/commons/get-component-value/get-component-value.js +0 -8
  115. package/lib/use-lunatic/commons/load-suggesters.js +46 -46
  116. package/lib/use-lunatic/initial-state.js +0 -1
  117. package/lib/use-lunatic/reducer/reducer.js +0 -1
  118. package/lib/utils/logger.js +44 -0
  119. package/lib/utils/suggester-workers/append-to-index/create-append-task.js +2 -1
  120. package/lib/utils/suggester-workers/create-worker-ts.js +2 -1
  121. package/lib/utils/suggester-workers/create-worker.js +2 -1
  122. package/package.json +1 -1
  123. package/lib/components/questions/type.js +0 -5
  124. package/lib/hooks/use-did-change.js +0 -19
  125. package/lib/src/components/questions/type.d.ts +0 -4
  126. package/lib/src/hooks/use-did-change.d.ts +0 -4
  127. package/lib/stories/input-number/source-dynamic.json +0 -41
  128. package/lib/stories/questionnaires/EAP/data-eap.json +0 -46
  129. package/lib/stories/questionnaires/EAP/eap.stories.js +0 -71
  130. package/lib/stories/questionnaires/EAP/source-eap.json +0 -433
  131. package/lib/stories/sequence/source-questions.json +0 -19
  132. package/lib/stories/suggester/multipleResponses.json +0 -100
@@ -1,433 +0,0 @@
1
- {
2
- "cleaning": {},
3
- "suggesters": [
4
- {
5
- "name": "nomenclature-eap",
6
- "fields": [
7
- {
8
- "name": "label",
9
- "rules": ["[\\w]+"],
10
- "language": "French",
11
- "min": 2
12
- },
13
- { "name": "id" }
14
- ],
15
- "queryParser": {
16
- "type": "tokenized",
17
- "params": { "language": "French", "pattern": "[\\w.]+" }
18
- },
19
- "version": "1"
20
- },
21
- {
22
- "name": "nomenclature-multiple",
23
- "fields": [
24
- {
25
- "name": "label",
26
- "rules": ["[\\w]+"],
27
- "language": "French",
28
- "min": 2
29
- },
30
- { "name": "id" }
31
- ],
32
- "queryParser": {
33
- "type": "tokenized",
34
- "params": { "language": "French", "pattern": "[\\w.]+" }
35
- },
36
- "version": "1"
37
- }
38
- ],
39
- "variables": [
40
- {
41
- "variableType": "COLLECTED",
42
- "values": {
43
- "COLLECTED": null,
44
- "EDITED": null,
45
- "INPUTED": null,
46
- "FORCED": null,
47
- "PREVIOUS": null
48
- },
49
- "name": "COMMENT_QE"
50
- },
51
- {
52
- "variableType": "COLLECTED",
53
-
54
- "values": {
55
- "COLLECTED": [null],
56
- "EDITED": [null],
57
- "INPUTED": [null],
58
- "FORCED": [null],
59
- "PREVIOUS": [null]
60
- },
61
- "name": "ID"
62
- },
63
- {
64
- "variableType": "COLLECTED",
65
- "values": {
66
- "COLLECTED": [null],
67
- "EDITED": [null],
68
- "INPUTED": [null],
69
- "FORCED": [null],
70
- "PREVIOUS": [null]
71
- },
72
- "name": "LABEL"
73
- },
74
- {
75
- "variableType": "COLLECTED",
76
- "values": {
77
- "COLLECTED": [null],
78
- "EDITED": [null],
79
- "INPUTED": [null],
80
- "FORCED": [null],
81
- "PREVIOUS": [null]
82
- },
83
- "name": "UNIT"
84
- },
85
- {
86
- "variableType": "COLLECTED",
87
-
88
- "values": {
89
- "COLLECTED": [null],
90
- "EDITED": [null],
91
- "INPUTED": [null],
92
- "FORCED": [null],
93
- "PREVIOUS": [null]
94
- },
95
- "name": "ID_SIMPLE"
96
- },
97
- {
98
- "variableType": "COLLECTED",
99
- "values": {
100
- "COLLECTED": [null],
101
- "EDITED": [null],
102
- "INPUTED": [null],
103
- "FORCED": [null],
104
- "PREVIOUS": [null]
105
- },
106
- "name": "LABEL_SIMPLE"
107
- },
108
- {
109
- "variableType": "COLLECTED",
110
- "values": {
111
- "COLLECTED": [null],
112
- "EDITED": [null],
113
- "INPUTED": [null],
114
- "FORCED": [null],
115
- "PREVIOUS": [null]
116
- },
117
- "name": "UNIT_SIMPLE"
118
- },
119
- {
120
- "variableType": "COLLECTED",
121
- "values": {
122
- "COLLECTED": [null],
123
- "EDITED": [null],
124
- "INPUTED": [null],
125
- "FORCED": [null],
126
- "PREVIOUS": [null]
127
- },
128
- "name": "FACTURATION"
129
- },
130
- {
131
- "variableType": "COLLECTED",
132
- "values": {
133
- "COLLECTED": [null],
134
- "EDITED": [null],
135
- "INPUTED": [null],
136
- "FORCED": [null],
137
- "PREVIOUS": [null]
138
- },
139
- "name": "QUANTITE_PRODUITE"
140
- },
141
- {
142
- "variableType": "COLLECTED",
143
- "values": {
144
- "COLLECTED": [null],
145
- "EDITED": [null],
146
- "INPUTED": [null],
147
- "FORCED": [null],
148
- "PREVIOUS": [null]
149
- },
150
- "name": "QUANTITE_FACTUREE"
151
- }
152
- ],
153
- "components": [
154
- {
155
- "id": "sugg1",
156
- "componentType": "Suggester",
157
- "mandatory": false,
158
- "label": {
159
- "value": "\" Sélectionner un produit\"",
160
- "type": "VTL|MD"
161
- },
162
- "storeName": "nomenclature-multiple",
163
- "conditionFilter": {
164
- "value": "true",
165
- "type": "VTL"
166
- },
167
- "responses": [
168
- {
169
- "id": "id",
170
- "response": { "name": "ID_SIMPLE" }
171
- },
172
-
173
- {
174
- "id": "label",
175
- "response": { "name": "LABEL_SIMPLE" }
176
- },
177
- {
178
- "id": "unit",
179
- "response": { "name": "UNIT_SIMPLE" }
180
- }
181
- ],
182
- "page": "1"
183
- },
184
- {
185
- "componentType": "RosterForLoop",
186
- "bindingDependencies": [
187
- "ID",
188
- "LABEL",
189
- "UNIT",
190
- "FACTURATION",
191
- "QUANTITE_PRODUITE",
192
- "QUANTITE_FACTUREE"
193
- ],
194
- "controls": [
195
- {
196
- "criticality": "ERROR",
197
- "errorMessage": {
198
- "type": "VTL|MD",
199
- "value": "\" La valeur doit être comprise entre 0 et 10000000.\""
200
- },
201
- "typeOfControl": "FORMAT",
202
- "control": {
203
- "type": "VTL",
204
- "value": "not(not(isnull(FACTURATION)) and (0>FACTURATION or 10000000<FACTURATION))"
205
- },
206
- "id": "lh7pozh6-format-borne-inf-sup"
207
- },
208
- {
209
- "criticality": "ERROR",
210
- "errorMessage": {
211
- "type": "VTL|MD",
212
- "value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
213
- },
214
- "typeOfControl": "FORMAT",
215
- "control": {
216
- "type": "VTL",
217
- "value": "not(not(isnull(FACTURATION)) and round(FACTURATION,0)<>FACTURATION)"
218
- },
219
- "id": "lh7pozh6-format-decimal"
220
- },
221
- {
222
- "criticality": "ERROR",
223
- "errorMessage": {
224
- "type": "VTL|MD",
225
- "value": "\" La valeur doit être comprise entre 0 et 100000000.\""
226
- },
227
- "typeOfControl": "FORMAT",
228
- "control": {
229
- "type": "VTL",
230
- "value": "not(not(isnull(QUANTITE_PRODUITE)) and (0>QUANTITE_PRODUITE or 100000000<QUANTITE_PRODUITE))"
231
- },
232
- "id": "lh7pozh6-format-borne-inf-sup"
233
- },
234
- {
235
- "criticality": "ERROR",
236
- "errorMessage": {
237
- "type": "VTL|MD",
238
- "value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
239
- },
240
- "typeOfControl": "FORMAT",
241
- "control": {
242
- "type": "VTL",
243
- "value": "not(not(isnull(QUANTITE_PRODUITE)) and round(QUANTITE_PRODUITE,0)<>QUANTITE_PRODUITE)"
244
- },
245
- "id": "lh7pozh6-format-decimal"
246
- },
247
- {
248
- "criticality": "ERROR",
249
- "errorMessage": {
250
- "type": "VTL|MD",
251
- "value": "\" La valeur doit être comprise entre 0 et 1000000000.\""
252
- },
253
- "typeOfControl": "FORMAT",
254
- "control": {
255
- "type": "VTL",
256
- "value": "not(not(isnull(QUANTITE_FACTUREE)) and (0>QUANTITE_FACTUREE or 1000000000<QUANTITE_FACTUREE))"
257
- },
258
- "id": "lh7pozh6-format-borne-inf-sup"
259
- },
260
- {
261
- "criticality": "ERROR",
262
- "errorMessage": {
263
- "type": "VTL|MD",
264
- "value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
265
- },
266
- "typeOfControl": "FORMAT",
267
- "control": {
268
- "type": "VTL",
269
- "value": "not(not(isnull(QUANTITE_FACTUREE)) and round(QUANTITE_FACTUREE,0)<>QUANTITE_FACTUREE)"
270
- },
271
- "id": "lh7pozh6-format-decimal"
272
- }
273
- ],
274
- "positioning": "HORIZONTAL",
275
- "hierarchy": {
276
- "sequence": {
277
- "id": "la6i18y5",
278
- "page": "1",
279
- "label": {
280
- "type": "VTL|MD",
281
- "value": "\"I - \" || \"Votre production industrielle\""
282
- }
283
- }
284
- },
285
- "header": [
286
- { "label": { "type": "VTL|MD", "value": "\"Produits\"" } },
287
- { "label": { "type": "VTL|MD", "value": "\"Facturations\"" } },
288
- { "label": { "type": "VTL|MD", "value": "\"Quantités produites\"" } },
289
- {
290
- "label": {
291
- "type": "VTL|MD",
292
- "value": "\"Quantités facturées\""
293
- }
294
- }
295
- ],
296
- "lines": {
297
- "min": { "value": "1", "type": "VTL" },
298
- "max": { "value": "300", "type": "VTL" }
299
- },
300
- "conditionFilter": { "type": "VTL", "value": "true" },
301
- "id": "lh7pozh6",
302
- "page": "2",
303
- "label": {
304
- "type": "VTL|MD",
305
- "value": "\"➡ 1. \" || \"Les années précédentes, vous avez déclaré fabriquer les produits ci-dessous, veuillez remplir les informations correspondantes pour l’année 2022\""
306
- },
307
- "components": [
308
- {
309
- "id": "sugg1",
310
- "componentType": "Suggester",
311
- "mandatory": false,
312
- "label": {
313
- "value": "\" Sélectionner un produit\"",
314
- "type": "VTL|MD"
315
- },
316
- "storeName": "nomenclature-eap",
317
- "conditionFilter": {
318
- "value": "true",
319
- "type": "VTL"
320
- },
321
- "responses": [
322
- {
323
- "id": "id",
324
- "response": { "name": "ID" }
325
- },
326
-
327
- {
328
- "id": "label",
329
- "response": { "name": "LABEL" }
330
- },
331
- {
332
- "id": "unit",
333
- "response": { "name": "UNIT" }
334
- }
335
- ]
336
- },
337
- {
338
- "componentType": "InputNumber",
339
- "dynamicUnit": {
340
- "type": "VTL",
341
- "value": "\"k\" || \"€\""
342
- },
343
- "bindingDependencies": ["FACTURATION"],
344
- "min": 0,
345
- "max": 10000000,
346
- "response": { "name": "FACTURATION" },
347
- "decimals": 0,
348
- "id": "lh7pozh6-QOP-lh8v4mbu"
349
- },
350
- {
351
- "componentType": "InputNumber",
352
- "dynamicUnit": {
353
- "type": "VTL",
354
- "value": "UNIT"
355
- },
356
- "conditionFilter": {
357
- "type": "VTL",
358
- "value": "nvl(UNIT,\"\") <> \"\""
359
- },
360
- "bindingDependencies": ["QUANTITE_PRODUITE", "UNIT"],
361
- "min": 0,
362
- "max": 100000000,
363
- "response": { "name": "QUANTITE_PRODUITE" },
364
- "decimals": 0,
365
- "id": "lh7pozh6-QOP-lh8viuae"
366
- },
367
- {
368
- "componentType": "InputNumber",
369
- "dynamicUnit": {
370
- "type": "VTL",
371
- "value": "UNIT"
372
- },
373
- "conditionFilter": {
374
- "type": "VTL",
375
- "value": "nvl(UNIT,\"\") <> \"\""
376
- },
377
- "bindingDependencies": ["QUANTITE_FACTUREE"],
378
- "min": 0,
379
- "max": 1000000000,
380
- "response": { "name": "QUANTITE_FACTUREE" },
381
- "decimals": 0,
382
- "id": "lh7pozh6-QOP-lh8v3u73"
383
- }
384
- ],
385
- "mandatory": false
386
- },
387
- {
388
- "componentType": "Sequence",
389
- "hierarchy": {
390
- "sequence": {
391
- "id": "COMMENT-SEQ",
392
- "page": "3",
393
- "label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
394
- }
395
- },
396
- "conditionFilter": { "type": "VTL", "value": "true" },
397
- "id": "COMMENT-SEQ",
398
- "page": "3",
399
- "label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
400
- },
401
- {
402
- "componentType": "Textarea",
403
- "bindingDependencies": ["COMMENT_QE"],
404
- "response": { "name": "COMMENT_QE" },
405
- "hierarchy": {
406
- "sequence": {
407
- "id": "COMMENT-SEQ",
408
- "page": "3",
409
- "label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
410
- }
411
- },
412
- "conditionFilter": { "type": "VTL", "value": "true" },
413
- "id": "COMMENT-QUESTION",
414
- "page": "4",
415
- "label": {
416
- "type": "VTL|MD",
417
- "value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
418
- },
419
- "mandatory": false,
420
- "maxLength": 2000
421
- }
422
- ],
423
- "pagination": "question",
424
- "resizing": {},
425
- "label": { "type": "VTL|MD", "value": "Hackaton EAP Copie" },
426
- "lunaticModelVersion": "2.3.1",
427
- "modele": "HackEAP",
428
- "enoCoreVersion": "2.4.1",
429
- "generatingDate": "31-05-2023 11:51:48",
430
- "missing": false,
431
- "id": "libjk0lj",
432
- "maxPage": "4"
433
- }
@@ -1,19 +0,0 @@
1
- {
2
- "maxPages": "1",
3
- "components": [
4
- {
5
- "componentType": "Sequence",
6
- "page": "1",
7
- "conditionFilter": { "value": "true", "type": "VTL" },
8
- "label": { "value": "\"Sequence example\"", "type": "VTL|MD" },
9
- "questionInformation": {
10
- "value": "\"Question Information\"",
11
- "type": "VTL|MD"
12
- },
13
- "questionContext": {
14
- "value": "\"Question Context\"",
15
- "type": "VTL|MD"
16
- }
17
- }
18
- ]
19
- }
@@ -1,100 +0,0 @@
1
- {
2
- "maxPage": "2",
3
- "suggesters": [
4
- {
5
- "name": "nomenclature-multiple",
6
- "fields": [
7
- {
8
- "name": "label",
9
- "rules": ["[\\w]+"],
10
- "language": "French",
11
- "min": 2
12
- },
13
- { "name": "id" }
14
- ],
15
- "queryParser": {
16
- "type": "tokenized",
17
- "params": { "language": "French", "pattern": "[\\w.]+" }
18
- },
19
- "version": "1"
20
- }
21
- ],
22
- "components": [
23
- {
24
- "id": "sugg1",
25
- "componentType": "Suggester",
26
- "mandatory": false,
27
- "label": {
28
- "value": "\" Sélectionner un produit\"",
29
- "type": "VTL|MD"
30
- },
31
- "storeName": "nomenclature-multiple",
32
- "conditionFilter": {
33
- "value": "true",
34
- "type": "VTL"
35
- },
36
- "responses": [
37
- {
38
- "id": "id",
39
- "response": { "name": "ID" }
40
- },
41
-
42
- {
43
- "id": "label",
44
- "response": { "name": "LABEL" }
45
- },
46
- {
47
- "id": "unit",
48
- "response": { "name": "UNIT" }
49
- }
50
- ],
51
-
52
- "page": "1"
53
- },
54
- {
55
- "id": "kk",
56
- "componentType": "Sequence",
57
- "label": { "value": "\"END\"", "type": "VTL|MD" },
58
- "conditionFilter": { "value": "true", "type": "VTL" },
59
- "page": "2"
60
- }
61
- ],
62
- "variables": [
63
- {
64
- "variableType": "COLLECTED",
65
- "name": "ID",
66
- "componentRef": "sugg1",
67
- "values": {
68
- "PREVIOUS": null,
69
- "COLLECTED": null,
70
- "FORCED": null,
71
- "EDITED": null,
72
- "INPUTED": null
73
- }
74
- },
75
- {
76
- "variableType": "COLLECTED",
77
- "name": "LABEL",
78
- "componentRef": "sugg1",
79
- "values": {
80
- "PREVIOUS": null,
81
- "COLLECTED": null,
82
- "FORCED": null,
83
- "EDITED": null,
84
- "INPUTED": null
85
- }
86
- },
87
- {
88
- "variableType": "COLLECTED",
89
- "name": "UNIT",
90
- "componentRef": "sugg1",
91
- "values": {
92
- "PREVIOUS": null,
93
- "COLLECTED": null,
94
- "FORCED": null,
95
- "EDITED": null,
96
- "INPUTED": null
97
- }
98
- }
99
- ]
100
- }