@inseefr/lunatic 2.0.2 → 2.0.3-v2

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