@inseefr/lunatic 3.4.4 → 3.4.5-rc.0

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 (1673) hide show
  1. package/README.md +60 -13
  2. package/components/Accordion/Accordion.js +9 -0
  3. package/components/Accordion/Accordion.js.map +1 -0
  4. package/components/CheckboxBoolean/CheckboxBoolean.js +23 -0
  5. package/components/CheckboxBoolean/CheckboxBoolean.js.map +1 -0
  6. package/components/CheckboxBoolean/CheckboxBoolean.spec.js +39 -0
  7. package/components/CheckboxBoolean/CheckboxBoolean.spec.js.map +1 -0
  8. package/components/CheckboxGroup/CheckboxGroup.js +10 -0
  9. package/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
  10. package/components/CheckboxGroup/CustomCheckboxGroup.js +19 -0
  11. package/components/CheckboxGroup/CustomCheckboxGroup.js.map +1 -0
  12. package/components/CheckboxGroup/CustomCheckboxGroup.spec.js +47 -0
  13. package/components/CheckboxGroup/CustomCheckboxGroup.spec.js.map +1 -0
  14. package/components/CheckboxOne/CheckboxOne.js +13 -0
  15. package/components/CheckboxOne/CheckboxOne.js.map +1 -0
  16. package/components/CheckboxOne/CheckboxOne.spec.js +26 -0
  17. package/components/CheckboxOne/CheckboxOne.spec.js.map +1 -0
  18. package/components/Datepicker/Datepicker.js +70 -0
  19. package/components/Datepicker/Datepicker.js.map +1 -0
  20. package/components/Datepicker/Datepicker.spec.js +77 -0
  21. package/components/Datepicker/Datepicker.spec.js.map +1 -0
  22. package/components/Datepicker/DatepickerField.js +19 -0
  23. package/components/Datepicker/DatepickerField.js.map +1 -0
  24. package/components/Dropdown/Dropdown.js +22 -0
  25. package/components/Dropdown/Dropdown.js.map +1 -0
  26. package/components/Dropdown/Dropdown.spec.js +40 -0
  27. package/components/Dropdown/Dropdown.spec.js.map +1 -0
  28. package/components/Dropdown/renderer/SimpleLabelRenderer.js +22 -0
  29. package/components/Dropdown/renderer/SimpleLabelRenderer.js.map +1 -0
  30. package/components/Dropdown/renderer/SimpleOptionRenderer.js +16 -0
  31. package/components/Dropdown/renderer/SimpleOptionRenderer.js.map +1 -0
  32. package/components/Duration/Duration.js +38 -0
  33. package/components/Duration/Duration.js.map +1 -0
  34. package/components/Duration/durationUtils.js +30 -0
  35. package/components/Duration/durationUtils.js.map +1 -0
  36. package/components/Duration/formatDuration.js +21 -0
  37. package/components/Duration/formatDuration.js.map +1 -0
  38. package/components/Duration/formatDuration.spec.js +18 -0
  39. package/components/Duration/formatDuration.spec.js.map +1 -0
  40. package/components/Duration/getDurationFromValue.js +40 -0
  41. package/components/Duration/getDurationFromValue.js.map +1 -0
  42. package/components/FilterDescription/FilterDescription.js +7 -0
  43. package/components/FilterDescription/FilterDescription.js.map +1 -0
  44. package/components/FilterDescription/FilterDescription.spec.js +18 -0
  45. package/components/FilterDescription/FilterDescription.spec.js.map +1 -0
  46. package/components/Input/Input.js +22 -0
  47. package/components/Input/Input.js.map +1 -0
  48. package/components/Input/Input.spec.js +54 -0
  49. package/components/Input/Input.spec.js.map +1 -0
  50. package/components/InputNumber/InputNumber.js +19 -0
  51. package/components/InputNumber/InputNumber.js.map +1 -0
  52. package/components/InputNumber/InputNumber.spec.js +78 -0
  53. package/components/InputNumber/InputNumber.spec.js.map +1 -0
  54. package/components/InputNumber/InputNumberThousand.js +26 -0
  55. package/components/InputNumber/InputNumberThousand.js.map +1 -0
  56. package/components/Loop/Loop.js +62 -0
  57. package/components/Loop/Loop.js.map +1 -0
  58. package/components/Loop/constant.js +13 -0
  59. package/components/Loop/constant.js.map +1 -0
  60. package/components/LunaticComponents.js +87 -0
  61. package/components/LunaticComponents.js.map +1 -0
  62. package/components/PairwiseLinks/PairwiseLinks.js +46 -0
  63. package/components/PairwiseLinks/PairwiseLinks.js.map +1 -0
  64. package/components/Question/Question.js +20 -0
  65. package/components/Question/Question.js.map +1 -0
  66. package/components/Radio/Radio.js +13 -0
  67. package/components/Radio/Radio.js.map +1 -0
  68. package/components/RosterForLoop/RosterForLoop.js +66 -0
  69. package/components/RosterForLoop/RosterForLoop.js.map +1 -0
  70. package/components/RosterForLoop/RosterForLoop.spec.js +30 -0
  71. package/components/RosterForLoop/RosterForLoop.spec.js.map +1 -0
  72. package/components/Roundabout/CustomRoundabout.js +37 -0
  73. package/components/Roundabout/CustomRoundabout.js.map +1 -0
  74. package/components/Roundabout/Roundabout.js +31 -0
  75. package/components/Roundabout/Roundabout.js.map +1 -0
  76. package/components/Roundabout/roundabout.spec.js +49 -0
  77. package/components/Roundabout/roundabout.spec.js.map +1 -0
  78. package/components/Sequence/Sequence.js +12 -0
  79. package/components/Sequence/Sequence.js.map +1 -0
  80. package/components/Subsequence/Subsequence.js +12 -0
  81. package/components/Subsequence/Subsequence.js.map +1 -0
  82. package/components/Subsequence/Subsequence.spec.js +44 -0
  83. package/components/Subsequence/Subsequence.spec.js.map +1 -0
  84. package/components/Suggester/CustomSuggester.js +23 -0
  85. package/components/Suggester/CustomSuggester.js.map +1 -0
  86. package/components/Suggester/Suggester.js +109 -0
  87. package/components/Suggester/Suggester.js.map +1 -0
  88. package/components/Suggester/SuggesterNotification.js +18 -0
  89. package/components/Suggester/SuggesterNotification.js.map +1 -0
  90. package/components/Suggester/SuggesterType.js +3 -0
  91. package/components/Suggester/SuggesterType.js.map +1 -0
  92. package/components/Suggester/useSuggestions.js +90 -0
  93. package/components/Suggester/useSuggestions.js.map +1 -0
  94. package/components/Summary/Summary.js +69 -0
  95. package/components/Summary/Summary.js.map +1 -0
  96. package/components/Switch/Switch.js +36 -0
  97. package/components/Switch/Switch.js.map +1 -0
  98. package/components/Table/Table.js +12 -0
  99. package/components/Table/Table.js.map +1 -0
  100. package/components/Text/Text.js +7 -0
  101. package/components/Text/Text.js.map +1 -0
  102. package/components/Textarea/Textarea.js +18 -0
  103. package/components/Textarea/Textarea.js.map +1 -0
  104. package/components/Textarea/Textarea.spec.js +33 -0
  105. package/components/Textarea/Textarea.spec.js.map +1 -0
  106. package/components/library.js +55 -0
  107. package/components/library.js.map +1 -0
  108. package/components/shared/Button/Button.js +19 -0
  109. package/components/shared/Button/Button.js.map +1 -0
  110. package/components/shared/Button/Button.spec.js +53 -0
  111. package/components/shared/Button/Button.spec.js.map +1 -0
  112. package/components/shared/Button/IconButton.js +13 -0
  113. package/components/shared/Button/IconButton.js.map +1 -0
  114. package/components/shared/Button/IconButton.spec.js +58 -0
  115. package/components/shared/Button/IconButton.spec.js.map +1 -0
  116. package/components/shared/Checkbox/CheckboxOption.js +29 -0
  117. package/components/shared/Checkbox/CheckboxOption.js.map +1 -0
  118. package/components/shared/Checkbox/CheckboxOption.spec.js +54 -0
  119. package/components/shared/Checkbox/CheckboxOption.spec.js.map +1 -0
  120. package/components/shared/Checkbox/getShortcutKey.js +7 -0
  121. package/components/shared/Checkbox/getShortcutKey.js.map +1 -0
  122. package/components/shared/Combobox/Combobox.js +103 -0
  123. package/components/shared/Combobox/Combobox.js.map +1 -0
  124. package/components/shared/Combobox/Combobox.stories.js +48 -0
  125. package/components/shared/Combobox/Combobox.stories.js.map +1 -0
  126. package/components/shared/Combobox/ComboboxContainer.js +12 -0
  127. package/components/shared/Combobox/ComboboxContainer.js.map +1 -0
  128. package/components/shared/Combobox/ComboboxContainer.spec.js +26 -0
  129. package/components/shared/Combobox/ComboboxContainer.spec.js.map +1 -0
  130. package/components/shared/Combobox/ComboboxContent.js +39 -0
  131. package/components/shared/Combobox/ComboboxContent.js.map +1 -0
  132. package/components/shared/Combobox/ComboboxContentBox.js +13 -0
  133. package/components/shared/Combobox/ComboboxContentBox.js.map +1 -0
  134. package/components/shared/Combobox/ComboboxType.js +3 -0
  135. package/components/shared/Combobox/ComboboxType.js.map +1 -0
  136. package/components/shared/Combobox/Panel/ComboboxOption.js +21 -0
  137. package/components/shared/Combobox/Panel/ComboboxOption.js.map +1 -0
  138. package/components/shared/Combobox/Panel/ComboboxOption.spec.js +35 -0
  139. package/components/shared/Combobox/Panel/ComboboxOption.spec.js.map +1 -0
  140. package/components/shared/Combobox/Panel/ComboboxOptionContainer.js +42 -0
  141. package/components/shared/Combobox/Panel/ComboboxOptionContainer.js.map +1 -0
  142. package/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.js +20 -0
  143. package/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.js.map +1 -0
  144. package/components/shared/Combobox/Panel/ComboboxPanel.js +33 -0
  145. package/components/shared/Combobox/Panel/ComboboxPanel.js.map +1 -0
  146. package/components/shared/Combobox/Panel/ComboboxPanel.spec.js +62 -0
  147. package/components/shared/Combobox/Panel/ComboboxPanel.spec.js.map +1 -0
  148. package/components/shared/Combobox/Panel/ComboboxPanelContainer.js +14 -0
  149. package/components/shared/Combobox/Panel/ComboboxPanelContainer.js.map +1 -0
  150. package/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.js +33 -0
  151. package/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.js.map +1 -0
  152. package/components/shared/Combobox/Selection/ComboboxClearButton.js +34 -0
  153. package/components/shared/Combobox/Selection/ComboboxClearButton.js.map +1 -0
  154. package/components/shared/Combobox/Selection/ComboboxClearButton.spec.js +58 -0
  155. package/components/shared/Combobox/Selection/ComboboxClearButton.spec.js.map +1 -0
  156. package/components/shared/Combobox/Selection/ComboboxInput.js +27 -0
  157. package/components/shared/Combobox/Selection/ComboboxInput.js.map +1 -0
  158. package/components/shared/Combobox/Selection/ComboboxLabelSelection.js +37 -0
  159. package/components/shared/Combobox/Selection/ComboboxLabelSelection.js.map +1 -0
  160. package/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.js +29 -0
  161. package/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.js.map +1 -0
  162. package/components/shared/Combobox/Selection/ComboboxSelection.js +24 -0
  163. package/components/shared/Combobox/Selection/ComboboxSelection.js.map +1 -0
  164. package/components/shared/Combobox/Selection/ComboboxSelection.spec.js +38 -0
  165. package/components/shared/Combobox/Selection/ComboboxSelection.spec.js.map +1 -0
  166. package/components/shared/Combobox/constants.js +13 -0
  167. package/components/shared/Combobox/constants.js.map +1 -0
  168. package/components/shared/Combobox/index.js.map +1 -0
  169. package/components/shared/ComponentErrors/ComponentErrors.js +28 -0
  170. package/components/shared/ComponentErrors/ComponentErrors.js.map +1 -0
  171. package/components/shared/ComponentErrors/ComponentErrors.spec.js +42 -0
  172. package/components/shared/ComponentErrors/ComponentErrors.spec.js.map +1 -0
  173. package/components/shared/ComponentWrapper.js +34 -0
  174. package/components/shared/ComponentWrapper.js.map +1 -0
  175. package/components/shared/Declarations/Declarations.js +19 -0
  176. package/components/shared/Declarations/Declarations.js.map +1 -0
  177. package/components/shared/Declarations/Declarations.spec.js +68 -0
  178. package/components/shared/Declarations/Declarations.spec.js.map +1 -0
  179. package/components/shared/Fieldset/Fieldset.js +34 -0
  180. package/components/shared/Fieldset/Fieldset.js.map +1 -0
  181. package/components/shared/Fieldset/Fieldset.spec.js +27 -0
  182. package/components/shared/Fieldset/Fieldset.spec.js.map +1 -0
  183. package/components/shared/HOC/slottableComponent.js +35 -0
  184. package/components/shared/HOC/slottableComponent.js.map +1 -0
  185. package/components/shared/Icons/checkbox-checked-icon.js +9 -0
  186. package/components/shared/Icons/checkbox-checked-icon.js.map +1 -0
  187. package/components/shared/Icons/checkbox-disabled-icon.js +9 -0
  188. package/components/shared/Icons/checkbox-disabled-icon.js.map +1 -0
  189. package/components/shared/Icons/checkbox-unchecked-icon.js +9 -0
  190. package/components/shared/Icons/checkbox-unchecked-icon.js.map +1 -0
  191. package/components/shared/Icons/closed-icon.js +9 -0
  192. package/components/shared/Icons/closed-icon.js.map +1 -0
  193. package/components/shared/Icons/cross-icon.js +9 -0
  194. package/components/shared/Icons/cross-icon.js.map +1 -0
  195. package/components/shared/Icons/icon-props.js +3 -0
  196. package/components/shared/Icons/icon-props.js.map +1 -0
  197. package/components/shared/Icons/index.js +24 -0
  198. package/components/shared/Icons/index.js.map +1 -0
  199. package/components/shared/Icons/load-icon.js +9 -0
  200. package/components/shared/Icons/load-icon.js.map +1 -0
  201. package/components/shared/Icons/lunatic-icon.js +12 -0
  202. package/components/shared/Icons/lunatic-icon.js.map +1 -0
  203. package/components/shared/Icons/network-icon.js +9 -0
  204. package/components/shared/Icons/network-icon.js.map +1 -0
  205. package/components/shared/Icons/on-drag-icon.js +9 -0
  206. package/components/shared/Icons/on-drag-icon.js.map +1 -0
  207. package/components/shared/Icons/opened-icon.js +9 -0
  208. package/components/shared/Icons/opened-icon.js.map +1 -0
  209. package/components/shared/Icons/radio-checked-icon.js +10 -0
  210. package/components/shared/Icons/radio-checked-icon.js.map +1 -0
  211. package/components/shared/Icons/radio-unchecked-icon.js +9 -0
  212. package/components/shared/Icons/radio-unchecked-icon.js.map +1 -0
  213. package/components/shared/Label/Label.js +21 -0
  214. package/components/shared/Label/Label.js.map +1 -0
  215. package/components/shared/Label/Label.spec.js +21 -0
  216. package/components/shared/Label/Label.spec.js.map +1 -0
  217. package/components/shared/LabelDescription.js +17 -0
  218. package/components/shared/LabelDescription.js.map +1 -0
  219. package/components/shared/MDLabel/MDLabel.js +26 -0
  220. package/components/shared/MDLabel/MDLabel.js.map +1 -0
  221. package/components/shared/MDLabel/MDLabel.spec.js +112 -0
  222. package/components/shared/MDLabel/MDLabel.spec.js.map +1 -0
  223. package/components/shared/MDLabel/MarkdownLink.js +17 -0
  224. package/components/shared/MDLabel/MarkdownLink.js.map +1 -0
  225. package/components/shared/MDLabel/RouterLink.js +10 -0
  226. package/components/shared/MDLabel/RouterLink.js.map +1 -0
  227. package/components/shared/Missing/Missing.js +56 -0
  228. package/components/shared/Missing/Missing.js.map +1 -0
  229. package/components/shared/Missing/Missing.spec.js +47 -0
  230. package/components/shared/Missing/Missing.spec.js.map +1 -0
  231. package/components/shared/ModalControls/ModalControls.js +35 -0
  232. package/components/shared/ModalControls/ModalControls.js.map +1 -0
  233. package/components/shared/ModalControls/ModalControls.spec.js +63 -0
  234. package/components/shared/ModalControls/ModalControls.spec.js.map +1 -0
  235. package/components/shared/Notification.js +14 -0
  236. package/components/shared/Notification.js.map +1 -0
  237. package/components/shared/Radio/RadioGroup.js +26 -0
  238. package/components/shared/Radio/RadioGroup.js.map +1 -0
  239. package/components/shared/Radio/RadioOption.js +43 -0
  240. package/components/shared/Radio/RadioOption.js.map +1 -0
  241. package/components/shared/Radio/RadioOption.spec.js +48 -0
  242. package/components/shared/Radio/RadioOption.spec.js.map +1 -0
  243. package/components/shared/Table/Table.js +19 -0
  244. package/components/shared/Table/Table.js.map +1 -0
  245. package/components/shared/Table/Table.spec.js +17 -0
  246. package/components/shared/Table/Table.spec.js.map +1 -0
  247. package/components/shared/Table/TableHeader.js +17 -0
  248. package/components/shared/Table/TableHeader.js.map +1 -0
  249. package/components/shared/Table/Tbody.js +14 -0
  250. package/components/shared/Table/Tbody.js.map +1 -0
  251. package/components/shared/Table/Tbody.spec.js +24 -0
  252. package/components/shared/Table/Tbody.spec.js.map +1 -0
  253. package/components/shared/Table/Td.js +14 -0
  254. package/components/shared/Table/Td.js.map +1 -0
  255. package/components/shared/Table/Td.spec.js +23 -0
  256. package/components/shared/Table/Td.spec.js.map +1 -0
  257. package/components/shared/Table/Th.js +14 -0
  258. package/components/shared/Table/Th.js.map +1 -0
  259. package/components/shared/Table/Th.spec.js +27 -0
  260. package/components/shared/Table/Th.spec.js.map +1 -0
  261. package/components/shared/Table/Thead.js +14 -0
  262. package/components/shared/Table/Thead.js.map +1 -0
  263. package/components/shared/Table/Thead.spec.js +14 -0
  264. package/components/shared/Table/Thead.spec.js.map +1 -0
  265. package/components/shared/Table/Tr.js +14 -0
  266. package/components/shared/Table/Tr.js.map +1 -0
  267. package/components/shared/Table/Tr.spec.js +21 -0
  268. package/components/shared/Table/Tr.spec.js.map +1 -0
  269. package/components/shared/Table/index.js +18 -0
  270. package/components/shared/Table/index.js.map +1 -0
  271. package/components/type.js +3 -0
  272. package/components/type.js.map +1 -0
  273. package/constants/component-types.js +5 -0
  274. package/constants/component-types.js.map +1 -0
  275. package/constants/declarations.js +15 -0
  276. package/constants/declarations.js.map +1 -0
  277. package/constants/event-types.js +16 -0
  278. package/constants/event-types.js.map +1 -0
  279. package/constants/index.js +22 -0
  280. package/constants/index.js.map +1 -0
  281. package/constants/indexedDBStore.js +22 -0
  282. package/constants/indexedDBStore.js.map +1 -0
  283. package/constants/supported-preferences.js +36 -0
  284. package/constants/supported-preferences.js.map +1 -0
  285. package/constants/value-types.js +9 -0
  286. package/constants/value-types.js.map +1 -0
  287. package/constants/variable-types.js +8 -0
  288. package/constants/variable-types.js.map +1 -0
  289. package/hooks/use-auto-focus.js +22 -0
  290. package/hooks/use-auto-focus.js.map +1 -0
  291. package/hooks/use-track-changes.js +44 -0
  292. package/hooks/use-track-changes.js.map +1 -0
  293. package/hooks/use-why-render.js +17 -0
  294. package/hooks/use-why-render.js.map +1 -0
  295. package/hooks/useDebounce.js +30 -0
  296. package/hooks/useDebounce.js.map +1 -0
  297. package/hooks/useDocumentEvent.js +20 -0
  298. package/hooks/useDocumentEvent.js.map +1 -0
  299. package/hooks/useKeyboardKey.js +28 -0
  300. package/hooks/useKeyboardKey.js.map +1 -0
  301. package/hooks/useListKeyboardHandler.js +31 -0
  302. package/hooks/useListKeyboardHandler.js.map +1 -0
  303. package/hooks/useRefSync.js +13 -0
  304. package/hooks/useRefSync.js.map +1 -0
  305. package/i18n/build-dictionary.js +41 -0
  306. package/i18n/build-dictionary.js.map +1 -0
  307. package/i18n/dictionary.js +29 -0
  308. package/i18n/dictionary.js.map +1 -0
  309. package/i18n/index.js +42 -0
  310. package/i18n/index.js.map +1 -0
  311. package/i18n/inputNumberProps.js +10 -0
  312. package/i18n/inputNumberProps.js.map +1 -0
  313. package/index.js +24 -0
  314. package/index.js.map +1 -0
  315. package/package.json +1279 -122
  316. package/src/components/Accordion/Accordion.tsx +18 -0
  317. package/src/components/CheckboxBoolean/CheckboxBoolean.spec.tsx +84 -0
  318. package/src/components/CheckboxBoolean/CheckboxBoolean.tsx +81 -0
  319. package/src/components/CheckboxGroup/CheckboxGroup.tsx +31 -0
  320. package/src/components/CheckboxGroup/CustomCheckboxGroup.spec.tsx +51 -0
  321. package/src/components/CheckboxGroup/CustomCheckboxGroup.tsx +84 -0
  322. package/src/components/CheckboxOne/CheckboxOne.spec.tsx +44 -0
  323. package/src/components/CheckboxOne/CheckboxOne.tsx +39 -0
  324. package/src/components/Datepicker/Datepicker.spec.tsx +105 -0
  325. package/src/components/Datepicker/Datepicker.tsx +165 -0
  326. package/src/components/Datepicker/DatepickerField.tsx +58 -0
  327. package/src/components/Datepicker/__snapshots__/Datepicker.spec.tsx.snap +166 -0
  328. package/src/components/Dropdown/Dropdown.spec.tsx +42 -0
  329. package/src/components/Dropdown/Dropdown.tsx +69 -0
  330. package/src/components/Dropdown/__snapshots__/Dropdown.spec.tsx.snap +73 -0
  331. package/src/components/Dropdown/renderer/SimpleLabelRenderer.tsx +26 -0
  332. package/src/components/Dropdown/renderer/SimpleOptionRenderer.tsx +26 -0
  333. package/src/components/Duration/Duration.tsx +97 -0
  334. package/src/components/Duration/durationUtils.ts +39 -0
  335. package/src/components/Duration/formatDuration.spec.ts +15 -0
  336. package/src/components/Duration/formatDuration.ts +19 -0
  337. package/src/components/Duration/getDurationFromValue.ts +43 -0
  338. package/src/components/FilterDescription/FilterDescription.spec.tsx +20 -0
  339. package/src/components/FilterDescription/FilterDescription.tsx +16 -0
  340. package/src/components/Input/Input.spec.tsx +76 -0
  341. package/src/components/Input/Input.tsx +77 -0
  342. package/src/components/Input/__snapshots__/Input.spec.tsx.snap +36 -0
  343. package/src/components/InputNumber/InputNumber.spec.tsx +115 -0
  344. package/src/components/InputNumber/InputNumber.tsx +83 -0
  345. package/src/components/InputNumber/InputNumberThousand.tsx +73 -0
  346. package/src/components/InputNumber/__snapshots__/InputNumber.spec.tsx.snap +40 -0
  347. package/src/components/Loop/Loop.tsx +137 -0
  348. package/src/components/Loop/constant.ts +9 -0
  349. package/src/components/LunaticComponents.tsx +187 -0
  350. package/src/components/PairwiseLinks/PairwiseLinks.tsx +93 -0
  351. package/src/components/Question/Question.tsx +45 -0
  352. package/src/components/Radio/Radio.tsx +41 -0
  353. package/src/components/RosterForLoop/RosterForLoop.spec.tsx +42 -0
  354. package/src/components/RosterForLoop/RosterForLoop.tsx +123 -0
  355. package/src/components/RosterForLoop/__snapshots__/RosterForLoop.spec.tsx.snap +90 -0
  356. package/src/components/Roundabout/CustomRoundabout.tsx +117 -0
  357. package/src/components/Roundabout/Roundabout.tsx +39 -0
  358. package/src/components/Roundabout/roundabout.spec.tsx +77 -0
  359. package/src/components/Sequence/Sequence.tsx +28 -0
  360. package/src/components/Subsequence/Subsequence.spec.tsx +50 -0
  361. package/src/components/Subsequence/Subsequence.tsx +34 -0
  362. package/src/components/Suggester/CustomSuggester.tsx +93 -0
  363. package/src/components/Suggester/Suggester.tsx +160 -0
  364. package/src/components/Suggester/SuggesterNotification.tsx +58 -0
  365. package/src/components/Suggester/SuggesterType.ts +5 -0
  366. package/src/components/Suggester/useSuggestions.ts +113 -0
  367. package/src/components/Summary/Summary.tsx +121 -0
  368. package/src/components/Switch/Switch.tsx +108 -0
  369. package/src/components/Table/Table.tsx +48 -0
  370. package/src/components/Text/Text.tsx +5 -0
  371. package/src/components/Textarea/Textarea.spec.tsx +46 -0
  372. package/src/components/Textarea/Textarea.tsx +82 -0
  373. package/src/components/Textarea/__snapshots__/Textarea.spec.tsx.snap +32 -0
  374. package/src/components/library.ts +58 -0
  375. package/src/components/shared/Button/Button.spec.tsx +75 -0
  376. package/src/components/shared/Button/Button.tsx +61 -0
  377. package/src/components/shared/Button/IconButton.spec.tsx +59 -0
  378. package/src/components/shared/Button/IconButton.tsx +32 -0
  379. package/src/components/shared/Button/__snapshots__/Button.spec.tsx.snap +80 -0
  380. package/src/components/shared/Checkbox/CheckboxOption.spec.tsx +58 -0
  381. package/src/components/shared/Checkbox/CheckboxOption.tsx +98 -0
  382. package/src/components/shared/Checkbox/getShortcutKey.ts +6 -0
  383. package/src/components/shared/Combobox/Combobox.stories.tsx +74 -0
  384. package/src/components/shared/Combobox/Combobox.tsx +225 -0
  385. package/src/components/shared/Combobox/ComboboxContainer.spec.tsx +37 -0
  386. package/src/components/shared/Combobox/ComboboxContainer.tsx +40 -0
  387. package/src/components/shared/Combobox/ComboboxContent.tsx +74 -0
  388. package/src/components/shared/Combobox/ComboboxContentBox.tsx +21 -0
  389. package/src/components/shared/Combobox/ComboboxType.ts +54 -0
  390. package/src/components/shared/Combobox/Panel/ComboboxOption.spec.tsx +37 -0
  391. package/src/components/shared/Combobox/Panel/ComboboxOption.tsx +41 -0
  392. package/src/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.tsx +18 -0
  393. package/src/components/shared/Combobox/Panel/ComboboxOptionContainer.tsx +67 -0
  394. package/src/components/shared/Combobox/Panel/ComboboxPanel.spec.tsx +97 -0
  395. package/src/components/shared/Combobox/Panel/ComboboxPanel.tsx +94 -0
  396. package/src/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.tsx +61 -0
  397. package/src/components/shared/Combobox/Panel/ComboboxPanelContainer.tsx +26 -0
  398. package/src/components/shared/Combobox/Selection/ComboboxClearButton.spec.tsx +74 -0
  399. package/src/components/shared/Combobox/Selection/ComboboxClearButton.tsx +55 -0
  400. package/src/components/shared/Combobox/Selection/ComboboxInput.tsx +71 -0
  401. package/src/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.tsx +44 -0
  402. package/src/components/shared/Combobox/Selection/ComboboxLabelSelection.tsx +70 -0
  403. package/src/components/shared/Combobox/Selection/ComboboxSelection.spec.tsx +65 -0
  404. package/src/components/shared/Combobox/Selection/ComboboxSelection.tsx +77 -0
  405. package/src/components/shared/Combobox/Selection/__snapshots__/ComboboxSelection.spec.tsx.snap +76 -0
  406. package/src/components/shared/Combobox/constants.ts +9 -0
  407. package/src/components/shared/Combobox/index.ts +0 -0
  408. package/src/components/shared/ComponentErrors/ComponentErrors.spec.tsx +46 -0
  409. package/src/components/shared/ComponentErrors/ComponentErrors.tsx +48 -0
  410. package/src/components/shared/ComponentWrapper.tsx +66 -0
  411. package/src/components/shared/Declarations/Declarations.spec.tsx +101 -0
  412. package/src/components/shared/Declarations/Declarations.tsx +70 -0
  413. package/src/components/shared/Fieldset/Fieldset.spec.tsx +28 -0
  414. package/src/components/shared/Fieldset/Fieldset.tsx +47 -0
  415. package/src/components/shared/HOC/slottableComponent.tsx +155 -0
  416. package/src/components/shared/Icons/checkbox-checked-icon.tsx +27 -0
  417. package/src/components/shared/Icons/checkbox-disabled-icon.tsx +27 -0
  418. package/src/components/shared/Icons/checkbox-unchecked-icon.tsx +27 -0
  419. package/src/components/shared/Icons/closed-icon.tsx +22 -0
  420. package/src/components/shared/Icons/cross-icon.tsx +22 -0
  421. package/src/components/shared/Icons/icon-props.ts +5 -0
  422. package/src/components/shared/Icons/index.ts +10 -0
  423. package/src/components/shared/Icons/load-icon.tsx +22 -0
  424. package/src/components/shared/Icons/lunatic-icon.tsx +9 -0
  425. package/src/components/shared/Icons/network-icon.tsx +22 -0
  426. package/src/components/shared/Icons/on-drag-icon.tsx +22 -0
  427. package/src/components/shared/Icons/opened-icon.tsx +22 -0
  428. package/src/components/shared/Icons/radio-checked-icon.tsx +29 -0
  429. package/src/components/shared/Icons/radio-unchecked-icon.tsx +27 -0
  430. package/src/components/shared/Label/Label.spec.tsx +41 -0
  431. package/src/components/shared/Label/Label.tsx +46 -0
  432. package/src/components/shared/LabelDescription.tsx +22 -0
  433. package/src/components/shared/MDLabel/MDLabel.spec.tsx +145 -0
  434. package/src/components/shared/MDLabel/MDLabel.tsx +36 -0
  435. package/src/components/shared/MDLabel/MarkdownLink.tsx +43 -0
  436. package/src/components/shared/MDLabel/RouterLink.tsx +13 -0
  437. package/src/components/shared/Missing/Missing.spec.tsx +78 -0
  438. package/src/components/shared/Missing/Missing.tsx +128 -0
  439. package/src/components/shared/ModalControls/ModalControls.spec.tsx +69 -0
  440. package/src/components/shared/ModalControls/ModalControls.tsx +66 -0
  441. package/src/components/shared/Notification.tsx +25 -0
  442. package/src/components/shared/Radio/RadioGroup.tsx +80 -0
  443. package/src/components/shared/Radio/RadioOption.spec.tsx +76 -0
  444. package/src/components/shared/Radio/RadioOption.tsx +132 -0
  445. package/src/components/shared/Table/Table.spec.tsx +17 -0
  446. package/src/components/shared/Table/Table.tsx +48 -0
  447. package/src/components/shared/Table/TableHeader.tsx +24 -0
  448. package/src/components/shared/Table/Tbody.spec.tsx +24 -0
  449. package/src/components/shared/Table/Tbody.tsx +17 -0
  450. package/src/components/shared/Table/Td.spec.tsx +37 -0
  451. package/src/components/shared/Table/Td.tsx +28 -0
  452. package/src/components/shared/Table/Th.spec.tsx +38 -0
  453. package/src/components/shared/Table/Th.tsx +25 -0
  454. package/src/components/shared/Table/Thead.spec.tsx +13 -0
  455. package/src/components/shared/Table/Thead.tsx +17 -0
  456. package/src/components/shared/Table/Tr.spec.tsx +30 -0
  457. package/src/components/shared/Table/Tr.tsx +16 -0
  458. package/src/components/shared/Table/index.ts +7 -0
  459. package/src/components/type.ts +317 -0
  460. package/src/constants/component-types.ts +1 -0
  461. package/src/constants/declarations.ts +14 -0
  462. package/src/constants/event-types.ts +13 -0
  463. package/src/constants/index.ts +5 -0
  464. package/src/constants/indexedDBStore.ts +20 -0
  465. package/src/constants/supported-preferences.ts +10 -0
  466. package/src/constants/value-types.ts +5 -0
  467. package/src/constants/variable-types.ts +4 -0
  468. package/src/css/components/Button.scss +24 -0
  469. package/src/css/components/CheckboxGroup.scss +13 -0
  470. package/src/css/components/CheckboxOne.scss +19 -0
  471. package/src/css/components/CheckboxOption.scss +87 -0
  472. package/src/css/components/Combobox.scss +203 -0
  473. package/src/css/components/ComponentErrors.scss +5 -0
  474. package/src/css/components/Datepicker.scss +19 -0
  475. package/src/css/components/Declarations.scss +42 -0
  476. package/src/css/components/Dragger.scss +8 -0
  477. package/src/css/components/Dropdown.scss +38 -0
  478. package/src/css/components/Duration.scss +9 -0
  479. package/src/css/components/Fieldset.scss +5 -0
  480. package/src/css/components/IconButton.scss +38 -0
  481. package/src/css/components/Input.scss +42 -0
  482. package/src/css/components/InputNumber.scss +11 -0
  483. package/src/css/components/Label.scss +6 -0
  484. package/src/css/components/Missing.scss +27 -0
  485. package/src/css/components/ModalControls.scss +48 -0
  486. package/src/css/components/RosterForLoop.scss +39 -0
  487. package/src/css/components/Roundabout.scss +31 -0
  488. package/src/css/components/Sequence.scss +10 -0
  489. package/src/css/components/Suggester.scss +170 -0
  490. package/src/css/components/SuggesterWidget.scss +176 -0
  491. package/src/css/components/Table.scss +43 -0
  492. package/src/css/components/Textarea.scss +8 -0
  493. package/src/css/components/VariableStatus.scss +36 -0
  494. package/src/css/icons/alert-icon.svg +2 -0
  495. package/src/css/icons/wait-icon.svg +17 -0
  496. package/src/css/icons/warn-icon.svg +1 -0
  497. package/src/css/main.scss +183 -0
  498. package/src/hooks/use-auto-focus.ts +29 -0
  499. package/src/hooks/use-track-changes.ts +59 -0
  500. package/src/hooks/use-why-render.ts +14 -0
  501. package/src/hooks/useDebounce.ts +39 -0
  502. package/src/hooks/useDocumentEvent.ts +27 -0
  503. package/src/hooks/useKeyboardKey.ts +31 -0
  504. package/src/hooks/useListKeyboardHandler.ts +31 -0
  505. package/src/hooks/useRefSync.ts +10 -0
  506. package/src/i18n/build-dictionary.ts +52 -0
  507. package/src/i18n/dictionary.ts +39 -0
  508. package/src/i18n/index.ts +19 -0
  509. package/src/i18n/inputNumberProps.ts +10 -0
  510. package/src/index.ts +41 -0
  511. package/src/insee.d.ts +29 -0
  512. package/src/stories/accordion/accordion.stories.jsx +17 -0
  513. package/src/stories/accordion/source.json +48 -0
  514. package/src/stories/behaviour/cleaning/cleaning.stories.jsx +58 -0
  515. package/src/stories/behaviour/cleaning/source-loop.json +138 -0
  516. package/src/stories/behaviour/cleaning/source.json +152 -0
  517. package/src/stories/behaviour/controls/boucles-n.json +202 -0
  518. package/src/stories/behaviour/controls/controls.stories.jsx +81 -0
  519. package/src/stories/behaviour/controls/loop.json +141 -0
  520. package/src/stories/behaviour/controls/roundabout.json +114 -0
  521. package/src/stories/behaviour/controls/simple-numeric.json +1944 -0
  522. package/src/stories/behaviour/controls/simple.json +667 -0
  523. package/src/stories/behaviour/missing/missing.stories.jsx +60 -0
  524. package/src/stories/behaviour/missing/source.json +818 -0
  525. package/src/stories/behaviour/others/V2_DeclarationsSimples.json +964 -0
  526. package/src/stories/behaviour/others/V2_MinMaxSum_Boucles.json +509 -0
  527. package/src/stories/behaviour/others/V2_QuestSimple_Boucles.json +4347 -0
  528. package/src/stories/behaviour/others/V2_TCMRallyeGames.json +2892 -0
  529. package/src/stories/behaviour/others/test-dylan.json +558 -0
  530. package/src/stories/behaviour/others/test.stories.jsx +78 -0
  531. package/src/stories/behaviour/paste/source.json +36 -0
  532. package/src/stories/behaviour/paste/test.stories.jsx +52 -0
  533. package/src/stories/behaviour/performance/performance.stories.jsx +26 -0
  534. package/src/stories/behaviour/performance/source.json +179 -0
  535. package/src/stories/behaviour/resizing/resizing.stories.jsx +60 -0
  536. package/src/stories/behaviour/resizing/source-resizing-cleaning.json +173 -0
  537. package/src/stories/behaviour/resizing/source.json +789 -0
  538. package/src/stories/behaviour/slots.stories.jsx +32 -0
  539. package/src/stories/checkbox-boolean/checkboxBoolean.stories.jsx +17 -0
  540. package/src/stories/checkbox-boolean/source.json +58 -0
  541. package/src/stories/checkbox-group/checkbox-group.stories.jsx +58 -0
  542. package/src/stories/checkbox-group/source.json +403 -0
  543. package/src/stories/checkbox-group/sourceCondition.json +87 -0
  544. package/src/stories/checkbox-group/sourceDetail.json +310 -0
  545. package/src/stories/checkbox-group/sourceLoop.json +85 -0
  546. package/src/stories/checkbox-one/checkboxOne.stories.jsx +31 -0
  547. package/src/stories/checkbox-one/source.json +54 -0
  548. package/src/stories/checkbox-one/sourceDetail.json +78 -0
  549. package/src/stories/date-picker/data.json +3 -0
  550. package/src/stories/date-picker/datepicker.stories.jsx +26 -0
  551. package/src/stories/date-picker/source.json +65 -0
  552. package/src/stories/declaration/data.json +1 -0
  553. package/src/stories/declaration/input.stories.jsx +18 -0
  554. package/src/stories/declaration/source.json +86 -0
  555. package/src/stories/disabled/data.json +32 -0
  556. package/src/stories/disabled/disabled.stories.jsx +18 -0
  557. package/src/stories/disabled/source.json +383 -0
  558. package/src/stories/dropdown/data.json +16 -0
  559. package/src/stories/dropdown/dropdown.stories.jsx +25 -0
  560. package/src/stories/dropdown/source.json +141 -0
  561. package/src/stories/duration/duration.stories.jsx +25 -0
  562. package/src/stories/duration/mois.json +32 -0
  563. package/src/stories/duration/time.json +32 -0
  564. package/src/stories/filter-description/filter-description.stories.jsx +33 -0
  565. package/src/stories/filter-description/source-options.json +81 -0
  566. package/src/stories/filter-description/source.json +12 -0
  567. package/src/stories/input/data.json +1 -0
  568. package/src/stories/input/input.stories.jsx +18 -0
  569. package/src/stories/input/source.json +35 -0
  570. package/src/stories/input-number/input-number.stories.jsx +18 -0
  571. package/src/stories/input-number/source-euro.json +46 -0
  572. package/src/stories/input-number/source.json +32 -0
  573. package/src/stories/loop/loop.stories.jsx +29 -0
  574. package/src/stories/loop/roster-for-loop.stories.jsx +49 -0
  575. package/src/stories/loop/source-bloc.json +87 -0
  576. package/src/stories/loop/source-paginated.json +115 -0
  577. package/src/stories/loop/source-roster.json +115 -0
  578. package/src/stories/loop/source-with-header.json +136 -0
  579. package/src/stories/markdown/markdown.stories.jsx +20 -0
  580. package/src/stories/markdown/source.json +43 -0
  581. package/src/stories/overview/data.json +1 -0
  582. package/src/stories/overview/dataLoop.json +189 -0
  583. package/src/stories/overview/overview.stories.jsx +28 -0
  584. package/src/stories/overview/source.json +29 -0
  585. package/src/stories/overview/sourceLoop.json +1424 -0
  586. package/src/stories/overview/sourceWithHierarchy.json +6289 -0
  587. package/src/stories/pairwise/data.json +12 -0
  588. package/src/stories/pairwise/pairwise-links.stories.jsx +48 -0
  589. package/src/stories/pairwise/source.json +347 -0
  590. package/src/stories/question/question.stories.jsx +16 -0
  591. package/src/stories/question/source.json +212 -0
  592. package/src/stories/questionnaires/logement/data.json +2686 -0
  593. package/src/stories/questionnaires/logement/logement.stories.jsx +59 -0
  594. package/src/stories/questionnaires/logement/source-sequence.json +34175 -0
  595. package/src/stories/questionnaires/logement/source-sum.json +31800 -0
  596. package/src/stories/questionnaires/logement/source.json +34185 -0
  597. package/src/stories/questionnaires/recensement/data.json +12 -0
  598. package/src/stories/questionnaires/recensement/recensement.stories.jsx +35 -0
  599. package/src/stories/questionnaires/recensement/source.json +15190 -0
  600. package/src/stories/questionnaires/rp/data.json +5 -0
  601. package/src/stories/questionnaires/rp/rp.stories.jsx +23 -0
  602. package/src/stories/questionnaires/rp/source.json +262 -0
  603. package/src/stories/questionnaires/simpsons/simpsons.stories.jsx +246 -0
  604. package/src/stories/questionnaires/simpsons/source.json +5078 -0
  605. package/src/stories/radio/radio.stories.jsx +38 -0
  606. package/src/stories/radio/source.json +51 -0
  607. package/src/stories/radio/sourceCondition.json +75 -0
  608. package/src/stories/radio/sourceDetail.json +97 -0
  609. package/src/stories/radio/sourceHorizontal.json +42 -0
  610. package/src/stories/roundabout/data1.json +25 -0
  611. package/src/stories/roundabout/data2.json +32 -0
  612. package/src/stories/roundabout/roundabout.stories.jsx +32 -0
  613. package/src/stories/roundabout/source.json +294 -0
  614. package/src/stories/sequence/sequence.stories.jsx +29 -0
  615. package/src/stories/sequence/source-declarations.json +43 -0
  616. package/src/stories/sequence/source.json +21 -0
  617. package/src/stories/suggester/fakeReferentiel.json +12 -0
  618. package/src/stories/suggester/source-arbitrary-response.json +178 -0
  619. package/src/stories/suggester/source-error.json +155 -0
  620. package/src/stories/suggester/source-multiline.json +338 -0
  621. package/src/stories/suggester/source-option-responses.json +156 -0
  622. package/src/stories/suggester/source.json +425 -0
  623. package/src/stories/suggester/suggester.stories.jsx +71 -0
  624. package/src/stories/summary/data.json +32 -0
  625. package/src/stories/summary/source.json +370 -0
  626. package/src/stories/summary/summary.stories.jsx +23 -0
  627. package/src/stories/switch/README.md +29 -0
  628. package/src/stories/switch/data-forced.json +48 -0
  629. package/src/stories/switch/source.json +80 -0
  630. package/src/stories/switch/switch.stories.jsx +17 -0
  631. package/src/stories/table/data.json +1 -0
  632. package/src/stories/table/source-colspan.json +315 -0
  633. package/src/stories/table/source.json +34 -0
  634. package/src/stories/table/table-dynamique.json +66 -0
  635. package/src/stories/table/table.stories.jsx +30 -0
  636. package/src/stories/text/data-roster.json +5 -0
  637. package/src/stories/text/source-roster.json +187 -0
  638. package/src/stories/text/source-table.json +293 -0
  639. package/src/stories/text/source.json +14 -0
  640. package/src/stories/text/text.stories.jsx +20 -0
  641. package/src/stories/textarea/data.json +1 -0
  642. package/src/stories/textarea/source.json +36 -0
  643. package/src/stories/textarea/textarea.stories.jsx +18 -0
  644. package/src/stories/utils/SchemaValidator.jsx +40 -0
  645. package/src/stories/utils/custom-lunatic.scss +28 -0
  646. package/src/stories/utils/default-arg-types.js +28 -0
  647. package/src/stories/utils/options.js +19 -0
  648. package/src/stories/utils/orchestrator.jsx +260 -0
  649. package/src/stories/utils/orchestrator.scss +64 -0
  650. package/src/stories/utils/overview.jsx +39 -0
  651. package/src/stories/utils/overview.scss +38 -0
  652. package/src/stories/utils/referentiel.js +7 -0
  653. package/src/test.d.ts +8 -0
  654. package/src/tests/setup.ts +20 -0
  655. package/src/tests/utils/e2e.js +91 -0
  656. package/src/tests/utils/lunatic.ts +37 -0
  657. package/src/tests/utils/timer.ts +3 -0
  658. package/src/type.source.ts +468 -0
  659. package/src/type.utils.ts +8 -0
  660. package/src/use-lunatic/__snapshots__/use-lunatic.test.ts.snap +2502 -0
  661. package/src/use-lunatic/actions.ts +72 -0
  662. package/src/use-lunatic/commons/check-loops.ts +95 -0
  663. package/src/use-lunatic/commons/check-pager.ts +20 -0
  664. package/src/use-lunatic/commons/compile-controls.ts +231 -0
  665. package/src/use-lunatic/commons/component.ts +47 -0
  666. package/src/use-lunatic/commons/create-map-pages.ts +83 -0
  667. package/src/use-lunatic/commons/execute-condition-filter.ts +17 -0
  668. package/src/use-lunatic/commons/fill-components/fill-component-expressions.spec.ts +88 -0
  669. package/src/use-lunatic/commons/fill-components/fill-component-expressions.ts +205 -0
  670. package/src/use-lunatic/commons/fill-components/fill-components.ts +75 -0
  671. package/src/use-lunatic/commons/get-compatible-vtl-expression.ts +23 -0
  672. package/src/use-lunatic/commons/get-components-from-state.ts +25 -0
  673. package/src/use-lunatic/commons/is-First-last-page.ts +10 -0
  674. package/src/use-lunatic/commons/is-paginated-loop.ts +12 -0
  675. package/src/use-lunatic/commons/is-roundabout.ts +8 -0
  676. package/src/use-lunatic/commons/page-navigation.spec.ts +140 -0
  677. package/src/use-lunatic/commons/page-navigation.ts +126 -0
  678. package/src/use-lunatic/commons/page-tag.spec.ts +43 -0
  679. package/src/use-lunatic/commons/page-tag.ts +78 -0
  680. package/src/use-lunatic/commons/page.ts +47 -0
  681. package/src/use-lunatic/commons/variables/behaviours/cleaning-behaviour.ts +73 -0
  682. package/src/use-lunatic/commons/variables/behaviours/missing-behaviour.ts +36 -0
  683. package/src/use-lunatic/commons/variables/behaviours/resizing-behaviour.ts +89 -0
  684. package/src/use-lunatic/commons/variables/errors.ts +35 -0
  685. package/src/use-lunatic/commons/variables/get-questionnaire-data.ts +73 -0
  686. package/src/use-lunatic/commons/variables/lunatic-variables-store.spec.ts +492 -0
  687. package/src/use-lunatic/commons/variables/lunatic-variables-store.ts +493 -0
  688. package/src/use-lunatic/hooks/use-loop-variables.ts +23 -0
  689. package/src/use-lunatic/hooks/use-page-has-response.ts +122 -0
  690. package/src/use-lunatic/hooks/useOverview.ts +152 -0
  691. package/src/use-lunatic/hooks/useWarnDepChange.ts +22 -0
  692. package/src/use-lunatic/logger/ConsoleLogger.ts +13 -0
  693. package/src/use-lunatic/logger/type.ts +11 -0
  694. package/src/use-lunatic/lunatic-context.tsx +78 -0
  695. package/src/use-lunatic/props/getComponentTypeProps.ts +230 -0
  696. package/src/use-lunatic/props/propIterations.ts +51 -0
  697. package/src/use-lunatic/props/propMissingResponse.ts +28 -0
  698. package/src/use-lunatic/props/propOptions.spec.ts +98 -0
  699. package/src/use-lunatic/props/propOptions.ts +99 -0
  700. package/src/use-lunatic/props/propValue.spec.ts +67 -0
  701. package/src/use-lunatic/props/propValue.ts +40 -0
  702. package/src/use-lunatic/reducer/commons/auto-explore-loop.ts +68 -0
  703. package/src/use-lunatic/reducer/commons/resize-array-variable.ts +28 -0
  704. package/src/use-lunatic/reducer/commons/validate-condition-filter.ts +21 -0
  705. package/src/use-lunatic/reducer/controls/check-base-control.ts +47 -0
  706. package/src/use-lunatic/reducer/controls/check-roundabout-control.ts +40 -0
  707. package/src/use-lunatic/reducer/overview/overviewOnInit.ts +74 -0
  708. package/src/use-lunatic/reducer/reduce-go-next-page.ts +72 -0
  709. package/src/use-lunatic/reducer/reduce-go-previous-page.ts +39 -0
  710. package/src/use-lunatic/reducer/reduce-go-to-page.ts +69 -0
  711. package/src/use-lunatic/reducer/reduce-handle-changes.ts +33 -0
  712. package/src/use-lunatic/reducer/reducer.ts +24 -0
  713. package/src/use-lunatic/reducer/reducerInitializer.tsx +178 -0
  714. package/src/use-lunatic/replace-component-sequence.ts +25 -0
  715. package/src/use-lunatic/type.ts +212 -0
  716. package/src/use-lunatic/use-lunatic.test.ts +368 -0
  717. package/src/use-lunatic/use-lunatic.ts +221 -0
  718. package/src/utils/array.spec.ts +48 -0
  719. package/src/utils/array.ts +130 -0
  720. package/src/utils/constants/alphabet.ts +1 -0
  721. package/src/utils/constants/features.ts +4 -0
  722. package/src/utils/constants/links.ts +2 -0
  723. package/src/utils/constants/missing.ts +2 -0
  724. package/src/utils/constants/variable-status.ts +5 -0
  725. package/src/utils/constants/variable-types.ts +1 -0
  726. package/src/utils/dom.ts +33 -0
  727. package/src/utils/env.ts +11 -0
  728. package/src/utils/function.ts +32 -0
  729. package/src/utils/is-element.ts +7 -0
  730. package/src/utils/is-object.ts +6 -0
  731. package/src/utils/logger.ts +17 -0
  732. package/src/utils/number.spec.ts +10 -0
  733. package/src/utils/number.ts +33 -0
  734. package/src/utils/object.ts +35 -0
  735. package/src/utils/search/SearchInterface.ts +17 -0
  736. package/src/utils/search/SearchMinisearch.ts +54 -0
  737. package/src/utils/search/SuggestersDatabase.ts +46 -0
  738. package/src/utils/search/melauto.ts +48 -0
  739. package/src/utils/search/tokenizer.ts +77 -0
  740. package/src/utils/to-number.ts +12 -0
  741. package/src/utils/variables.spec.ts +94 -0
  742. package/src/utils/variables.ts +24 -0
  743. package/src/utils/vtl.ts +116 -0
  744. package/tests/setup.js +20 -0
  745. package/tests/setup.js.map +1 -0
  746. package/tests/utils/lunatic.js +35 -0
  747. package/tests/utils/lunatic.js.map +1 -0
  748. package/tests/utils/timer.js +7 -0
  749. package/tests/utils/timer.js.map +1 -0
  750. package/type.source.js +8 -0
  751. package/type.source.js.map +1 -0
  752. package/type.utils.js +3 -0
  753. package/type.utils.js.map +1 -0
  754. package/use-lunatic/actions.js +31 -0
  755. package/use-lunatic/actions.js.map +1 -0
  756. package/use-lunatic/commons/check-loops.js +68 -0
  757. package/use-lunatic/commons/check-loops.js.map +1 -0
  758. package/use-lunatic/commons/check-pager.js +20 -0
  759. package/use-lunatic/commons/check-pager.js.map +1 -0
  760. package/use-lunatic/commons/compile-controls.js +157 -0
  761. package/use-lunatic/commons/compile-controls.js.map +1 -0
  762. package/use-lunatic/commons/component.js +28 -0
  763. package/use-lunatic/commons/component.js.map +1 -0
  764. package/use-lunatic/commons/create-map-pages.js +63 -0
  765. package/use-lunatic/commons/create-map-pages.js.map +1 -0
  766. package/use-lunatic/commons/execute-condition-filter.js +13 -0
  767. package/use-lunatic/commons/execute-condition-filter.js.map +1 -0
  768. package/use-lunatic/commons/fill-components/fill-component-expressions.js +151 -0
  769. package/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -0
  770. package/use-lunatic/commons/fill-components/fill-component-expressions.spec.js +85 -0
  771. package/use-lunatic/commons/fill-components/fill-component-expressions.spec.js.map +1 -0
  772. package/use-lunatic/commons/fill-components/fill-components.js +46 -0
  773. package/use-lunatic/commons/fill-components/fill-components.js.map +1 -0
  774. package/use-lunatic/commons/get-compatible-vtl-expression.js +21 -0
  775. package/use-lunatic/commons/get-compatible-vtl-expression.js.map +1 -0
  776. package/use-lunatic/commons/get-components-from-state.js +25 -0
  777. package/use-lunatic/commons/get-components-from-state.js.map +1 -0
  778. package/use-lunatic/commons/index.d.ts +6 -0
  779. package/use-lunatic/commons/index.js +21 -0
  780. package/use-lunatic/commons/index.js.map +1 -0
  781. package/use-lunatic/commons/is-First-last-page.js +10 -0
  782. package/use-lunatic/commons/is-First-last-page.js.map +1 -0
  783. package/use-lunatic/commons/is-paginated-loop.js +7 -0
  784. package/use-lunatic/commons/is-paginated-loop.js.map +1 -0
  785. package/use-lunatic/commons/is-roundabout.js +8 -0
  786. package/use-lunatic/commons/is-roundabout.js.map +1 -0
  787. package/use-lunatic/commons/page-navigation.js +99 -0
  788. package/use-lunatic/commons/page-navigation.js.map +1 -0
  789. package/use-lunatic/commons/page-navigation.spec.js +138 -0
  790. package/use-lunatic/commons/page-navigation.spec.js.map +1 -0
  791. package/use-lunatic/commons/page-tag.js +62 -0
  792. package/use-lunatic/commons/page-tag.js.map +1 -0
  793. package/use-lunatic/commons/page-tag.spec.js +40 -0
  794. package/use-lunatic/commons/page-tag.spec.js.map +1 -0
  795. package/use-lunatic/commons/page.js +43 -0
  796. package/use-lunatic/commons/page.js.map +1 -0
  797. package/use-lunatic/commons/variables/behaviours/cleaning-behaviour.js +58 -0
  798. package/use-lunatic/commons/variables/behaviours/cleaning-behaviour.js.map +1 -0
  799. package/use-lunatic/commons/variables/behaviours/missing-behaviour.js +29 -0
  800. package/use-lunatic/commons/variables/behaviours/missing-behaviour.js.map +1 -0
  801. package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +65 -0
  802. package/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -0
  803. package/use-lunatic/commons/variables/errors.js +42 -0
  804. package/use-lunatic/commons/variables/errors.js.map +1 -0
  805. package/use-lunatic/commons/variables/get-questionnaire-data.js +56 -0
  806. package/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -0
  807. package/use-lunatic/commons/variables/lunatic-variables-store.js +361 -0
  808. package/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -0
  809. package/use-lunatic/commons/variables/lunatic-variables-store.spec.js +440 -0
  810. package/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -0
  811. package/use-lunatic/hooks/use-loop-variables.js +20 -0
  812. package/use-lunatic/hooks/use-loop-variables.js.map +1 -0
  813. package/use-lunatic/hooks/use-page-has-response.js +90 -0
  814. package/use-lunatic/hooks/use-page-has-response.js.map +1 -0
  815. package/use-lunatic/hooks/useOverview.js +95 -0
  816. package/use-lunatic/hooks/useOverview.js.map +1 -0
  817. package/use-lunatic/hooks/useWarnDepChange.js +20 -0
  818. package/use-lunatic/hooks/useWarnDepChange.js.map +1 -0
  819. package/use-lunatic/logger/ConsoleLogger.js +16 -0
  820. package/use-lunatic/logger/ConsoleLogger.js.map +1 -0
  821. package/use-lunatic/logger/type.js +3 -0
  822. package/use-lunatic/logger/type.js.map +1 -0
  823. package/use-lunatic/lunatic-context.js +53 -0
  824. package/use-lunatic/lunatic-context.js.map +1 -0
  825. package/use-lunatic/props/getComponentTypeProps.js +167 -0
  826. package/use-lunatic/props/getComponentTypeProps.js.map +1 -0
  827. package/use-lunatic/props/propIterations.js +29 -0
  828. package/use-lunatic/props/propIterations.js.map +1 -0
  829. package/use-lunatic/props/propMissingResponse.js +16 -0
  830. package/use-lunatic/props/propMissingResponse.js.map +1 -0
  831. package/use-lunatic/props/propOptions.js +72 -0
  832. package/use-lunatic/props/propOptions.js.map +1 -0
  833. package/use-lunatic/props/propOptions.spec.js +59 -0
  834. package/use-lunatic/props/propOptions.spec.js.map +1 -0
  835. package/use-lunatic/props/propValue.js +31 -0
  836. package/use-lunatic/props/propValue.js.map +1 -0
  837. package/use-lunatic/props/propValue.spec.js +56 -0
  838. package/use-lunatic/props/propValue.spec.js.map +1 -0
  839. package/use-lunatic/reducer/commons/auto-explore-loop.js +55 -0
  840. package/use-lunatic/reducer/commons/auto-explore-loop.js.map +1 -0
  841. package/use-lunatic/reducer/commons/index.d.ts +2 -0
  842. package/use-lunatic/reducer/commons/index.js +24 -0
  843. package/use-lunatic/reducer/commons/index.js.map +1 -0
  844. package/use-lunatic/reducer/commons/resize-array-variable.js +23 -0
  845. package/use-lunatic/reducer/commons/resize-array-variable.js.map +1 -0
  846. package/use-lunatic/reducer/commons/validate-condition-filter.js +14 -0
  847. package/use-lunatic/reducer/commons/validate-condition-filter.js.map +1 -0
  848. package/use-lunatic/reducer/controls/check-base-control.js +38 -0
  849. package/use-lunatic/reducer/controls/check-base-control.js.map +1 -0
  850. package/use-lunatic/reducer/controls/check-roundabout-control.js +25 -0
  851. package/use-lunatic/reducer/controls/check-roundabout-control.js.map +1 -0
  852. package/use-lunatic/reducer/overview/overviewOnInit.js +53 -0
  853. package/use-lunatic/reducer/overview/overviewOnInit.js.map +1 -0
  854. package/use-lunatic/reducer/reduce-go-next-page.js +64 -0
  855. package/use-lunatic/reducer/reduce-go-next-page.js.map +1 -0
  856. package/use-lunatic/reducer/reduce-go-previous-page.js +33 -0
  857. package/use-lunatic/reducer/reduce-go-previous-page.js.map +1 -0
  858. package/use-lunatic/reducer/reduce-go-to-page.js +57 -0
  859. package/use-lunatic/reducer/reduce-go-to-page.js.map +1 -0
  860. package/use-lunatic/reducer/reduce-handle-changes.js +29 -0
  861. package/use-lunatic/reducer/reduce-handle-changes.js.map +1 -0
  862. package/use-lunatic/reducer/reducer.js +23 -0
  863. package/use-lunatic/reducer/reducer.js.map +1 -0
  864. package/use-lunatic/reducer/reducerInitializer.js +131 -0
  865. package/use-lunatic/reducer/reducerInitializer.js.map +1 -0
  866. package/use-lunatic/replace-component-sequence.d.ts +36 -0
  867. package/use-lunatic/replace-component-sequence.js +22 -0
  868. package/use-lunatic/replace-component-sequence.js.map +1 -0
  869. package/use-lunatic/type.js +3 -0
  870. package/use-lunatic/type.js.map +1 -0
  871. package/use-lunatic/use-lunatic.js +146 -0
  872. package/use-lunatic/use-lunatic.js.map +1 -0
  873. package/utils/array.js +117 -0
  874. package/utils/array.js.map +1 -0
  875. package/utils/array.spec.js +44 -0
  876. package/utils/array.spec.js.map +1 -0
  877. package/utils/constants/alphabet.js +5 -0
  878. package/utils/constants/alphabet.js.map +1 -0
  879. package/utils/constants/features.js +8 -0
  880. package/utils/constants/features.js.map +1 -0
  881. package/utils/constants/index.d.ts +5 -0
  882. package/utils/constants/index.js +22 -0
  883. package/utils/constants/index.js.map +1 -0
  884. package/utils/constants/links.js +6 -0
  885. package/utils/constants/links.js.map +1 -0
  886. package/utils/constants/missing.js +6 -0
  887. package/utils/constants/missing.js.map +1 -0
  888. package/utils/constants/variable-status.js +9 -0
  889. package/utils/constants/variable-status.js.map +1 -0
  890. package/utils/constants/variable-types.js +5 -0
  891. package/utils/constants/variable-types.js.map +1 -0
  892. package/utils/dom.js +27 -0
  893. package/utils/dom.js.map +1 -0
  894. package/utils/env.js +16 -0
  895. package/utils/env.js.map +1 -0
  896. package/utils/function.js +28 -0
  897. package/utils/function.js.map +1 -0
  898. package/utils/is-element.js +8 -0
  899. package/utils/is-element.js.map +1 -0
  900. package/utils/is-object.js +10 -0
  901. package/utils/is-object.js.map +1 -0
  902. package/utils/logger.js +19 -0
  903. package/utils/logger.js.map +1 -0
  904. package/utils/number.js +37 -0
  905. package/utils/number.js.map +1 -0
  906. package/utils/number.spec.js +12 -0
  907. package/utils/number.spec.js.map +1 -0
  908. package/utils/object.js +31 -0
  909. package/utils/object.js.map +1 -0
  910. package/utils/search/SearchInterface.js +3 -0
  911. package/utils/search/SearchInterface.js.map +1 -0
  912. package/utils/search/SearchMinisearch.js +47 -0
  913. package/utils/search/SearchMinisearch.js.map +1 -0
  914. package/utils/search/SuggestersDatabase.js +42 -0
  915. package/utils/search/SuggestersDatabase.js.map +1 -0
  916. package/utils/search/melauto.js +45 -0
  917. package/utils/search/melauto.js.map +1 -0
  918. package/utils/search/tokenizer.js +63 -0
  919. package/utils/search/tokenizer.js.map +1 -0
  920. package/utils/to-number.js +16 -0
  921. package/utils/to-number.js.map +1 -0
  922. package/utils/variables.js +23 -0
  923. package/utils/variables.js.map +1 -0
  924. package/utils/variables.spec.js +85 -0
  925. package/utils/variables.spec.js.map +1 -0
  926. package/utils/vtl.js +103 -0
  927. package/utils/vtl.js.map +1 -0
  928. package/lib/components/Accordion/Accordion.js +0 -6
  929. package/lib/components/Accordion/Accordion.js.map +0 -1
  930. package/lib/components/CheckboxBoolean/CheckboxBoolean.js +0 -19
  931. package/lib/components/CheckboxBoolean/CheckboxBoolean.js.map +0 -1
  932. package/lib/components/CheckboxBoolean/CheckboxBoolean.spec.js +0 -37
  933. package/lib/components/CheckboxBoolean/CheckboxBoolean.spec.js.map +0 -1
  934. package/lib/components/CheckboxGroup/CheckboxGroup.js +0 -7
  935. package/lib/components/CheckboxGroup/CheckboxGroup.js.map +0 -1
  936. package/lib/components/CheckboxGroup/CustomCheckboxGroup.js +0 -16
  937. package/lib/components/CheckboxGroup/CustomCheckboxGroup.js.map +0 -1
  938. package/lib/components/CheckboxGroup/CustomCheckboxGroup.spec.js +0 -45
  939. package/lib/components/CheckboxGroup/CustomCheckboxGroup.spec.js.map +0 -1
  940. package/lib/components/CheckboxOne/CheckboxOne.js +0 -10
  941. package/lib/components/CheckboxOne/CheckboxOne.js.map +0 -1
  942. package/lib/components/CheckboxOne/CheckboxOne.spec.js +0 -24
  943. package/lib/components/CheckboxOne/CheckboxOne.spec.js.map +0 -1
  944. package/lib/components/Datepicker/Datepicker.js +0 -66
  945. package/lib/components/Datepicker/Datepicker.js.map +0 -1
  946. package/lib/components/Datepicker/Datepicker.spec.js +0 -75
  947. package/lib/components/Datepicker/Datepicker.spec.js.map +0 -1
  948. package/lib/components/Datepicker/DatepickerField.js +0 -13
  949. package/lib/components/Datepicker/DatepickerField.js.map +0 -1
  950. package/lib/components/Dropdown/Dropdown.js +0 -15
  951. package/lib/components/Dropdown/Dropdown.js.map +0 -1
  952. package/lib/components/Dropdown/Dropdown.spec.js +0 -38
  953. package/lib/components/Dropdown/Dropdown.spec.js.map +0 -1
  954. package/lib/components/Dropdown/renderer/SimpleLabelRenderer.js +0 -19
  955. package/lib/components/Dropdown/renderer/SimpleLabelRenderer.js.map +0 -1
  956. package/lib/components/Dropdown/renderer/SimpleOptionRenderer.js +0 -10
  957. package/lib/components/Dropdown/renderer/SimpleOptionRenderer.js.map +0 -1
  958. package/lib/components/Duration/Duration.js +0 -31
  959. package/lib/components/Duration/Duration.js.map +0 -1
  960. package/lib/components/Duration/durationUtils.js +0 -26
  961. package/lib/components/Duration/durationUtils.js.map +0 -1
  962. package/lib/components/Duration/formatDuration.js +0 -18
  963. package/lib/components/Duration/formatDuration.js.map +0 -1
  964. package/lib/components/Duration/formatDuration.spec.js +0 -16
  965. package/lib/components/Duration/formatDuration.spec.js.map +0 -1
  966. package/lib/components/Duration/getDurationFromValue.js +0 -37
  967. package/lib/components/Duration/getDurationFromValue.js.map +0 -1
  968. package/lib/components/FilterDescription/FilterDescription.js +0 -4
  969. package/lib/components/FilterDescription/FilterDescription.js.map +0 -1
  970. package/lib/components/FilterDescription/FilterDescription.spec.js +0 -16
  971. package/lib/components/FilterDescription/FilterDescription.spec.js.map +0 -1
  972. package/lib/components/Input/Input.js +0 -15
  973. package/lib/components/Input/Input.js.map +0 -1
  974. package/lib/components/Input/Input.spec.js +0 -52
  975. package/lib/components/Input/Input.spec.js.map +0 -1
  976. package/lib/components/InputNumber/InputNumber.js +0 -15
  977. package/lib/components/InputNumber/InputNumber.js.map +0 -1
  978. package/lib/components/InputNumber/InputNumber.spec.js +0 -76
  979. package/lib/components/InputNumber/InputNumber.spec.js.map +0 -1
  980. package/lib/components/InputNumber/InputNumberThousand.js +0 -19
  981. package/lib/components/InputNumber/InputNumberThousand.js.map +0 -1
  982. package/lib/components/Loop/Loop.js +0 -55
  983. package/lib/components/Loop/Loop.js.map +0 -1
  984. package/lib/components/Loop/constant.js +0 -10
  985. package/lib/components/Loop/constant.js.map +0 -1
  986. package/lib/components/LunaticComponents.js +0 -83
  987. package/lib/components/LunaticComponents.js.map +0 -1
  988. package/lib/components/PairwiseLinks/PairwiseLinks.js +0 -42
  989. package/lib/components/PairwiseLinks/PairwiseLinks.js.map +0 -1
  990. package/lib/components/Question/Question.js +0 -16
  991. package/lib/components/Question/Question.js.map +0 -1
  992. package/lib/components/Radio/Radio.js +0 -10
  993. package/lib/components/Radio/Radio.js.map +0 -1
  994. package/lib/components/RosterForLoop/RosterForLoop.js +0 -62
  995. package/lib/components/RosterForLoop/RosterForLoop.js.map +0 -1
  996. package/lib/components/RosterForLoop/RosterForLoop.spec.js +0 -28
  997. package/lib/components/RosterForLoop/RosterForLoop.spec.js.map +0 -1
  998. package/lib/components/Roundabout/CustomRoundabout.js +0 -31
  999. package/lib/components/Roundabout/CustomRoundabout.js.map +0 -1
  1000. package/lib/components/Roundabout/Roundabout.js +0 -28
  1001. package/lib/components/Roundabout/Roundabout.js.map +0 -1
  1002. package/lib/components/Roundabout/roundabout.spec.js +0 -47
  1003. package/lib/components/Roundabout/roundabout.spec.js.map +0 -1
  1004. package/lib/components/Sequence/Sequence.js +0 -9
  1005. package/lib/components/Sequence/Sequence.js.map +0 -1
  1006. package/lib/components/Subsequence/Subsequence.js +0 -8
  1007. package/lib/components/Subsequence/Subsequence.js.map +0 -1
  1008. package/lib/components/Subsequence/Subsequence.spec.js +0 -42
  1009. package/lib/components/Subsequence/Subsequence.spec.js.map +0 -1
  1010. package/lib/components/Suggester/CustomSuggester.js +0 -18
  1011. package/lib/components/Suggester/CustomSuggester.js.map +0 -1
  1012. package/lib/components/Suggester/Suggester.js +0 -103
  1013. package/lib/components/Suggester/Suggester.js.map +0 -1
  1014. package/lib/components/Suggester/SuggesterNotification.js +0 -16
  1015. package/lib/components/Suggester/SuggesterNotification.js.map +0 -1
  1016. package/lib/components/Suggester/SuggesterType.js +0 -2
  1017. package/lib/components/Suggester/SuggesterType.js.map +0 -1
  1018. package/lib/components/Suggester/useSuggestions.js +0 -86
  1019. package/lib/components/Suggester/useSuggestions.js.map +0 -1
  1020. package/lib/components/Summary/Summary.js +0 -66
  1021. package/lib/components/Summary/Summary.js.map +0 -1
  1022. package/lib/components/Switch/Switch.js +0 -31
  1023. package/lib/components/Switch/Switch.js.map +0 -1
  1024. package/lib/components/Table/Table.js +0 -9
  1025. package/lib/components/Table/Table.js.map +0 -1
  1026. package/lib/components/Text/Text.js +0 -4
  1027. package/lib/components/Text/Text.js.map +0 -1
  1028. package/lib/components/Textarea/Textarea.js +0 -14
  1029. package/lib/components/Textarea/Textarea.js.map +0 -1
  1030. package/lib/components/Textarea/Textarea.spec.js +0 -31
  1031. package/lib/components/Textarea/Textarea.spec.js.map +0 -1
  1032. package/lib/components/library.js +0 -52
  1033. package/lib/components/library.js.map +0 -1
  1034. package/lib/components/shared/Button/Button.js +0 -14
  1035. package/lib/components/shared/Button/Button.js.map +0 -1
  1036. package/lib/components/shared/Button/Button.spec.js +0 -51
  1037. package/lib/components/shared/Button/Button.spec.js.map +0 -1
  1038. package/lib/components/shared/Button/IconButton.js +0 -7
  1039. package/lib/components/shared/Button/IconButton.js.map +0 -1
  1040. package/lib/components/shared/Button/IconButton.spec.js +0 -53
  1041. package/lib/components/shared/Button/IconButton.spec.js.map +0 -1
  1042. package/lib/components/shared/Checkbox/CheckboxOption.js +0 -27
  1043. package/lib/components/shared/Checkbox/CheckboxOption.js.map +0 -1
  1044. package/lib/components/shared/Checkbox/CheckboxOption.spec.js +0 -52
  1045. package/lib/components/shared/Checkbox/CheckboxOption.spec.js.map +0 -1
  1046. package/lib/components/shared/Checkbox/getShortcutKey.js +0 -3
  1047. package/lib/components/shared/Checkbox/getShortcutKey.js.map +0 -1
  1048. package/lib/components/shared/Combobox/Combobox.js +0 -97
  1049. package/lib/components/shared/Combobox/Combobox.js.map +0 -1
  1050. package/lib/components/shared/Combobox/Combobox.stories.js +0 -46
  1051. package/lib/components/shared/Combobox/Combobox.stories.js.map +0 -1
  1052. package/lib/components/shared/Combobox/ComboboxContainer.js +0 -6
  1053. package/lib/components/shared/Combobox/ComboboxContainer.js.map +0 -1
  1054. package/lib/components/shared/Combobox/ComboboxContainer.spec.js +0 -24
  1055. package/lib/components/shared/Combobox/ComboboxContainer.spec.js.map +0 -1
  1056. package/lib/components/shared/Combobox/ComboboxContent.js +0 -33
  1057. package/lib/components/shared/Combobox/ComboboxContent.js.map +0 -1
  1058. package/lib/components/shared/Combobox/ComboboxContentBox.js +0 -8
  1059. package/lib/components/shared/Combobox/ComboboxContentBox.js.map +0 -1
  1060. package/lib/components/shared/Combobox/ComboboxType.js +0 -2
  1061. package/lib/components/shared/Combobox/ComboboxType.js.map +0 -1
  1062. package/lib/components/shared/Combobox/Panel/ComboboxOption.js +0 -15
  1063. package/lib/components/shared/Combobox/Panel/ComboboxOption.js.map +0 -1
  1064. package/lib/components/shared/Combobox/Panel/ComboboxOption.spec.js +0 -33
  1065. package/lib/components/shared/Combobox/Panel/ComboboxOption.spec.js.map +0 -1
  1066. package/lib/components/shared/Combobox/Panel/ComboboxOptionContainer.js +0 -36
  1067. package/lib/components/shared/Combobox/Panel/ComboboxOptionContainer.js.map +0 -1
  1068. package/lib/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.js +0 -18
  1069. package/lib/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.js.map +0 -1
  1070. package/lib/components/shared/Combobox/Panel/ComboboxPanel.js +0 -27
  1071. package/lib/components/shared/Combobox/Panel/ComboboxPanel.js.map +0 -1
  1072. package/lib/components/shared/Combobox/Panel/ComboboxPanel.spec.js +0 -57
  1073. package/lib/components/shared/Combobox/Panel/ComboboxPanel.spec.js.map +0 -1
  1074. package/lib/components/shared/Combobox/Panel/ComboboxPanelContainer.js +0 -9
  1075. package/lib/components/shared/Combobox/Panel/ComboboxPanelContainer.js.map +0 -1
  1076. package/lib/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.js +0 -31
  1077. package/lib/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.js.map +0 -1
  1078. package/lib/components/shared/Combobox/Selection/ComboboxClearButton.js +0 -28
  1079. package/lib/components/shared/Combobox/Selection/ComboboxClearButton.js.map +0 -1
  1080. package/lib/components/shared/Combobox/Selection/ComboboxClearButton.spec.js +0 -53
  1081. package/lib/components/shared/Combobox/Selection/ComboboxClearButton.spec.js.map +0 -1
  1082. package/lib/components/shared/Combobox/Selection/ComboboxInput.js +0 -21
  1083. package/lib/components/shared/Combobox/Selection/ComboboxInput.js.map +0 -1
  1084. package/lib/components/shared/Combobox/Selection/ComboboxLabelSelection.js +0 -31
  1085. package/lib/components/shared/Combobox/Selection/ComboboxLabelSelection.js.map +0 -1
  1086. package/lib/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.js +0 -27
  1087. package/lib/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.js.map +0 -1
  1088. package/lib/components/shared/Combobox/Selection/ComboboxSelection.js +0 -18
  1089. package/lib/components/shared/Combobox/Selection/ComboboxSelection.js.map +0 -1
  1090. package/lib/components/shared/Combobox/Selection/ComboboxSelection.spec.js +0 -36
  1091. package/lib/components/shared/Combobox/Selection/ComboboxSelection.spec.js.map +0 -1
  1092. package/lib/components/shared/Combobox/constants.js +0 -10
  1093. package/lib/components/shared/Combobox/constants.js.map +0 -1
  1094. package/lib/components/shared/Combobox/index.js.map +0 -1
  1095. package/lib/components/shared/ComponentErrors/ComponentErrors.js +0 -24
  1096. package/lib/components/shared/ComponentErrors/ComponentErrors.js.map +0 -1
  1097. package/lib/components/shared/ComponentErrors/ComponentErrors.spec.js +0 -40
  1098. package/lib/components/shared/ComponentErrors/ComponentErrors.spec.js.map +0 -1
  1099. package/lib/components/shared/ComponentWrapper.js +0 -29
  1100. package/lib/components/shared/ComponentWrapper.js.map +0 -1
  1101. package/lib/components/shared/Declarations/Declarations.js +0 -14
  1102. package/lib/components/shared/Declarations/Declarations.js.map +0 -1
  1103. package/lib/components/shared/Declarations/Declarations.spec.js +0 -66
  1104. package/lib/components/shared/Declarations/Declarations.spec.js.map +0 -1
  1105. package/lib/components/shared/Fieldset/Fieldset.js +0 -29
  1106. package/lib/components/shared/Fieldset/Fieldset.js.map +0 -1
  1107. package/lib/components/shared/Fieldset/Fieldset.spec.js +0 -25
  1108. package/lib/components/shared/Fieldset/Fieldset.spec.js.map +0 -1
  1109. package/lib/components/shared/HOC/slottableComponent.js +0 -30
  1110. package/lib/components/shared/HOC/slottableComponent.js.map +0 -1
  1111. package/lib/components/shared/Icons/checkbox-checked-icon.js +0 -7
  1112. package/lib/components/shared/Icons/checkbox-checked-icon.js.map +0 -1
  1113. package/lib/components/shared/Icons/checkbox-disabled-icon.js +0 -7
  1114. package/lib/components/shared/Icons/checkbox-disabled-icon.js.map +0 -1
  1115. package/lib/components/shared/Icons/checkbox-unchecked-icon.js +0 -7
  1116. package/lib/components/shared/Icons/checkbox-unchecked-icon.js.map +0 -1
  1117. package/lib/components/shared/Icons/closed-icon.js +0 -7
  1118. package/lib/components/shared/Icons/closed-icon.js.map +0 -1
  1119. package/lib/components/shared/Icons/cross-icon.js +0 -7
  1120. package/lib/components/shared/Icons/cross-icon.js.map +0 -1
  1121. package/lib/components/shared/Icons/icon-props.js +0 -2
  1122. package/lib/components/shared/Icons/icon-props.js.map +0 -1
  1123. package/lib/components/shared/Icons/index.js +0 -11
  1124. package/lib/components/shared/Icons/index.js.map +0 -1
  1125. package/lib/components/shared/Icons/load-icon.js +0 -7
  1126. package/lib/components/shared/Icons/load-icon.js.map +0 -1
  1127. package/lib/components/shared/Icons/lunatic-icon.js +0 -7
  1128. package/lib/components/shared/Icons/lunatic-icon.js.map +0 -1
  1129. package/lib/components/shared/Icons/network-icon.js +0 -7
  1130. package/lib/components/shared/Icons/network-icon.js.map +0 -1
  1131. package/lib/components/shared/Icons/on-drag-icon.js +0 -7
  1132. package/lib/components/shared/Icons/on-drag-icon.js.map +0 -1
  1133. package/lib/components/shared/Icons/opened-icon.js +0 -7
  1134. package/lib/components/shared/Icons/opened-icon.js.map +0 -1
  1135. package/lib/components/shared/Icons/radio-checked-icon.js +0 -8
  1136. package/lib/components/shared/Icons/radio-checked-icon.js.map +0 -1
  1137. package/lib/components/shared/Icons/radio-unchecked-icon.js +0 -7
  1138. package/lib/components/shared/Icons/radio-unchecked-icon.js.map +0 -1
  1139. package/lib/components/shared/Label/Label.js +0 -16
  1140. package/lib/components/shared/Label/Label.js.map +0 -1
  1141. package/lib/components/shared/Label/Label.spec.js +0 -19
  1142. package/lib/components/shared/Label/Label.spec.js.map +0 -1
  1143. package/lib/components/shared/LabelDescription.js +0 -11
  1144. package/lib/components/shared/LabelDescription.js.map +0 -1
  1145. package/lib/components/shared/MDLabel/MDLabel.js +0 -20
  1146. package/lib/components/shared/MDLabel/MDLabel.js.map +0 -1
  1147. package/lib/components/shared/MDLabel/MDLabel.spec.js +0 -107
  1148. package/lib/components/shared/MDLabel/MDLabel.spec.js.map +0 -1
  1149. package/lib/components/shared/MDLabel/MarkdownLink.js +0 -14
  1150. package/lib/components/shared/MDLabel/MarkdownLink.js.map +0 -1
  1151. package/lib/components/shared/MDLabel/RouterLink.js +0 -7
  1152. package/lib/components/shared/MDLabel/RouterLink.js.map +0 -1
  1153. package/lib/components/shared/Missing/Missing.js +0 -51
  1154. package/lib/components/shared/Missing/Missing.js.map +0 -1
  1155. package/lib/components/shared/Missing/Missing.spec.js +0 -45
  1156. package/lib/components/shared/Missing/Missing.spec.js.map +0 -1
  1157. package/lib/components/shared/ModalControls/ModalControls.js +0 -30
  1158. package/lib/components/shared/ModalControls/ModalControls.js.map +0 -1
  1159. package/lib/components/shared/ModalControls/ModalControls.spec.js +0 -61
  1160. package/lib/components/shared/ModalControls/ModalControls.spec.js.map +0 -1
  1161. package/lib/components/shared/Notification.js +0 -9
  1162. package/lib/components/shared/Notification.js.map +0 -1
  1163. package/lib/components/shared/Radio/RadioGroup.js +0 -23
  1164. package/lib/components/shared/Radio/RadioGroup.js.map +0 -1
  1165. package/lib/components/shared/Radio/RadioOption.js +0 -37
  1166. package/lib/components/shared/Radio/RadioOption.js.map +0 -1
  1167. package/lib/components/shared/Radio/RadioOption.spec.js +0 -46
  1168. package/lib/components/shared/Radio/RadioOption.spec.js.map +0 -1
  1169. package/lib/components/shared/Table/Table.js +0 -14
  1170. package/lib/components/shared/Table/Table.js.map +0 -1
  1171. package/lib/components/shared/Table/Table.spec.js +0 -15
  1172. package/lib/components/shared/Table/Table.spec.js.map +0 -1
  1173. package/lib/components/shared/Table/TableHeader.js +0 -14
  1174. package/lib/components/shared/Table/TableHeader.js.map +0 -1
  1175. package/lib/components/shared/Table/Tbody.js +0 -8
  1176. package/lib/components/shared/Table/Tbody.js.map +0 -1
  1177. package/lib/components/shared/Table/Tbody.spec.js +0 -22
  1178. package/lib/components/shared/Table/Tbody.spec.js.map +0 -1
  1179. package/lib/components/shared/Table/Td.js +0 -8
  1180. package/lib/components/shared/Table/Td.js.map +0 -1
  1181. package/lib/components/shared/Table/Td.spec.js +0 -21
  1182. package/lib/components/shared/Table/Td.spec.js.map +0 -1
  1183. package/lib/components/shared/Table/Th.js +0 -8
  1184. package/lib/components/shared/Table/Th.js.map +0 -1
  1185. package/lib/components/shared/Table/Th.spec.js +0 -25
  1186. package/lib/components/shared/Table/Th.spec.js.map +0 -1
  1187. package/lib/components/shared/Table/Thead.js +0 -9
  1188. package/lib/components/shared/Table/Thead.js.map +0 -1
  1189. package/lib/components/shared/Table/Thead.spec.js +0 -12
  1190. package/lib/components/shared/Table/Thead.spec.js.map +0 -1
  1191. package/lib/components/shared/Table/Tr.js +0 -8
  1192. package/lib/components/shared/Table/Tr.js.map +0 -1
  1193. package/lib/components/shared/Table/Tr.spec.js +0 -19
  1194. package/lib/components/shared/Table/Tr.spec.js.map +0 -1
  1195. package/lib/components/shared/Table/index.js +0 -8
  1196. package/lib/components/shared/Table/index.js.map +0 -1
  1197. package/lib/components/type.js +0 -2
  1198. package/lib/components/type.js.map +0 -1
  1199. package/lib/constants/component-types.js +0 -2
  1200. package/lib/constants/component-types.js.map +0 -1
  1201. package/lib/constants/declarations.js +0 -12
  1202. package/lib/constants/declarations.js.map +0 -1
  1203. package/lib/constants/event-types.js +0 -13
  1204. package/lib/constants/event-types.js.map +0 -1
  1205. package/lib/constants/index.js +0 -6
  1206. package/lib/constants/index.js.map +0 -1
  1207. package/lib/constants/indexedDBStore.js +0 -19
  1208. package/lib/constants/indexedDBStore.js.map +0 -1
  1209. package/lib/constants/supported-preferences.js +0 -10
  1210. package/lib/constants/supported-preferences.js.map +0 -1
  1211. package/lib/constants/value-types.js +0 -6
  1212. package/lib/constants/value-types.js.map +0 -1
  1213. package/lib/constants/variable-types.js +0 -5
  1214. package/lib/constants/variable-types.js.map +0 -1
  1215. package/lib/hooks/use-auto-focus.js +0 -19
  1216. package/lib/hooks/use-auto-focus.js.map +0 -1
  1217. package/lib/hooks/use-track-changes.js +0 -41
  1218. package/lib/hooks/use-track-changes.js.map +0 -1
  1219. package/lib/hooks/use-why-render.js +0 -14
  1220. package/lib/hooks/use-why-render.js.map +0 -1
  1221. package/lib/hooks/useDebounce.js +0 -24
  1222. package/lib/hooks/useDebounce.js.map +0 -1
  1223. package/lib/hooks/useDocumentEvent.js +0 -18
  1224. package/lib/hooks/useDocumentEvent.js.map +0 -1
  1225. package/lib/hooks/useKeyboardKey.js +0 -25
  1226. package/lib/hooks/useKeyboardKey.js.map +0 -1
  1227. package/lib/hooks/useListKeyboardHandler.js +0 -28
  1228. package/lib/hooks/useListKeyboardHandler.js.map +0 -1
  1229. package/lib/hooks/useRefSync.js +0 -10
  1230. package/lib/hooks/useRefSync.js.map +0 -1
  1231. package/lib/i18n/build-dictionary.js +0 -38
  1232. package/lib/i18n/build-dictionary.js.map +0 -1
  1233. package/lib/i18n/dictionary.js +0 -27
  1234. package/lib/i18n/dictionary.js.map +0 -1
  1235. package/lib/i18n/index.js +0 -13
  1236. package/lib/i18n/index.js.map +0 -1
  1237. package/lib/i18n/inputNumberProps.js +0 -7
  1238. package/lib/i18n/inputNumberProps.js.map +0 -1
  1239. package/lib/index.js +0 -12
  1240. package/lib/index.js.map +0 -1
  1241. package/lib/tests/setup.js +0 -18
  1242. package/lib/tests/setup.js.map +0 -1
  1243. package/lib/tests/utils/lunatic.js +0 -31
  1244. package/lib/tests/utils/lunatic.js.map +0 -1
  1245. package/lib/tests/utils/timer.js +0 -4
  1246. package/lib/tests/utils/timer.js.map +0 -1
  1247. package/lib/type.source.js +0 -7
  1248. package/lib/type.source.js.map +0 -1
  1249. package/lib/type.utils.js +0 -2
  1250. package/lib/type.utils.js.map +0 -1
  1251. package/lib/use-lunatic/actions.js +0 -26
  1252. package/lib/use-lunatic/actions.js.map +0 -1
  1253. package/lib/use-lunatic/commons/check-loops.js +0 -63
  1254. package/lib/use-lunatic/commons/check-loops.js.map +0 -1
  1255. package/lib/use-lunatic/commons/check-pager.js +0 -17
  1256. package/lib/use-lunatic/commons/check-pager.js.map +0 -1
  1257. package/lib/use-lunatic/commons/compile-controls.js +0 -154
  1258. package/lib/use-lunatic/commons/compile-controls.js.map +0 -1
  1259. package/lib/use-lunatic/commons/component.js +0 -22
  1260. package/lib/use-lunatic/commons/component.js.map +0 -1
  1261. package/lib/use-lunatic/commons/create-map-pages.js +0 -58
  1262. package/lib/use-lunatic/commons/create-map-pages.js.map +0 -1
  1263. package/lib/use-lunatic/commons/execute-condition-filter.js +0 -11
  1264. package/lib/use-lunatic/commons/execute-condition-filter.js.map +0 -1
  1265. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +0 -148
  1266. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js.map +0 -1
  1267. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.spec.js +0 -83
  1268. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.spec.js.map +0 -1
  1269. package/lib/use-lunatic/commons/fill-components/fill-components.js +0 -41
  1270. package/lib/use-lunatic/commons/fill-components/fill-components.js.map +0 -1
  1271. package/lib/use-lunatic/commons/get-compatible-vtl-expression.js +0 -19
  1272. package/lib/use-lunatic/commons/get-compatible-vtl-expression.js.map +0 -1
  1273. package/lib/use-lunatic/commons/get-components-from-state.js +0 -22
  1274. package/lib/use-lunatic/commons/get-components-from-state.js.map +0 -1
  1275. package/lib/use-lunatic/commons/index.js +0 -7
  1276. package/lib/use-lunatic/commons/index.js.map +0 -1
  1277. package/lib/use-lunatic/commons/is-First-last-page.js +0 -8
  1278. package/lib/use-lunatic/commons/is-First-last-page.js.map +0 -1
  1279. package/lib/use-lunatic/commons/is-paginated-loop.js +0 -5
  1280. package/lib/use-lunatic/commons/is-paginated-loop.js.map +0 -1
  1281. package/lib/use-lunatic/commons/is-roundabout.js +0 -5
  1282. package/lib/use-lunatic/commons/is-roundabout.js.map +0 -1
  1283. package/lib/use-lunatic/commons/page-navigation.js +0 -95
  1284. package/lib/use-lunatic/commons/page-navigation.js.map +0 -1
  1285. package/lib/use-lunatic/commons/page-navigation.spec.js +0 -136
  1286. package/lib/use-lunatic/commons/page-navigation.spec.js.map +0 -1
  1287. package/lib/use-lunatic/commons/page-tag.js +0 -55
  1288. package/lib/use-lunatic/commons/page-tag.js.map +0 -1
  1289. package/lib/use-lunatic/commons/page-tag.spec.js +0 -38
  1290. package/lib/use-lunatic/commons/page-tag.spec.js.map +0 -1
  1291. package/lib/use-lunatic/commons/page.js +0 -35
  1292. package/lib/use-lunatic/commons/page.js.map +0 -1
  1293. package/lib/use-lunatic/commons/variables/behaviours/cleaning-behaviour.js +0 -55
  1294. package/lib/use-lunatic/commons/variables/behaviours/cleaning-behaviour.js.map +0 -1
  1295. package/lib/use-lunatic/commons/variables/behaviours/missing-behaviour.js +0 -26
  1296. package/lib/use-lunatic/commons/variables/behaviours/missing-behaviour.js.map +0 -1
  1297. package/lib/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +0 -62
  1298. package/lib/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +0 -1
  1299. package/lib/use-lunatic/commons/variables/errors.js +0 -35
  1300. package/lib/use-lunatic/commons/variables/errors.js.map +0 -1
  1301. package/lib/use-lunatic/commons/variables/get-questionnaire-data.js +0 -53
  1302. package/lib/use-lunatic/commons/variables/get-questionnaire-data.js.map +0 -1
  1303. package/lib/use-lunatic/commons/variables/lunatic-variables-store.js +0 -357
  1304. package/lib/use-lunatic/commons/variables/lunatic-variables-store.js.map +0 -1
  1305. package/lib/use-lunatic/commons/variables/lunatic-variables-store.spec.js +0 -438
  1306. package/lib/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +0 -1
  1307. package/lib/use-lunatic/hooks/use-loop-variables.js +0 -17
  1308. package/lib/use-lunatic/hooks/use-loop-variables.js.map +0 -1
  1309. package/lib/use-lunatic/hooks/use-page-has-response.js +0 -87
  1310. package/lib/use-lunatic/hooks/use-page-has-response.js.map +0 -1
  1311. package/lib/use-lunatic/hooks/useOverview.js +0 -91
  1312. package/lib/use-lunatic/hooks/useOverview.js.map +0 -1
  1313. package/lib/use-lunatic/hooks/useWarnDepChange.js +0 -17
  1314. package/lib/use-lunatic/hooks/useWarnDepChange.js.map +0 -1
  1315. package/lib/use-lunatic/logger/ConsoleLogger.js +0 -12
  1316. package/lib/use-lunatic/logger/ConsoleLogger.js.map +0 -1
  1317. package/lib/use-lunatic/logger/type.js +0 -2
  1318. package/lib/use-lunatic/logger/type.js.map +0 -1
  1319. package/lib/use-lunatic/lunatic-context.js +0 -44
  1320. package/lib/use-lunatic/lunatic-context.js.map +0 -1
  1321. package/lib/use-lunatic/props/getComponentTypeProps.js +0 -165
  1322. package/lib/use-lunatic/props/getComponentTypeProps.js.map +0 -1
  1323. package/lib/use-lunatic/props/propIterations.js +0 -26
  1324. package/lib/use-lunatic/props/propIterations.js.map +0 -1
  1325. package/lib/use-lunatic/props/propMissingResponse.js +0 -13
  1326. package/lib/use-lunatic/props/propMissingResponse.js.map +0 -1
  1327. package/lib/use-lunatic/props/propOptions.js +0 -69
  1328. package/lib/use-lunatic/props/propOptions.js.map +0 -1
  1329. package/lib/use-lunatic/props/propOptions.spec.js +0 -57
  1330. package/lib/use-lunatic/props/propOptions.spec.js.map +0 -1
  1331. package/lib/use-lunatic/props/propValue.js +0 -28
  1332. package/lib/use-lunatic/props/propValue.js.map +0 -1
  1333. package/lib/use-lunatic/props/propValue.spec.js +0 -54
  1334. package/lib/use-lunatic/props/propValue.spec.js.map +0 -1
  1335. package/lib/use-lunatic/reducer/commons/auto-explore-loop.js +0 -52
  1336. package/lib/use-lunatic/reducer/commons/auto-explore-loop.js.map +0 -1
  1337. package/lib/use-lunatic/reducer/commons/index.js +0 -3
  1338. package/lib/use-lunatic/reducer/commons/index.js.map +0 -1
  1339. package/lib/use-lunatic/reducer/commons/resize-array-variable.js +0 -21
  1340. package/lib/use-lunatic/reducer/commons/resize-array-variable.js.map +0 -1
  1341. package/lib/use-lunatic/reducer/commons/validate-condition-filter.js +0 -12
  1342. package/lib/use-lunatic/reducer/commons/validate-condition-filter.js.map +0 -1
  1343. package/lib/use-lunatic/reducer/controls/check-base-control.js +0 -36
  1344. package/lib/use-lunatic/reducer/controls/check-base-control.js.map +0 -1
  1345. package/lib/use-lunatic/reducer/controls/check-roundabout-control.js +0 -23
  1346. package/lib/use-lunatic/reducer/controls/check-roundabout-control.js.map +0 -1
  1347. package/lib/use-lunatic/reducer/overview/overviewOnInit.js +0 -50
  1348. package/lib/use-lunatic/reducer/overview/overviewOnInit.js.map +0 -1
  1349. package/lib/use-lunatic/reducer/reduce-go-next-page.js +0 -61
  1350. package/lib/use-lunatic/reducer/reduce-go-next-page.js.map +0 -1
  1351. package/lib/use-lunatic/reducer/reduce-go-previous-page.js +0 -30
  1352. package/lib/use-lunatic/reducer/reduce-go-previous-page.js.map +0 -1
  1353. package/lib/use-lunatic/reducer/reduce-go-to-page.js +0 -55
  1354. package/lib/use-lunatic/reducer/reduce-go-to-page.js.map +0 -1
  1355. package/lib/use-lunatic/reducer/reduce-handle-changes.js +0 -26
  1356. package/lib/use-lunatic/reducer/reduce-handle-changes.js.map +0 -1
  1357. package/lib/use-lunatic/reducer/reducer.js +0 -20
  1358. package/lib/use-lunatic/reducer/reducer.js.map +0 -1
  1359. package/lib/use-lunatic/reducer/reducerInitializer.js +0 -128
  1360. package/lib/use-lunatic/reducer/reducerInitializer.js.map +0 -1
  1361. package/lib/use-lunatic/replace-component-sequence.d.ts +0 -9
  1362. package/lib/use-lunatic/replace-component-sequence.js +0 -19
  1363. package/lib/use-lunatic/replace-component-sequence.js.map +0 -1
  1364. package/lib/use-lunatic/type.js +0 -2
  1365. package/lib/use-lunatic/type.js.map +0 -1
  1366. package/lib/use-lunatic/use-lunatic.js +0 -140
  1367. package/lib/use-lunatic/use-lunatic.js.map +0 -1
  1368. package/lib/utils/array.js +0 -107
  1369. package/lib/utils/array.js.map +0 -1
  1370. package/lib/utils/array.spec.js +0 -42
  1371. package/lib/utils/array.spec.js.map +0 -1
  1372. package/lib/utils/constants/alphabet.js +0 -2
  1373. package/lib/utils/constants/alphabet.js.map +0 -1
  1374. package/lib/utils/constants/features.js +0 -5
  1375. package/lib/utils/constants/features.js.map +0 -1
  1376. package/lib/utils/constants/index.js +0 -6
  1377. package/lib/utils/constants/index.js.map +0 -1
  1378. package/lib/utils/constants/links.js +0 -3
  1379. package/lib/utils/constants/links.js.map +0 -1
  1380. package/lib/utils/constants/missing.js +0 -3
  1381. package/lib/utils/constants/missing.js.map +0 -1
  1382. package/lib/utils/constants/variable-status.js +0 -6
  1383. package/lib/utils/constants/variable-status.js.map +0 -1
  1384. package/lib/utils/constants/variable-types.js +0 -2
  1385. package/lib/utils/constants/variable-types.js.map +0 -1
  1386. package/lib/utils/dom.js +0 -23
  1387. package/lib/utils/dom.js.map +0 -1
  1388. package/lib/utils/env.js +0 -13
  1389. package/lib/utils/env.js.map +0 -1
  1390. package/lib/utils/function.js +0 -23
  1391. package/lib/utils/function.js.map +0 -1
  1392. package/lib/utils/is-element.js +0 -6
  1393. package/lib/utils/is-element.js.map +0 -1
  1394. package/lib/utils/is-object.js +0 -7
  1395. package/lib/utils/is-object.js.map +0 -1
  1396. package/lib/utils/logger.js +0 -15
  1397. package/lib/utils/logger.js.map +0 -1
  1398. package/lib/utils/number.js +0 -32
  1399. package/lib/utils/number.js.map +0 -1
  1400. package/lib/utils/number.spec.js +0 -10
  1401. package/lib/utils/number.spec.js.map +0 -1
  1402. package/lib/utils/object.js +0 -26
  1403. package/lib/utils/object.js.map +0 -1
  1404. package/lib/utils/search/SearchInterface.js +0 -2
  1405. package/lib/utils/search/SearchInterface.js.map +0 -1
  1406. package/lib/utils/search/SearchMinisearch.js +0 -40
  1407. package/lib/utils/search/SearchMinisearch.js.map +0 -1
  1408. package/lib/utils/search/SuggestersDatabase.js +0 -38
  1409. package/lib/utils/search/SuggestersDatabase.js.map +0 -1
  1410. package/lib/utils/search/melauto.js +0 -41
  1411. package/lib/utils/search/melauto.js.map +0 -1
  1412. package/lib/utils/search/tokenizer.js +0 -57
  1413. package/lib/utils/search/tokenizer.js.map +0 -1
  1414. package/lib/utils/to-number.js +0 -13
  1415. package/lib/utils/to-number.js.map +0 -1
  1416. package/lib/utils/variables.js +0 -20
  1417. package/lib/utils/variables.js.map +0 -1
  1418. package/lib/utils/variables.spec.js +0 -83
  1419. package/lib/utils/variables.spec.js.map +0 -1
  1420. package/lib/utils/vtl.js +0 -93
  1421. package/lib/utils/vtl.js.map +0 -1
  1422. /package/{lib/components → components}/Accordion/Accordion.d.ts +0 -0
  1423. /package/{lib/components → components}/CheckboxBoolean/CheckboxBoolean.d.ts +0 -0
  1424. /package/{lib/components → components}/CheckboxBoolean/CheckboxBoolean.spec.d.ts +0 -0
  1425. /package/{lib/components → components}/CheckboxGroup/CheckboxGroup.d.ts +0 -0
  1426. /package/{lib/components → components}/CheckboxGroup/CustomCheckboxGroup.d.ts +0 -0
  1427. /package/{lib/components → components}/CheckboxGroup/CustomCheckboxGroup.spec.d.ts +0 -0
  1428. /package/{lib/components → components}/CheckboxOne/CheckboxOne.d.ts +0 -0
  1429. /package/{lib/components → components}/CheckboxOne/CheckboxOne.spec.d.ts +0 -0
  1430. /package/{lib/components → components}/Datepicker/Datepicker.d.ts +0 -0
  1431. /package/{lib/components → components}/Datepicker/Datepicker.spec.d.ts +0 -0
  1432. /package/{lib/components → components}/Datepicker/DatepickerField.d.ts +0 -0
  1433. /package/{lib/components → components}/Dropdown/Dropdown.d.ts +0 -0
  1434. /package/{lib/components → components}/Dropdown/Dropdown.spec.d.ts +0 -0
  1435. /package/{lib/components → components}/Dropdown/renderer/SimpleLabelRenderer.d.ts +0 -0
  1436. /package/{lib/components → components}/Dropdown/renderer/SimpleOptionRenderer.d.ts +0 -0
  1437. /package/{lib/components → components}/Duration/Duration.d.ts +0 -0
  1438. /package/{lib/components → components}/Duration/durationUtils.d.ts +0 -0
  1439. /package/{lib/components → components}/Duration/formatDuration.d.ts +0 -0
  1440. /package/{lib/components → components}/Duration/formatDuration.spec.d.ts +0 -0
  1441. /package/{lib/components → components}/Duration/getDurationFromValue.d.ts +0 -0
  1442. /package/{lib/components → components}/FilterDescription/FilterDescription.d.ts +0 -0
  1443. /package/{lib/components → components}/FilterDescription/FilterDescription.spec.d.ts +0 -0
  1444. /package/{lib/components → components}/Input/Input.d.ts +0 -0
  1445. /package/{lib/components → components}/Input/Input.spec.d.ts +0 -0
  1446. /package/{lib/components → components}/InputNumber/InputNumber.d.ts +0 -0
  1447. /package/{lib/components → components}/InputNumber/InputNumber.spec.d.ts +0 -0
  1448. /package/{lib/components → components}/InputNumber/InputNumberThousand.d.ts +0 -0
  1449. /package/{lib/components → components}/Loop/Loop.d.ts +0 -0
  1450. /package/{lib/components → components}/Loop/constant.d.ts +0 -0
  1451. /package/{lib/components → components}/LunaticComponents.d.ts +0 -0
  1452. /package/{lib/components → components}/PairwiseLinks/PairwiseLinks.d.ts +0 -0
  1453. /package/{lib/components → components}/Question/Question.d.ts +0 -0
  1454. /package/{lib/components → components}/Radio/Radio.d.ts +0 -0
  1455. /package/{lib/components → components}/RosterForLoop/RosterForLoop.d.ts +0 -0
  1456. /package/{lib/components → components}/RosterForLoop/RosterForLoop.spec.d.ts +0 -0
  1457. /package/{lib/components → components}/Roundabout/CustomRoundabout.d.ts +0 -0
  1458. /package/{lib/components → components}/Roundabout/Roundabout.d.ts +0 -0
  1459. /package/{lib/components → components}/Roundabout/roundabout.spec.d.ts +0 -0
  1460. /package/{lib/components → components}/Sequence/Sequence.d.ts +0 -0
  1461. /package/{lib/components → components}/Subsequence/Subsequence.d.ts +0 -0
  1462. /package/{lib/components → components}/Subsequence/Subsequence.spec.d.ts +0 -0
  1463. /package/{lib/components → components}/Suggester/CustomSuggester.d.ts +0 -0
  1464. /package/{lib/components → components}/Suggester/Suggester.d.ts +0 -0
  1465. /package/{lib/components → components}/Suggester/SuggesterNotification.d.ts +0 -0
  1466. /package/{lib/components → components}/Suggester/SuggesterType.d.ts +0 -0
  1467. /package/{lib/components → components}/Suggester/useSuggestions.d.ts +0 -0
  1468. /package/{lib/components → components}/Summary/Summary.d.ts +0 -0
  1469. /package/{lib/components → components}/Switch/Switch.d.ts +0 -0
  1470. /package/{lib/components → components}/Table/Table.d.ts +0 -0
  1471. /package/{lib/components → components}/Text/Text.d.ts +0 -0
  1472. /package/{lib/components → components}/Textarea/Textarea.d.ts +0 -0
  1473. /package/{lib/components → components}/Textarea/Textarea.spec.d.ts +0 -0
  1474. /package/{lib/components → components}/library.d.ts +0 -0
  1475. /package/{lib/components → components}/shared/Button/Button.d.ts +0 -0
  1476. /package/{lib/components → components}/shared/Button/Button.spec.d.ts +0 -0
  1477. /package/{lib/components → components}/shared/Button/IconButton.d.ts +0 -0
  1478. /package/{lib/components → components}/shared/Button/IconButton.spec.d.ts +0 -0
  1479. /package/{lib/components → components}/shared/Checkbox/CheckboxOption.d.ts +0 -0
  1480. /package/{lib/components → components}/shared/Checkbox/CheckboxOption.spec.d.ts +0 -0
  1481. /package/{lib/components → components}/shared/Checkbox/getShortcutKey.d.ts +0 -0
  1482. /package/{lib/components → components}/shared/Combobox/Combobox.d.ts +0 -0
  1483. /package/{lib/components → components}/shared/Combobox/Combobox.stories.d.ts +0 -0
  1484. /package/{lib/components → components}/shared/Combobox/ComboboxContainer.d.ts +0 -0
  1485. /package/{lib/components → components}/shared/Combobox/ComboboxContainer.spec.d.ts +0 -0
  1486. /package/{lib/components → components}/shared/Combobox/ComboboxContent.d.ts +0 -0
  1487. /package/{lib/components → components}/shared/Combobox/ComboboxContentBox.d.ts +0 -0
  1488. /package/{lib/components → components}/shared/Combobox/ComboboxType.d.ts +0 -0
  1489. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxOption.d.ts +0 -0
  1490. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxOption.spec.d.ts +0 -0
  1491. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxOptionContainer.d.ts +0 -0
  1492. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxOptionContainer.spec.d.ts +0 -0
  1493. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxPanel.d.ts +0 -0
  1494. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxPanel.spec.d.ts +0 -0
  1495. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxPanelContainer.d.ts +0 -0
  1496. /package/{lib/components → components}/shared/Combobox/Panel/ComboboxPanelContainer.spec.d.ts +0 -0
  1497. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxClearButton.d.ts +0 -0
  1498. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxClearButton.spec.d.ts +0 -0
  1499. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxInput.d.ts +0 -0
  1500. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxLabelSelection.d.ts +0 -0
  1501. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxLabelSelection.spec.d.ts +0 -0
  1502. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxSelection.d.ts +0 -0
  1503. /package/{lib/components → components}/shared/Combobox/Selection/ComboboxSelection.spec.d.ts +0 -0
  1504. /package/{lib/components → components}/shared/Combobox/constants.d.ts +0 -0
  1505. /package/{lib/components → components}/shared/Combobox/index.d.ts +0 -0
  1506. /package/{lib/components → components}/shared/Combobox/index.js +0 -0
  1507. /package/{lib/components → components}/shared/ComponentErrors/ComponentErrors.d.ts +0 -0
  1508. /package/{lib/components → components}/shared/ComponentErrors/ComponentErrors.spec.d.ts +0 -0
  1509. /package/{lib/components → components}/shared/ComponentWrapper.d.ts +0 -0
  1510. /package/{lib/components → components}/shared/Declarations/Declarations.d.ts +0 -0
  1511. /package/{lib/components → components}/shared/Declarations/Declarations.spec.d.ts +0 -0
  1512. /package/{lib/components → components}/shared/Fieldset/Fieldset.d.ts +0 -0
  1513. /package/{lib/components → components}/shared/Fieldset/Fieldset.spec.d.ts +0 -0
  1514. /package/{lib/components → components}/shared/HOC/slottableComponent.d.ts +0 -0
  1515. /package/{lib/components → components}/shared/Icons/checkbox-checked-icon.d.ts +0 -0
  1516. /package/{lib/components → components}/shared/Icons/checkbox-disabled-icon.d.ts +0 -0
  1517. /package/{lib/components → components}/shared/Icons/checkbox-unchecked-icon.d.ts +0 -0
  1518. /package/{lib/components → components}/shared/Icons/closed-icon.d.ts +0 -0
  1519. /package/{lib/components → components}/shared/Icons/cross-icon.d.ts +0 -0
  1520. /package/{lib/components → components}/shared/Icons/icon-props.d.ts +0 -0
  1521. /package/{lib/components → components}/shared/Icons/index.d.ts +0 -0
  1522. /package/{lib/components → components}/shared/Icons/load-icon.d.ts +0 -0
  1523. /package/{lib/components → components}/shared/Icons/lunatic-icon.d.ts +0 -0
  1524. /package/{lib/components → components}/shared/Icons/network-icon.d.ts +0 -0
  1525. /package/{lib/components → components}/shared/Icons/on-drag-icon.d.ts +0 -0
  1526. /package/{lib/components → components}/shared/Icons/opened-icon.d.ts +0 -0
  1527. /package/{lib/components → components}/shared/Icons/radio-checked-icon.d.ts +0 -0
  1528. /package/{lib/components → components}/shared/Icons/radio-unchecked-icon.d.ts +0 -0
  1529. /package/{lib/components → components}/shared/Label/Label.d.ts +0 -0
  1530. /package/{lib/components → components}/shared/Label/Label.spec.d.ts +0 -0
  1531. /package/{lib/components → components}/shared/LabelDescription.d.ts +0 -0
  1532. /package/{lib/components → components}/shared/MDLabel/MDLabel.d.ts +0 -0
  1533. /package/{lib/components → components}/shared/MDLabel/MDLabel.spec.d.ts +0 -0
  1534. /package/{lib/components → components}/shared/MDLabel/MarkdownLink.d.ts +0 -0
  1535. /package/{lib/components → components}/shared/MDLabel/RouterLink.d.ts +0 -0
  1536. /package/{lib/components → components}/shared/Missing/Missing.d.ts +0 -0
  1537. /package/{lib/components → components}/shared/Missing/Missing.spec.d.ts +0 -0
  1538. /package/{lib/components → components}/shared/ModalControls/ModalControls.d.ts +0 -0
  1539. /package/{lib/components → components}/shared/ModalControls/ModalControls.spec.d.ts +0 -0
  1540. /package/{lib/components → components}/shared/Notification.d.ts +0 -0
  1541. /package/{lib/components → components}/shared/Radio/RadioGroup.d.ts +0 -0
  1542. /package/{lib/components → components}/shared/Radio/RadioOption.d.ts +0 -0
  1543. /package/{lib/components → components}/shared/Radio/RadioOption.spec.d.ts +0 -0
  1544. /package/{lib/components → components}/shared/Table/Table.d.ts +0 -0
  1545. /package/{lib/components → components}/shared/Table/Table.spec.d.ts +0 -0
  1546. /package/{lib/components → components}/shared/Table/TableHeader.d.ts +0 -0
  1547. /package/{lib/components → components}/shared/Table/Tbody.d.ts +0 -0
  1548. /package/{lib/components → components}/shared/Table/Tbody.spec.d.ts +0 -0
  1549. /package/{lib/components → components}/shared/Table/Td.d.ts +0 -0
  1550. /package/{lib/components → components}/shared/Table/Td.spec.d.ts +0 -0
  1551. /package/{lib/components → components}/shared/Table/Th.d.ts +0 -0
  1552. /package/{lib/components → components}/shared/Table/Th.spec.d.ts +0 -0
  1553. /package/{lib/components → components}/shared/Table/Thead.d.ts +0 -0
  1554. /package/{lib/components → components}/shared/Table/Thead.spec.d.ts +0 -0
  1555. /package/{lib/components → components}/shared/Table/Tr.d.ts +0 -0
  1556. /package/{lib/components → components}/shared/Table/Tr.spec.d.ts +0 -0
  1557. /package/{lib/components → components}/shared/Table/index.d.ts +0 -0
  1558. /package/{lib/components → components}/type.d.ts +0 -0
  1559. /package/{lib/constants → constants}/component-types.d.ts +0 -0
  1560. /package/{lib/constants → constants}/declarations.d.ts +0 -0
  1561. /package/{lib/constants → constants}/event-types.d.ts +0 -0
  1562. /package/{lib/constants → constants}/index.d.ts +0 -0
  1563. /package/{lib/constants → constants}/indexedDBStore.d.ts +0 -0
  1564. /package/{lib/constants → constants}/supported-preferences.d.ts +0 -0
  1565. /package/{lib/constants → constants}/value-types.d.ts +0 -0
  1566. /package/{lib/constants → constants}/variable-types.d.ts +0 -0
  1567. /package/{lib/hooks → hooks}/use-auto-focus.d.ts +0 -0
  1568. /package/{lib/hooks → hooks}/use-track-changes.d.ts +0 -0
  1569. /package/{lib/hooks → hooks}/use-why-render.d.ts +0 -0
  1570. /package/{lib/hooks → hooks}/useDebounce.d.ts +0 -0
  1571. /package/{lib/hooks → hooks}/useDocumentEvent.d.ts +0 -0
  1572. /package/{lib/hooks → hooks}/useKeyboardKey.d.ts +0 -0
  1573. /package/{lib/hooks → hooks}/useListKeyboardHandler.d.ts +0 -0
  1574. /package/{lib/hooks → hooks}/useRefSync.d.ts +0 -0
  1575. /package/{lib/i18n → i18n}/build-dictionary.d.ts +0 -0
  1576. /package/{lib/i18n → i18n}/dictionary.d.ts +0 -0
  1577. /package/{lib/i18n → i18n}/index.d.ts +0 -0
  1578. /package/{lib/i18n → i18n}/inputNumberProps.d.ts +0 -0
  1579. /package/{lib/icons → icons}/alert-icon.svg +0 -0
  1580. /package/{lib/icons → icons}/wait-icon.svg +0 -0
  1581. /package/{lib/icons → icons}/warn-icon.svg +0 -0
  1582. /package/{lib/index.d.ts → index.d.ts} +0 -0
  1583. /package/{lib/main.css → main.css} +0 -0
  1584. /package/{lib/main.css.map → main.css.map} +0 -0
  1585. /package/{lib/use-lunatic/commons/index.d.ts → src/use-lunatic/commons/index.ts} +0 -0
  1586. /package/{lib/use-lunatic/reducer/commons/index.d.ts → src/use-lunatic/reducer/commons/index.ts} +0 -0
  1587. /package/{lib/utils/constants/index.d.ts → src/utils/constants/index.ts} +0 -0
  1588. /package/{lib/tests → tests}/setup.d.ts +0 -0
  1589. /package/{lib/tests → tests}/utils/lunatic.d.ts +0 -0
  1590. /package/{lib/tests → tests}/utils/timer.d.ts +0 -0
  1591. /package/{lib/type.source.d.ts → type.source.d.ts} +0 -0
  1592. /package/{lib/type.utils.d.ts → type.utils.d.ts} +0 -0
  1593. /package/{lib/use-lunatic → use-lunatic}/actions.d.ts +0 -0
  1594. /package/{lib/use-lunatic → use-lunatic}/commons/check-loops.d.ts +0 -0
  1595. /package/{lib/use-lunatic → use-lunatic}/commons/check-pager.d.ts +0 -0
  1596. /package/{lib/use-lunatic → use-lunatic}/commons/compile-controls.d.ts +0 -0
  1597. /package/{lib/use-lunatic → use-lunatic}/commons/component.d.ts +0 -0
  1598. /package/{lib/use-lunatic → use-lunatic}/commons/create-map-pages.d.ts +0 -0
  1599. /package/{lib/use-lunatic → use-lunatic}/commons/execute-condition-filter.d.ts +0 -0
  1600. /package/{lib/use-lunatic → use-lunatic}/commons/fill-components/fill-component-expressions.d.ts +0 -0
  1601. /package/{lib/use-lunatic → use-lunatic}/commons/fill-components/fill-component-expressions.spec.d.ts +0 -0
  1602. /package/{lib/use-lunatic → use-lunatic}/commons/fill-components/fill-components.d.ts +0 -0
  1603. /package/{lib/use-lunatic → use-lunatic}/commons/get-compatible-vtl-expression.d.ts +0 -0
  1604. /package/{lib/use-lunatic → use-lunatic}/commons/get-components-from-state.d.ts +0 -0
  1605. /package/{lib/use-lunatic → use-lunatic}/commons/is-First-last-page.d.ts +0 -0
  1606. /package/{lib/use-lunatic → use-lunatic}/commons/is-paginated-loop.d.ts +0 -0
  1607. /package/{lib/use-lunatic → use-lunatic}/commons/is-roundabout.d.ts +0 -0
  1608. /package/{lib/use-lunatic → use-lunatic}/commons/page-navigation.d.ts +0 -0
  1609. /package/{lib/use-lunatic → use-lunatic}/commons/page-navigation.spec.d.ts +0 -0
  1610. /package/{lib/use-lunatic → use-lunatic}/commons/page-tag.d.ts +0 -0
  1611. /package/{lib/use-lunatic → use-lunatic}/commons/page-tag.spec.d.ts +0 -0
  1612. /package/{lib/use-lunatic → use-lunatic}/commons/page.d.ts +0 -0
  1613. /package/{lib/use-lunatic → use-lunatic}/commons/variables/behaviours/cleaning-behaviour.d.ts +0 -0
  1614. /package/{lib/use-lunatic → use-lunatic}/commons/variables/behaviours/missing-behaviour.d.ts +0 -0
  1615. /package/{lib/use-lunatic → use-lunatic}/commons/variables/behaviours/resizing-behaviour.d.ts +0 -0
  1616. /package/{lib/use-lunatic → use-lunatic}/commons/variables/errors.d.ts +0 -0
  1617. /package/{lib/use-lunatic → use-lunatic}/commons/variables/get-questionnaire-data.d.ts +0 -0
  1618. /package/{lib/use-lunatic → use-lunatic}/commons/variables/lunatic-variables-store.d.ts +0 -0
  1619. /package/{lib/use-lunatic → use-lunatic}/commons/variables/lunatic-variables-store.spec.d.ts +0 -0
  1620. /package/{lib/use-lunatic → use-lunatic}/hooks/use-loop-variables.d.ts +0 -0
  1621. /package/{lib/use-lunatic → use-lunatic}/hooks/use-page-has-response.d.ts +0 -0
  1622. /package/{lib/use-lunatic → use-lunatic}/hooks/useOverview.d.ts +0 -0
  1623. /package/{lib/use-lunatic → use-lunatic}/hooks/useWarnDepChange.d.ts +0 -0
  1624. /package/{lib/use-lunatic → use-lunatic}/logger/ConsoleLogger.d.ts +0 -0
  1625. /package/{lib/use-lunatic → use-lunatic}/logger/type.d.ts +0 -0
  1626. /package/{lib/use-lunatic → use-lunatic}/lunatic-context.d.ts +0 -0
  1627. /package/{lib/use-lunatic → use-lunatic}/props/getComponentTypeProps.d.ts +0 -0
  1628. /package/{lib/use-lunatic → use-lunatic}/props/propIterations.d.ts +0 -0
  1629. /package/{lib/use-lunatic → use-lunatic}/props/propMissingResponse.d.ts +0 -0
  1630. /package/{lib/use-lunatic → use-lunatic}/props/propOptions.d.ts +0 -0
  1631. /package/{lib/use-lunatic → use-lunatic}/props/propOptions.spec.d.ts +0 -0
  1632. /package/{lib/use-lunatic → use-lunatic}/props/propValue.d.ts +0 -0
  1633. /package/{lib/use-lunatic → use-lunatic}/props/propValue.spec.d.ts +0 -0
  1634. /package/{lib/use-lunatic → use-lunatic}/reducer/commons/auto-explore-loop.d.ts +0 -0
  1635. /package/{lib/use-lunatic → use-lunatic}/reducer/commons/resize-array-variable.d.ts +0 -0
  1636. /package/{lib/use-lunatic → use-lunatic}/reducer/commons/validate-condition-filter.d.ts +0 -0
  1637. /package/{lib/use-lunatic → use-lunatic}/reducer/controls/check-base-control.d.ts +0 -0
  1638. /package/{lib/use-lunatic → use-lunatic}/reducer/controls/check-roundabout-control.d.ts +0 -0
  1639. /package/{lib/use-lunatic → use-lunatic}/reducer/overview/overviewOnInit.d.ts +0 -0
  1640. /package/{lib/use-lunatic → use-lunatic}/reducer/reduce-go-next-page.d.ts +0 -0
  1641. /package/{lib/use-lunatic → use-lunatic}/reducer/reduce-go-previous-page.d.ts +0 -0
  1642. /package/{lib/use-lunatic → use-lunatic}/reducer/reduce-go-to-page.d.ts +0 -0
  1643. /package/{lib/use-lunatic → use-lunatic}/reducer/reduce-handle-changes.d.ts +0 -0
  1644. /package/{lib/use-lunatic → use-lunatic}/reducer/reducer.d.ts +0 -0
  1645. /package/{lib/use-lunatic → use-lunatic}/reducer/reducerInitializer.d.ts +0 -0
  1646. /package/{lib/use-lunatic → use-lunatic}/type.d.ts +0 -0
  1647. /package/{lib/use-lunatic → use-lunatic}/use-lunatic.d.ts +0 -0
  1648. /package/{lib/utils → utils}/array.d.ts +0 -0
  1649. /package/{lib/utils → utils}/array.spec.d.ts +0 -0
  1650. /package/{lib/utils → utils}/constants/alphabet.d.ts +0 -0
  1651. /package/{lib/utils → utils}/constants/features.d.ts +0 -0
  1652. /package/{lib/utils → utils}/constants/links.d.ts +0 -0
  1653. /package/{lib/utils → utils}/constants/missing.d.ts +0 -0
  1654. /package/{lib/utils → utils}/constants/variable-status.d.ts +0 -0
  1655. /package/{lib/utils → utils}/constants/variable-types.d.ts +0 -0
  1656. /package/{lib/utils → utils}/dom.d.ts +0 -0
  1657. /package/{lib/utils → utils}/env.d.ts +0 -0
  1658. /package/{lib/utils → utils}/function.d.ts +0 -0
  1659. /package/{lib/utils → utils}/is-element.d.ts +0 -0
  1660. /package/{lib/utils → utils}/is-object.d.ts +0 -0
  1661. /package/{lib/utils → utils}/logger.d.ts +0 -0
  1662. /package/{lib/utils → utils}/number.d.ts +0 -0
  1663. /package/{lib/utils → utils}/number.spec.d.ts +0 -0
  1664. /package/{lib/utils → utils}/object.d.ts +0 -0
  1665. /package/{lib/utils → utils}/search/SearchInterface.d.ts +0 -0
  1666. /package/{lib/utils → utils}/search/SearchMinisearch.d.ts +0 -0
  1667. /package/{lib/utils → utils}/search/SuggestersDatabase.d.ts +0 -0
  1668. /package/{lib/utils → utils}/search/melauto.d.ts +0 -0
  1669. /package/{lib/utils → utils}/search/tokenizer.d.ts +0 -0
  1670. /package/{lib/utils → utils}/to-number.d.ts +0 -0
  1671. /package/{lib/utils → utils}/variables.d.ts +0 -0
  1672. /package/{lib/utils → utils}/variables.spec.d.ts +0 -0
  1673. /package/{lib/utils → utils}/vtl.d.ts +0 -0
