@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,1944 @@
1
+ {
2
+ "$schema": "../../../../lunatic-schema.json",
3
+ "id": "kzfezgxb",
4
+ "modele": "QTESTCONTR",
5
+ "enoCoreVersion": "2.3.7-dev-lunatic-v2",
6
+ "lunaticModelVersion": "2.2.13-dev-lunatic-v2",
7
+ "generatingDate": "19-07-2022 10:10:33",
8
+ "missing": false,
9
+ "pagination": "question",
10
+ "maxPage": "21",
11
+ "label": {
12
+ "value": "\"QNONREG Controles Numériques VTL\"",
13
+ "type": "VTL|MD"
14
+ },
15
+ "components": [
16
+ {
17
+ "id": "kd09v80w",
18
+ "componentType": "Sequence",
19
+ "page": "1",
20
+ "label": {
21
+ "value": "\"Tests sur variables numériques\"",
22
+ "type": "VTL|MD"
23
+ },
24
+ "conditionFilter": { "value": "true", "type": "VTL" },
25
+ "hierarchy": {
26
+ "sequence": {
27
+ "id": "kd09v80w",
28
+ "page": "1",
29
+ "label": {
30
+ "value": "\"Tests sur variables numériques\"",
31
+ "type": "VTL|MD"
32
+ }
33
+ }
34
+ }
35
+ },
36
+ {
37
+ "id": "kd0cbson",
38
+ "componentType": "Subsequence",
39
+ "goToPage": "2",
40
+ "label": {
41
+ "value": "\"Tests simples sur des entiers\"",
42
+ "type": "VTL|MD"
43
+ },
44
+ "conditionFilter": { "value": "true", "type": "VTL" },
45
+ "hierarchy": {
46
+ "sequence": {
47
+ "id": "kd09v80w",
48
+ "page": "1",
49
+ "label": {
50
+ "value": "\"Tests sur variables numériques\"",
51
+ "type": "VTL|MD"
52
+ }
53
+ },
54
+ "subSequence": {
55
+ "id": "kd0cbson",
56
+ "page": "2",
57
+ "label": {
58
+ "value": "\"Tests simples sur des entiers\"",
59
+ "type": "VTL|MD"
60
+ }
61
+ }
62
+ }
63
+ },
64
+ {
65
+ "id": "k0dzbfek",
66
+ "componentType": "InputNumber",
67
+ "mandatory": false,
68
+ "page": "2",
69
+ "min": 0,
70
+ "max": 100,
71
+ "decimals": 0,
72
+ "label": {
73
+ "value": "\"➡ 1. \" || \"Test de supériorité stricte - Saisie d’un nombre compris entre 0 et 100 - Si valeur supérieure à 5 message d’info. si superieur à 6,5 autre message \"",
74
+ "type": "VTL|MD"
75
+ },
76
+ "declarations": [
77
+ {
78
+ "id": "k0dzbfek-kzgzg0bk",
79
+ "declarationType": "HELP",
80
+ "position": "AFTER_QUESTION_TEXT",
81
+ "label": {
82
+ "value": "\"Tester 2 et 20 (pour vérifier ordre numérique et lexico)\"",
83
+ "type": "VTL|MD"
84
+ }
85
+ }
86
+ ],
87
+ "conditionFilter": { "value": "true", "type": "VTL" },
88
+ "controls": [
89
+ {
90
+ "id": "k0dzbfek-CI-0",
91
+ "criticality": "WARN",
92
+ "control": {
93
+ "value": "not(cast(nvl(QNUM,0),integer) > 5)",
94
+ "type": "VTL"
95
+ },
96
+ "errorMessage": { "value": "\"sup à 5\"", "type": "VTL|MD" },
97
+ "bindingDependencies": ["QNUM"]
98
+ },
99
+
100
+ {
101
+ "id": "k0dzbfek-CI-1",
102
+ "criticality": "WARN",
103
+ "control": {
104
+ "value": "not(cast(nvl(QNUM,0),integer) > 6.5)",
105
+ "type": "VTL"
106
+ },
107
+ "errorMessage": { "value": "\"superieur à 6.5\"", "type": "VTL|MD" },
108
+ "bindingDependencies": ["QNUM"]
109
+ }
110
+ ],
111
+ "hierarchy": {
112
+ "sequence": {
113
+ "id": "kd09v80w",
114
+ "page": "1",
115
+ "label": {
116
+ "value": "\"Tests sur variables numériques\"",
117
+ "type": "VTL|MD"
118
+ }
119
+ },
120
+ "subSequence": {
121
+ "id": "kd0cbson",
122
+ "page": "2",
123
+ "label": {
124
+ "value": "\"Tests simples sur des entiers\"",
125
+ "type": "VTL|MD"
126
+ }
127
+ }
128
+ },
129
+ "bindingDependencies": ["QNUM"],
130
+ "response": { "name": "QNUM" }
131
+ },
132
+ {
133
+ "id": "kd0a6rn3",
134
+ "componentType": "InputNumber",
135
+ "mandatory": false,
136
+ "page": "3",
137
+ "min": 0,
138
+ "max": 100,
139
+ "decimals": 0,
140
+ "label": {
141
+ "value": "\"➡ 2. \" || \"Test sur valeur numérique vide\"",
142
+ "type": "VTL|MD"
143
+ },
144
+ "conditionFilter": { "value": "true", "type": "VTL" },
145
+ "controls": [
146
+ {
147
+ "id": "kd0a6rn3-CI-0",
148
+ "criticality": "WARN",
149
+ "control": { "value": "not(isnull(QNUM2))", "type": "VTL" },
150
+ "errorMessage": {
151
+ "value": "\"vous n’avez pas répondu à la question\"",
152
+ "type": "VTL|MD"
153
+ },
154
+ "bindingDependencies": ["QNUM2"]
155
+ }
156
+ ],
157
+ "hierarchy": {
158
+ "sequence": {
159
+ "id": "kd09v80w",
160
+ "page": "1",
161
+ "label": {
162
+ "value": "\"Tests sur variables numériques\"",
163
+ "type": "VTL|MD"
164
+ }
165
+ },
166
+ "subSequence": {
167
+ "id": "kd0cbson",
168
+ "page": "2",
169
+ "label": {
170
+ "value": "\"Tests simples sur des entiers\"",
171
+ "type": "VTL|MD"
172
+ }
173
+ }
174
+ },
175
+ "bindingDependencies": ["QNUM2"],
176
+ "response": { "name": "QNUM2" }
177
+ },
178
+ {
179
+ "id": "kd0a8h62",
180
+ "componentType": "InputNumber",
181
+ "mandatory": false,
182
+ "page": "4",
183
+ "min": 0,
184
+ "max": 100,
185
+ "decimals": 0,
186
+ "label": {
187
+ "value": "\"➡ 3. \" || \"Test d’infériorité stricte - Saisie d’un nombre compris entre 0 et 100 - Message si valeur inférieure à 8 \"",
188
+ "type": "VTL|MD"
189
+ },
190
+ "declarations": [
191
+ {
192
+ "id": "kd0a8h62-kzgzr5b4",
193
+ "declarationType": "HELP",
194
+ "position": "AFTER_QUESTION_TEXT",
195
+ "label": {
196
+ "value": "\"Tester 2 et 20 (pour vérifier ordre numérique et lexico)\"",
197
+ "type": "VTL|MD"
198
+ }
199
+ }
200
+ ],
201
+ "conditionFilter": { "value": "true", "type": "VTL" },
202
+ "controls": [
203
+ {
204
+ "id": "kd0a8h62-CI-0",
205
+ "criticality": "WARN",
206
+ "control": {
207
+ "value": "not(cast(nvl(QNUM3,0),integer) < 8)",
208
+ "type": "VTL"
209
+ },
210
+ "errorMessage": {
211
+ "value": "\"le nombre saisi est inférieur à 8\"",
212
+ "type": "VTL|MD"
213
+ },
214
+ "bindingDependencies": ["QNUM3"]
215
+ }
216
+ ],
217
+ "hierarchy": {
218
+ "sequence": {
219
+ "id": "kd09v80w",
220
+ "page": "1",
221
+ "label": {
222
+ "value": "\"Tests sur variables numériques\"",
223
+ "type": "VTL|MD"
224
+ }
225
+ },
226
+ "subSequence": {
227
+ "id": "kd0cbson",
228
+ "page": "2",
229
+ "label": {
230
+ "value": "\"Tests simples sur des entiers\"",
231
+ "type": "VTL|MD"
232
+ }
233
+ }
234
+ },
235
+ "bindingDependencies": ["QNUM3"],
236
+ "response": { "name": "QNUM3" }
237
+ },
238
+ {
239
+ "id": "kd0a4t4f",
240
+ "componentType": "InputNumber",
241
+ "mandatory": false,
242
+ "page": "5",
243
+ "min": 0,
244
+ "max": 100,
245
+ "decimals": 0,
246
+ "label": {
247
+ "value": "\"➡ 4. \" || \"Test de supériorité non stricte - Saisie d’un nombre compris entre 0 et 100 - Test si valeur supérieure à 5 \"",
248
+ "type": "VTL|MD"
249
+ },
250
+ "declarations": [
251
+ {
252
+ "id": "kd0a4t4f-kzgzrq25",
253
+ "declarationType": "HELP",
254
+ "position": "AFTER_QUESTION_TEXT",
255
+ "label": {
256
+ "value": "\"Tester 2 et 20 (pour vérifier ordre numérique et lexico) Tester pour le cas d’égalité\"",
257
+ "type": "VTL|MD"
258
+ }
259
+ }
260
+ ],
261
+ "conditionFilter": { "value": "true", "type": "VTL" },
262
+ "controls": [
263
+ {
264
+ "id": "kd0a4t4f-CI-0",
265
+ "criticality": "WARN",
266
+ "control": {
267
+ "value": "not(cast(nvl(QNUM4,0),integer) >=5)",
268
+ "type": "VTL"
269
+ },
270
+ "errorMessage": {
271
+ "value": "\"la valeur saisie est supérieure ou égale à 5\"",
272
+ "type": "VTL|MD"
273
+ },
274
+ "bindingDependencies": ["QNUM4"]
275
+ }
276
+ ],
277
+ "hierarchy": {
278
+ "sequence": {
279
+ "id": "kd09v80w",
280
+ "page": "1",
281
+ "label": {
282
+ "value": "\"Tests sur variables numériques\"",
283
+ "type": "VTL|MD"
284
+ }
285
+ },
286
+ "subSequence": {
287
+ "id": "kd0cbson",
288
+ "page": "2",
289
+ "label": {
290
+ "value": "\"Tests simples sur des entiers\"",
291
+ "type": "VTL|MD"
292
+ }
293
+ }
294
+ },
295
+ "bindingDependencies": ["QNUM4"],
296
+ "response": { "name": "QNUM4" }
297
+ },
298
+ {
299
+ "id": "kd0ac92p",
300
+ "componentType": "InputNumber",
301
+ "mandatory": false,
302
+ "page": "6",
303
+ "min": 0,
304
+ "max": 100,
305
+ "decimals": 0,
306
+ "label": {
307
+ "value": "\"➡ 5. \" || \"Test d’infériorité non stricte - Saisie d’un nombre compris entre 0 et 100 - Test si valeur inférieure à 8 \"",
308
+ "type": "VTL|MD"
309
+ },
310
+ "declarations": [
311
+ {
312
+ "id": "kd0ac92p-kzgzp1k0",
313
+ "declarationType": "HELP",
314
+ "position": "AFTER_QUESTION_TEXT",
315
+ "label": {
316
+ "value": "\"Tester 2 et 20 (pour vérifier ordre numérique et lexico) Tester 8 pour le cas égalité\"",
317
+ "type": "VTL|MD"
318
+ }
319
+ }
320
+ ],
321
+ "conditionFilter": { "value": "true", "type": "VTL" },
322
+ "controls": [
323
+ {
324
+ "id": "kd0ac92p-CI-0",
325
+ "criticality": "WARN",
326
+ "control": {
327
+ "value": "not(cast(nvl(QNUM5,0),integer) <= 8)",
328
+ "type": "VTL"
329
+ },
330
+ "errorMessage": {
331
+ "value": "\"La valeur saisie est inférieure ou égale à 8\"",
332
+ "type": "VTL|MD"
333
+ },
334
+ "bindingDependencies": ["QNUM5"]
335
+ }
336
+ ],
337
+ "hierarchy": {
338
+ "sequence": {
339
+ "id": "kd09v80w",
340
+ "page": "1",
341
+ "label": {
342
+ "value": "\"Tests sur variables numériques\"",
343
+ "type": "VTL|MD"
344
+ }
345
+ },
346
+ "subSequence": {
347
+ "id": "kd0cbson",
348
+ "page": "2",
349
+ "label": {
350
+ "value": "\"Tests simples sur des entiers\"",
351
+ "type": "VTL|MD"
352
+ }
353
+ }
354
+ },
355
+ "bindingDependencies": ["QNUM5"],
356
+ "response": { "name": "QNUM5" }
357
+ },
358
+ {
359
+ "id": "k1cahy88",
360
+ "componentType": "InputNumber",
361
+ "mandatory": false,
362
+ "page": "7",
363
+ "min": 0,
364
+ "max": 9,
365
+ "decimals": 0,
366
+ "label": {
367
+ "value": "\"➡ 6. \" || \"Test d’égalité - Message si = 4\"",
368
+ "type": "VTL|MD"
369
+ },
370
+ "conditionFilter": { "value": "true", "type": "VTL" },
371
+ "controls": [
372
+ {
373
+ "id": "k1cahy88-CI-0",
374
+ "criticality": "WARN",
375
+ "control": {
376
+ "value": "not(cast(nvl(QNUM6,0),integer) = 4)",
377
+ "type": "VTL"
378
+ },
379
+ "errorMessage": {
380
+ "value": "\"la valeur est égale à 4\"",
381
+ "type": "VTL|MD"
382
+ },
383
+ "bindingDependencies": ["QNUM6"]
384
+ }
385
+ ],
386
+ "hierarchy": {
387
+ "sequence": {
388
+ "id": "kd09v80w",
389
+ "page": "1",
390
+ "label": {
391
+ "value": "\"Tests sur variables numériques\"",
392
+ "type": "VTL|MD"
393
+ }
394
+ },
395
+ "subSequence": {
396
+ "id": "kd0cbson",
397
+ "page": "2",
398
+ "label": {
399
+ "value": "\"Tests simples sur des entiers\"",
400
+ "type": "VTL|MD"
401
+ }
402
+ }
403
+ },
404
+ "bindingDependencies": ["QNUM6"],
405
+ "response": { "name": "QNUM6" }
406
+ },
407
+ {
408
+ "id": "kd0ch7pf",
409
+ "componentType": "InputNumber",
410
+ "mandatory": false,
411
+ "page": "8",
412
+ "min": 0,
413
+ "max": 9,
414
+ "decimals": 0,
415
+ "label": {
416
+ "value": "\"➡ 7. \" || \"Test d’égalité à 0 - Message si = 0 \"",
417
+ "type": "VTL|MD"
418
+ },
419
+ "declarations": [
420
+ {
421
+ "id": "kd0ch7pf-kzgzyu8d",
422
+ "declarationType": "HELP",
423
+ "position": "AFTER_QUESTION_TEXT",
424
+ "label": {
425
+ "value": "\"Tester 0 Tester aussi en vidant la valeur\"",
426
+ "type": "VTL|MD"
427
+ }
428
+ }
429
+ ],
430
+ "conditionFilter": { "value": "true", "type": "VTL" },
431
+ "controls": [
432
+ {
433
+ "id": "kd0ch7pf-CI-0",
434
+ "criticality": "WARN",
435
+ "control": { "value": "not(cast(QNUM7,integer) = 0)", "type": "VTL" },
436
+ "errorMessage": { "value": "\"La valeur est 0\"", "type": "VTL|MD" },
437
+ "bindingDependencies": ["QNUM7"]
438
+ },
439
+
440
+ {
441
+ "id": "kd0ch7pf-CI-1",
442
+ "criticality": "WARN",
443
+ "control": { "value": "not(isnull(QNUM7))", "type": "VTL" },
444
+ "errorMessage": { "value": "\"valeur vide\"", "type": "VTL|MD" },
445
+ "bindingDependencies": ["QNUM7"]
446
+ }
447
+ ],
448
+ "hierarchy": {
449
+ "sequence": {
450
+ "id": "kd09v80w",
451
+ "page": "1",
452
+ "label": {
453
+ "value": "\"Tests sur variables numériques\"",
454
+ "type": "VTL|MD"
455
+ }
456
+ },
457
+ "subSequence": {
458
+ "id": "kd0cbson",
459
+ "page": "2",
460
+ "label": {
461
+ "value": "Tests simples sur des entiers",
462
+ "type": "VTL|MD"
463
+ }
464
+ }
465
+ },
466
+ "bindingDependencies": ["QNUM7"],
467
+ "response": { "name": "QNUM7" }
468
+ },
469
+ {
470
+ "id": "kd0aamy0",
471
+ "componentType": "InputNumber",
472
+ "mandatory": false,
473
+ "page": "9",
474
+ "min": -100,
475
+ "max": 100,
476
+ "decimals": 2,
477
+ "label": {
478
+ "value": "\"➡ 8. \" || \"TestS d’un relatif par rapport à une constante neg\"",
479
+ "type": "VTL|MD"
480
+ },
481
+ "declarations": [
482
+ {
483
+ "id": "kd0aamy0-kzgzjdlf",
484
+ "declarationType": "HELP",
485
+ "position": "AFTER_QUESTION_TEXT",
486
+ "label": {
487
+ "value": "\"test des positionnements par rapport à -4\"",
488
+ "type": "VTL|MD"
489
+ }
490
+ },
491
+
492
+ {
493
+ "id": "kd0aamy0-l5qs4feh",
494
+ "declarationType": "HELP",
495
+ "position": "AFTER_QUESTION_TEXT",
496
+ "label": {
497
+ "value": "En LunaticV1 impossible saisir un négatif",
498
+ "type": "VTL|MD"
499
+ }
500
+ }
501
+ ],
502
+ "conditionFilter": { "value": "true", "type": "VTL" },
503
+ "controls": [
504
+ {
505
+ "id": "kd0aamy0-CI-0",
506
+ "criticality": "WARN",
507
+ "control": {
508
+ "value": "not(cast(nvl(REL,0),number) > -4)",
509
+ "type": "VTL"
510
+ },
511
+ "errorMessage": {
512
+ "value": "c’est supérieur strict",
513
+ "type": "VTL|MD"
514
+ },
515
+ "bindingDependencies": ["REL"]
516
+ },
517
+
518
+ {
519
+ "id": "kd0aamy0-CI-1",
520
+ "criticality": "WARN",
521
+ "control": {
522
+ "value": "not(cast(nvl(REL,0),number) >= -4)",
523
+ "type": "VTL"
524
+ },
525
+ "errorMessage": {
526
+ "value": "c’est supérieur ou égal",
527
+ "type": "VTL|MD"
528
+ },
529
+ "bindingDependencies": ["REL"]
530
+ },
531
+
532
+ {
533
+ "id": "kd0aamy0-CI-2",
534
+ "criticality": "WARN",
535
+ "control": {
536
+ "value": "not(cast(nvl(REL,0),number) < -4)",
537
+ "type": "VTL"
538
+ },
539
+ "errorMessage": {
540
+ "value": "c’est inférieur strict",
541
+ "type": "VTL|MD"
542
+ },
543
+ "bindingDependencies": ["REL"]
544
+ },
545
+
546
+ {
547
+ "id": "kd0aamy0-CI-3",
548
+ "criticality": "WARN",
549
+ "control": {
550
+ "value": "not(cast(nvl(REL,0),number) <= -4)",
551
+ "type": "VTL"
552
+ },
553
+ "errorMessage": {
554
+ "value": "c’est inférieur ou égal",
555
+ "type": "VTL|MD"
556
+ },
557
+ "bindingDependencies": ["REL"]
558
+ },
559
+
560
+ {
561
+ "id": "kd0aamy0-CI-4",
562
+ "criticality": "WARN",
563
+ "control": {
564
+ "value": "not(cast(nvl(REL,0),number) = -4)",
565
+ "type": "VTL"
566
+ },
567
+ "errorMessage": { "value": "c’est égal", "type": "VTL|MD" },
568
+ "bindingDependencies": ["REL"]
569
+ },
570
+
571
+ {
572
+ "id": "kd0aamy0-CI-5",
573
+ "criticality": "WARN",
574
+ "control": {
575
+ "value": "not(cast(nvl(REL,0),number) <> -4)",
576
+ "type": "VTL"
577
+ },
578
+ "errorMessage": { "value": "c’est différent", "type": "VTL|MD" },
579
+ "bindingDependencies": ["REL"]
580
+ }
581
+ ],
582
+ "hierarchy": {
583
+ "sequence": {
584
+ "id": "kd09v80w",
585
+ "page": "1",
586
+ "label": {
587
+ "value": "Tests sur variables numériques",
588
+ "type": "VTL|MD"
589
+ }
590
+ },
591
+ "subSequence": {
592
+ "id": "kd0cbson",
593
+ "page": "2",
594
+ "label": {
595
+ "value": "Tests simples sur des entiers",
596
+ "type": "VTL|MD"
597
+ }
598
+ }
599
+ },
600
+ "bindingDependencies": ["REL"],
601
+ "response": { "name": "REL" }
602
+ },
603
+ {
604
+ "id": "kd0cdj48",
605
+ "componentType": "Subsequence",
606
+ "goToPage": "10",
607
+ "label": {
608
+ "value": "Tests sur des relatifs et des réels",
609
+ "type": "VTL|MD"
610
+ },
611
+ "conditionFilter": { "value": "true", "type": "VTL" },
612
+ "hierarchy": {
613
+ "sequence": {
614
+ "id": "kd09v80w",
615
+ "page": "1",
616
+ "label": {
617
+ "value": "Tests sur variables numériques",
618
+ "type": "VTL|MD"
619
+ }
620
+ },
621
+ "subSequence": {
622
+ "id": "kd0cdj48",
623
+ "page": "10",
624
+ "label": {
625
+ "value": "Tests sur des relatifs et des réels",
626
+ "type": "VTL|MD"
627
+ }
628
+ }
629
+ }
630
+ },
631
+ {
632
+ "id": "kd0aa5ah",
633
+ "componentType": "InputNumber",
634
+ "mandatory": false,
635
+ "page": "10",
636
+ "min": -100,
637
+ "max": 100,
638
+ "decimals": 2,
639
+ "label": {
640
+ "value": "\"➡ 9. \" || \"Test d’un réel par rapport à une constante - test des positionnements par rapport à -4.51 (sup, inf, égal)\"",
641
+ "type": "VTL|MD"
642
+ },
643
+ "conditionFilter": { "value": "true", "type": "VTL" },
644
+ "controls": [
645
+ {
646
+ "id": "kd0aa5ah-CI-0",
647
+ "criticality": "WARN",
648
+ "control": {
649
+ "value": "not(cast(nvl(REEL,0),number) > -4.51)",
650
+ "type": "VTL"
651
+ },
652
+ "errorMessage": {
653
+ "value": "la valeur est supérieure à -4.51",
654
+ "type": "VTL|MD"
655
+ },
656
+ "bindingDependencies": ["REEL"]
657
+ },
658
+
659
+ {
660
+ "id": "kd0aa5ah-CI-1",
661
+ "criticality": "WARN",
662
+ "control": {
663
+ "value": "not(cast(nvl(REEL,0),number) = -4.51)",
664
+ "type": "VTL"
665
+ },
666
+ "errorMessage": {
667
+ "value": "la valeur est égale à -4.51",
668
+ "type": "VTL|MD"
669
+ },
670
+ "bindingDependencies": ["REEL"]
671
+ },
672
+
673
+ {
674
+ "id": "kd0aa5ah-CI-2",
675
+ "criticality": "WARN",
676
+ "control": {
677
+ "value": "not(cast(nvl(REEL,0),number) < -4.51)",
678
+ "type": "VTL"
679
+ },
680
+ "errorMessage": {
681
+ "value": "la valeur est inférieure à -4.51",
682
+ "type": "VTL|MD"
683
+ },
684
+ "bindingDependencies": ["REEL"]
685
+ }
686
+ ],
687
+ "hierarchy": {
688
+ "sequence": {
689
+ "id": "kd09v80w",
690
+ "page": "1",
691
+ "label": {
692
+ "value": "Tests sur variables numériques",
693
+ "type": "VTL|MD"
694
+ }
695
+ },
696
+ "subSequence": {
697
+ "id": "kd0cdj48",
698
+ "page": "10",
699
+ "label": {
700
+ "value": "Tests sur des relatifs et des réels",
701
+ "type": "VTL|MD"
702
+ }
703
+ }
704
+ },
705
+ "bindingDependencies": ["REEL"],
706
+ "response": { "name": "REEL" }
707
+ },
708
+ {
709
+ "id": "l5qvuk9e",
710
+ "componentType": "InputNumber",
711
+ "mandatory": false,
712
+ "page": "11",
713
+ "min": -100,
714
+ "max": 100,
715
+ "decimals": 2,
716
+ "label": {
717
+ "value": "\"➡ 10. \" || \"Test d’un réel par rapport à une constante - test des positionnements par rapport à 4.51 (sup, inf, égal)\"",
718
+ "type": "VTL|MD"
719
+ },
720
+ "conditionFilter": { "value": "true", "type": "VTL" },
721
+ "controls": [
722
+ {
723
+ "id": "l5qvuk9e-CI-0",
724
+ "criticality": "WARN",
725
+ "control": {
726
+ "value": "not(cast(nvl(REEL2,0),number) > 4.51)",
727
+ "type": "VTL"
728
+ },
729
+ "errorMessage": { "value": "superieur à 4.51", "type": "VTL|MD" },
730
+ "bindingDependencies": ["REEL2"]
731
+ },
732
+
733
+ {
734
+ "id": "l5qvuk9e-CI-1",
735
+ "criticality": "WARN",
736
+ "control": {
737
+ "value": "not(cast(nvl(REEL2,0),number) < 4.51)",
738
+ "type": "VTL"
739
+ },
740
+ "errorMessage": { "value": "inferieur à 4.51", "type": "VTL|MD" },
741
+ "bindingDependencies": ["REEL2"]
742
+ }
743
+ ],
744
+ "hierarchy": {
745
+ "sequence": {
746
+ "id": "kd09v80w",
747
+ "page": "1",
748
+ "label": {
749
+ "value": "Tests sur variables numériques",
750
+ "type": "VTL|MD"
751
+ }
752
+ },
753
+ "subSequence": {
754
+ "id": "kd0cdj48",
755
+ "page": "10",
756
+ "label": {
757
+ "value": "Tests sur des relatifs et des réels",
758
+ "type": "VTL|MD"
759
+ }
760
+ }
761
+ },
762
+ "bindingDependencies": ["REEL2"],
763
+ "response": { "name": "REEL2" }
764
+ },
765
+ {
766
+ "id": "l5qvtc2l",
767
+ "componentType": "InputNumber",
768
+ "mandatory": false,
769
+ "page": "12",
770
+ "min": -100,
771
+ "max": 100,
772
+ "decimals": 2,
773
+ "label": {
774
+ "value": "\"➡ 11. \" || \"Test d’un réel par rapport à une constante - test des positionnements par rapport à 4 (sup, égal)\"",
775
+ "type": "VTL|MD"
776
+ },
777
+ "conditionFilter": { "value": "true", "type": "VTL" },
778
+ "controls": [
779
+ {
780
+ "id": "l5qvtc2l-CI-0",
781
+ "criticality": "WARN",
782
+ "control": {
783
+ "value": "not(cast(nvl(REEL3,0),number) > 4)",
784
+ "type": "VTL"
785
+ },
786
+ "errorMessage": { "value": "superieur à 4", "type": "VTL|MD" },
787
+ "bindingDependencies": ["REEL3"]
788
+ },
789
+
790
+ {
791
+ "id": "l5qvtc2l-CI-1",
792
+ "criticality": "WARN",
793
+ "control": {
794
+ "value": "not(cast(nvl(REEL3,0),number) < 4)",
795
+ "type": "VTL"
796
+ },
797
+ "errorMessage": { "value": "inferieur à 4", "type": "VTL|MD" },
798
+ "bindingDependencies": ["REEL3"]
799
+ }
800
+ ],
801
+ "hierarchy": {
802
+ "sequence": {
803
+ "id": "kd09v80w",
804
+ "page": "1",
805
+ "label": {
806
+ "value": "Tests sur variables numériques",
807
+ "type": "VTL|MD"
808
+ }
809
+ },
810
+ "subSequence": {
811
+ "id": "kd0cdj48",
812
+ "page": "10",
813
+ "label": {
814
+ "value": "Tests sur des relatifs et des réels",
815
+ "type": "VTL|MD"
816
+ }
817
+ }
818
+ },
819
+ "bindingDependencies": ["REEL3"],
820
+ "response": { "name": "REEL3" }
821
+ },
822
+ {
823
+ "id": "kd0c3h3b",
824
+ "componentType": "InputNumber",
825
+ "mandatory": false,
826
+ "page": "13",
827
+ "min": 0,
828
+ "max": 1000000000,
829
+ "decimals": 2,
830
+ "label": {
831
+ "value": "\"➡ 12. \" || \"Test d’un grand réel par rapport à une constante (max = 1000000000) - test des positionnements par rapport à 1000 - Personnalisation du message d’erreur avec la valeur (précision = 2, max = 1000000000)\"",
832
+ "type": "VTL|MD"
833
+ },
834
+ "declarations": [
835
+ {
836
+ "id": "kd0c3h3b-l5qsemyu",
837
+ "declarationType": "HELP",
838
+ "position": "AFTER_QUESTION_TEXT",
839
+ "label": {
840
+ "value": "Rappel : posait souci dans Orbeon",
841
+ "type": "VTL|MD"
842
+ }
843
+ }
844
+ ],
845
+ "conditionFilter": { "value": "true", "type": "VTL" },
846
+ "controls": [
847
+ {
848
+ "id": "kd0c3h3b-CI-0",
849
+ "criticality": "WARN",
850
+ "control": {
851
+ "value": "not(cast(nvl(GRAND,0),number) > 1000)",
852
+ "type": "VTL"
853
+ },
854
+ "errorMessage": {
855
+ "value": "la valeur saisie GRAND est supérieure à 1000 ",
856
+ "type": "VTL|MD"
857
+ },
858
+ "bindingDependencies": ["GRAND"]
859
+ }
860
+ ],
861
+ "hierarchy": {
862
+ "sequence": {
863
+ "id": "kd09v80w",
864
+ "page": "1",
865
+ "label": {
866
+ "value": "Tests sur variables numériques",
867
+ "type": "VTL|MD"
868
+ }
869
+ },
870
+ "subSequence": {
871
+ "id": "kd0cdj48",
872
+ "page": "10",
873
+ "label": {
874
+ "value": "Tests sur des relatifs et des réels",
875
+ "type": "VTL|MD"
876
+ }
877
+ }
878
+ },
879
+ "bindingDependencies": ["GRAND"],
880
+ "response": { "name": "GRAND" }
881
+ },
882
+ {
883
+ "id": "kd0a5rkr",
884
+ "componentType": "Subsequence",
885
+ "page": "14",
886
+ "label": {
887
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
888
+ "type": "VTL|MD"
889
+ },
890
+ "declarations": [
891
+ {
892
+ "id": "kd0a5rkr-kzh01fub",
893
+ "declarationType": "HELP",
894
+ "position": "AFTER_QUESTION_TEXT",
895
+ "label": {
896
+ "value": "Les nombres sont QREL et QREL2 Leur somme vaut CALC_SOMME - Leur produit vaut CALC_PRODUIT - Leur différence vaut CALC_DIFFERENCE - Leur division vaut CALC_RATIO",
897
+ "type": "VTL|MD"
898
+ }
899
+ }
900
+ ],
901
+ "conditionFilter": { "value": "true", "type": "VTL" },
902
+ "hierarchy": {
903
+ "sequence": {
904
+ "id": "kd09v80w",
905
+ "page": "1",
906
+ "label": {
907
+ "value": "Tests sur variables numériques",
908
+ "type": "VTL|MD"
909
+ }
910
+ },
911
+ "subSequence": {
912
+ "id": "kd0a5rkr",
913
+ "page": "14",
914
+ "label": {
915
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
916
+ "type": "VTL|MD"
917
+ }
918
+ }
919
+ },
920
+ "bindingDependencies": [
921
+ "QREL",
922
+ "QREL2",
923
+ "CALC_SOMME",
924
+ "CALC_PRODUIT",
925
+ "CALC_DIFFERENCE",
926
+ "CALC_RATIO"
927
+ ]
928
+ },
929
+ {
930
+ "id": "kd0achk0",
931
+ "componentType": "InputNumber",
932
+ "mandatory": false,
933
+ "page": "15",
934
+ "min": -100,
935
+ "max": 100,
936
+ "decimals": 0,
937
+ "label": {
938
+ "value": "\"➡ 13. \" || \"Test sur ordre de deux variables - partie 1 - les contrôles portent sur la question suivante&#xd;\"",
939
+ "type": "VTL|MD"
940
+ },
941
+ "declarations": [
942
+ {
943
+ "id": "kd0achk0-l5qs57q7",
944
+ "declarationType": "HELP",
945
+ "position": "AFTER_QUESTION_TEXT",
946
+ "label": {
947
+ "value": "Saisir un nombre entier relatif entre -100 et 100",
948
+ "type": "VTL|MD"
949
+ }
950
+ }
951
+ ],
952
+ "conditionFilter": { "value": "true", "type": "VTL" },
953
+ "hierarchy": {
954
+ "sequence": {
955
+ "id": "kd09v80w",
956
+ "page": "1",
957
+ "label": {
958
+ "value": "Tests sur variables numériques",
959
+ "type": "VTL|MD"
960
+ }
961
+ },
962
+ "subSequence": {
963
+ "id": "kd0a5rkr",
964
+ "page": "14",
965
+ "label": {
966
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
967
+ "type": "VTL|MD"
968
+ }
969
+ }
970
+ },
971
+ "bindingDependencies": ["QREL"],
972
+ "response": { "name": "QREL" }
973
+ },
974
+ {
975
+ "id": "kd0bl558",
976
+ "componentType": "InputNumber",
977
+ "mandatory": false,
978
+ "page": "16",
979
+ "min": -100,
980
+ "max": 100,
981
+ "decimals": 2,
982
+ "label": {
983
+ "value": "\"➡ 14. \" || \"Test sur ordre de deux variables - partie 2 \"",
984
+ "type": "VTL|MD"
985
+ },
986
+ "declarations": [
987
+ {
988
+ "id": "kd0bl558-kzgp1ckr",
989
+ "declarationType": "HELP",
990
+ "position": "AFTER_QUESTION_TEXT",
991
+ "label": {
992
+ "value": "MEttre 2 chiffres après virgule",
993
+ "type": "VTL|MD"
994
+ }
995
+ },
996
+
997
+ {
998
+ "id": "kd0bl558-kzgzuob9",
999
+ "declarationType": "HELP",
1000
+ "position": "AFTER_QUESTION_TEXT",
1001
+ "label": {
1002
+ "value": "Saisir un deuxième nombre relatif entre -100 et 100",
1003
+ "type": "VTL|MD"
1004
+ }
1005
+ },
1006
+
1007
+ {
1008
+ "id": "kd0bl558-kzgzzsbo",
1009
+ "declarationType": "HELP",
1010
+ "position": "AFTER_QUESTION_TEXT",
1011
+ "label": {
1012
+ "value": "Tester supérieur, inférieur, identique",
1013
+ "type": "VTL|MD"
1014
+ }
1015
+ },
1016
+
1017
+ {
1018
+ "id": "kd0bl558-kzgzn873",
1019
+ "declarationType": "HELP",
1020
+ "position": "AFTER_QUESTION_TEXT",
1021
+ "label": {
1022
+ "value": "Ne pas oublier de tester ordre numérique et ordre lexicographique",
1023
+ "type": "VTL|MD"
1024
+ }
1025
+ }
1026
+ ],
1027
+ "conditionFilter": { "value": "true", "type": "VTL" },
1028
+ "controls": [
1029
+ {
1030
+ "id": "kd0bl558-CI-0",
1031
+ "criticality": "WARN",
1032
+ "control": {
1033
+ "value": "not(cast(QREL,number) > cast(QREL2,number))",
1034
+ "type": "VTL"
1035
+ },
1036
+ "errorMessage": {
1037
+ "value": "le premier nombre est supérieur",
1038
+ "type": "VTL|MD"
1039
+ },
1040
+ "bindingDependencies": ["QREL", "QREL2"]
1041
+ },
1042
+
1043
+ {
1044
+ "id": "kd0bl558-CI-1",
1045
+ "criticality": "WARN",
1046
+ "control": {
1047
+ "value": "not(cast(QREL,number) < cast(QREL2,number))",
1048
+ "type": "VTL"
1049
+ },
1050
+ "errorMessage": {
1051
+ "value": "le premier nombre est inférieur",
1052
+ "type": "VTL|MD"
1053
+ },
1054
+ "bindingDependencies": ["QREL", "QREL2"]
1055
+ },
1056
+
1057
+ {
1058
+ "id": "kd0bl558-CI-2",
1059
+ "criticality": "WARN",
1060
+ "control": {
1061
+ "value": "not(cast(QREL,number) = cast(QREL2,number))",
1062
+ "type": "VTL"
1063
+ },
1064
+ "errorMessage": {
1065
+ "value": "les deux nombres sont égaux",
1066
+ "type": "VTL|MD"
1067
+ },
1068
+ "bindingDependencies": ["QREL", "QREL2"]
1069
+ }
1070
+ ],
1071
+ "hierarchy": {
1072
+ "sequence": {
1073
+ "id": "kd09v80w",
1074
+ "page": "1",
1075
+ "label": {
1076
+ "value": "Tests sur variables numériques",
1077
+ "type": "VTL|MD"
1078
+ }
1079
+ },
1080
+ "subSequence": {
1081
+ "id": "kd0a5rkr",
1082
+ "page": "14",
1083
+ "label": {
1084
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
1085
+ "type": "VTL|MD"
1086
+ }
1087
+ }
1088
+ },
1089
+ "bindingDependencies": ["QREL2"],
1090
+ "response": { "name": "QREL2" }
1091
+ },
1092
+ {
1093
+ "id": "l5qt3xu9",
1094
+ "componentType": "InputNumber",
1095
+ "mandatory": false,
1096
+ "page": "17",
1097
+ "min": 0,
1098
+ "max": 100,
1099
+ "decimals": 0,
1100
+ "label": {
1101
+ "value": "\"➡ 15. \" || \"Test entre un entier et un réel - saisir entre 0 et 100 - controle sur saisie > QREL2\"",
1102
+ "type": "VTL|MD"
1103
+ },
1104
+ "declarations": [
1105
+ {
1106
+ "id": "l5qt3xu9-l5qt5usw",
1107
+ "declarationType": "HELP",
1108
+ "position": "AFTER_QUESTION_TEXT",
1109
+ "label": {
1110
+ "value": "\"rappel QREL2 : \" || cast(QREL2,string)",
1111
+ "type": "VTL|MD"
1112
+ }
1113
+ }
1114
+ ],
1115
+ "conditionFilter": { "value": "true", "type": "VTL" },
1116
+ "controls": [
1117
+ {
1118
+ "id": "l5qt3xu9-CI-0",
1119
+ "criticality": "WARN",
1120
+ "control": {
1121
+ "value": "not(cast(nvl(QNUMBIS,0),number) > cast(nvl(QREL2,0),number))",
1122
+ "type": "VTL"
1123
+ },
1124
+ "errorMessage": { "value": "saisie > QREL2", "type": "VTL|MD" },
1125
+ "bindingDependencies": ["QNUMBIS", "QREL2"]
1126
+ }
1127
+ ],
1128
+ "hierarchy": {
1129
+ "sequence": {
1130
+ "id": "kd09v80w",
1131
+ "page": "1",
1132
+ "label": {
1133
+ "value": "Tests sur variables numériques",
1134
+ "type": "VTL|MD"
1135
+ }
1136
+ },
1137
+ "subSequence": {
1138
+ "id": "kd0a5rkr",
1139
+ "page": "14",
1140
+ "label": {
1141
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
1142
+ "type": "VTL|MD"
1143
+ }
1144
+ }
1145
+ },
1146
+ "bindingDependencies": ["QREL2", "QNUMBIS"],
1147
+ "response": { "name": "QNUMBIS" }
1148
+ },
1149
+ {
1150
+ "id": "kd0bu8xz",
1151
+ "componentType": "InputNumber",
1152
+ "mandatory": false,
1153
+ "page": "18",
1154
+ "min": -400,
1155
+ "max": 400,
1156
+ "decimals": 0,
1157
+ "label": {
1158
+ "value": "\"➡ 16. \" || \"test avec une variable calculée : le ratio - Saisissez une valeur pour la comparer au produit des deux nombres précédents\"",
1159
+ "type": "VTL|MD"
1160
+ },
1161
+ "declarations": [
1162
+ {
1163
+ "id": "kd0bu8xz-l5qsfsto",
1164
+ "declarationType": "HELP",
1165
+ "position": "AFTER_QUESTION_TEXT",
1166
+ "label": {
1167
+ "value": "\"QREL \" || cast(QREL,string)",
1168
+ "type": "VTL|MD"
1169
+ }
1170
+ },
1171
+
1172
+ {
1173
+ "id": "kd0bu8xz-l5qsl50s",
1174
+ "declarationType": "HELP",
1175
+ "position": "AFTER_QUESTION_TEXT",
1176
+ "label": {
1177
+ "value": "\"QREL2 \" || cast(QREL2,string)",
1178
+ "type": "VTL|MD"
1179
+ }
1180
+ },
1181
+
1182
+ {
1183
+ "id": "kd0bu8xz-l5qtjjss",
1184
+ "declarationType": "HELP",
1185
+ "position": "AFTER_QUESTION_TEXT",
1186
+ "label": {
1187
+ "value": "\"ratio calculé : \" || cast(CALC_RATIO,string)",
1188
+ "type": "VTL|MD"
1189
+ }
1190
+ }
1191
+ ],
1192
+ "conditionFilter": { "value": "true", "type": "VTL" },
1193
+ "controls": [
1194
+ {
1195
+ "id": "kd0bu8xz-CI-0",
1196
+ "criticality": "WARN",
1197
+ "control": {
1198
+ "value": "not(cast(CALC_RATIO,number)<>cast(nvl(QRATIO,0),number))",
1199
+ "type": "VTL"
1200
+ },
1201
+ "errorMessage": { "value": "RAtio différent", "type": "VTL|MD" },
1202
+ "bindingDependencies": ["CALC_RATIO", "QRATIO"]
1203
+ },
1204
+
1205
+ {
1206
+ "id": "kd0bu8xz-CI-1",
1207
+ "criticality": "WARN",
1208
+ "control": {
1209
+ "value": "not(cast(CALC_RATIO,number)=cast(nvl(QRATIO,0),number))",
1210
+ "type": "VTL"
1211
+ },
1212
+ "errorMessage": { "value": "RAtio identique", "type": "VTL|MD" },
1213
+ "bindingDependencies": ["CALC_RATIO", "QRATIO"]
1214
+ }
1215
+ ],
1216
+ "hierarchy": {
1217
+ "sequence": {
1218
+ "id": "kd09v80w",
1219
+ "page": "1",
1220
+ "label": {
1221
+ "value": "Tests sur variables numériques",
1222
+ "type": "VTL|MD"
1223
+ }
1224
+ },
1225
+ "subSequence": {
1226
+ "id": "kd0a5rkr",
1227
+ "page": "14",
1228
+ "label": {
1229
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
1230
+ "type": "VTL|MD"
1231
+ }
1232
+ }
1233
+ },
1234
+ "bindingDependencies": ["QREL", "QREL2", "CALC_RATIO", "QRATIO"],
1235
+ "response": { "name": "QRATIO" }
1236
+ },
1237
+ {
1238
+ "id": "k0gj7g4v",
1239
+ "componentType": "InputNumber",
1240
+ "mandatory": false,
1241
+ "page": "19",
1242
+ "min": -200,
1243
+ "max": 200,
1244
+ "decimals": 1,
1245
+ "label": {
1246
+ "value": "\"➡ 17. \" || \"test avec une variable calculée : la somme - Saisissez une valeur pour la comparer à la somme des deux nombres précédents \"",
1247
+ "type": "VTL|MD"
1248
+ },
1249
+ "declarations": [
1250
+ {
1251
+ "id": "k0gj7g4v-kzs9lmqk",
1252
+ "declarationType": "HELP",
1253
+ "position": "AFTER_QUESTION_TEXT",
1254
+ "label": {
1255
+ "value": "\"somme calculée : \" ||cast(CALC_SOMME,string)",
1256
+ "type": "VTL|MD"
1257
+ }
1258
+ },
1259
+
1260
+ {
1261
+ "id": "k0gj7g4v-l5qsqev9",
1262
+ "declarationType": "HELP",
1263
+ "position": "AFTER_QUESTION_TEXT",
1264
+ "label": {
1265
+ "value": "\"QREL \" || cast(QREL,string)",
1266
+ "type": "VTL|MD"
1267
+ }
1268
+ },
1269
+
1270
+ {
1271
+ "id": "k0gj7g4v-l5qsn0zd",
1272
+ "declarationType": "HELP",
1273
+ "position": "AFTER_QUESTION_TEXT",
1274
+ "label": {
1275
+ "value": "\"QREL2 \" || cast(QREL2,string)",
1276
+ "type": "VTL|MD"
1277
+ }
1278
+ }
1279
+ ],
1280
+ "conditionFilter": { "value": "true", "type": "VTL" },
1281
+ "controls": [
1282
+ {
1283
+ "id": "k0gj7g4v-CI-0",
1284
+ "criticality": "WARN",
1285
+ "control": {
1286
+ "value": "not(cast(nvl(QSOMME,0),number) = cast(CALC_SOMME,number))",
1287
+ "type": "VTL"
1288
+ },
1289
+ "errorMessage": {
1290
+ "value": "Bravo vous savez faire une addition",
1291
+ "type": "VTL|MD"
1292
+ },
1293
+ "bindingDependencies": ["QSOMME", "CALC_SOMME"]
1294
+ },
1295
+
1296
+ {
1297
+ "id": "k0gj7g4v-CI-1",
1298
+ "criticality": "WARN",
1299
+ "control": {
1300
+ "value": "not(cast(nvl(QSOMME,0),number) < cast(CALC_SOMME,number))",
1301
+ "type": "VTL"
1302
+ },
1303
+ "errorMessage": {
1304
+ "value": "la valeur saisie est inférieure à la somme",
1305
+ "type": "VTL|MD"
1306
+ },
1307
+ "bindingDependencies": ["QSOMME", "CALC_SOMME"]
1308
+ },
1309
+
1310
+ {
1311
+ "id": "k0gj7g4v-CI-2",
1312
+ "criticality": "WARN",
1313
+ "control": {
1314
+ "value": "not(cast(nvl(QSOMME,0),number) > cast(CALC_SOMME,number))",
1315
+ "type": "VTL"
1316
+ },
1317
+ "errorMessage": {
1318
+ "value": "La valeur saisie est supérieure à la somme",
1319
+ "type": "VTL|MD"
1320
+ },
1321
+ "bindingDependencies": ["QSOMME", "CALC_SOMME"]
1322
+ }
1323
+ ],
1324
+ "hierarchy": {
1325
+ "sequence": {
1326
+ "id": "kd09v80w",
1327
+ "page": "1",
1328
+ "label": {
1329
+ "value": "Tests sur variables numériques",
1330
+ "type": "VTL|MD"
1331
+ }
1332
+ },
1333
+ "subSequence": {
1334
+ "id": "kd0a5rkr",
1335
+ "page": "14",
1336
+ "label": {
1337
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
1338
+ "type": "VTL|MD"
1339
+ }
1340
+ }
1341
+ },
1342
+ "bindingDependencies": ["CALC_SOMME", "QREL", "QREL2", "QSOMME"],
1343
+ "response": { "name": "QSOMME" }
1344
+ },
1345
+ {
1346
+ "id": "kd0bx24r",
1347
+ "componentType": "InputNumber",
1348
+ "mandatory": false,
1349
+ "page": "20",
1350
+ "min": -400,
1351
+ "max": 400,
1352
+ "decimals": 2,
1353
+ "label": {
1354
+ "value": "\"➡ 18. \" || \"test avec une variable calculée : le produit - Saisissez une valeur pour la comparer au produit des deux nombres précédents\"",
1355
+ "type": "VTL|MD"
1356
+ },
1357
+ "declarations": [
1358
+ {
1359
+ "id": "kd0bx24r-l5qsnxn1",
1360
+ "declarationType": "HELP",
1361
+ "position": "AFTER_QUESTION_TEXT",
1362
+ "label": {
1363
+ "value": "\"QREL \" || cast(QREL,string)",
1364
+ "type": "VTL|MD"
1365
+ }
1366
+ },
1367
+
1368
+ {
1369
+ "id": "kd0bx24r-l5qs6s2e",
1370
+ "declarationType": "HELP",
1371
+ "position": "AFTER_QUESTION_TEXT",
1372
+ "label": {
1373
+ "value": "\"QREL2 \" || cast(QREL2,string)",
1374
+ "type": "VTL|MD"
1375
+ }
1376
+ },
1377
+
1378
+ {
1379
+ "id": "kd0bx24r-l5qsojx6",
1380
+ "declarationType": "HELP",
1381
+ "position": "AFTER_QUESTION_TEXT",
1382
+ "label": {
1383
+ "value": "\"produit calculé : \" ||cast(CALC_PRODUIT,string)",
1384
+ "type": "VTL|MD"
1385
+ }
1386
+ }
1387
+ ],
1388
+ "conditionFilter": { "value": "true", "type": "VTL" },
1389
+ "controls": [
1390
+ {
1391
+ "id": "kd0bx24r-CI-0",
1392
+ "criticality": "WARN",
1393
+ "control": {
1394
+ "value": "not(cast(nvl(QPRODUIT,0),number) >= cast(CALC_PRODUIT,number))",
1395
+ "type": "VTL"
1396
+ },
1397
+ "errorMessage": {
1398
+ "value": "la valeur saisie est supérieure ou égale au produit",
1399
+ "type": "VTL|MD"
1400
+ },
1401
+ "bindingDependencies": ["QPRODUIT", "CALC_PRODUIT"]
1402
+ },
1403
+
1404
+ {
1405
+ "id": "kd0bx24r-CI-1",
1406
+ "criticality": "WARN",
1407
+ "control": {
1408
+ "value": "not(cast(nvl(QPRODUIT,0),number)<= cast(CALC_PRODUIT,number))",
1409
+ "type": "VTL"
1410
+ },
1411
+ "errorMessage": {
1412
+ "value": "la valeur saisie est inférieure ou égale au produit",
1413
+ "type": "VTL|MD"
1414
+ },
1415
+ "bindingDependencies": ["QPRODUIT", "CALC_PRODUIT"]
1416
+ }
1417
+ ],
1418
+ "hierarchy": {
1419
+ "sequence": {
1420
+ "id": "kd09v80w",
1421
+ "page": "1",
1422
+ "label": {
1423
+ "value": "Tests sur variables numériques",
1424
+ "type": "VTL|MD"
1425
+ }
1426
+ },
1427
+ "subSequence": {
1428
+ "id": "kd0a5rkr",
1429
+ "page": "14",
1430
+ "label": {
1431
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
1432
+ "type": "VTL|MD"
1433
+ }
1434
+ }
1435
+ },
1436
+ "bindingDependencies": ["QREL", "QREL2", "CALC_PRODUIT", "QPRODUIT"],
1437
+ "response": { "name": "QPRODUIT" }
1438
+ },
1439
+ {
1440
+ "id": "kd0c2j4a",
1441
+ "componentType": "InputNumber",
1442
+ "mandatory": false,
1443
+ "page": "21",
1444
+ "min": -400,
1445
+ "max": 400,
1446
+ "decimals": 2,
1447
+ "label": {
1448
+ "value": "\"➡ 19. \" || \"test avec une variable calculée : la différence - Saisissez une valeur pour la comparer au produit des deux nombres précédents\"",
1449
+ "type": "VTL|MD"
1450
+ },
1451
+ "declarations": [
1452
+ {
1453
+ "id": "kd0c2j4a-l5qsky9a",
1454
+ "declarationType": "HELP",
1455
+ "position": "AFTER_QUESTION_TEXT",
1456
+ "label": {
1457
+ "value": "\"QREL \" || cast(QREL,string)",
1458
+ "type": "VTL|MD"
1459
+ }
1460
+ },
1461
+
1462
+ {
1463
+ "id": "kd0c2j4a-l5qspruc",
1464
+ "declarationType": "HELP",
1465
+ "position": "AFTER_QUESTION_TEXT",
1466
+ "label": {
1467
+ "value": "\"QREL2 \" || cast(QREL2,string)",
1468
+ "type": "VTL|MD"
1469
+ }
1470
+ },
1471
+
1472
+ {
1473
+ "id": "kd0c2j4a-l5qt39hp",
1474
+ "declarationType": "HELP",
1475
+ "position": "AFTER_QUESTION_TEXT",
1476
+ "label": {
1477
+ "value": "\"diff calculée : \" || cast(CALC_DIFFERENCE,string)",
1478
+ "type": "VTL|MD"
1479
+ }
1480
+ }
1481
+ ],
1482
+ "conditionFilter": { "value": "true", "type": "VTL" },
1483
+ "controls": [
1484
+ {
1485
+ "id": "kd0c2j4a-CI-0",
1486
+ "criticality": "WARN",
1487
+ "control": {
1488
+ "value": "not(cast(nvl(QDIFFERENCE,0),number) = cast(CALC_DIFFERENCE,number))",
1489
+ "type": "VTL"
1490
+ },
1491
+ "errorMessage": { "value": "Différence : idem", "type": "VTL|MD" },
1492
+ "bindingDependencies": ["QDIFFERENCE", "CALC_DIFFERENCE"]
1493
+ },
1494
+
1495
+ {
1496
+ "id": "kd0c2j4a-CI-1",
1497
+ "criticality": "WARN",
1498
+ "control": {
1499
+ "value": "not(cast(nvl(QDIFFERENCE,0),number) <> cast(CALC_DIFFERENCE,number))",
1500
+ "type": "VTL"
1501
+ },
1502
+ "errorMessage": {
1503
+ "value": "Différence différente",
1504
+ "type": "VTL|MD"
1505
+ },
1506
+ "bindingDependencies": ["QDIFFERENCE", "CALC_DIFFERENCE"]
1507
+ }
1508
+ ],
1509
+ "hierarchy": {
1510
+ "sequence": {
1511
+ "id": "kd09v80w",
1512
+ "page": "1",
1513
+ "label": {
1514
+ "value": "Tests sur variables numériques",
1515
+ "type": "VTL|MD"
1516
+ }
1517
+ },
1518
+ "subSequence": {
1519
+ "id": "kd0a5rkr",
1520
+ "page": "14",
1521
+ "label": {
1522
+ "value": "Tests sur variables collectées, ordre relatif et variables calculées",
1523
+ "type": "VTL|MD"
1524
+ }
1525
+ }
1526
+ },
1527
+ "bindingDependencies": [
1528
+ "QREL",
1529
+ "QREL2",
1530
+ "CALC_DIFFERENCE",
1531
+ "QDIFFERENCE"
1532
+ ],
1533
+ "response": { "name": "QDIFFERENCE" }
1534
+ }
1535
+ ],
1536
+ "variables": [
1537
+ {
1538
+ "variableType": "COLLECTED",
1539
+ "name": "QNUM",
1540
+ "values": {
1541
+ "PREVIOUS": null,
1542
+ "COLLECTED": null,
1543
+ "FORCED": null,
1544
+ "EDITED": null,
1545
+ "INPUTTED": null
1546
+ }
1547
+ },
1548
+
1549
+ {
1550
+ "variableType": "COLLECTED",
1551
+ "name": "QNUM2",
1552
+ "values": {
1553
+ "PREVIOUS": null,
1554
+ "COLLECTED": null,
1555
+ "FORCED": null,
1556
+ "EDITED": null,
1557
+ "INPUTTED": null
1558
+ }
1559
+ },
1560
+
1561
+ {
1562
+ "variableType": "COLLECTED",
1563
+ "name": "QNUM3",
1564
+ "values": {
1565
+ "PREVIOUS": null,
1566
+ "COLLECTED": null,
1567
+ "FORCED": null,
1568
+ "EDITED": null,
1569
+ "INPUTTED": null
1570
+ }
1571
+ },
1572
+
1573
+ {
1574
+ "variableType": "COLLECTED",
1575
+ "name": "QNUM4",
1576
+ "values": {
1577
+ "PREVIOUS": null,
1578
+ "COLLECTED": null,
1579
+ "FORCED": null,
1580
+ "EDITED": null,
1581
+ "INPUTTED": null
1582
+ }
1583
+ },
1584
+
1585
+ {
1586
+ "variableType": "COLLECTED",
1587
+ "name": "QNUM5",
1588
+ "values": {
1589
+ "PREVIOUS": null,
1590
+ "COLLECTED": null,
1591
+ "FORCED": null,
1592
+ "EDITED": null,
1593
+ "INPUTTED": null
1594
+ }
1595
+ },
1596
+
1597
+ {
1598
+ "variableType": "COLLECTED",
1599
+ "name": "QNUM6",
1600
+ "values": {
1601
+ "PREVIOUS": null,
1602
+ "COLLECTED": null,
1603
+ "FORCED": null,
1604
+ "EDITED": null,
1605
+ "INPUTTED": null
1606
+ }
1607
+ },
1608
+
1609
+ {
1610
+ "variableType": "COLLECTED",
1611
+ "name": "QNUM7",
1612
+ "values": {
1613
+ "PREVIOUS": null,
1614
+ "COLLECTED": null,
1615
+ "FORCED": null,
1616
+ "EDITED": null,
1617
+ "INPUTTED": null
1618
+ }
1619
+ },
1620
+
1621
+ {
1622
+ "variableType": "COLLECTED",
1623
+ "name": "REL",
1624
+ "values": {
1625
+ "PREVIOUS": null,
1626
+ "COLLECTED": null,
1627
+ "FORCED": null,
1628
+ "EDITED": null,
1629
+ "INPUTTED": null
1630
+ }
1631
+ },
1632
+
1633
+ {
1634
+ "variableType": "COLLECTED",
1635
+ "name": "REEL",
1636
+ "values": {
1637
+ "PREVIOUS": null,
1638
+ "COLLECTED": null,
1639
+ "FORCED": null,
1640
+ "EDITED": null,
1641
+ "INPUTTED": null
1642
+ }
1643
+ },
1644
+
1645
+ {
1646
+ "variableType": "COLLECTED",
1647
+ "name": "REEL2",
1648
+ "values": {
1649
+ "PREVIOUS": null,
1650
+ "COLLECTED": null,
1651
+ "FORCED": null,
1652
+ "EDITED": null,
1653
+ "INPUTTED": null
1654
+ }
1655
+ },
1656
+
1657
+ {
1658
+ "variableType": "COLLECTED",
1659
+ "name": "REEL3",
1660
+ "values": {
1661
+ "PREVIOUS": null,
1662
+ "COLLECTED": null,
1663
+ "FORCED": null,
1664
+ "EDITED": null,
1665
+ "INPUTTED": null
1666
+ }
1667
+ },
1668
+
1669
+ {
1670
+ "variableType": "COLLECTED",
1671
+ "name": "GRAND",
1672
+ "values": {
1673
+ "PREVIOUS": null,
1674
+ "COLLECTED": null,
1675
+ "FORCED": null,
1676
+ "EDITED": null,
1677
+ "INPUTTED": null
1678
+ }
1679
+ },
1680
+
1681
+ {
1682
+ "variableType": "COLLECTED",
1683
+ "name": "QREL",
1684
+ "values": {
1685
+ "PREVIOUS": null,
1686
+ "COLLECTED": null,
1687
+ "FORCED": null,
1688
+ "EDITED": null,
1689
+ "INPUTTED": null
1690
+ }
1691
+ },
1692
+
1693
+ {
1694
+ "variableType": "COLLECTED",
1695
+ "name": "QREL2",
1696
+ "values": {
1697
+ "PREVIOUS": null,
1698
+ "COLLECTED": null,
1699
+ "FORCED": null,
1700
+ "EDITED": null,
1701
+ "INPUTTED": null
1702
+ }
1703
+ },
1704
+
1705
+ {
1706
+ "variableType": "COLLECTED",
1707
+ "name": "QNUMBIS",
1708
+ "values": {
1709
+ "PREVIOUS": null,
1710
+ "COLLECTED": null,
1711
+ "FORCED": null,
1712
+ "EDITED": null,
1713
+ "INPUTTED": null
1714
+ }
1715
+ },
1716
+
1717
+ {
1718
+ "variableType": "COLLECTED",
1719
+ "name": "QRATIO",
1720
+ "values": {
1721
+ "PREVIOUS": null,
1722
+ "COLLECTED": null,
1723
+ "FORCED": null,
1724
+ "EDITED": null,
1725
+ "INPUTTED": null
1726
+ }
1727
+ },
1728
+
1729
+ {
1730
+ "variableType": "COLLECTED",
1731
+ "name": "QSOMME",
1732
+ "values": {
1733
+ "PREVIOUS": null,
1734
+ "COLLECTED": null,
1735
+ "FORCED": null,
1736
+ "EDITED": null,
1737
+ "INPUTTED": null
1738
+ }
1739
+ },
1740
+
1741
+ {
1742
+ "variableType": "COLLECTED",
1743
+ "name": "QPRODUIT",
1744
+ "values": {
1745
+ "PREVIOUS": null,
1746
+ "COLLECTED": null,
1747
+ "FORCED": null,
1748
+ "EDITED": null,
1749
+ "INPUTTED": null
1750
+ }
1751
+ },
1752
+
1753
+ {
1754
+ "variableType": "COLLECTED",
1755
+ "name": "QDIFFERENCE",
1756
+ "values": {
1757
+ "PREVIOUS": null,
1758
+ "COLLECTED": null,
1759
+ "FORCED": null,
1760
+ "EDITED": null,
1761
+ "INPUTTED": null
1762
+ }
1763
+ },
1764
+
1765
+ {
1766
+ "variableType": "CALCULATED",
1767
+ "name": "FILTER_RESULT_QNUM",
1768
+ "expression": { "value": "true", "type": "VTL" },
1769
+ "inFilter": "false"
1770
+ },
1771
+
1772
+ {
1773
+ "variableType": "CALCULATED",
1774
+ "name": "FILTER_RESULT_QNUM2",
1775
+ "expression": { "value": "true", "type": "VTL" },
1776
+ "inFilter": "false"
1777
+ },
1778
+
1779
+ {
1780
+ "variableType": "CALCULATED",
1781
+ "name": "FILTER_RESULT_QNUM3",
1782
+ "expression": { "value": "true", "type": "VTL" },
1783
+ "inFilter": "false"
1784
+ },
1785
+
1786
+ {
1787
+ "variableType": "CALCULATED",
1788
+ "name": "FILTER_RESULT_QNUM4",
1789
+ "expression": { "value": "true", "type": "VTL" },
1790
+ "inFilter": "false"
1791
+ },
1792
+
1793
+ {
1794
+ "variableType": "CALCULATED",
1795
+ "name": "FILTER_RESULT_QNUM5",
1796
+ "expression": { "value": "true", "type": "VTL" },
1797
+ "inFilter": "false"
1798
+ },
1799
+
1800
+ {
1801
+ "variableType": "CALCULATED",
1802
+ "name": "FILTER_RESULT_QNUM6",
1803
+ "expression": { "value": "true", "type": "VTL" },
1804
+ "inFilter": "false"
1805
+ },
1806
+
1807
+ {
1808
+ "variableType": "CALCULATED",
1809
+ "name": "FILTER_RESULT_QNUM7",
1810
+ "expression": { "value": "true", "type": "VTL" },
1811
+ "inFilter": "false"
1812
+ },
1813
+
1814
+ {
1815
+ "variableType": "CALCULATED",
1816
+ "name": "FILTER_RESULT_REL",
1817
+ "expression": { "value": "true", "type": "VTL" },
1818
+ "inFilter": "false"
1819
+ },
1820
+
1821
+ {
1822
+ "variableType": "CALCULATED",
1823
+ "name": "FILTER_RESULT_REEL",
1824
+ "expression": { "value": "true", "type": "VTL" },
1825
+ "inFilter": "false"
1826
+ },
1827
+
1828
+ {
1829
+ "variableType": "CALCULATED",
1830
+ "name": "FILTER_RESULT_REEL2",
1831
+ "expression": { "value": "true", "type": "VTL" },
1832
+ "inFilter": "false"
1833
+ },
1834
+
1835
+ {
1836
+ "variableType": "CALCULATED",
1837
+ "name": "FILTER_RESULT_REEL3",
1838
+ "expression": { "value": "true", "type": "VTL" },
1839
+ "inFilter": "false"
1840
+ },
1841
+
1842
+ {
1843
+ "variableType": "CALCULATED",
1844
+ "name": "FILTER_RESULT_GRAND",
1845
+ "expression": { "value": "true", "type": "VTL" },
1846
+ "inFilter": "false"
1847
+ },
1848
+
1849
+ {
1850
+ "variableType": "CALCULATED",
1851
+ "name": "FILTER_RESULT_QREL",
1852
+ "expression": { "value": "true", "type": "VTL" },
1853
+ "inFilter": "false"
1854
+ },
1855
+
1856
+ {
1857
+ "variableType": "CALCULATED",
1858
+ "name": "FILTER_RESULT_QREL2",
1859
+ "expression": { "value": "true", "type": "VTL" },
1860
+ "inFilter": "false"
1861
+ },
1862
+
1863
+ {
1864
+ "variableType": "CALCULATED",
1865
+ "name": "FILTER_RESULT_QNUMBIS",
1866
+ "expression": { "value": "true", "type": "VTL" },
1867
+ "inFilter": "false"
1868
+ },
1869
+
1870
+ {
1871
+ "variableType": "CALCULATED",
1872
+ "name": "FILTER_RESULT_QRATIO",
1873
+ "expression": { "value": "true", "type": "VTL" },
1874
+ "inFilter": "false"
1875
+ },
1876
+
1877
+ {
1878
+ "variableType": "CALCULATED",
1879
+ "name": "FILTER_RESULT_QSOMME",
1880
+ "expression": { "value": "true", "type": "VTL" },
1881
+ "inFilter": "false"
1882
+ },
1883
+
1884
+ {
1885
+ "variableType": "CALCULATED",
1886
+ "name": "FILTER_RESULT_QPRODUIT",
1887
+ "expression": { "value": "true", "type": "VTL" },
1888
+ "inFilter": "false"
1889
+ },
1890
+
1891
+ {
1892
+ "variableType": "CALCULATED",
1893
+ "name": "FILTER_RESULT_QDIFFERENCE",
1894
+ "expression": { "value": "true", "type": "VTL" },
1895
+ "inFilter": "false"
1896
+ },
1897
+
1898
+ {
1899
+ "variableType": "CALCULATED",
1900
+ "name": "CALC_SOMME",
1901
+ "expression": {
1902
+ "value": "cast(nvl(QREL,0),number) + cast(nvl(QREL2,0),number)",
1903
+ "type": "VTL"
1904
+ },
1905
+ "bindingDependencies": ["QREL", "QREL2"],
1906
+ "inFilter": "false"
1907
+ },
1908
+
1909
+ {
1910
+ "variableType": "CALCULATED",
1911
+ "name": "CALC_PRODUIT",
1912
+ "expression": {
1913
+ "value": "cast(nvl(QREL,0),number) * cast(nvl(QREL2,0),number)",
1914
+ "type": "VTL"
1915
+ },
1916
+ "bindingDependencies": ["QREL", "QREL2"],
1917
+ "inFilter": "false"
1918
+ },
1919
+
1920
+ {
1921
+ "variableType": "CALCULATED",
1922
+ "name": "CALC_DIFFERENCE",
1923
+ "expression": {
1924
+ "value": "cast(nvl(QREL,0),number) - cast(nvl(QREL2,0),number)",
1925
+ "type": "VTL"
1926
+ },
1927
+ "bindingDependencies": ["QREL", "QREL2"],
1928
+ "inFilter": "false"
1929
+ },
1930
+
1931
+ {
1932
+ "variableType": "CALCULATED",
1933
+ "name": "CALC_RATIO",
1934
+ "expression": {
1935
+ "value": "cast(nvl(QREL,0),number) / cast(nvl(QREL2,0),number)",
1936
+ "type": "VTL"
1937
+ },
1938
+ "bindingDependencies": ["QREL", "QREL2"],
1939
+ "inFilter": "false"
1940
+ }
1941
+ ],
1942
+ "cleaning": {},
1943
+ "resizing": {}
1944
+ }