@@ -0,0 +1,2892 @@
1
+ {
2
+ "id": "l4cgtrsi",
3
+ "modele": "THL-RG",
4
+ "enoCoreVersion": "2.3.7-dev-lunatic-v2",
5
+ "lunaticModelVersion": "2.2.13-dev-lunatic-v2",
6
+ "generatingDate": "19-07-2022 10:45:19",
7
+ "missing": false,
8
+ "pagination": "question",
9
+ "maxPage": "5",
10
+ "label": { "value": "THL - TCM - Rallye game", "type": "VTL|MD" },
11
+ "components": [
12
+ {
13
+ "id": "kfxmfvwj",
14
+ "componentType": "Sequence",
15
+ "page": "1",
16
+ "label": {
17
+ "value": "Tableau des habitants du logement",
18
+ "type": "VTL|MD"
19
+ },
20
+ "declarations": [
21
+ {
22
+ "id": "kfxmfvwj-l0v2ckjm",
23
+ "declarationType": "HELP",
24
+ "position": "AFTER_QUESTION_TEXT",
25
+ "label": { "value": "THL", "type": "VTL|MD" }
26
+ }
27
+ ],
28
+ "conditionFilter": { "value": "true", "type": "VTL" },
29
+ "hierarchy": {
30
+ "sequence": {
31
+ "id": "kfxmfvwj",
32
+ "page": "1",
33
+ "label": {
34
+ "value": "Tableau des habitants du logement",
35
+ "type": "VTL|MD"
36
+ }
37
+ }
38
+ }
39
+ },
40
+
41
+ {
42
+ "id": "l0v2t2lc",
43
+ "componentType": "InputNumber",
44
+ "mandatory": false,
45
+ "page": "2",
46
+ "min": 1,
47
+ "max": 20,
48
+ "decimals": 0,
49
+ "label": {
50
+ "value": "\"➡ 1. \" || \"En vous comptant, combien de personnes habitent dans le logement situé à l’adresse \" || ADR || \" ?\"",
51
+ "type": "VTL|MD"
52
+ },
53
+ "conditionFilter": { "value": "true", "type": "VTL" },
54
+ "hierarchy": {
55
+ "sequence": {
56
+ "id": "kfxmfvwj",
57
+ "page": "1",
58
+ "label": {
59
+ "value": "Tableau des habitants du logement",
60
+ "type": "VTL|MD"
61
+ }
62
+ }
63
+ },
64
+ "bindingDependencies": ["ADR", "NHAB"],
65
+ "response": { "name": "NHAB" }
66
+ },
67
+
68
+ {
69
+ "id": "l0v3gfcr",
70
+ "componentType": "Loop",
71
+ "page": "3",
72
+ "depth": 1,
73
+ "paginatedLoop": false,
74
+ "conditionFilter": { "value": "true", "type": "VTL" },
75
+ "hierarchy": {
76
+ "sequence": {
77
+ "id": "kfxmfvwj",
78
+ "page": "1",
79
+ "label": {
80
+ "value": "Tableau des habitants du logement",
81
+ "type": "VTL|MD"
82
+ }
83
+ }
84
+ },
85
+ "bindingDependencies": ["NBHAB", "G_PRENOM"],
86
+ "loopDependencies": ["NBHAB"],
87
+ "lines": {
88
+ "min": { "value": "cast(NBHAB, integer)", "type": "VTL" },
89
+ "max": { "value": "cast(NBHAB, integer)", "type": "VTL" }
90
+ },
91
+ "components": [
92
+ {
93
+ "id": "l0mkvvru",
94
+ "componentType": "Subsequence",
95
+ "page": "3",
96
+ "goToPage": "3",
97
+ "label": { "value": "Prénoms des habitants", "type": "VTL|MD" },
98
+ "declarations": [
99
+ {
100
+ "id": "l0mkvvru-l2yohc5k",
101
+ "declarationType": "HELP",
102
+ "position": "AFTER_QUESTION_TEXT",
103
+ "label": {
104
+ "value": "\" Si plusieurs habitants ont le même prénom, ajouter une initiale pour pouvoir les distinguer dans la suite du questionnaire.\"",
105
+ "type": "VTL|MD"
106
+ }
107
+ }
108
+ ],
109
+ "conditionFilter": { "value": "true", "type": "VTL" },
110
+ "hierarchy": {
111
+ "sequence": {
112
+ "id": "kfxmfvwj",
113
+ "page": "1",
114
+ "label": {
115
+ "value": "Tableau des habitants du logement",
116
+ "type": "VTL|MD"
117
+ }
118
+ },
119
+ "subSequence": {
120
+ "id": "l0mkvvru",
121
+ "page": "3",
122
+ "label": { "value": "Prénoms des habitants", "type": "VTL|MD" }
123
+ }
124
+ },
125
+ "bindingDependencies": ["NBHAB"]
126
+ },
127
+
128
+ {
129
+ "id": "l0v3g11i",
130
+ "componentType": "Input",
131
+ "mandatory": false,
132
+ "page": "3",
133
+ "maxLength": 40,
134
+ "label": {
135
+ "value": "\"➡ 2. \" || \"Prénom (en commençant par le vôtre)\"",
136
+ "type": "VTL|MD"
137
+ },
138
+ "conditionFilter": { "value": "true", "type": "VTL" },
139
+ "controls": [
140
+ {
141
+ "id": "l0v3g11i-CI-0",
142
+ "criticality": "WARN",
143
+ "control": {
144
+ "value": "not((nvl(G_PRENOM, \"\") = \"\") and (not(isnull(NBHAB)) and cast(NBHAB,integer)>1))",
145
+ "type": "VTL"
146
+ },
147
+ "errorMessage": {
148
+ "value": "\"Merci d’indiquer l’ensemble des prénoms (initiales ou autre) afin de pouvoir vous repérer dans la suite du questionnaire lorsque les questions porteront sur une personne en particulier.\"",
149
+ "type": "VTL|MD"
150
+ },
151
+ "bindingDependencies": ["G_PRENOM", "NBHAB"]
152
+ },
153
+
154
+ {
155
+ "id": "l0v3g11i-CI-1",
156
+ "criticality": "WARN",
157
+ "control": {
158
+ "value": "not((nvl(G_PRENOM, \"\") = \"\") and (isnull(NBHAB) or cast(NBHAB,integer)=1))",
159
+ "type": "VTL"
160
+ },
161
+ "errorMessage": {
162
+ "value": "\"Votre réponse est importante pour le bon déroulement du questionnaire. Merci d’indiquer votre prénom (ou vos initiales, ou autre) pour pouvoir poursuivre le questionnaire.\"",
163
+ "type": "VTL|MD"
164
+ },
165
+ "bindingDependencies": ["G_PRENOM", "NBHAB"]
166
+ }
167
+ ],
168
+ "hierarchy": {
169
+ "sequence": {
170
+ "id": "kfxmfvwj",
171
+ "page": "1",
172
+ "label": {
173
+ "value": "Tableau des habitants du logement",
174
+ "type": "VTL|MD"
175
+ }
176
+ },
177
+ "subSequence": {
178
+ "id": "l0mkvvru",
179
+ "page": "3",
180
+ "label": { "value": "Prénoms des habitants", "type": "VTL|MD" }
181
+ }
182
+ },
183
+ "bindingDependencies": ["G_PRENOM", "NBHAB"],
184
+ "response": { "name": "G_PRENOM" }
185
+ }
186
+ ]
187
+ },
188
+
189
+ {
190
+ "id": "l0v43iz7",
191
+ "componentType": "Loop",
192
+ "page": "4",
193
+ "maxPage": "16",
194
+ "depth": 1,
195
+ "paginatedLoop": true,
196
+ "conditionFilter": { "value": "true", "type": "VTL" },
197
+ "hierarchy": {
198
+ "sequence": {
199
+ "id": "kfxmfvwj",
200
+ "page": "1",
201
+ "label": {
202
+ "value": "Tableau des habitants du logement",
203
+ "type": "VTL|MD"
204
+ }
205
+ }
206
+ },
207
+ "bindingDependencies": [
208
+ "PRENOM",
209
+ "PRENOMREF",
210
+ "TRAGE",
211
+ "LIB_E",
212
+ "LIB_PR",
213
+ "DATEDEPART",
214
+ "DATENAIS",
215
+ "DATERETOUR",
216
+ "LIB_SON",
217
+ "ANNARIV",
218
+ "ANNAIS",
219
+ "SEXE",
220
+ "LNAIS",
221
+ "DEPNAIS",
222
+ "PAYSNAIS",
223
+ "NATION1",
224
+ "NATION2",
225
+ "NATION3",
226
+ "NATION4",
227
+ "NATIONETR",
228
+ "VECUE",
229
+ "AGRETOUR",
230
+ "AGARRIV"
231
+ ],
232
+ "loopDependencies": ["G_PRENOM"],
233
+ "components": [
234
+ {
235
+ "id": "l0v3oeqn",
236
+ "componentType": "Subsequence",
237
+ "page": "4.1",
238
+ "goToPage": "4.1",
239
+ "label": {
240
+ "value": "Description des habitants du logement",
241
+ "type": "VTL|MD"
242
+ },
243
+ "declarations": [
244
+ {
245
+ "id": "l0v3oeqn-l0v3ldcs",
246
+ "declarationType": "HELP",
247
+ "position": "AFTER_QUESTION_TEXT",
248
+ "label": {
249
+ "value": "if (PRENOM = PRENOMREF) then PRENOM ||\", nous allons rapidement vous décrire.\" else \"Nous allons décrire rapidement \" || PRENOM || \".\"",
250
+ "type": "VTL|MD"
251
+ }
252
+ }
253
+ ],
254
+ "conditionFilter": { "value": "true", "type": "VTL" },
255
+ "hierarchy": {
256
+ "sequence": {
257
+ "id": "kfxmfvwj",
258
+ "page": "1",
259
+ "label": {
260
+ "value": "Tableau des habitants du logement",
261
+ "type": "VTL|MD"
262
+ }
263
+ },
264
+ "subSequence": {
265
+ "id": "l0v3oeqn",
266
+ "page": "4.1",
267
+ "label": {
268
+ "value": "Description des habitants du logement",
269
+ "type": "VTL|MD"
270
+ }
271
+ }
272
+ },
273
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"]
274
+ },
275
+
276
+ {
277
+ "id": "l0v4b34m",
278
+ "componentType": "Radio",
279
+ "mandatory": false,
280
+ "page": "4.2",
281
+ "label": {
282
+ "value": "\"➡ 3. \" || \"Quel est \" || if (PRENOM = PRENOMREF) then \"votre sexe ?\" else \"le sexe de \" || PRENOM || \" ?\"",
283
+ "type": "VTL|MD"
284
+ },
285
+ "conditionFilter": { "value": "true", "type": "VTL" },
286
+ "hierarchy": {
287
+ "sequence": {
288
+ "id": "kfxmfvwj",
289
+ "page": "1",
290
+ "label": {
291
+ "value": "Tableau des habitants du logement",
292
+ "type": "VTL|MD"
293
+ }
294
+ },
295
+ "subSequence": {
296
+ "id": "l0v3oeqn",
297
+ "page": "4.1",
298
+ "label": {
299
+ "value": "Description des habitants du logement",
300
+ "type": "VTL|MD"
301
+ }
302
+ }
303
+ },
304
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "SEXE", "G_PRENOM"],
305
+ "options": [
306
+ { "value": "1", "label": { "value": "Homme", "type": "VTL|MD" } },
307
+
308
+ { "value": "2", "label": { "value": "Femme", "type": "VTL|MD" } }
309
+ ],
310
+ "response": { "name": "SEXE" }
311
+ },
312
+
313
+ {
314
+ "id": "l0v4oi1v",
315
+ "componentType": "Datepicker",
316
+ "mandatory": false,
317
+ "page": "4.3",
318
+ "min": "1900-01-01",
319
+ "max": "2022-03-17",
320
+ "label": {
321
+ "value": "\"➡ 4. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre date de naissance ?\" else \"la date de naissance de \" || PRENOM || \" ?\"",
322
+ "type": "VTL|MD"
323
+ },
324
+ "conditionFilter": { "value": "true", "type": "VTL" },
325
+ "hierarchy": {
326
+ "sequence": {
327
+ "id": "kfxmfvwj",
328
+ "page": "1",
329
+ "label": {
330
+ "value": "Tableau des habitants du logement",
331
+ "type": "VTL|MD"
332
+ }
333
+ },
334
+ "subSequence": {
335
+ "id": "l0v3oeqn",
336
+ "page": "4.1",
337
+ "label": {
338
+ "value": "Description des habitants du logement",
339
+ "type": "VTL|MD"
340
+ }
341
+ }
342
+ },
343
+ "bindingDependencies": [
344
+ "PRENOM",
345
+ "PRENOMREF",
346
+ "DATENAIS",
347
+ "G_PRENOM"
348
+ ],
349
+ "dateFormat": "YYYY-MM-DD",
350
+ "response": { "name": "DATENAIS" }
351
+ },
352
+
353
+ {
354
+ "id": "l11z2too",
355
+ "componentType": "Radio",
356
+ "mandatory": false,
357
+ "page": "4.4",
358
+ "label": {
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 || \" ?\"",
360
+ "type": "VTL|MD"
361
+ },
362
+ "conditionFilter": {
363
+ "value": "(isnull(DATENAIS))",
364
+ "type": "VTL",
365
+ "bindingDependencies": ["DATENAIS"]
366
+ },
367
+ "controls": [
368
+ {
369
+ "id": "l11z2too-CI-0",
370
+ "criticality": "INFO",
371
+ "control": {
372
+ "value": "not(isnull(TRAGE) and (PRENOM = PRENOMREF))",
373
+ "type": "VTL"
374
+ },
375
+ "errorMessage": {
376
+ "value": "Votre réponse est importante pour le bon déroulement du questionnaire. La connaissance de votre âge permet de filtrer la suite du questionnaire et d’éviter de vous poser des questions qui ne vous concerneraient pas. Merci de renseigner votre âge.",
377
+ "type": "VTL|MD"
378
+ },
379
+ "bindingDependencies": ["TRAGE", "PRENOM", "PRENOMREF"]
380
+ },
381
+
382
+ {
383
+ "id": "l11z2too-CI-1",
384
+ "criticality": "INFO",
385
+ "control": {
386
+ "value": "not(isnull(TRAGE) and PRENOM <> PRENOMREF)",
387
+ "type": "VTL"
388
+ },
389
+ "errorMessage": {
390
+ "value": "Cette réponse est importante pour le bon déroulement du questionnaire. La connaissance de l’âge permet de filtrer la suite du questionnaire et d’éviter de poser des questions hors de propos. Merci de renseigner l’âge.",
391
+ "type": "VTL|MD"
392
+ },
393
+ "bindingDependencies": ["TRAGE", "PRENOM", "PRENOMREF"]
394
+ }
395
+ ],
396
+ "hierarchy": {
397
+ "sequence": {
398
+ "id": "kfxmfvwj",
399
+ "page": "1",
400
+ "label": {
401
+ "value": "Tableau des habitants du logement",
402
+ "type": "VTL|MD"
403
+ }
404
+ },
405
+ "subSequence": {
406
+ "id": "l0v3oeqn",
407
+ "page": "4.1",
408
+ "label": {
409
+ "value": "Description des habitants du logement",
410
+ "type": "VTL|MD"
411
+ }
412
+ }
413
+ },
414
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "TRAGE", "G_PRENOM"],
415
+ "options": [
416
+ {
417
+ "value": "1",
418
+ "label": { "value": "Moins de 15 ans", "type": "VTL|MD" }
419
+ },
420
+
421
+ {
422
+ "value": "2",
423
+ "label": { "value": "De 15 à 18 ans", "type": "VTL|MD" }
424
+ },
425
+
426
+ {
427
+ "value": "3",
428
+ "label": { "value": "De 18 à 25 ans", "type": "VTL|MD" }
429
+ },
430
+
431
+ {
432
+ "value": "4",
433
+ "label": { "value": "De 25 à 40 ans", "type": "VTL|MD" }
434
+ },
435
+
436
+ {
437
+ "value": "5",
438
+ "label": { "value": "De 40 à 60 ans", "type": "VTL|MD" }
439
+ },
440
+
441
+ {
442
+ "value": "6",
443
+ "label": { "value": "Plus de 60 ans", "type": "VTL|MD" }
444
+ }
445
+ ],
446
+ "response": { "name": "TRAGE" }
447
+ },
448
+
449
+ {
450
+ "id": "l11zznh4",
451
+ "componentType": "Radio",
452
+ "mandatory": false,
453
+ "page": "4.5",
454
+ "label": {
455
+ "value": "\"➡ 6. \" || if (PRENOM = PRENOMREF) then \"Où êtes-vous né\"|| LIB_E || \" ?\" else \"Où est né\" || LIB_E || \" \" || PRENOM || \" ?\"",
456
+ "type": "VTL|MD"
457
+ },
458
+ "declarations": [
459
+ {
460
+ "id": "l11zznh4-l120k8go",
461
+ "declarationType": "HELP",
462
+ "position": "AFTER_QUESTION_TEXT",
463
+ "label": {
464
+ "value": "\"Prendre en compte les frontières actuelles.\"",
465
+ "type": "VTL|MD"
466
+ }
467
+ }
468
+ ],
469
+ "conditionFilter": { "value": "true", "type": "VTL" },
470
+ "hierarchy": {
471
+ "sequence": {
472
+ "id": "kfxmfvwj",
473
+ "page": "1",
474
+ "label": {
475
+ "value": "Tableau des habitants du logement",
476
+ "type": "VTL|MD"
477
+ }
478
+ },
479
+ "subSequence": {
480
+ "id": "l0v3oeqn",
481
+ "page": "4.1",
482
+ "label": {
483
+ "value": "Description des habitants du logement",
484
+ "type": "VTL|MD"
485
+ }
486
+ }
487
+ },
488
+ "bindingDependencies": [
489
+ "PRENOM",
490
+ "PRENOMREF",
491
+ "LIB_E",
492
+ "LNAIS",
493
+ "G_PRENOM"
494
+ ],
495
+ "options": [
496
+ {
497
+ "value": "1",
498
+ "label": {
499
+ "value": "\"En France (Métropole, DOM et COM)\"",
500
+ "type": "VTL|MD"
501
+ }
502
+ },
503
+
504
+ {
505
+ "value": "2",
506
+ "label": { "value": "\"A l’étranger\"", "type": "VTL|MD" }
507
+ }
508
+ ],
509
+ "response": { "name": "LNAIS" }
510
+ },
511
+
512
+ {
513
+ "id": "l120kmks",
514
+ "componentType": "Dropdown",
515
+ "mandatory": false,
516
+ "page": "4.6",
517
+ "label": {
518
+ "value": "\"➡ 7. \" || \"Dans quel département \" || if (PRENOM = PRENOMREF) then \"êtes-vous né\" || LIB_E || \" ?\" else \"est né\" || LIB_E || \" \" || PRENOM || \" ?\"",
519
+ "type": "VTL|MD"
520
+ },
521
+ "declarations": [
522
+ {
523
+ "id": "l120kmks-l120ef3t",
524
+ "declarationType": "HELP",
525
+ "position": "AFTER_QUESTION_TEXT",
526
+ "label": {
527
+ "value": "\"Saisir le numéro ou les premières lettres du département puis sélectionner le département de naissance dans la liste proposée.\"",
528
+ "type": "VTL|MD"
529
+ }
530
+ }
531
+ ],
532
+ "conditionFilter": {
533
+ "value": "(LNAIS = \"1\")",
534
+ "type": "VTL",
535
+ "bindingDependencies": ["LNAIS"]
536
+ },
537
+ "hierarchy": {
538
+ "sequence": {
539
+ "id": "kfxmfvwj",
540
+ "page": "1",
541
+ "label": {
542
+ "value": "Tableau des habitants du logement",
543
+ "type": "VTL|MD"
544
+ }
545
+ },
546
+ "subSequence": {
547
+ "id": "l0v3oeqn",
548
+ "page": "4.1",
549
+ "label": {
550
+ "value": "Description des habitants du logement",
551
+ "type": "VTL|MD"
552
+ }
553
+ }
554
+ },
555
+ "bindingDependencies": [
556
+ "PRENOM",
557
+ "PRENOMREF",
558
+ "LIB_E",
559
+ "DEPNAIS",
560
+ "G_PRENOM"
561
+ ],
562
+ "options": [
563
+ {
564
+ "value": "1",
565
+ "label": {
566
+ "value": "\"Recherche sur liste des départements\"",
567
+ "type": "VTL|MD"
568
+ }
569
+ }
570
+ ],
571
+ "response": { "name": "DEPNAIS" }
572
+ },
573
+
574
+ {
575
+ "id": "l120lqns",
576
+ "componentType": "Dropdown",
577
+ "mandatory": false,
578
+ "page": "4.7",
579
+ "label": {
580
+ "value": "\"➡ 8. \" || \"Dans quel pays \" || if(PRENOM = PRENOMREF) then \"êtes-vous né\" || LIB_E || \" ?\" else \"est né\"|| LIB_E || \" \" || PRENOM || \" ?\"",
581
+ "type": "VTL|MD"
582
+ },
583
+ "declarations": [
584
+ {
585
+ "id": "l120lqns-l1210yn3",
586
+ "declarationType": "HELP",
587
+ "position": "AFTER_QUESTION_TEXT",
588
+ "label": {
589
+ "value": "\"Saisir les premières lettres du pays puis sélectionner le pays de naissance\"",
590
+ "type": "VTL|MD"
591
+ }
592
+ }
593
+ ],
594
+ "conditionFilter": {
595
+ "value": "(LNAIS = \"2\")",
596
+ "type": "VTL",
597
+ "bindingDependencies": ["LNAIS"]
598
+ },
599
+ "hierarchy": {
600
+ "sequence": {
601
+ "id": "kfxmfvwj",
602
+ "page": "1",
603
+ "label": {
604
+ "value": "Tableau des habitants du logement",
605
+ "type": "VTL|MD"
606
+ }
607
+ },
608
+ "subSequence": {
609
+ "id": "l0v3oeqn",
610
+ "page": "4.1",
611
+ "label": {
612
+ "value": "Description des habitants du logement",
613
+ "type": "VTL|MD"
614
+ }
615
+ }
616
+ },
617
+ "bindingDependencies": [
618
+ "PRENOM",
619
+ "PRENOMREF",
620
+ "LIB_E",
621
+ "PAYSNAIS",
622
+ "G_PRENOM"
623
+ ],
624
+ "options": [
625
+ {
626
+ "value": "1",
627
+ "label": {
628
+ "value": "Recherche sur liste des pays",
629
+ "type": "VTL|MD"
630
+ }
631
+ }
632
+ ],
633
+ "response": { "name": "PAYSNAIS" }
634
+ },
635
+
636
+ {
637
+ "id": "l120zrhs",
638
+ "componentType": "CheckboxGroup",
639
+ "page": "4.8",
640
+ "label": {
641
+ "value": "\"➡ 9. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre nationalité ?\" else \"la nationalité de \" || PRENOM || \" ?\"",
642
+ "type": "VTL|MD"
643
+ },
644
+ "declarations": [
645
+ {
646
+ "id": "l120zrhs-l121egbq",
647
+ "declarationType": "HELP",
648
+ "position": "AFTER_QUESTION_TEXT",
649
+ "label": {
650
+ "value": "Plusieurs réponses possibles",
651
+ "type": "VTL|MD"
652
+ }
653
+ }
654
+ ],
655
+ "conditionFilter": { "value": "true", "type": "VTL" },
656
+ "hierarchy": {
657
+ "sequence": {
658
+ "id": "kfxmfvwj",
659
+ "page": "1",
660
+ "label": {
661
+ "value": "Tableau des habitants du logement",
662
+ "type": "VTL|MD"
663
+ }
664
+ },
665
+ "subSequence": {
666
+ "id": "l0v3oeqn",
667
+ "page": "4.1",
668
+ "label": {
669
+ "value": "Description des habitants du logement",
670
+ "type": "VTL|MD"
671
+ }
672
+ }
673
+ },
674
+ "bindingDependencies": [
675
+ "PRENOM",
676
+ "PRENOMREF",
677
+ "NATION1",
678
+ "NATION2",
679
+ "NATION3",
680
+ "NATION4",
681
+ "G_PRENOM"
682
+ ],
683
+ "responses": [
684
+ {
685
+ "id": "l120zrhs-QOP-l12109x8",
686
+ "label": {
687
+ "value": "Française de naissance ou par intégration",
688
+ "type": "VTL|MD"
689
+ },
690
+ "response": { "name": "NATION1" }
691
+ },
692
+
693
+ {
694
+ "id": "l120zrhs-QOP-l1216ug0",
695
+ "label": {
696
+ "value": "Française par déclaration, naturalisation, option à votre majorité",
697
+ "type": "VTL|MD"
698
+ },
699
+ "response": { "name": "NATION2" }
700
+ },
701
+
702
+ {
703
+ "id": "l120zrhs-QOP-l121i9v7",
704
+ "label": { "value": "Etrangère", "type": "VTL|MD" },
705
+ "response": { "name": "NATION3" }
706
+ },
707
+
708
+ {
709
+ "id": "l120zrhs-QOP-l1217hj1",
710
+ "label": {
711
+ "value": "Apatride (pas de nationalité)",
712
+ "type": "VTL|MD"
713
+ },
714
+ "response": { "name": "NATION4" }
715
+ }
716
+ ]
717
+ },
718
+
719
+ {
720
+ "id": "l121ftlg",
721
+ "componentType": "Dropdown",
722
+ "mandatory": false,
723
+ "page": "4.9",
724
+ "label": {
725
+ "value": "\"➡ 10. \" || \"Quelle est \" || if (PRENOM = PRENOMREF) then \"votre nationalité étrangère ?\" else \"la nationalité étrangère de \" || PRENOM || \" ?\"",
726
+ "type": "VTL|MD"
727
+ },
728
+ "declarations": [
729
+ {
730
+ "id": "l121ftlg-l121hdzg",
731
+ "declarationType": "HELP",
732
+ "position": "AFTER_QUESTION_TEXT",
733
+ "label": {
734
+ "value": "Entrez les premières lettres de la nationalité, et sélectionnez dans la liste la nationalité étrangère correspondante.",
735
+ "type": "VTL|MD"
736
+ }
737
+ }
738
+ ],
739
+ "conditionFilter": {
740
+ "value": "(NATION3 = true)",
741
+ "type": "VTL",
742
+ "bindingDependencies": ["NATION3"]
743
+ },
744
+ "hierarchy": {
745
+ "sequence": {
746
+ "id": "kfxmfvwj",
747
+ "page": "1",
748
+ "label": {
749
+ "value": "Tableau des habitants du logement",
750
+ "type": "VTL|MD"
751
+ }
752
+ },
753
+ "subSequence": {
754
+ "id": "l0v3oeqn",
755
+ "page": "4.1",
756
+ "label": {
757
+ "value": "Description des habitants du logement",
758
+ "type": "VTL|MD"
759
+ }
760
+ }
761
+ },
762
+ "bindingDependencies": [
763
+ "PRENOM",
764
+ "PRENOMREF",
765
+ "NATIONETR",
766
+ "G_PRENOM"
767
+ ],
768
+ "options": [
769
+ {
770
+ "value": "1",
771
+ "label": {
772
+ "value": "Recherche dans la liste des nationalités étrangères",
773
+ "type": "VTL|MD"
774
+ }
775
+ }
776
+ ],
777
+ "response": { "name": "NATIONETR" }
778
+ },
779
+
780
+ {
781
+ "id": "l126uoh0",
782
+ "componentType": "Subsequence",
783
+ "page": "4.10",
784
+ "goToPage": "4.10",
785
+ "label": {
786
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
787
+ "type": "VTL|MD"
788
+ },
789
+ "declarations": [
790
+ {
791
+ "id": "l126uoh0-l1279j1h",
792
+ "declarationType": "HELP",
793
+ "position": "AFTER_QUESTION_TEXT",
794
+ "label": {
795
+ "value": "Questions optionnelles sur le vécu à l’étranger en dehors du champ de l’enquête.",
796
+ "type": "VTL|MD"
797
+ }
798
+ }
799
+ ],
800
+ "conditionFilter": { "value": "true", "type": "VTL" },
801
+ "hierarchy": {
802
+ "sequence": {
803
+ "id": "kfxmfvwj",
804
+ "page": "1",
805
+ "label": {
806
+ "value": "Tableau des habitants du logement",
807
+ "type": "VTL|MD"
808
+ }
809
+ },
810
+ "subSequence": {
811
+ "id": "l126uoh0",
812
+ "page": "4.10",
813
+ "label": {
814
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
815
+ "type": "VTL|MD"
816
+ }
817
+ }
818
+ },
819
+ "bindingDependencies": ["G_PRENOM"]
820
+ },
821
+
822
+ {
823
+ "id": "l1265ml0",
824
+ "componentType": "Radio",
825
+ "mandatory": false,
826
+ "page": "4.11",
827
+ "label": {
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 ?\"",
829
+ "type": "VTL|MD"
830
+ },
831
+ "conditionFilter": {
832
+ "value": "(LNAIS = \"1\")",
833
+ "type": "VTL",
834
+ "bindingDependencies": ["LNAIS"]
835
+ },
836
+ "hierarchy": {
837
+ "sequence": {
838
+ "id": "kfxmfvwj",
839
+ "page": "1",
840
+ "label": {
841
+ "value": "Tableau des habitants du logement",
842
+ "type": "VTL|MD"
843
+ }
844
+ },
845
+ "subSequence": {
846
+ "id": "l126uoh0",
847
+ "page": "4.10",
848
+ "label": {
849
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
850
+ "type": "VTL|MD"
851
+ }
852
+ }
853
+ },
854
+ "bindingDependencies": [
855
+ "PRENOM",
856
+ "PRENOMREF",
857
+ "LIB_PR",
858
+ "VECUE",
859
+ "G_PRENOM"
860
+ ],
861
+ "options": [
862
+ { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
863
+
864
+ { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
865
+ ],
866
+ "response": { "name": "VECUE" }
867
+ },
868
+
869
+ {
870
+ "id": "l12b8hbj",
871
+ "componentType": "Datepicker",
872
+ "mandatory": false,
873
+ "page": "4.12",
874
+ "min": "1900-01",
875
+ "max": "2022-03",
876
+ "label": {
877
+ "value": "\"➡ 12. \" || \"Pouvez-vous indiquer la date de départ à l’étranger, au début de cette période à l’étranger ?\"",
878
+ "type": "VTL|MD"
879
+ },
880
+ "declarations": [
881
+ {
882
+ "id": "l12b8hbj-l12b4ifa",
883
+ "declarationType": "HELP",
884
+ "position": "AFTER_QUESTION_TEXT",
885
+ "label": {
886
+ "value": "\"Indiquez le mois et l’année du départ\"",
887
+ "type": "VTL|MD"
888
+ }
889
+ }
890
+ ],
891
+ "conditionFilter": {
892
+ "value": "(VECUE = \"1\")",
893
+ "type": "VTL",
894
+ "bindingDependencies": ["VECUE"]
895
+ },
896
+ "controls": [
897
+ {
898
+ "id": "l12b8hbj-CI-0",
899
+ "criticality": "WARN",
900
+ "control": {
901
+ "value": "not(cast(DATEDEPART,integer) < cast(DATENAIS, integer))",
902
+ "type": "VTL"
903
+ },
904
+ "errorMessage": {
905
+ "value": "La date de naissance est inférieure à la date de départ à l’étranger",
906
+ "type": "VTL|MD"
907
+ },
908
+ "bindingDependencies": ["DATEDEPART", "DATENAIS"]
909
+ }
910
+ ],
911
+ "hierarchy": {
912
+ "sequence": {
913
+ "id": "kfxmfvwj",
914
+ "page": "1",
915
+ "label": {
916
+ "value": "Tableau des habitants du logement",
917
+ "type": "VTL|MD"
918
+ }
919
+ },
920
+ "subSequence": {
921
+ "id": "l126uoh0",
922
+ "page": "4.10",
923
+ "label": {
924
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
925
+ "type": "VTL|MD"
926
+ }
927
+ }
928
+ },
929
+ "bindingDependencies": ["DATEDEPART", "G_PRENOM"],
930
+ "dateFormat": "YYYY-MM",
931
+ "response": { "name": "DATEDEPART" }
932
+ },
933
+
934
+ {
935
+ "id": "l126og4z",
936
+ "componentType": "Datepicker",
937
+ "mandatory": false,
938
+ "page": "4.13",
939
+ "min": "1900-01",
940
+ "max": "2022-03",
941
+ "label": {
942
+ "value": "\"➡ 13. \" || \"Pouvez-vous indiquer la date du retour en France, à l’issue de cette période à l’étranger ?\"",
943
+ "type": "VTL|MD"
944
+ },
945
+ "declarations": [
946
+ {
947
+ "id": "l126og4z-l126o0z8",
948
+ "declarationType": "HELP",
949
+ "position": "AFTER_QUESTION_TEXT",
950
+ "label": {
951
+ "value": "\"Indiquez le mois et l’année du retour\"",
952
+ "type": "VTL|MD"
953
+ }
954
+ }
955
+ ],
956
+ "conditionFilter": {
957
+ "value": "(VECUE = \"1\")",
958
+ "type": "VTL",
959
+ "bindingDependencies": ["VECUE"]
960
+ },
961
+ "controls": [
962
+ {
963
+ "id": "l126og4z-CI-0",
964
+ "criticality": "WARN",
965
+ "control": {
966
+ "value": "not(cast(DATERETOUR,integer) < cast(DATEDEPART, integer))",
967
+ "type": "VTL"
968
+ },
969
+ "errorMessage": {
970
+ "value": "\"La date de retour est antérieure à la date de départ\"",
971
+ "type": "VTL|MD"
972
+ },
973
+ "bindingDependencies": ["DATERETOUR", "DATEDEPART"]
974
+ }
975
+ ],
976
+ "hierarchy": {
977
+ "sequence": {
978
+ "id": "kfxmfvwj",
979
+ "page": "1",
980
+ "label": {
981
+ "value": "Tableau des habitants du logement",
982
+ "type": "VTL|MD"
983
+ }
984
+ },
985
+ "subSequence": {
986
+ "id": "l126uoh0",
987
+ "page": "4.10",
988
+ "label": {
989
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
990
+ "type": "VTL|MD"
991
+ }
992
+ }
993
+ },
994
+ "bindingDependencies": ["DATERETOUR", "G_PRENOM"],
995
+ "dateFormat": "YYYY-MM",
996
+ "response": { "name": "DATERETOUR" }
997
+ },
998
+
999
+ {
1000
+ "id": "l1uxyne3",
1001
+ "componentType": "InputNumber",
1002
+ "mandatory": false,
1003
+ "page": "4.14",
1004
+ "min": 0,
1005
+ "max": 120,
1006
+ "decimals": 0,
1007
+ "label": {
1008
+ "value": "\"➡ 14. \" || \"Vous n’avez pas indiqué de date de retour, quel âge \" || (if (PRENOM = PRENOMREF) then \"aviez-vous à \" else PRENOM || \" avait-\" ||LIB_PR) || \" à \" ||LIB_SON || \" retour de cette période à l’étranger ?\"",
1009
+ "type": "VTL|MD"
1010
+ },
1011
+ "conditionFilter": {
1012
+ "value": "(VECUE = \"1\") and (isnull(DATERETOUR))",
1013
+ "type": "VTL",
1014
+ "bindingDependencies": ["VECUE", "DATERETOUR"]
1015
+ },
1016
+ "hierarchy": {
1017
+ "sequence": {
1018
+ "id": "kfxmfvwj",
1019
+ "page": "1",
1020
+ "label": {
1021
+ "value": "Tableau des habitants du logement",
1022
+ "type": "VTL|MD"
1023
+ }
1024
+ },
1025
+ "subSequence": {
1026
+ "id": "l126uoh0",
1027
+ "page": "4.10",
1028
+ "label": {
1029
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
1030
+ "type": "VTL|MD"
1031
+ }
1032
+ }
1033
+ },
1034
+ "bindingDependencies": [
1035
+ "PRENOM",
1036
+ "PRENOMREF",
1037
+ "LIB_PR",
1038
+ "LIB_SON",
1039
+ "AGRETOUR",
1040
+ "G_PRENOM"
1041
+ ],
1042
+ "response": { "name": "AGRETOUR" }
1043
+ },
1044
+
1045
+ {
1046
+ "id": "l127ghn9",
1047
+ "componentType": "Datepicker",
1048
+ "mandatory": false,
1049
+ "page": "4.15",
1050
+ "min": "1900",
1051
+ "max": "2022",
1052
+ "label": {
1053
+ "value": "\"➡ 15. \" || \"En quelle année \" || (if (PRENOM = PRENOMREF) then \"vous êtes-vous installé\" || LIB_E else PRENOM || \" s’est-\" || LIB_PR || \" installé\" || LIB_E) || \" en France ?\"",
1054
+ "type": "VTL|MD"
1055
+ },
1056
+ "declarations": [
1057
+ {
1058
+ "id": "l127ghn9-l1271ndw",
1059
+ "declarationType": "HELP",
1060
+ "position": "AFTER_QUESTION_TEXT",
1061
+ "label": {
1062
+ "value": "En cas de plusieurs installations en France, indiquer la plus récente",
1063
+ "type": "VTL|MD"
1064
+ }
1065
+ }
1066
+ ],
1067
+ "conditionFilter": {
1068
+ "value": "(LNAIS = \"2\")",
1069
+ "type": "VTL",
1070
+ "bindingDependencies": ["LNAIS"]
1071
+ },
1072
+ "controls": [
1073
+ {
1074
+ "id": "l127ghn9-CI-0",
1075
+ "criticality": "WARN",
1076
+ "control": {
1077
+ "value": "not(substr(cast(ANNARIV,string,\"YYYY-MM-DD\"),1,4) < cast(ANNAIS, integer))",
1078
+ "type": "VTL"
1079
+ },
1080
+ "errorMessage": {
1081
+ "value": "L’année d’arrivée en France est antérieure à l’année de naissance",
1082
+ "type": "VTL|MD"
1083
+ },
1084
+ "bindingDependencies": ["ANNARIV", "ANNAIS"]
1085
+ }
1086
+ ],
1087
+ "hierarchy": {
1088
+ "sequence": {
1089
+ "id": "kfxmfvwj",
1090
+ "page": "1",
1091
+ "label": {
1092
+ "value": "Tableau des habitants du logement",
1093
+ "type": "VTL|MD"
1094
+ }
1095
+ },
1096
+ "subSequence": {
1097
+ "id": "l126uoh0",
1098
+ "page": "4.10",
1099
+ "label": {
1100
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
1101
+ "type": "VTL|MD"
1102
+ }
1103
+ }
1104
+ },
1105
+ "bindingDependencies": [
1106
+ "PRENOM",
1107
+ "PRENOMREF",
1108
+ "LIB_E",
1109
+ "LIB_PR",
1110
+ "ANNARIV",
1111
+ "G_PRENOM"
1112
+ ],
1113
+ "dateFormat": "YYYY",
1114
+ "response": { "name": "ANNARIV" }
1115
+ },
1116
+
1117
+ {
1118
+ "id": "l1283pqp",
1119
+ "componentType": "InputNumber",
1120
+ "mandatory": false,
1121
+ "page": "4.16",
1122
+ "min": 0,
1123
+ "max": 120,
1124
+ "decimals": 0,
1125
+ "label": {
1126
+ "value": "\"➡ 16. \" || \"A quel âge \" || ( if (PRENOM = PRENOMREF) then \"vous êtes-vous installé\" || LIB_E else PRENOM || \" s’est-\" || LIB_PR || \" installé\" || LIB_E ) || \" en France ?\"",
1127
+ "type": "VTL|MD"
1128
+ },
1129
+ "conditionFilter": {
1130
+ "value": "(LNAIS = \"2\") and (isnull(ANNARIV))",
1131
+ "type": "VTL",
1132
+ "bindingDependencies": ["LNAIS", "ANNARIV"]
1133
+ },
1134
+ "hierarchy": {
1135
+ "sequence": {
1136
+ "id": "kfxmfvwj",
1137
+ "page": "1",
1138
+ "label": {
1139
+ "value": "Tableau des habitants du logement",
1140
+ "type": "VTL|MD"
1141
+ }
1142
+ },
1143
+ "subSequence": {
1144
+ "id": "l126uoh0",
1145
+ "page": "4.10",
1146
+ "label": {
1147
+ "value": "Vécu à l’étranger en dehors du temps de l’enquête",
1148
+ "type": "VTL|MD"
1149
+ }
1150
+ }
1151
+ },
1152
+ "bindingDependencies": [
1153
+ "PRENOM",
1154
+ "PRENOMREF",
1155
+ "LIB_E",
1156
+ "LIB_PR",
1157
+ "AGARRIV",
1158
+ "G_PRENOM"
1159
+ ],
1160
+ "response": { "name": "AGARRIV" }
1161
+ }
1162
+ ],
1163
+ "iterations": { "value": "count(G_PRENOM)", "type": "VTL" }
1164
+ },
1165
+
1166
+ {
1167
+ "id": "l13ntyek",
1168
+ "componentType": "Loop",
1169
+ "page": "5",
1170
+ "maxPage": "11",
1171
+ "depth": 1,
1172
+ "paginatedLoop": true,
1173
+ "conditionFilter": { "value": "true", "type": "VTL" },
1174
+ "hierarchy": {
1175
+ "sequence": {
1176
+ "id": "kfxmfvwj",
1177
+ "page": "1",
1178
+ "label": {
1179
+ "value": "Tableau des habitants du logement",
1180
+ "type": "VTL|MD"
1181
+ }
1182
+ }
1183
+ },
1184
+ "bindingDependencies": [
1185
+ "PRENOM",
1186
+ "PRENOMREF",
1187
+ "ADR",
1188
+ "LIB_PR",
1189
+ "LIB_SES",
1190
+ "LIB_SA",
1191
+ "LIB_SON",
1192
+ "MAJLOGENQ",
1193
+ "UNLOG",
1194
+ "DURLOG",
1195
+ "MINLOGENQ1",
1196
+ "MINLOGENQ2",
1197
+ "MINLOGENQ3",
1198
+ "MINLOGENQ4",
1199
+ "MINLOGENQ5",
1200
+ "MINLOGAUT",
1201
+ "GARDE",
1202
+ "DORM",
1203
+ "MAJLOGAUT",
1204
+ "LOGCO",
1205
+ "TYPLOGCO"
1206
+ ],
1207
+ "loopDependencies": ["G_PRENOM"],
1208
+ "components": [
1209
+ {
1210
+ "id": "l13np0wv",
1211
+ "componentType": "Subsequence",
1212
+ "page": "5.1",
1213
+ "goToPage": "5.1",
1214
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" },
1215
+ "declarations": [
1216
+ {
1217
+ "id": "l13np0wv-l13nsvaw",
1218
+ "declarationType": "HELP",
1219
+ "position": "AFTER_QUESTION_TEXT",
1220
+ "label": {
1221
+ "value": "\"Nous allons maintenant poser quelques questions concernant \" || (if (PRENOM = PRENOMREF) then \"vos autres logements, \" ||PRENOM else \"les autres logements de \" || PRENOM ) || \" (en dehors de celui situé à l’adresse) \" || ADR || \".\"",
1222
+ "type": "VTL|MD"
1223
+ }
1224
+ }
1225
+ ],
1226
+ "conditionFilter": { "value": "true", "type": "VTL" },
1227
+ "hierarchy": {
1228
+ "sequence": {
1229
+ "id": "kfxmfvwj",
1230
+ "page": "1",
1231
+ "label": {
1232
+ "value": "Tableau des habitants du logement",
1233
+ "type": "VTL|MD"
1234
+ }
1235
+ },
1236
+ "subSequence": {
1237
+ "id": "l13np0wv",
1238
+ "page": "5.1",
1239
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1240
+ }
1241
+ },
1242
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "ADR", "G_PRENOM"]
1243
+ },
1244
+
1245
+ {
1246
+ "id": "l13nj6s2",
1247
+ "componentType": "Radio",
1248
+ "mandatory": false,
1249
+ "page": "5.2",
1250
+ "label": {
1251
+ "value": "\"➡ 17. \" || (if (PRENOM = PRENOMREF) then \"Vivez-vous\" else PRENOM || \" vit-\" || LIB_PR ) || \" aussi dans un autre logement ?\"",
1252
+ "type": "VTL|MD"
1253
+ },
1254
+ "declarations": [
1255
+ {
1256
+ "id": "l13nj6s2-l13ouetk",
1257
+ "declarationType": "HELP",
1258
+ "position": "AFTER_QUESTION_TEXT",
1259
+ "label": {
1260
+ "value": "(if (PRENOM=PRENOMREF) then \"Si vous êtes \" else \"Si \" || PRENOM || \" est un enfant \") || \"en résidence alternée, répondre Oui.\"",
1261
+ "type": "VTL|MD"
1262
+ }
1263
+ },
1264
+
1265
+ {
1266
+ "id": "l13nj6s2-l13o92e6",
1267
+ "declarationType": "HELP",
1268
+ "position": "AFTER_QUESTION_TEXT",
1269
+ "label": {
1270
+ "value": "(if(PRENOM=PRENOMREF) then \"Vous vivez \" else PRENOM || \" vit \") || \"dans un autre logement (résidence secondaire, internat, foyer, caserne, maison de retraite ...) \" || (if(PRENOM=PRENOMREF) then \"si vous disposez d’un autre endroit où vous êtes chez vous : vous pouvez y aller sans prévenir, un lit vous est réservé, vous pouvez y recevoir du courrier ...\" else \"si \" ||LIB_PR || \" dispose d’un autre endroit où \" ||LIB_PR ||\" est chez \" ||LIB_PR || \" : \" ||LIB_PR || \" peut y aller sans prévenir, un lit lui est réservé, \" ||LIB_PR || \" peut y recevoir du courrier ...\")",
1271
+ "type": "VTL|MD"
1272
+ }
1273
+ }
1274
+ ],
1275
+ "conditionFilter": { "value": "true", "type": "VTL" },
1276
+ "hierarchy": {
1277
+ "sequence": {
1278
+ "id": "kfxmfvwj",
1279
+ "page": "1",
1280
+ "label": {
1281
+ "value": "Tableau des habitants du logement",
1282
+ "type": "VTL|MD"
1283
+ }
1284
+ },
1285
+ "subSequence": {
1286
+ "id": "l13np0wv",
1287
+ "page": "5.1",
1288
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1289
+ }
1290
+ },
1291
+ "bindingDependencies": [
1292
+ "PRENOM",
1293
+ "PRENOMREF",
1294
+ "LIB_PR",
1295
+ "UNLOG",
1296
+ "G_PRENOM"
1297
+ ],
1298
+ "options": [
1299
+ { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
1300
+
1301
+ { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
1302
+ ],
1303
+ "response": { "name": "UNLOG" }
1304
+ },
1305
+
1306
+ {
1307
+ "id": "l13nyqwe",
1308
+ "componentType": "Radio",
1309
+ "mandatory": false,
1310
+ "page": "5.3",
1311
+ "label": {
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 || \" ?\"",
1313
+ "type": "VTL|MD"
1314
+ },
1315
+ "conditionFilter": {
1316
+ "value": "(UNLOG = \"1\")",
1317
+ "type": "VTL",
1318
+ "bindingDependencies": ["UNLOG"]
1319
+ },
1320
+ "hierarchy": {
1321
+ "sequence": {
1322
+ "id": "kfxmfvwj",
1323
+ "page": "1",
1324
+ "label": {
1325
+ "value": "Tableau des habitants du logement",
1326
+ "type": "VTL|MD"
1327
+ }
1328
+ },
1329
+ "subSequence": {
1330
+ "id": "l13np0wv",
1331
+ "page": "5.1",
1332
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1333
+ }
1334
+ },
1335
+ "bindingDependencies": [
1336
+ "PRENOM",
1337
+ "PRENOMREF",
1338
+ "ADR",
1339
+ "LIB_PR",
1340
+ "DURLOG",
1341
+ "G_PRENOM"
1342
+ ],
1343
+ "options": [
1344
+ {
1345
+ "value": "1",
1346
+ "label": {
1347
+ "value": "Plus de la moitié du temps",
1348
+ "type": "VTL|MD"
1349
+ }
1350
+ },
1351
+
1352
+ {
1353
+ "value": "2",
1354
+ "label": { "value": "La moitié du temps", "type": "VTL|MD" }
1355
+ },
1356
+
1357
+ {
1358
+ "value": "3",
1359
+ "label": {
1360
+ "value": "Moins de la moitié du temps",
1361
+ "type": "VTL|MD"
1362
+ }
1363
+ }
1364
+ ],
1365
+ "response": { "name": "DURLOG" }
1366
+ },
1367
+
1368
+ {
1369
+ "id": "l13ok7fx",
1370
+ "componentType": "CheckboxGroup",
1371
+ "page": "5.4",
1372
+ "label": {
1373
+ "value": "\"➡ 19. \" || \"Pour quelles raisons \" || (if (PRENOM = PRENOMREF) then \"vivez-vous\" else PRENOM || \" vit-\" || LIB_PR ) || \" dans le logement situé à l’adresse \" ||ADR ||\" sans \" ||LIB_SES || \" parents ?\"",
1374
+ "type": "VTL|MD"
1375
+ },
1376
+ "conditionFilter": {
1377
+ "value": "(MINEUR = \"1\" and $NBPARL$ = \"0\")",
1378
+ "type": "VTL",
1379
+ "bindingDependencies": ["MINEUR", "TRAGE6", "DATENAIS", "TRAGE"]
1380
+ },
1381
+ "hierarchy": {
1382
+ "sequence": {
1383
+ "id": "kfxmfvwj",
1384
+ "page": "1",
1385
+ "label": {
1386
+ "value": "Tableau des habitants du logement",
1387
+ "type": "VTL|MD"
1388
+ }
1389
+ },
1390
+ "subSequence": {
1391
+ "id": "l13np0wv",
1392
+ "page": "5.1",
1393
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1394
+ }
1395
+ },
1396
+ "bindingDependencies": [
1397
+ "PRENOM",
1398
+ "PRENOMREF",
1399
+ "LIB_PR",
1400
+ "ADR",
1401
+ "LIB_SES",
1402
+ "LIB_SA",
1403
+ "LIB_SON",
1404
+ "MINLOGENQ1",
1405
+ "MINLOGENQ2",
1406
+ "MINLOGENQ3",
1407
+ "MINLOGENQ4",
1408
+ "MINLOGENQ5",
1409
+ "G_PRENOM"
1410
+ ],
1411
+ "responses": [
1412
+ {
1413
+ "id": "l13ok7fx-QOP-l13p1gvt",
1414
+ "label": {
1415
+ "value": "\"Pour suivre \" ||LIB_SA|| \" scolarité ou \" ||LIB_SES|| \" études.\"",
1416
+ "type": "VTL|MD"
1417
+ },
1418
+ "response": { "name": "MINLOGENQ1" }
1419
+ },
1420
+
1421
+ {
1422
+ "id": "l13ok7fx-QOP-l13pbmo5",
1423
+ "label": {
1424
+ "value": "Pour des raisons de santé ou de handicap",
1425
+ "type": "VTL|MD"
1426
+ },
1427
+ "response": { "name": "MINLOGENQ2" }
1428
+ },
1429
+
1430
+ {
1431
+ "id": "l13ok7fx-QOP-l13oz5s4",
1432
+ "label": {
1433
+ "value": "\"Pour \" ||LIB_SON|| \" travail ou une formation professionnelle\"",
1434
+ "type": "VTL|MD"
1435
+ },
1436
+ "response": { "name": "MINLOGENQ3" }
1437
+ },
1438
+
1439
+ {
1440
+ "id": "l13ok7fx-QOP-l13pcs6r",
1441
+ "label": {
1442
+ "value": "Suite à une décision de l’aide sociale à l’enfance ou du juge des enfants",
1443
+ "type": "VTL|MD"
1444
+ },
1445
+ "response": { "name": "MINLOGENQ4" }
1446
+ },
1447
+
1448
+ {
1449
+ "id": "l13ok7fx-QOP-l13p5fws",
1450
+ "label": { "value": "Pour une autre raison", "type": "VTL|MD" },
1451
+ "response": { "name": "MINLOGENQ5" }
1452
+ }
1453
+ ]
1454
+ },
1455
+
1456
+ {
1457
+ "id": "l13on6tn",
1458
+ "componentType": "Radio",
1459
+ "mandatory": false,
1460
+ "page": "5.5",
1461
+ "label": {
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 ... ?\"",
1463
+ "type": "VTL|MD"
1464
+ },
1465
+ "declarations": [
1466
+ {
1467
+ "id": "l13on6tn-l13p60fc",
1468
+ "declarationType": "HELP",
1469
+ "position": "AFTER_QUESTION_TEXT",
1470
+ "label": {
1471
+ "value": "if(PRENOM=PRENOMREF) then \"Si vous vivez dans plusieurs autres logements, décrivez l’autre logement dans lequel vous passez le plus de temps.\" else \"Si \" || PRENOM || \" vit dans plusieurs autres logements, décrire l’autre logement dans lequel \" ||LIB_PR || \" passe le plus de temps.\"",
1472
+ "type": "VTL|MD"
1473
+ }
1474
+ }
1475
+ ],
1476
+ "conditionFilter": {
1477
+ "value": "(MINEUR = \"1\" and UNLOG = \"1\")",
1478
+ "type": "VTL",
1479
+ "bindingDependencies": [
1480
+ "MINEUR",
1481
+ "TRAGE6",
1482
+ "DATENAIS",
1483
+ "TRAGE",
1484
+ "UNLOG"
1485
+ ]
1486
+ },
1487
+ "hierarchy": {
1488
+ "sequence": {
1489
+ "id": "kfxmfvwj",
1490
+ "page": "1",
1491
+ "label": {
1492
+ "value": "Tableau des habitants du logement",
1493
+ "type": "VTL|MD"
1494
+ }
1495
+ },
1496
+ "subSequence": {
1497
+ "id": "l13np0wv",
1498
+ "page": "5.1",
1499
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1500
+ }
1501
+ },
1502
+ "bindingDependencies": [
1503
+ "PRENOM",
1504
+ "PRENOMREF",
1505
+ "LIB_PR",
1506
+ "LIB_SON",
1507
+ "LIB_SES",
1508
+ "MINLOGAUT",
1509
+ "G_PRENOM"
1510
+ ],
1511
+ "options": [
1512
+ {
1513
+ "value": "1",
1514
+ "label": {
1515
+ "value": "\"Le logement de \" ||LIB_SON|| \" ou de \" ||LIB_SES|| \" parent(s)\"",
1516
+ "type": "VTL|MD"
1517
+ }
1518
+ },
1519
+
1520
+ {
1521
+ "value": "2",
1522
+ "label": {
1523
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SES|| \" études.\"",
1524
+ "type": "VTL|MD"
1525
+ }
1526
+ },
1527
+
1528
+ {
1529
+ "value": "3",
1530
+ "label": {
1531
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SON|| \" travail ou une formation professionnelle.\"",
1532
+ "type": "VTL|MD"
1533
+ }
1534
+ },
1535
+
1536
+ {
1537
+ "value": "4",
1538
+ "label": {
1539
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour des raissons de santé ou de handicap.\"",
1540
+ "type": "VTL|MD"
1541
+ }
1542
+ },
1543
+
1544
+ {
1545
+ "value": "5",
1546
+ "label": {
1547
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" suite à une décision de l’aide sociale à l’enfance ou du juge des enfants.\"",
1548
+ "type": "VTL|MD"
1549
+ }
1550
+ },
1551
+
1552
+ {
1553
+ "value": "6",
1554
+ "label": {
1555
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour une autre raison.\"",
1556
+ "type": "VTL|MD"
1557
+ }
1558
+ }
1559
+ ],
1560
+ "response": { "name": "MINLOGAUT" }
1561
+ },
1562
+
1563
+ {
1564
+ "id": "l13oux5e",
1565
+ "componentType": "Radio",
1566
+ "mandatory": false,
1567
+ "page": "5.6",
1568
+ "label": {
1569
+ "value": "\"➡ 21. \" || (if (PRENOM = PRENOMREF) then \"Etes-vous\" else PRENOM || \" est-\" ||LIB_PR ) || \" en résidence alternée entre ses deux parents ?\"",
1570
+ "type": "VTL|MD"
1571
+ },
1572
+ "conditionFilter": {
1573
+ "value": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")",
1574
+ "type": "VTL",
1575
+ "bindingDependencies": ["DURLOG", "MINLOGAUT"]
1576
+ },
1577
+ "hierarchy": {
1578
+ "sequence": {
1579
+ "id": "kfxmfvwj",
1580
+ "page": "1",
1581
+ "label": {
1582
+ "value": "Tableau des habitants du logement",
1583
+ "type": "VTL|MD"
1584
+ }
1585
+ },
1586
+ "subSequence": {
1587
+ "id": "l13np0wv",
1588
+ "page": "5.1",
1589
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1590
+ }
1591
+ },
1592
+ "bindingDependencies": [
1593
+ "PRENOM",
1594
+ "PRENOMREF",
1595
+ "LIB_PR",
1596
+ "GARDE",
1597
+ "G_PRENOM"
1598
+ ],
1599
+ "options": [
1600
+ { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
1601
+
1602
+ { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
1603
+ ],
1604
+ "response": { "name": "GARDE" }
1605
+ },
1606
+
1607
+ {
1608
+ "id": "l13pabqu",
1609
+ "componentType": "Radio",
1610
+ "mandatory": false,
1611
+ "page": "5.7",
1612
+ "label": {
1613
+ "value": "\"➡ 22. \" || (if (PRENOM = PRENOMREF) then \"Où avez-vous\" else \"Où \" || PRENOM || \" a-t-\" || LIB_PR ) || \" dormi la nuit derière ?\"",
1614
+ "type": "VTL|MD"
1615
+ },
1616
+ "declarations": [
1617
+ {
1618
+ "id": "l13pabqu-l13pckb2",
1619
+ "declarationType": "HELP",
1620
+ "position": "AFTER_QUESTION_TEXT",
1621
+ "label": {
1622
+ "value": "\"Si \" || PRENOM || \" a dormi chez un(e) ami(e), indiquez le logement où il devait normalement dormir.\"",
1623
+ "type": "VTL|MD"
1624
+ }
1625
+ }
1626
+ ],
1627
+ "conditionFilter": {
1628
+ "value": "(GARDE = \"1\")",
1629
+ "type": "VTL",
1630
+ "bindingDependencies": ["GARDE"]
1631
+ },
1632
+ "hierarchy": {
1633
+ "sequence": {
1634
+ "id": "kfxmfvwj",
1635
+ "page": "1",
1636
+ "label": {
1637
+ "value": "Tableau des habitants du logement",
1638
+ "type": "VTL|MD"
1639
+ }
1640
+ },
1641
+ "subSequence": {
1642
+ "id": "l13np0wv",
1643
+ "page": "5.1",
1644
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1645
+ }
1646
+ },
1647
+ "bindingDependencies": [
1648
+ "PRENOM",
1649
+ "PRENOMREF",
1650
+ "LIB_PR",
1651
+ "ADR",
1652
+ "LIB_SON",
1653
+ "DORM",
1654
+ "G_PRENOM"
1655
+ ],
1656
+ "options": [
1657
+ {
1658
+ "value": "1",
1659
+ "label": {
1660
+ "value": "\"Dans le logement situé à l’adresse \" || ADR || \".\"",
1661
+ "type": "VTL|MD"
1662
+ }
1663
+ },
1664
+
1665
+ {
1666
+ "value": "2",
1667
+ "label": {
1668
+ "value": "\"Dans le logement de \" ||LIB_SON|| \" autre parent.\"",
1669
+ "type": "VTL|MD"
1670
+ }
1671
+ }
1672
+ ],
1673
+ "response": { "name": "DORM" }
1674
+ },
1675
+
1676
+ {
1677
+ "id": "l13pbxr1",
1678
+ "componentType": "Radio",
1679
+ "mandatory": false,
1680
+ "page": "5.8",
1681
+ "label": {
1682
+ "value": "\"➡ 23. \" || (if (PRENOM = PRENOMREF) then \"Pour vous\" else \"Pour \" || PRENOM ) || \", le logement situé à l’adresse \" || ADR || \" est-il ... ?\"",
1683
+ "type": "VTL|MD"
1684
+ },
1685
+ "conditionFilter": {
1686
+ "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
1687
+ "type": "VTL",
1688
+ "bindingDependencies": [
1689
+ "UNLOG",
1690
+ "MINEUR",
1691
+ "TRAGE6",
1692
+ "DATENAIS",
1693
+ "TRAGE"
1694
+ ]
1695
+ },
1696
+ "hierarchy": {
1697
+ "sequence": {
1698
+ "id": "kfxmfvwj",
1699
+ "page": "1",
1700
+ "label": {
1701
+ "value": "Tableau des habitants du logement",
1702
+ "type": "VTL|MD"
1703
+ }
1704
+ },
1705
+ "subSequence": {
1706
+ "id": "l13np0wv",
1707
+ "page": "5.1",
1708
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1709
+ }
1710
+ },
1711
+ "bindingDependencies": [
1712
+ "PRENOM",
1713
+ "PRENOMREF",
1714
+ "ADR",
1715
+ "LIB_PR",
1716
+ "LIB_SES",
1717
+ "LIB_SON",
1718
+ "MAJLOGENQ",
1719
+ "G_PRENOM"
1720
+ ],
1721
+ "options": [
1722
+ {
1723
+ "value": "1",
1724
+ "label": {
1725
+ "value": "(if(PRENOM = PRENOMREF) then \"Votre \" else \"Sa \") || \"résidence principale\"",
1726
+ "type": "VTL|MD"
1727
+ }
1728
+ },
1729
+
1730
+ {
1731
+ "value": "2",
1732
+ "label": {
1733
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR || \" occupe\") || \" pour \" ||LIB_SES || \" études.\"",
1734
+ "type": "VTL|MD"
1735
+ }
1736
+ },
1737
+
1738
+ {
1739
+ "value": "3",
1740
+ "label": {
1741
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez \" else \"qu’\" || LIB_PR || \"occupe \") || \"pour \" ||LIB_SON|| \" travail ou une formation professionnelle.\"",
1742
+ "type": "VTL|MD"
1743
+ }
1744
+ },
1745
+
1746
+ {
1747
+ "value": "4",
1748
+ "label": {
1749
+ "value": "\"Une résidence secondaire, un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez \" else \"qu’\" || LIB_PR || \"occupe \") || \"pour le week-end, les vacances ou pour \" ||LIB_SES|| \" loisirs.\"",
1750
+ "type": "VTL|MD"
1751
+ }
1752
+ },
1753
+
1754
+ {
1755
+ "value": "5",
1756
+ "label": {
1757
+ "value": "\"Le logement d’un ou de \" ||LIB_SES|| \" parent(s).\"",
1758
+ "type": "VTL|MD"
1759
+ }
1760
+ },
1761
+
1762
+ {
1763
+ "value": "6",
1764
+ "label": {
1765
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez \" else \"qu’\" || LIB_PR || \" occupe \") || \"pour une autre raison.\"",
1766
+ "type": "VTL|MD"
1767
+ }
1768
+ }
1769
+ ],
1770
+ "response": { "name": "MAJLOGENQ" }
1771
+ },
1772
+
1773
+ {
1774
+ "id": "l13pyw1k",
1775
+ "componentType": "Radio",
1776
+ "mandatory": false,
1777
+ "page": "5.9",
1778
+ "label": {
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 ... ?\"",
1780
+ "type": "VTL|MD"
1781
+ },
1782
+ "declarations": [
1783
+ {
1784
+ "id": "l13pyw1k-l13q4e9k",
1785
+ "declarationType": "HELP",
1786
+ "position": "AFTER_QUESTION_TEXT",
1787
+ "label": {
1788
+ "value": "\"Si \" || PRENOM || \" vit dans plusieurs autres logements, décrivez l’autre logement dans lequel il passe le plus de temps.\"",
1789
+ "type": "VTL|MD"
1790
+ }
1791
+ }
1792
+ ],
1793
+ "conditionFilter": {
1794
+ "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
1795
+ "type": "VTL",
1796
+ "bindingDependencies": [
1797
+ "UNLOG",
1798
+ "MINEUR",
1799
+ "TRAGE6",
1800
+ "DATENAIS",
1801
+ "TRAGE"
1802
+ ]
1803
+ },
1804
+ "hierarchy": {
1805
+ "sequence": {
1806
+ "id": "kfxmfvwj",
1807
+ "page": "1",
1808
+ "label": {
1809
+ "value": "Tableau des habitants du logement",
1810
+ "type": "VTL|MD"
1811
+ }
1812
+ },
1813
+ "subSequence": {
1814
+ "id": "l13np0wv",
1815
+ "page": "5.1",
1816
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1817
+ }
1818
+ },
1819
+ "bindingDependencies": [
1820
+ "PRENOM",
1821
+ "PRENOMREF",
1822
+ "LIB_PR",
1823
+ "MAJLOGENQ",
1824
+ "LIB_SES",
1825
+ "LIB_SON",
1826
+ "MAJLOGAUT",
1827
+ "G_PRENOM"
1828
+ ],
1829
+ "options": [
1830
+ {
1831
+ "value": "1",
1832
+ "label": {
1833
+ "value": "if cast(MAJLOGENQ,integer) <> 1 then ( if (PRENOM = PRENOMREF) then \"Votre résidence principale.\" else \"Sa résidence principale.\") else \"\"",
1834
+ "type": "VTL|MD"
1835
+ }
1836
+ },
1837
+
1838
+ {
1839
+ "value": "2",
1840
+ "label": {
1841
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SES|| \" études.\"",
1842
+ "type": "VTL|MD"
1843
+ }
1844
+ },
1845
+
1846
+ {
1847
+ "value": "3",
1848
+ "label": {
1849
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" pour \" ||LIB_SON|| \" travail ou une formation professionnelle.\"",
1850
+ "type": "VTL|MD"
1851
+ }
1852
+ },
1853
+
1854
+ {
1855
+ "value": "4",
1856
+ "label": {
1857
+ "value": "\"Une résidence secondaire, un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR|| \" occupe\") || \" le week-end, les vacances ou pour \" ||LIB_SES|| \" loisirs.\"",
1858
+ "type": "VTL|MD"
1859
+ }
1860
+ },
1861
+
1862
+ {
1863
+ "value": "5",
1864
+ "label": {
1865
+ "value": "\"Le logement d’un ou de \" ||LIB_SES|| \" parent(s)\"",
1866
+ "type": "VTL|MD"
1867
+ }
1868
+ },
1869
+
1870
+ {
1871
+ "value": "6",
1872
+ "label": {
1873
+ "value": "\"Un logement \" || (if (PRENOM = PRENOMREF) then \"que vous occupez\" else \"qu’\" ||LIB_PR || \" occupe\") || \" pour \" ||LIB_SON|| \" pour une autre raison.\"",
1874
+ "type": "VTL|MD"
1875
+ }
1876
+ }
1877
+ ],
1878
+ "response": { "name": "MAJLOGAUT" }
1879
+ },
1880
+
1881
+ {
1882
+ "id": "l13q9a24",
1883
+ "componentType": "Radio",
1884
+ "mandatory": false,
1885
+ "page": "5.10",
1886
+ "label": {
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) ?\"",
1888
+ "type": "VTL|MD"
1889
+ },
1890
+ "conditionFilter": {
1891
+ "value": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")",
1892
+ "type": "VTL",
1893
+ "bindingDependencies": ["MINLOGAUT", "MAJLOGAUT"]
1894
+ },
1895
+ "hierarchy": {
1896
+ "sequence": {
1897
+ "id": "kfxmfvwj",
1898
+ "page": "1",
1899
+ "label": {
1900
+ "value": "Tableau des habitants du logement",
1901
+ "type": "VTL|MD"
1902
+ }
1903
+ },
1904
+ "subSequence": {
1905
+ "id": "l13np0wv",
1906
+ "page": "5.1",
1907
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1908
+ }
1909
+ },
1910
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "LOGCO", "G_PRENOM"],
1911
+ "options": [
1912
+ { "value": "1", "label": { "value": "Oui", "type": "VTL|MD" } },
1913
+
1914
+ { "value": "2", "label": { "value": "Non", "type": "VTL|MD" } }
1915
+ ],
1916
+ "response": { "name": "LOGCO" }
1917
+ },
1918
+
1919
+ {
1920
+ "id": "l13qc9n8",
1921
+ "componentType": "Radio",
1922
+ "mandatory": false,
1923
+ "page": "5.11",
1924
+ "label": {
1925
+ "value": "\"➡ 26. \" || \"De quelle structure s’agit-il ?\"",
1926
+ "type": "VTL|MD"
1927
+ },
1928
+ "conditionFilter": {
1929
+ "value": "(LOGCO = \"1\")",
1930
+ "type": "VTL",
1931
+ "bindingDependencies": ["LOGCO"]
1932
+ },
1933
+ "hierarchy": {
1934
+ "sequence": {
1935
+ "id": "kfxmfvwj",
1936
+ "page": "1",
1937
+ "label": {
1938
+ "value": "Tableau des habitants du logement",
1939
+ "type": "VTL|MD"
1940
+ }
1941
+ },
1942
+ "subSequence": {
1943
+ "id": "l13np0wv",
1944
+ "page": "5.1",
1945
+ "label": { "value": "Lieux de vie", "type": "VTL|MD" }
1946
+ }
1947
+ },
1948
+ "bindingDependencies": ["TYPLOGCO", "G_PRENOM"],
1949
+ "options": [
1950
+ {
1951
+ "value": "1",
1952
+ "label": {
1953
+ "value": "\"Un internat, une résidence étudiante ou un foyer d’étudiants\"",
1954
+ "type": "VTL|MD"
1955
+ }
1956
+ },
1957
+
1958
+ {
1959
+ "value": "2",
1960
+ "label": {
1961
+ "value": "\"Un établissement pour personnes âgées (maison de retraite, Ehpad)\"",
1962
+ "type": "VTL|MD"
1963
+ }
1964
+ },
1965
+
1966
+ {
1967
+ "value": "3",
1968
+ "label": {
1969
+ "value": "\"Un foyer ou une résidence sociale (CADA, structure gérée par Adoma...), foyer de réinsertion ou foyer de travailleurs\"",
1970
+ "type": "VTL|MD"
1971
+ }
1972
+ },
1973
+
1974
+ {
1975
+ "value": "4",
1976
+ "label": {
1977
+ "value": "\"Une structure d’aide sociale à l’enfance ou de protection judiciaire\"",
1978
+ "type": "VTL|MD"
1979
+ }
1980
+ },
1981
+
1982
+ {
1983
+ "value": "5",
1984
+ "label": {
1985
+ "value": "\"Une structure pour personne nécessitant des soins médicaux (hôpital, maison de repos, centre de rééducation)\"",
1986
+ "type": "VTL|MD"
1987
+ }
1988
+ },
1989
+
1990
+ {
1991
+ "value": "6",
1992
+ "label": {
1993
+ "value": "\"Une caserne, un camp militaire\"",
1994
+ "type": "VTL|MD"
1995
+ }
1996
+ },
1997
+
1998
+ {
1999
+ "value": "7",
2000
+ "label": {
2001
+ "value": "\"Une autre structure (prison, communauté religieuse, hébergement d’urgence ...)\"",
2002
+ "type": "VTL|MD"
2003
+ }
2004
+ }
2005
+ ],
2006
+ "response": { "name": "TYPLOGCO" }
2007
+ }
2008
+ ],
2009
+ "iterations": { "value": "count(G_PRENOM)", "type": "VTL" }
2010
+ }
2011
+ ],
2012
+ "variables": [
2013
+ { "variableType": "EXTERNAL", "name": "ADR", "value": null },
2014
+
2015
+ {
2016
+ "variableType": "COLLECTED",
2017
+ "name": "NHAB",
2018
+ "values": {
2019
+ "PREVIOUS": null,
2020
+ "COLLECTED": null,
2021
+ "FORCED": null,
2022
+ "EDITED": null,
2023
+ "INPUTTED": null
2024
+ }
2025
+ },
2026
+
2027
+ {
2028
+ "variableType": "COLLECTED",
2029
+ "name": "G_PRENOM",
2030
+ "values": {
2031
+ "PREVIOUS": [null],
2032
+ "COLLECTED": [null],
2033
+ "FORCED": [null],
2034
+ "EDITED": [null],
2035
+ "INPUTTED": [null]
2036
+ }
2037
+ },
2038
+
2039
+ {
2040
+ "variableType": "COLLECTED",
2041
+ "name": "SEXE",
2042
+ "values": {
2043
+ "PREVIOUS": [null],
2044
+ "COLLECTED": [null],
2045
+ "FORCED": [null],
2046
+ "EDITED": [null],
2047
+ "INPUTTED": [null]
2048
+ }
2049
+ },
2050
+
2051
+ {
2052
+ "variableType": "COLLECTED",
2053
+ "name": "DATENAIS",
2054
+ "values": {
2055
+ "PREVIOUS": [null],
2056
+ "COLLECTED": [null],
2057
+ "FORCED": [null],
2058
+ "EDITED": [null],
2059
+ "INPUTTED": [null]
2060
+ }
2061
+ },
2062
+
2063
+ {
2064
+ "variableType": "COLLECTED",
2065
+ "name": "TRAGE",
2066
+ "values": {
2067
+ "PREVIOUS": [null],
2068
+ "COLLECTED": [null],
2069
+ "FORCED": [null],
2070
+ "EDITED": [null],
2071
+ "INPUTTED": [null]
2072
+ }
2073
+ },
2074
+
2075
+ {
2076
+ "variableType": "COLLECTED",
2077
+ "name": "LNAIS",
2078
+ "values": {
2079
+ "PREVIOUS": [null],
2080
+ "COLLECTED": [null],
2081
+ "FORCED": [null],
2082
+ "EDITED": [null],
2083
+ "INPUTTED": [null]
2084
+ }
2085
+ },
2086
+
2087
+ {
2088
+ "variableType": "COLLECTED",
2089
+ "name": "DEPNAIS",
2090
+ "values": {
2091
+ "PREVIOUS": [null],
2092
+ "COLLECTED": [null],
2093
+ "FORCED": [null],
2094
+ "EDITED": [null],
2095
+ "INPUTTED": [null]
2096
+ }
2097
+ },
2098
+
2099
+ {
2100
+ "variableType": "COLLECTED",
2101
+ "name": "PAYSNAIS",
2102
+ "values": {
2103
+ "PREVIOUS": [null],
2104
+ "COLLECTED": [null],
2105
+ "FORCED": [null],
2106
+ "EDITED": [null],
2107
+ "INPUTTED": [null]
2108
+ }
2109
+ },
2110
+
2111
+ {
2112
+ "variableType": "COLLECTED",
2113
+ "name": "NATION1",
2114
+ "values": {
2115
+ "PREVIOUS": [null],
2116
+ "COLLECTED": [null],
2117
+ "FORCED": [null],
2118
+ "EDITED": [null],
2119
+ "INPUTTED": [null]
2120
+ }
2121
+ },
2122
+
2123
+ {
2124
+ "variableType": "COLLECTED",
2125
+ "name": "NATION2",
2126
+ "values": {
2127
+ "PREVIOUS": [null],
2128
+ "COLLECTED": [null],
2129
+ "FORCED": [null],
2130
+ "EDITED": [null],
2131
+ "INPUTTED": [null]
2132
+ }
2133
+ },
2134
+
2135
+ {
2136
+ "variableType": "COLLECTED",
2137
+ "name": "NATION3",
2138
+ "values": {
2139
+ "PREVIOUS": [null],
2140
+ "COLLECTED": [null],
2141
+ "FORCED": [null],
2142
+ "EDITED": [null],
2143
+ "INPUTTED": [null]
2144
+ }
2145
+ },
2146
+
2147
+ {
2148
+ "variableType": "COLLECTED",
2149
+ "name": "NATION4",
2150
+ "values": {
2151
+ "PREVIOUS": [null],
2152
+ "COLLECTED": [null],
2153
+ "FORCED": [null],
2154
+ "EDITED": [null],
2155
+ "INPUTTED": [null]
2156
+ }
2157
+ },
2158
+
2159
+ {
2160
+ "variableType": "COLLECTED",
2161
+ "name": "NATIONETR",
2162
+ "values": {
2163
+ "PREVIOUS": [null],
2164
+ "COLLECTED": [null],
2165
+ "FORCED": [null],
2166
+ "EDITED": [null],
2167
+ "INPUTTED": [null]
2168
+ }
2169
+ },
2170
+
2171
+ {
2172
+ "variableType": "COLLECTED",
2173
+ "name": "VECUE",
2174
+ "values": {
2175
+ "PREVIOUS": [null],
2176
+ "COLLECTED": [null],
2177
+ "FORCED": [null],
2178
+ "EDITED": [null],
2179
+ "INPUTTED": [null]
2180
+ }
2181
+ },
2182
+
2183
+ {
2184
+ "variableType": "COLLECTED",
2185
+ "name": "DATEDEPART",
2186
+ "values": {
2187
+ "PREVIOUS": [null],
2188
+ "COLLECTED": [null],
2189
+ "FORCED": [null],
2190
+ "EDITED": [null],
2191
+ "INPUTTED": [null]
2192
+ }
2193
+ },
2194
+
2195
+ {
2196
+ "variableType": "COLLECTED",
2197
+ "name": "DATERETOUR",
2198
+ "values": {
2199
+ "PREVIOUS": [null],
2200
+ "COLLECTED": [null],
2201
+ "FORCED": [null],
2202
+ "EDITED": [null],
2203
+ "INPUTTED": [null]
2204
+ }
2205
+ },
2206
+
2207
+ {
2208
+ "variableType": "COLLECTED",
2209
+ "name": "AGRETOUR",
2210
+ "values": {
2211
+ "PREVIOUS": [null],
2212
+ "COLLECTED": [null],
2213
+ "FORCED": [null],
2214
+ "EDITED": [null],
2215
+ "INPUTTED": [null]
2216
+ }
2217
+ },
2218
+
2219
+ {
2220
+ "variableType": "COLLECTED",
2221
+ "name": "ANNARIV",
2222
+ "values": {
2223
+ "PREVIOUS": [null],
2224
+ "COLLECTED": [null],
2225
+ "FORCED": [null],
2226
+ "EDITED": [null],
2227
+ "INPUTTED": [null]
2228
+ }
2229
+ },
2230
+
2231
+ {
2232
+ "variableType": "COLLECTED",
2233
+ "name": "AGARRIV",
2234
+ "values": {
2235
+ "PREVIOUS": [null],
2236
+ "COLLECTED": [null],
2237
+ "FORCED": [null],
2238
+ "EDITED": [null],
2239
+ "INPUTTED": [null]
2240
+ }
2241
+ },
2242
+
2243
+ {
2244
+ "variableType": "COLLECTED",
2245
+ "name": "UNLOG",
2246
+ "values": {
2247
+ "PREVIOUS": [null],
2248
+ "COLLECTED": [null],
2249
+ "FORCED": [null],
2250
+ "EDITED": [null],
2251
+ "INPUTTED": [null]
2252
+ }
2253
+ },
2254
+
2255
+ {
2256
+ "variableType": "COLLECTED",
2257
+ "name": "DURLOG",
2258
+ "values": {
2259
+ "PREVIOUS": [null],
2260
+ "COLLECTED": [null],
2261
+ "FORCED": [null],
2262
+ "EDITED": [null],
2263
+ "INPUTTED": [null]
2264
+ }
2265
+ },
2266
+
2267
+ {
2268
+ "variableType": "COLLECTED",
2269
+ "name": "MINLOGENQ1",
2270
+ "values": {
2271
+ "PREVIOUS": [null],
2272
+ "COLLECTED": [null],
2273
+ "FORCED": [null],
2274
+ "EDITED": [null],
2275
+ "INPUTTED": [null]
2276
+ }
2277
+ },
2278
+
2279
+ {
2280
+ "variableType": "COLLECTED",
2281
+ "name": "MINLOGENQ2",
2282
+ "values": {
2283
+ "PREVIOUS": [null],
2284
+ "COLLECTED": [null],
2285
+ "FORCED": [null],
2286
+ "EDITED": [null],
2287
+ "INPUTTED": [null]
2288
+ }
2289
+ },
2290
+
2291
+ {
2292
+ "variableType": "COLLECTED",
2293
+ "name": "MINLOGENQ3",
2294
+ "values": {
2295
+ "PREVIOUS": [null],
2296
+ "COLLECTED": [null],
2297
+ "FORCED": [null],
2298
+ "EDITED": [null],
2299
+ "INPUTTED": [null]
2300
+ }
2301
+ },
2302
+
2303
+ {
2304
+ "variableType": "COLLECTED",
2305
+ "name": "MINLOGENQ4",
2306
+ "values": {
2307
+ "PREVIOUS": [null],
2308
+ "COLLECTED": [null],
2309
+ "FORCED": [null],
2310
+ "EDITED": [null],
2311
+ "INPUTTED": [null]
2312
+ }
2313
+ },
2314
+
2315
+ {
2316
+ "variableType": "COLLECTED",
2317
+ "name": "MINLOGENQ5",
2318
+ "values": {
2319
+ "PREVIOUS": [null],
2320
+ "COLLECTED": [null],
2321
+ "FORCED": [null],
2322
+ "EDITED": [null],
2323
+ "INPUTTED": [null]
2324
+ }
2325
+ },
2326
+
2327
+ {
2328
+ "variableType": "COLLECTED",
2329
+ "name": "MINLOGAUT",
2330
+ "values": {
2331
+ "PREVIOUS": [null],
2332
+ "COLLECTED": [null],
2333
+ "FORCED": [null],
2334
+ "EDITED": [null],
2335
+ "INPUTTED": [null]
2336
+ }
2337
+ },
2338
+
2339
+ {
2340
+ "variableType": "COLLECTED",
2341
+ "name": "GARDE",
2342
+ "values": {
2343
+ "PREVIOUS": [null],
2344
+ "COLLECTED": [null],
2345
+ "FORCED": [null],
2346
+ "EDITED": [null],
2347
+ "INPUTTED": [null]
2348
+ }
2349
+ },
2350
+
2351
+ {
2352
+ "variableType": "COLLECTED",
2353
+ "name": "DORM",
2354
+ "values": {
2355
+ "PREVIOUS": [null],
2356
+ "COLLECTED": [null],
2357
+ "FORCED": [null],
2358
+ "EDITED": [null],
2359
+ "INPUTTED": [null]
2360
+ }
2361
+ },
2362
+
2363
+ {
2364
+ "variableType": "COLLECTED",
2365
+ "name": "MAJLOGENQ",
2366
+ "values": {
2367
+ "PREVIOUS": [null],
2368
+ "COLLECTED": [null],
2369
+ "FORCED": [null],
2370
+ "EDITED": [null],
2371
+ "INPUTTED": [null]
2372
+ }
2373
+ },
2374
+
2375
+ {
2376
+ "variableType": "COLLECTED",
2377
+ "name": "MAJLOGAUT",
2378
+ "values": {
2379
+ "PREVIOUS": [null],
2380
+ "COLLECTED": [null],
2381
+ "FORCED": [null],
2382
+ "EDITED": [null],
2383
+ "INPUTTED": [null]
2384
+ }
2385
+ },
2386
+
2387
+ {
2388
+ "variableType": "COLLECTED",
2389
+ "name": "LOGCO",
2390
+ "values": {
2391
+ "PREVIOUS": [null],
2392
+ "COLLECTED": [null],
2393
+ "FORCED": [null],
2394
+ "EDITED": [null],
2395
+ "INPUTTED": [null]
2396
+ }
2397
+ },
2398
+
2399
+ {
2400
+ "variableType": "COLLECTED",
2401
+ "name": "TYPLOGCO",
2402
+ "values": {
2403
+ "PREVIOUS": [null],
2404
+ "COLLECTED": [null],
2405
+ "FORCED": [null],
2406
+ "EDITED": [null],
2407
+ "INPUTTED": [null]
2408
+ }
2409
+ },
2410
+
2411
+ {
2412
+ "variableType": "CALCULATED",
2413
+ "name": "FILTER_RESULT_NHAB",
2414
+ "expression": { "value": "true", "type": "VTL" },
2415
+ "inFilter": "false"
2416
+ },
2417
+
2418
+ {
2419
+ "variableType": "CALCULATED",
2420
+ "name": "FILTER_RESULT_G_PRENOM",
2421
+ "expression": { "value": "true", "type": "VTL" },
2422
+ "shapeFrom": "G_PRENOM",
2423
+ "inFilter": "false"
2424
+ },
2425
+
2426
+ {
2427
+ "variableType": "CALCULATED",
2428
+ "name": "ANNAIS",
2429
+ "expression": {
2430
+ "value": "substr(cast(DATENAIS,string,\"YYYY-MM-DD\"),1,4)",
2431
+ "type": "VTL"
2432
+ },
2433
+ "bindingDependencies": ["DATENAIS"],
2434
+ "shapeFrom": "G_PRENOM",
2435
+ "inFilter": "true"
2436
+ },
2437
+
2438
+ {
2439
+ "variableType": "CALCULATED",
2440
+ "name": "AGE",
2441
+ "expression": {
2442
+ "value": "cast((2022 - cast(ANNAIS,integer)), string)",
2443
+ "type": "VTL"
2444
+ },
2445
+ "bindingDependencies": ["ANNAIS", "DATENAIS"],
2446
+ "shapeFrom": "G_PRENOM",
2447
+ "inFilter": "true"
2448
+ },
2449
+
2450
+ {
2451
+ "variableType": "CALCULATED",
2452
+ "name": "TRAGE6",
2453
+ "expression": {
2454
+ "value": "isnull(DATENAIS) then TRAGE else if not(isnull(DATENAIS)) and cast(AGE,integer) < 15 then \"1\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 14 and cast(AGE,integer) < 18 then \"2\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 17 and cast(AGE,integer) < 25 then \"3\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 24 and cast(AGE,integer) < 40 then \"4\" else if not(isnull(DATENAIS)) and cast(AGE,integer) > 39 and cast(AGE,integer) < 60 then \"5\" else if isnull(DATENAIS) and isnull(TRAGE) then null else \"6\"",
2455
+ "type": "VTL"
2456
+ },
2457
+ "bindingDependencies": ["DATENAIS", "TRAGE", "AGE"],
2458
+ "shapeFrom": "G_PRENOM",
2459
+ "inFilter": "true"
2460
+ },
2461
+
2462
+ {
2463
+ "variableType": "CALCULATED",
2464
+ "name": "LIB_PR",
2465
+ "expression": {
2466
+ "value": "if isnull(SEXE) then \"il/elle\" else if SEXE = \"1\" then \"il\" else \"elle\"",
2467
+ "type": "VTL"
2468
+ },
2469
+ "bindingDependencies": ["SEXE"],
2470
+ "shapeFrom": "G_PRENOM",
2471
+ "inFilter": "false"
2472
+ },
2473
+
2474
+ {
2475
+ "variableType": "CALCULATED",
2476
+ "name": "PRENOM",
2477
+ "expression": { "value": "G_PRENOM", "type": "VTL" },
2478
+ "bindingDependencies": ["G_PRENOM"],
2479
+ "shapeFrom": "G_PRENOM",
2480
+ "inFilter": "false"
2481
+ },
2482
+
2483
+ {
2484
+ "variableType": "CALCULATED",
2485
+ "name": "LIB_SON",
2486
+ "expression": {
2487
+ "value": "if (PRENOM = PRENOMREF) then \"votre\" else \"son\"",
2488
+ "type": "VTL"
2489
+ },
2490
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"],
2491
+ "shapeFrom": "G_PRENOM",
2492
+ "inFilter": "false"
2493
+ },
2494
+
2495
+ {
2496
+ "variableType": "CALCULATED",
2497
+ "name": "LIB_SA",
2498
+ "expression": {
2499
+ "value": "if (PRENOM = PRENOMREF) then \"votre\" else \"sa\"",
2500
+ "type": "VTL"
2501
+ },
2502
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"],
2503
+ "shapeFrom": "G_PRENOM",
2504
+ "inFilter": "false"
2505
+ },
2506
+
2507
+ {
2508
+ "variableType": "CALCULATED",
2509
+ "name": "LIB_E",
2510
+ "expression": {
2511
+ "value": "if isnull(SEXE) then \"(e)\" else if SEXE = \"1\" then \"\" else \"e\"",
2512
+ "type": "VTL"
2513
+ },
2514
+ "bindingDependencies": ["SEXE"],
2515
+ "shapeFrom": "G_PRENOM",
2516
+ "inFilter": "false"
2517
+ },
2518
+
2519
+ {
2520
+ "variableType": "CALCULATED",
2521
+ "name": "LIB_SES",
2522
+ "expression": {
2523
+ "value": "if (PRENOM = PRENOMREF) then \"vos\" else \"ses\"",
2524
+ "type": "VTL"
2525
+ },
2526
+ "bindingDependencies": ["PRENOM", "PRENOMREF", "G_PRENOM"],
2527
+ "shapeFrom": "G_PRENOM",
2528
+ "inFilter": "false"
2529
+ },
2530
+
2531
+ {
2532
+ "variableType": "CALCULATED",
2533
+ "name": "MINEUR",
2534
+ "expression": {
2535
+ "value": "if (cast(TRAGE6 ,integer) <= 2) then \"1\" else \"2\"",
2536
+ "type": "VTL"
2537
+ },
2538
+ "bindingDependencies": ["TRAGE6", "DATENAIS", "TRAGE"],
2539
+ "shapeFrom": "G_PRENOM",
2540
+ "inFilter": "true"
2541
+ },
2542
+
2543
+ {
2544
+ "variableType": "CALCULATED",
2545
+ "name": "FILTER_RESULT_SEXE",
2546
+ "expression": { "value": "true", "type": "VTL" },
2547
+ "shapeFrom": "SEXE",
2548
+ "inFilter": "false"
2549
+ },
2550
+
2551
+ {
2552
+ "variableType": "CALCULATED",
2553
+ "name": "FILTER_RESULT_DATENAIS",
2554
+ "expression": { "value": "true", "type": "VTL" },
2555
+ "shapeFrom": "SEXE",
2556
+ "inFilter": "false"
2557
+ },
2558
+
2559
+ {
2560
+ "variableType": "CALCULATED",
2561
+ "name": "FILTER_RESULT_TRAGE",
2562
+ "expression": { "value": "(isnull(DATENAIS))", "type": "VTL" },
2563
+ "bindingDependencies": ["DATENAIS"],
2564
+ "shapeFrom": "SEXE",
2565
+ "inFilter": "false"
2566
+ },
2567
+
2568
+ {
2569
+ "variableType": "CALCULATED",
2570
+ "name": "FILTER_RESULT_LNAIS",
2571
+ "expression": { "value": "true", "type": "VTL" },
2572
+ "shapeFrom": "SEXE",
2573
+ "inFilter": "false"
2574
+ },
2575
+
2576
+ {
2577
+ "variableType": "CALCULATED",
2578
+ "name": "FILTER_RESULT_DEPNAIS",
2579
+ "expression": { "value": "(LNAIS = \"1\")", "type": "VTL" },
2580
+ "bindingDependencies": ["LNAIS"],
2581
+ "shapeFrom": "SEXE",
2582
+ "inFilter": "false"
2583
+ },
2584
+
2585
+ {
2586
+ "variableType": "CALCULATED",
2587
+ "name": "FILTER_RESULT_PAYSNAIS",
2588
+ "expression": { "value": "(LNAIS = \"2\")", "type": "VTL" },
2589
+ "bindingDependencies": ["LNAIS"],
2590
+ "shapeFrom": "SEXE",
2591
+ "inFilter": "false"
2592
+ },
2593
+
2594
+ {
2595
+ "variableType": "CALCULATED",
2596
+ "name": "FILTER_RESULT_NATION",
2597
+ "expression": { "value": "true", "type": "VTL" },
2598
+ "shapeFrom": "SEXE",
2599
+ "inFilter": "false"
2600
+ },
2601
+
2602
+ {
2603
+ "variableType": "CALCULATED",
2604
+ "name": "FILTER_RESULT_NATIONETR",
2605
+ "expression": { "value": "(NATION3 = true)", "type": "VTL" },
2606
+ "bindingDependencies": ["NATION3"],
2607
+ "shapeFrom": "SEXE",
2608
+ "inFilter": "false"
2609
+ },
2610
+
2611
+ {
2612
+ "variableType": "CALCULATED",
2613
+ "name": "FILTER_RESULT_VECUE",
2614
+ "expression": { "value": "(LNAIS = \"1\")", "type": "VTL" },
2615
+ "bindingDependencies": ["LNAIS"],
2616
+ "shapeFrom": "SEXE",
2617
+ "inFilter": "false"
2618
+ },
2619
+
2620
+ {
2621
+ "variableType": "CALCULATED",
2622
+ "name": "FILTER_RESULT_DATEDEPART",
2623
+ "expression": { "value": "(VECUE = \"1\")", "type": "VTL" },
2624
+ "bindingDependencies": ["VECUE"],
2625
+ "shapeFrom": "SEXE",
2626
+ "inFilter": "false"
2627
+ },
2628
+
2629
+ {
2630
+ "variableType": "CALCULATED",
2631
+ "name": "FILTER_RESULT_DATERETOUR",
2632
+ "expression": { "value": "(VECUE = \"1\")", "type": "VTL" },
2633
+ "bindingDependencies": ["VECUE"],
2634
+ "shapeFrom": "SEXE",
2635
+ "inFilter": "false"
2636
+ },
2637
+
2638
+ {
2639
+ "variableType": "CALCULATED",
2640
+ "name": "FILTER_RESULT_AGRETOUR",
2641
+ "expression": {
2642
+ "value": "(VECUE = \"1\") and (isnull(DATERETOUR))",
2643
+ "type": "VTL"
2644
+ },
2645
+ "bindingDependencies": ["VECUE", "DATERETOUR"],
2646
+ "shapeFrom": "SEXE",
2647
+ "inFilter": "false"
2648
+ },
2649
+
2650
+ {
2651
+ "variableType": "CALCULATED",
2652
+ "name": "FILTER_RESULT_ANNARIV",
2653
+ "expression": { "value": "(LNAIS = \"2\")", "type": "VTL" },
2654
+ "bindingDependencies": ["LNAIS"],
2655
+ "shapeFrom": "SEXE",
2656
+ "inFilter": "false"
2657
+ },
2658
+
2659
+ {
2660
+ "variableType": "CALCULATED",
2661
+ "name": "FILTER_RESULT_AGARRIV",
2662
+ "expression": {
2663
+ "value": "(LNAIS = \"2\") and (isnull(ANNARIV))",
2664
+ "type": "VTL"
2665
+ },
2666
+ "bindingDependencies": ["LNAIS", "ANNARIV"],
2667
+ "shapeFrom": "SEXE",
2668
+ "inFilter": "false"
2669
+ },
2670
+
2671
+ {
2672
+ "variableType": "CALCULATED",
2673
+ "name": "FILTER_RESULT_UNLOG",
2674
+ "expression": { "value": "true", "type": "VTL" },
2675
+ "shapeFrom": "UNLOG",
2676
+ "inFilter": "false"
2677
+ },
2678
+
2679
+ {
2680
+ "variableType": "CALCULATED",
2681
+ "name": "FILTER_RESULT_DURLOG",
2682
+ "expression": { "value": "(UNLOG = \"1\")", "type": "VTL" },
2683
+ "bindingDependencies": ["UNLOG"],
2684
+ "shapeFrom": "UNLOG",
2685
+ "inFilter": "false"
2686
+ },
2687
+
2688
+ {
2689
+ "variableType": "CALCULATED",
2690
+ "name": "FILTER_RESULT_MINLOGENQ",
2691
+ "expression": {
2692
+ "value": "(MINEUR = \"1\" and $NBPARL$ = \"0\")",
2693
+ "type": "VTL"
2694
+ },
2695
+ "bindingDependencies": ["MINEUR"],
2696
+ "shapeFrom": "UNLOG",
2697
+ "inFilter": "false"
2698
+ },
2699
+
2700
+ {
2701
+ "variableType": "CALCULATED",
2702
+ "name": "FILTER_RESULT_MINLOGAUT",
2703
+ "expression": {
2704
+ "value": "(MINEUR = \"1\" and UNLOG = \"1\")",
2705
+ "type": "VTL"
2706
+ },
2707
+ "bindingDependencies": ["MINEUR", "UNLOG"],
2708
+ "shapeFrom": "UNLOG",
2709
+ "inFilter": "false"
2710
+ },
2711
+
2712
+ {
2713
+ "variableType": "CALCULATED",
2714
+ "name": "FILTER_RESULT_GARDE",
2715
+ "expression": {
2716
+ "value": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")",
2717
+ "type": "VTL"
2718
+ },
2719
+ "bindingDependencies": ["DURLOG", "MINLOGAUT"],
2720
+ "shapeFrom": "UNLOG",
2721
+ "inFilter": "false"
2722
+ },
2723
+
2724
+ {
2725
+ "variableType": "CALCULATED",
2726
+ "name": "FILTER_RESULT_DORM",
2727
+ "expression": { "value": "(GARDE = \"1\")", "type": "VTL" },
2728
+ "bindingDependencies": ["GARDE"],
2729
+ "shapeFrom": "UNLOG",
2730
+ "inFilter": "false"
2731
+ },
2732
+
2733
+ {
2734
+ "variableType": "CALCULATED",
2735
+ "name": "FILTER_RESULT_MAJLOGENQ",
2736
+ "expression": {
2737
+ "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
2738
+ "type": "VTL"
2739
+ },
2740
+ "bindingDependencies": ["UNLOG", "MINEUR"],
2741
+ "shapeFrom": "UNLOG",
2742
+ "inFilter": "false"
2743
+ },
2744
+
2745
+ {
2746
+ "variableType": "CALCULATED",
2747
+ "name": "FILTER_RESULT_MAJLOGAUT",
2748
+ "expression": {
2749
+ "value": "(UNLOG = \"1\" and MINEUR = \"2\")",
2750
+ "type": "VTL"
2751
+ },
2752
+ "bindingDependencies": ["UNLOG", "MINEUR"],
2753
+ "shapeFrom": "UNLOG",
2754
+ "inFilter": "false"
2755
+ },
2756
+
2757
+ {
2758
+ "variableType": "CALCULATED",
2759
+ "name": "FILTER_RESULT_LOGCO",
2760
+ "expression": {
2761
+ "value": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")",
2762
+ "type": "VTL"
2763
+ },
2764
+ "bindingDependencies": ["MINLOGAUT", "MAJLOGAUT"],
2765
+ "shapeFrom": "UNLOG",
2766
+ "inFilter": "false"
2767
+ },
2768
+
2769
+ {
2770
+ "variableType": "CALCULATED",
2771
+ "name": "FILTER_RESULT_TYPLOGCO",
2772
+ "expression": { "value": "(LOGCO = \"1\")", "type": "VTL" },
2773
+ "bindingDependencies": ["LOGCO"],
2774
+ "shapeFrom": "UNLOG",
2775
+ "inFilter": "false"
2776
+ },
2777
+
2778
+ {
2779
+ "variableType": "CALCULATED",
2780
+ "name": "PRENOMREF",
2781
+ "expression": { "value": "first_value(G_PRENOM over())", "type": "VTL" },
2782
+ "bindingDependencies": ["G_PRENOM"],
2783
+ "inFilter": "false"
2784
+ },
2785
+
2786
+ {
2787
+ "variableType": "CALCULATED",
2788
+ "name": "NBHAB",
2789
+ "expression": {
2790
+ "value": "if isnull(NHAB) then \"1\" else NHAB",
2791
+ "type": "VTL"
2792
+ },
2793
+ "bindingDependencies": ["NHAB"],
2794
+ "inFilter": "true"
2795
+ }
2796
+ ],
2797
+ "cleaning": {
2798
+ "DATENAIS": {
2799
+ "TRAGE": "(isnull(DATENAIS))",
2800
+ "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2801
+ "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2802
+ "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2803
+ },
2804
+ "LNAIS": {
2805
+ "DEPNAIS": "(LNAIS = \"1\")",
2806
+ "PAYSNAIS": "(LNAIS = \"2\")",
2807
+ "VECUE": "(LNAIS = \"1\")",
2808
+ "ANNARIV": "(LNAIS = \"2\")",
2809
+ "AGARRIV": "(LNAIS = \"2\") and (isnull(ANNARIV))"
2810
+ },
2811
+ "NATION3": { "NATIONETR": "(NATION3 = true)" },
2812
+ "VECUE": {
2813
+ "DATEDEPART": "(VECUE = \"1\")",
2814
+ "DATERETOUR": "(VECUE = \"1\")",
2815
+ "AGRETOUR": "(VECUE = \"1\") and (isnull(DATERETOUR))"
2816
+ },
2817
+ "DATERETOUR": { "AGRETOUR": "(VECUE = \"1\") and (isnull(DATERETOUR))" },
2818
+ "ANNARIV": { "AGARRIV": "(LNAIS = \"2\") and (isnull(ANNARIV))" },
2819
+ "UNLOG": {
2820
+ "DURLOG": "(UNLOG = \"1\")",
2821
+ "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2822
+ "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2823
+ "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2824
+ },
2825
+ "MINEUR": {
2826
+ "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2827
+ "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2828
+ "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2829
+ },
2830
+ "TRAGE6": {
2831
+ "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2832
+ "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2833
+ "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2834
+ },
2835
+ "TRAGE": {
2836
+ "MINLOGAUT": "(MINEUR = \"1\" and UNLOG = \"1\")",
2837
+ "MAJLOGENQ": "(UNLOG = \"1\" and MINEUR = \"2\")",
2838
+ "MAJLOGAUT": "(UNLOG = \"1\" and MINEUR = \"2\")"
2839
+ },
2840
+ "DURLOG": {
2841
+ "GARDE": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")"
2842
+ },
2843
+ "MINLOGAUT": {
2844
+ "GARDE": "(DURLOG = \"2\" and $NBPARL$ = \"1\" and MINLOGAUT = \"1\")",
2845
+ "LOGCO": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")"
2846
+ },
2847
+ "GARDE": { "DORM": "(GARDE = \"1\")" },
2848
+ "MAJLOGAUT": {
2849
+ "LOGCO": "(MINLOGAUT =\"2\" or MINLOGAUT =\"3\" or MINLOGAUT =\"4\" or MINLOGAUT =\"5\" or MINLOGAUT =\"6\" or MAJLOGAUT=\"1\" or MAJLOGAUT=\"2\" or MAJLOGAUT=\"3\" or MAJLOGAUT=\"6\")"
2850
+ },
2851
+ "LOGCO": { "TYPLOGCO": "(LOGCO = \"1\")" }
2852
+ },
2853
+ "resizing": {
2854
+ "NHAB": {
2855
+ "size": "cast(NBHAB, integer)",
2856
+ "variables": [
2857
+ "G_PRENOM",
2858
+ "SEXE",
2859
+ "DATENAIS",
2860
+ "TRAGE",
2861
+ "LNAIS",
2862
+ "DEPNAIS",
2863
+ "PAYSNAIS",
2864
+ "NATION1",
2865
+ "NATION2",
2866
+ "NATION3",
2867
+ "NATION4",
2868
+ "NATIONETR",
2869
+ "VECUE",
2870
+ "DATEDEPART",
2871
+ "DATERETOUR",
2872
+ "AGRETOUR",
2873
+ "ANNARIV",
2874
+ "AGARRIV",
2875
+ "UNLOG",
2876
+ "DURLOG",
2877
+ "MINLOGENQ1",
2878
+ "MINLOGENQ2",
2879
+ "MINLOGENQ3",
2880
+ "MINLOGENQ4",
2881
+ "MINLOGENQ5",
2882
+ "MINLOGAUT",
2883
+ "GARDE",
2884
+ "DORM",
2885
+ "MAJLOGENQ",
2886
+ "MAJLOGAUT",
2887
+ "LOGCO",
2888
+ "TYPLOGCO"
2889
+ ]
2890
+ }
2891
+ }
2892
+ }