@inseefr/lunatic 2.6.10 → 2.6.12

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 (382) hide show
  1. package/lib/components/button/lunatic-button.js +1 -2
  2. package/lib/components/checkbox/checkbox-boolean/html/checkbox-boolean.js +1 -2
  3. package/lib/components/checkbox/checkbox-boolean/lunatic-checkbox-boolean.js +1 -2
  4. package/lib/components/checkbox/checkbox-group/checkbox-group-content.js +1 -2
  5. package/lib/components/checkbox/checkbox-group/html/checkbox-group-content.js +1 -2
  6. package/lib/components/checkbox/checkbox-group/html/checkbox-group.js +1 -2
  7. package/lib/components/checkbox/checkbox-group/lunatic-checkbox-group.js +1 -2
  8. package/lib/components/checkbox/checkbox-one/html/checkbox-one.js +1 -2
  9. package/lib/components/checkbox/checkbox-one/lunatic-checkbox-one.js +1 -2
  10. package/lib/components/checkbox/commons/checkbox-option.js +1 -2
  11. package/lib/components/checkbox/commons/checkbox-option.spec.js +5 -5
  12. package/lib/components/checkbox/commons/getShortcutKey.js +2 -3
  13. package/lib/components/commons/components/combo-box/combo-box-container.js +1 -2
  14. package/lib/components/commons/components/combo-box/combo-box-content-box.js +1 -2
  15. package/lib/components/commons/components/combo-box/combo-box-content.js +5 -7
  16. package/lib/components/commons/components/combo-box/combo-box.js +4 -5
  17. package/lib/components/commons/components/combo-box/combo-box.stories.js +11 -14
  18. package/lib/components/commons/components/combo-box/keyboard-key-codes.js +2 -3
  19. package/lib/components/commons/components/combo-box/panel/combo-box-option.js +1 -2
  20. package/lib/components/commons/components/combo-box/panel/option-container.spec.js +5 -5
  21. package/lib/components/commons/components/combo-box/panel/panel-container.js +1 -2
  22. package/lib/components/commons/components/combo-box/selection/clear-button.js +1 -2
  23. package/lib/components/commons/components/combo-box/selection/combo-box-label-selection.js +1 -2
  24. package/lib/components/commons/components/combo-box/selection/input.js +4 -5
  25. package/lib/components/commons/components/combo-box/selection/label-selection.js +1 -2
  26. package/lib/components/commons/components/combo-box/selection/selection-container.js +1 -2
  27. package/lib/components/commons/components/combo-box/selection/selection.js +1 -1
  28. package/lib/components/commons/components/description.js +2 -4
  29. package/lib/components/commons/components/dragger/dragger.js +5 -6
  30. package/lib/components/commons/components/errors/errors.js +2 -3
  31. package/lib/components/commons/components/errors/errors.spec.js +3 -3
  32. package/lib/components/commons/components/fab/fab.js +1 -2
  33. package/lib/components/commons/components/field-container/field-container.js +1 -2
  34. package/lib/components/commons/components/fieldset.js +1 -2
  35. package/lib/components/commons/components/html-table/table.js +1 -2
  36. package/lib/components/commons/components/html-table/tbody.js +1 -2
  37. package/lib/components/commons/components/html-table/td.js +1 -2
  38. package/lib/components/commons/components/html-table/th.js +1 -2
  39. package/lib/components/commons/components/html-table/th.spec.js +5 -5
  40. package/lib/components/commons/components/html-table/thead.js +1 -2
  41. package/lib/components/commons/components/html-table/thead.spec.js +5 -5
  42. package/lib/components/commons/components/html-table/tr.js +1 -2
  43. package/lib/components/commons/components/is-network/is-network.js +7 -8
  44. package/lib/components/commons/components/is-network/use-online-status.js +1 -2
  45. package/lib/components/commons/components/label/label.js +1 -2
  46. package/lib/components/commons/components/lunatic-component-with-label.js +6 -7
  47. package/lib/components/commons/components/lunatic-component-without-label.js +6 -7
  48. package/lib/components/commons/components/md-label/link.js +1 -2
  49. package/lib/components/commons/components/md-label/md-label.js +6 -7
  50. package/lib/components/commons/components/missing/missing.js +7 -9
  51. package/lib/components/commons/components/nothing-to-display.js +1 -2
  52. package/lib/components/commons/components/orchestrated-component.js +9 -10
  53. package/lib/components/commons/components/variable-status/variable-status.js +5 -6
  54. package/lib/components/commons/create-customizable-field.js +6 -7
  55. package/lib/components/commons/icons/radio-checked-icon.js +1 -2
  56. package/lib/components/commons/index.js +3 -3
  57. package/lib/components/commons/safety-label.js +2 -3
  58. package/lib/components/commons/use-document-add-event-listener.js +1 -2
  59. package/lib/components/commons/use-on-handle-change.js +1 -2
  60. package/lib/components/commons/use-options-keydown.js +1 -2
  61. package/lib/components/component-set/html/component-set-wrapper.js +2 -3
  62. package/lib/components/component-set/html/component-set.js +1 -2
  63. package/lib/components/component-set/lunatic-component-set.js +6 -6
  64. package/lib/components/datepicker/html/datepicker-container.js +1 -2
  65. package/lib/components/datepicker/html/datepicker-input.js +1 -2
  66. package/lib/components/datepicker/html/datepicker.js +1 -2
  67. package/lib/components/datepicker/lunatic-datepicker.js +1 -2
  68. package/lib/components/declarations/declaration.js +1 -2
  69. package/lib/components/declarations/declarations-after-text.js +8 -9
  70. package/lib/components/declarations/declarations-before-text.js +8 -9
  71. package/lib/components/declarations/declarations-detachable.js +8 -9
  72. package/lib/components/declarations/declarations.js +2 -4
  73. package/lib/components/declarations/index.js +3 -3
  74. package/lib/components/dropdown/html/dropdown-simple/dropdown-simple.js +1 -2
  75. package/lib/components/dropdown/html/dropdown-simple/simple-label-renderer.js +1 -2
  76. package/lib/components/dropdown/html/dropdown-simple/simple-option-renderer.js +1 -2
  77. package/lib/components/dropdown/html/dropdown-writable/dropdown-writable.js +2 -3
  78. package/lib/components/dropdown/html/dropdown-writable/filter-tools/filter-options.js +1 -2
  79. package/lib/components/dropdown/html/dropdown-writable/filter-tools/get-label.js +2 -3
  80. package/lib/components/dropdown/html/dropdown-writable/filter-tools/letters-matching.js +1 -2
  81. package/lib/components/dropdown/html/dropdown-writable/filter-tools/match.js +1 -2
  82. package/lib/components/dropdown/html/dropdown-writable/filter-tools/prepare-prefix.js +1 -2
  83. package/lib/components/dropdown/html/dropdown-writable/writable-label-renderer.js +1 -2
  84. package/lib/components/dropdown/html/dropdown-writable/writable-option-renderer.js +7 -8
  85. package/lib/components/dropdown/html/dropdown.js +1 -2
  86. package/lib/components/dropdown/lunatic-dropdown.js +1 -2
  87. package/lib/components/duration/duration.js +1 -2
  88. package/lib/components/duration/durationInput.js +7 -8
  89. package/lib/components/duration/durationUtils.js +3 -5
  90. package/lib/components/duration/formatDuration.js +2 -3
  91. package/lib/components/duration/getDurationFromValue.js +1 -2
  92. package/lib/components/filter-description/component.js +1 -2
  93. package/lib/components/index.js +7 -0
  94. package/lib/components/input/html/input.js +1 -2
  95. package/lib/components/input/lunatic-input.js +1 -2
  96. package/lib/components/input-number/html/input-number-thousand.js +1 -2
  97. package/lib/components/input-number/html/input-number.js +1 -2
  98. package/lib/components/input-number/lunatic-input-number.js +1 -2
  99. package/lib/components/loop/block-for-loop.js +10 -11
  100. package/lib/components/loop/loop.js +5 -5
  101. package/lib/components/loop/roster-for-loop/roster-for-loop.js +7 -8
  102. package/lib/components/lunatic-components.js +7 -7
  103. package/lib/components/modal/html/modal.js +1 -2
  104. package/lib/components/modal/lunatic-modal.js +2 -3
  105. package/lib/components/modal-controls/close-or-skip.js +1 -2
  106. package/lib/components/modal-controls/modal-container.js +1 -2
  107. package/lib/components/modal-controls/modal-controls.js +7 -8
  108. package/lib/components/pairwise-links/orchestrator.js +2 -3
  109. package/lib/components/pairwise-links/pairwise-links.js +1 -2
  110. package/lib/components/pairwise-links/row.js +2 -3
  111. package/lib/components/question-explication/html/question-explication.js +2 -3
  112. package/lib/components/question-explication/lunatic-question-explication.js +1 -2
  113. package/lib/components/question-explication/question-explication.spec.js +6 -6
  114. package/lib/components/questions/question-context.js +1 -2
  115. package/lib/components/questions/question-information.js +1 -2
  116. package/lib/components/radio/html/radio-group-content.js +1 -2
  117. package/lib/components/radio/html/radio-group.js +1 -2
  118. package/lib/components/radio/html/radio-option.js +2 -3
  119. package/lib/components/radio/lunatic-radio-group.js +1 -2
  120. package/lib/components/remote-component/remote-component.js +115 -0
  121. package/lib/components/roundabout/components/roundabout-container.js +1 -2
  122. package/lib/components/roundabout/components/roundabout-it-button.js +4 -5
  123. package/lib/components/roundabout/components/roundabout-it-container.js +1 -2
  124. package/lib/components/roundabout/components/roundabout-it-title.js +1 -2
  125. package/lib/components/roundabout/components/roundabout-label.js +1 -2
  126. package/lib/components/roundabout/components/roundabout-pending.js +1 -2
  127. package/lib/components/roundabout/lunatic-roundabout.js +1 -2
  128. package/lib/components/roundabout/redirect.js +4 -5
  129. package/lib/components/roundabout/roundabout.js +1 -2
  130. package/lib/components/sequence/html/sequence.js +1 -2
  131. package/lib/components/sequence/lunatic-sequence.js +1 -2
  132. package/lib/components/sequence/sequence.spec.js +5 -6
  133. package/lib/components/subsequence/subsequence.js +1 -2
  134. package/lib/components/subsequence/subsequence.spec.js +5 -5
  135. package/lib/components/suggester/find-best-label/find-best-label.js +1 -2
  136. package/lib/components/suggester/html/notification.js +1 -2
  137. package/lib/components/suggester/html/suggester.js +5 -6
  138. package/lib/components/suggester/idb-suggester/check-store.js +4 -5
  139. package/lib/components/suggester/idb-suggester/idb-suggester.js +1 -1
  140. package/lib/components/suggester/idb-suggester/suggester-notification.js +1 -2
  141. package/lib/components/suggester/idb-suggester/suggester-status.js +1 -2
  142. package/lib/components/suggester/lunatic-suggester.js +1 -2
  143. package/lib/components/suggester/searching/create-searching.js +4 -5
  144. package/lib/components/suggester-loader-widget/loader-row.js +2 -3
  145. package/lib/components/suggester-loader-widget/loader.js +4 -5
  146. package/lib/components/suggester-loader-widget/progress.js +1 -2
  147. package/lib/components/suggester-loader-widget/tools/action-tool.js +1 -2
  148. package/lib/components/suggester-loader-widget/tools/tools.js +1 -2
  149. package/lib/components/suggester-loader-widget/widget-container.js +1 -2
  150. package/lib/components/suggester-loader-widget/widget.js +9 -10
  151. package/lib/components/summary/html/summary-responses.js +1 -2
  152. package/lib/components/summary/html/summary-title.js +1 -2
  153. package/lib/components/switch/html/switch.js +1 -2
  154. package/lib/components/switch/lunatic-switch.js +1 -2
  155. package/lib/components/table/cell.js +3 -3
  156. package/lib/components/table/header.js +1 -2
  157. package/lib/components/table/lunatic-table.js +1 -2
  158. package/lib/components/table/row.js +1 -2
  159. package/lib/components/table/table-orchestrator.js +1 -2
  160. package/lib/components/textarea/html/textarea.js +1 -2
  161. package/lib/components/textarea/lunatic-textarea.js +1 -2
  162. package/lib/constants/component-types.js +1 -2
  163. package/lib/constants/declarations.js +10 -18
  164. package/lib/constants/event-types.js +10 -20
  165. package/lib/constants/supported-preferences.js +4 -5
  166. package/lib/constants/value-types.js +5 -10
  167. package/lib/constants/variable-types.js +3 -5
  168. package/lib/i18n/build-dictionary.js +10 -13
  169. package/lib/i18n/dictionary.js +1 -2
  170. package/lib/i18n/index.js +9 -11
  171. package/lib/i18n/inputNumberProps.js +2 -4
  172. package/lib/src/components/index.d.ts +1 -0
  173. package/lib/src/components/remote-component/remote-component.d.ts +8 -0
  174. package/lib/src/components/sequence/html/sequence.d.ts +1 -1
  175. package/lib/src/components/table/cell.d.ts +1 -0
  176. package/lib/src/components/type.d.ts +8 -0
  177. package/lib/src/use-lunatic/commons/calculated-variables.d.ts +1 -3
  178. package/lib/src/use-lunatic/commons/compose.d.ts +1 -1
  179. package/lib/src/use-lunatic/commons/execute-expression/create-refresh-calculated.d.ts +4 -4
  180. package/lib/src/use-lunatic/use-lunatic.d.ts +2 -506
  181. package/lib/stories/RemoteComponent/data.json +6 -0
  182. package/lib/stories/RemoteComponent/mock-server.js +37 -0
  183. package/lib/stories/RemoteComponent/remoteComponent.stories.js +42 -0
  184. package/lib/stories/RemoteComponent/source.json +726 -0
  185. package/lib/stories/behaviour/cleaning/cleaning.stories.js +8 -11
  186. package/lib/stories/behaviour/controls/controls-externes.stories.js +7 -9
  187. package/lib/stories/behaviour/controls/controls.stories.js +11 -17
  188. package/lib/stories/behaviour/others/test.stories.js +11 -17
  189. package/lib/stories/behaviour/paste/test.stories.js +7 -9
  190. package/lib/stories/behaviour/resizing/resizing.stories.js +8 -11
  191. package/lib/stories/checkbox-boolean/checkboxBoolean.stories.js +7 -9
  192. package/lib/stories/checkbox-group/checkbox-group.stories.js +7 -9
  193. package/lib/stories/checkbox-one/checkboxOne.stories.js +7 -9
  194. package/lib/stories/checkboxGroup/checkboxGroup.stories.js +9 -13
  195. package/lib/stories/component-set/component-set.stories.js +9 -13
  196. package/lib/stories/custom-mui/checkbox-boolean-mui.js +4 -5
  197. package/lib/stories/custom-mui/checkbox-group-mui.js +4 -5
  198. package/lib/stories/custom-mui/checkbox-one-mui.js +1 -2
  199. package/lib/stories/custom-mui/input-mui.js +4 -5
  200. package/lib/stories/custom-mui/input-number-mui.js +4 -5
  201. package/lib/stories/custom-mui/radio-mui.js +5 -6
  202. package/lib/stories/custom-mui/suggester-mui/suggester-mui.js +5 -6
  203. package/lib/stories/custom-mui/switch-mui.js +4 -5
  204. package/lib/stories/custom-mui/table-mui.js +1 -2
  205. package/lib/stories/custom-mui/tbody-mui.js +1 -2
  206. package/lib/stories/custom-mui/td-mui.js +1 -2
  207. package/lib/stories/custom-mui/textarea-mui.js +4 -5
  208. package/lib/stories/custom-mui/th-mui.js +1 -2
  209. package/lib/stories/custom-mui/thead-mui.js +1 -2
  210. package/lib/stories/custom-mui/tr-mui.js +1 -2
  211. package/lib/stories/date-picker/datepicker.stories.js +7 -9
  212. package/lib/stories/declaration/input.stories.js +7 -9
  213. package/lib/stories/disabled/disabled.stories.js +7 -9
  214. package/lib/stories/dropdown/dropdown.stories.js +7 -9
  215. package/lib/stories/duration/duration.stories.js +8 -11
  216. package/lib/stories/filter-description/filter-description.stories.js +8 -11
  217. package/lib/stories/input/input.stories.js +8 -11
  218. package/lib/stories/input-number/input-number.stories.js +9 -13
  219. package/lib/stories/loop/block-for-loop.stories.js +9 -13
  220. package/lib/stories/loop/paginated-loop.stories.js +7 -9
  221. package/lib/stories/loop/roster-for-loop.stories.js +10 -14
  222. package/lib/stories/modal/modal.stories.js +7 -9
  223. package/lib/stories/overview/overview.stories.js +7 -9
  224. package/lib/stories/pairwise/pairwise-links.stories.js +10 -14
  225. package/lib/stories/question-explication/question-explication.stories.js +7 -9
  226. package/lib/stories/questionnaires/logement/logement.stories.js +9 -13
  227. package/lib/stories/questionnaires/recensement/recensement.stories.js +7 -9
  228. package/lib/stories/questionnaires/rp/rp.stories.js +7 -9
  229. package/lib/stories/questionnaires/simpsons/simpsons.stories.js +10 -14
  230. package/lib/stories/questionnaires2023/bySequence/ticWeb.stories.js +7 -9
  231. package/lib/stories/questionnaires2023/famille/famille.stories.js +7 -9
  232. package/lib/stories/questionnaires2023/simpsons/simpsons.stories.js +7 -9
  233. package/lib/stories/questionnaires2023/ticTel/ticWeb.stories.js +7 -9
  234. package/lib/stories/questionnaires2023/ticWeb/ticWeb.stories.js +7 -9
  235. package/lib/stories/radio/radio.stories.js +7 -9
  236. package/lib/stories/roundabout/roundabout.stories.js +8 -11
  237. package/lib/stories/sequence/sequence.stories.js +7 -9
  238. package/lib/stories/suggester/suggester-workers.stories.js +7 -9
  239. package/lib/stories/suggester/suggester.stories.js +10 -14
  240. package/lib/stories/summary/summary.stories.js +7 -9
  241. package/lib/stories/switch/switch.stories.js +9 -11
  242. package/lib/stories/table/table.stories.js +12 -17
  243. package/lib/stories/textarea/textarea.stories.js +7 -9
  244. package/lib/stories/utils/default-arg-types.js +6 -7
  245. package/lib/stories/utils/options.js +5 -9
  246. package/lib/stories/utils/orchestrator.js +13 -13
  247. package/lib/stories/utils/overview.js +2 -3
  248. package/lib/stories/utils/waiting/waiting.js +1 -2
  249. package/lib/use-lunatic/actions.js +8 -16
  250. package/lib/use-lunatic/commons/calculated-variables.js +7 -8
  251. package/lib/use-lunatic/commons/check-loops.js +7 -8
  252. package/lib/use-lunatic/commons/compile-controls.js +6 -7
  253. package/lib/use-lunatic/commons/compose.js +1 -2
  254. package/lib/use-lunatic/commons/create-map-pages.js +6 -7
  255. package/lib/use-lunatic/commons/execute-condition-filter.js +1 -2
  256. package/lib/use-lunatic/commons/execute-expression/create-execute-expression.js +10 -12
  257. package/lib/use-lunatic/commons/execute-expression/create-execute-expression.spec.js +1 -1
  258. package/lib/use-lunatic/commons/execute-expression/create-memoizer.js +7 -8
  259. package/lib/use-lunatic/commons/execute-expression/create-refresh-calculated.js +7 -8
  260. package/lib/use-lunatic/commons/execute-expression/create-refresh-calculated.spec.js +3 -3
  261. package/lib/use-lunatic/commons/execute-expression/execute-expression.js +7 -8
  262. package/lib/use-lunatic/commons/execute-expression/execute-expression.spec.js +1 -1
  263. package/lib/use-lunatic/commons/execute-expression/get-expressions-variables.js +1 -2
  264. package/lib/use-lunatic/commons/execute-expression/get-expressions-variables.spec.js +1 -1
  265. package/lib/use-lunatic/commons/execute-expression/get-safety-expression.js +6 -7
  266. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +7 -8
  267. package/lib/use-lunatic/commons/fill-components/fill-component-required.js +5 -5
  268. package/lib/use-lunatic/commons/fill-components/fill-component-value.js +6 -7
  269. package/lib/use-lunatic/commons/fill-components/fill-components.js +1 -2
  270. package/lib/use-lunatic/commons/fill-components/fill-from-state.js +6 -7
  271. package/lib/use-lunatic/commons/fill-components/fill-management.js +6 -7
  272. package/lib/use-lunatic/commons/fill-components/fill-missing-response.js +6 -7
  273. package/lib/use-lunatic/commons/fill-components/fill-pagination.js +6 -7
  274. package/lib/use-lunatic/commons/fill-components/fill-specific-expression.js +7 -9
  275. package/lib/use-lunatic/commons/get-compatible-vtl-expression.js +2 -3
  276. package/lib/use-lunatic/commons/get-component-value/get-component-value.js +18 -8
  277. package/lib/use-lunatic/commons/get-components-from-state.js +1 -2
  278. package/lib/use-lunatic/commons/get-data.js +8 -9
  279. package/lib/use-lunatic/commons/get-errors-without-empty-value.js +2 -3
  280. package/lib/use-lunatic/commons/getOverview.js +3 -4
  281. package/lib/use-lunatic/commons/is-First-last-page.js +1 -2
  282. package/lib/use-lunatic/commons/is-paginated-loop.js +1 -2
  283. package/lib/use-lunatic/commons/page-navigation.js +6 -6
  284. package/lib/use-lunatic/commons/page-navigation.spec.js +5 -5
  285. package/lib/use-lunatic/commons/page-tag.js +3 -3
  286. package/lib/use-lunatic/commons/use-components-from-state.js +1 -2
  287. package/lib/use-lunatic/initial-state.js +1 -2
  288. package/lib/use-lunatic/lunatic-context.js +3 -6
  289. package/lib/use-lunatic/reducer/commons/auto-explore-loop.js +5 -5
  290. package/lib/use-lunatic/reducer/commons/is-loop-component.js +2 -3
  291. package/lib/use-lunatic/reducer/commons/resize-array-variable.js +1 -2
  292. package/lib/use-lunatic/reducer/commons/validate-condition-filter.js +1 -1
  293. package/lib/use-lunatic/reducer/overview/overview-on-change.js +7 -8
  294. package/lib/use-lunatic/reducer/overview/overview-on-init.js +7 -7
  295. package/lib/use-lunatic/reducer/reduce-go-next-page.js +7 -8
  296. package/lib/use-lunatic/reducer/reduce-go-previous-page.js +6 -7
  297. package/lib/use-lunatic/reducer/reduce-go-to-page.js +6 -7
  298. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-cleaning.js +7 -8
  299. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-handle-change.js +8 -8
  300. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-links-variable.js +7 -8
  301. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-missing.js +7 -8
  302. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-resizing.js +8 -9
  303. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-variables-array.js +6 -7
  304. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-variables-simple.js +6 -7
  305. package/lib/use-lunatic/reducer/reduce-on-init.js +7 -8
  306. package/lib/use-lunatic/reducer/reduce-on-set-waiting.js +6 -7
  307. package/lib/use-lunatic/reducer/reduce-update-state.js +5 -5
  308. package/lib/use-lunatic/reducer/reducer.js +1 -2
  309. package/lib/use-lunatic/type-source.js +4 -7
  310. package/lib/use-lunatic/use-lunatic.js +9 -10
  311. package/lib/use-lunatic/use-lunatic.test.js +5 -5
  312. package/lib/use-lunatic/use-suggesters.js +9 -10
  313. package/lib/utils/constants/alphabet.js +1 -2
  314. package/lib/utils/constants/features.js +3 -6
  315. package/lib/utils/constants/links.js +2 -4
  316. package/lib/utils/constants/missing.js +2 -4
  317. package/lib/utils/constants/variable-status.js +5 -10
  318. package/lib/utils/constants/variable-types.js +1 -2
  319. package/lib/utils/function.js +1 -2
  320. package/lib/utils/get-component-value.js +1 -1
  321. package/lib/utils/idb-tools/clear-store.js +3 -4
  322. package/lib/utils/idb-tools/create-db-opener.js +1 -2
  323. package/lib/utils/idb-tools/create-open-db.js +1 -2
  324. package/lib/utils/idb-tools/get-entity.js +1 -2
  325. package/lib/utils/idb-tools/get-idb.js +1 -2
  326. package/lib/utils/idb-tools/idb-bulk-insert.js +7 -9
  327. package/lib/utils/idb-tools/index.js +3 -3
  328. package/lib/utils/idb-tools/insert-entity.js +1 -2
  329. package/lib/utils/idb-tools/open-db.js +3 -4
  330. package/lib/utils/idb-tools/open-or-create-db.js +2 -3
  331. package/lib/utils/is-object.js +1 -1
  332. package/lib/utils/logger.js +6 -8
  333. package/lib/utils/number.js +1 -1
  334. package/lib/utils/object.js +1 -1
  335. package/lib/utils/store-tools/clear-store-data.js +3 -4
  336. package/lib/utils/store-tools/clear-store-info.js +3 -4
  337. package/lib/utils/store-tools/constantes.js +7 -14
  338. package/lib/utils/store-tools/create/create.js +3 -4
  339. package/lib/utils/store-tools/create/update-store-info.js +1 -2
  340. package/lib/utils/store-tools/get-store-count.js +1 -2
  341. package/lib/utils/store-tools/index.js +3 -3
  342. package/lib/utils/store-tools/initStore.js +2 -2
  343. package/lib/utils/store-tools/open-or-create-store.js +1 -2
  344. package/lib/utils/store-tools/use-store-index.js +4 -5
  345. package/lib/utils/suggester-workers/append-to-index/append.js +3 -4
  346. package/lib/utils/suggester-workers/append-to-index/append.worker.js +1 -2
  347. package/lib/utils/suggester-workers/append-to-index/prepare-entities.js +7 -8
  348. package/lib/utils/suggester-workers/append-to-index/store-messages.js +6 -7
  349. package/lib/utils/suggester-workers/commons-tokenizer/create-entity-tokenizer.js +6 -7
  350. package/lib/utils/suggester-workers/commons-tokenizer/create-fields-tokenizer.js +7 -8
  351. package/lib/utils/suggester-workers/commons-tokenizer/create-filter-stop-words.js +6 -7
  352. package/lib/utils/suggester-workers/commons-tokenizer/filters/compose-filters.js +1 -2
  353. package/lib/utils/suggester-workers/commons-tokenizer/filters/create-filter-stop-words.js +6 -7
  354. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-accents.js +1 -2
  355. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-double.js +1 -2
  356. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-length.js +1 -2
  357. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-stemmer.js +1 -2
  358. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.js +6 -7
  359. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-to-lower.js +1 -2
  360. package/lib/utils/suggester-workers/commons-tokenizer/filters/stop-words.js +1 -2
  361. package/lib/utils/suggester-workers/commons-tokenizer/get-regexp-from-pattern.js +1 -2
  362. package/lib/utils/suggester-workers/commons-tokenizer/get-stemmer.js +1 -2
  363. package/lib/utils/suggester-workers/commons-tokenizer/prepare-string-indexation.js +1 -2
  364. package/lib/utils/suggester-workers/commons-tokenizer/soft-tokenizer.js +1 -2
  365. package/lib/utils/suggester-workers/create-worker-ts.js +2 -3
  366. package/lib/utils/suggester-workers/find-best-label/find-best-label.js +7 -8
  367. package/lib/utils/suggester-workers/find-best-label/tokenize.js +3 -4
  368. package/lib/utils/suggester-workers/searching/compute-score.js +6 -7
  369. package/lib/utils/suggester-workers/searching/get-db.js +3 -4
  370. package/lib/utils/suggester-workers/searching/order/create-alphanumeric-orderer.js +1 -2
  371. package/lib/utils/suggester-workers/searching/order/index.js +1 -2
  372. package/lib/utils/suggester-workers/searching/query-parser/query-parser-soft.js +1 -2
  373. package/lib/utils/suggester-workers/searching/query-parser/query-parser-tokenized.js +2 -3
  374. package/lib/utils/suggester-workers/searching/resolve-query-parser.js +3 -4
  375. package/lib/utils/suggester-workers/searching/search-in-index.js +1 -2
  376. package/lib/utils/suggester-workers/searching/searching.js +7 -8
  377. package/lib/utils/suggester-workers/worker-path.js +1 -2
  378. package/lib/utils/vtl/dataset-builder.js +1 -2
  379. package/package.json +4 -1
  380. package/workers-release/lunatic-append-worker-0.3.0-experimental.js +1 -1
  381. package/workers-release/lunatic-label-worker-0.3.0-experimental.js +1 -1
  382. package/workers-release/lunatic-searching-worker-0.3.0-experimental.js +1 -1
@@ -0,0 +1,726 @@
1
+ {
2
+ "maxPage": "3",
3
+ "components": [
4
+ {
5
+ "id": "lfs5q1zj-questioninformation",
6
+ "componentType": "QuestionInformation",
7
+ "page": "1",
8
+ "label": {
9
+ "value": "\"Veuillez recopier ici les informations qui figurent dans le cadre rempli par l'agent recenseur sur la notice internet.\"",
10
+ "type": "VTL"
11
+ },
12
+ "conditionFilter": {
13
+ "value": "true",
14
+ "type": "VTL"
15
+ }
16
+ },
17
+ {
18
+ "componentType": "Input",
19
+ "label": {
20
+ "value": "\"IRIS, Îlot ou district\"",
21
+ "type": "VTL|MD"
22
+ },
23
+ "maxLength": 30,
24
+ "page": "1",
25
+ "id": "iris",
26
+ "description": {
27
+ "value": "\"4 chiffres.\"",
28
+ "type": "VTL|MD"
29
+ },
30
+ "controls": [
31
+ {
32
+ "id": "lfs5q1zj-iris-CI-0",
33
+ "typeOfControl": "CONSISTENCY",
34
+ "criticality": "WARN",
35
+ "control": {
36
+ "value": "not(nvl(ZC, \"\") = \"\")",
37
+ "type": "VTL"
38
+ },
39
+ "errorMessage": {
40
+ "value": "\"Veuillez reporter l'IRIS, l'îlot ou district renseigné par l’agent recenseur sur la notice internet.\"",
41
+ "type": "VTL"
42
+ }
43
+ }
44
+ ],
45
+ "response": {
46
+ "name": "ZC"
47
+ }
48
+ },
49
+
50
+ {
51
+ "id": "lfs5q1zj-rang-a",
52
+ "componentType": "Input",
53
+ "maxLength": 3,
54
+ "page": "1",
55
+ "label": {
56
+ "value": "\"Rang A\"",
57
+ "type": "VTL"
58
+ },
59
+ "description": {
60
+ "value": "\"3 chiffres\"",
61
+ "type": "VTL"
62
+ },
63
+ "conditionFilter": {
64
+ "value": "true",
65
+ "type": "VTL"
66
+ },
67
+ "controls": [
68
+ {
69
+ "id": "lfs5q1zj-rang-a-CI-1",
70
+ "typeOfControl": "CONSISTENCY",
71
+ "criticality": "WARN",
72
+ "control": {
73
+ "value": "not(nvl(ADR_RANG, \"\") = \"\")",
74
+ "type": "VTL"
75
+ },
76
+ "errorMessage": {
77
+ "value": "\"Veuillez reporter le rang A renseigné par l’agent recenseur sur la notice internet.\"",
78
+ "type": "VTL"
79
+ }
80
+ }
81
+ ],
82
+ "response": {
83
+ "name": "ADR_RANG"
84
+ }
85
+ },
86
+ {
87
+ "id": "lfs5q1zj-rang-l",
88
+ "componentType": "Input",
89
+ "page": "1",
90
+ "maxLength": 3,
91
+ "label": {
92
+ "value": "\"Rang L\"",
93
+ "type": "VTL"
94
+ },
95
+ "description": {
96
+ "value": "\"3 chiffres\"",
97
+ "type": "VTL"
98
+ },
99
+ "conditionFilter": {
100
+ "value": "true",
101
+ "type": "VTL"
102
+ },
103
+ "controls": [
104
+ {
105
+ "id": "lfs5q1zj-rang-l-CI-2",
106
+ "typeOfControl": "CONSISTENCY",
107
+ "criticality": "WARN",
108
+ "control": {
109
+ "value": "not(nvl(LOG_RANG, \"\") = \"\")",
110
+ "type": "VTL"
111
+ },
112
+ "errorMessage": {
113
+ "value": "\"Veuillez reporter le rang L renseigné par l’agent recenseur sur la notice internet.\"",
114
+ "type": "VTL"
115
+ }
116
+ }
117
+ ],
118
+ "response": {
119
+ "name": "LOG_RANG"
120
+ }
121
+ },
122
+ {
123
+ "id": "component-set",
124
+ "componentType": "ComponentSet",
125
+ "conditionFilter": { "value": "true", "type": "VTL" },
126
+ "page": "2",
127
+ "label": {
128
+ "value": "if (RESPONSE = true and IDENTIFICATION_OK) then \"## Vous résidez dans la commune de \" || LIBELLE_COMMUNE|| \". Basé sur les rangs d'adresse que vous avez saisis, nous avons identifié cette adresse pour votre logement : \" else \" Quelle est l'adresse de votre logement ? \"",
129
+ "type": "VTL|MD"
130
+ },
131
+ "description": {
132
+ "value": "\"XXXX\"",
133
+ "type": "VTL|MD"
134
+ },
135
+ "components": [
136
+ {
137
+ "id": "remote",
138
+ "componentType": "RemoteComponent",
139
+ "retry": 6,
140
+ "latency": 1000,
141
+ "remote": {
142
+ "value": "\"http://localhost:4000/api/recensement/adresse/departement/\" || DEP_CODE || \"/commune/\" || COM_CODE || \"/zc/\" || ZC || \"/rang-l/\" || LOG_RANG || \"/rang-a/\" || ADR_RANG",
143
+ "type": "VTL"
144
+ },
145
+ "conditionFilter": {
146
+ "value": "not(nvl(ZC, \"\") = \"\") and not(nvl(LOG_RANG, \"\") = \"\") and not(nvl(ADR_RANG, \"\") = \"\")",
147
+ "type": "VTL"
148
+ },
149
+ "pendingMessage": {
150
+ "value": "\"***Pour votre localisation dans la commune de\" || LIBELLE_COMMUNE || \", nous cherchons une adresse éventuelle, à vous suggérer.***\"",
151
+ "type": "VTL|MD"
152
+ },
153
+ "components": [
154
+ {
155
+ "id": "Subsequence",
156
+ "componentType": "Subsequence",
157
+ "label": {
158
+ "type": "VTL|MD",
159
+ "value": "\"## \" || VOI_CONCAT\n\n"
160
+ },
161
+ "conditionFilter": {
162
+ "value": "RESPONSE",
163
+ "type": "VTL"
164
+ }
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "id": "radio",
170
+ "componentType": "Radio",
171
+ "mandatory": false,
172
+ "page": "2",
173
+ "label": {
174
+ "value": "\"### Cette adresse, pour votre logement, est-elle correcte ?\"",
175
+ "type": "VTL|MD"
176
+ },
177
+ "conditionFilter": {
178
+ "value": "RESPONSE = true and IDENTIFICATION_OK = true",
179
+ "type": "VTL"
180
+ },
181
+ "options": [
182
+ {
183
+ "value": "1",
184
+ "description": {
185
+ "value": "\" oui\"",
186
+ "type": "VTL|MD"
187
+ },
188
+ "label": { "value": "\"oui\"", "type": "VTL|MD" }
189
+ },
190
+ {
191
+ "value": "2",
192
+ "description": {
193
+ "value": "\" non\"",
194
+ "type": "VTL|MD"
195
+ },
196
+ "label": { "value": "\"non\"", "type": "VTL|MD" }
197
+ }
198
+ ],
199
+ "response": { "name": "ADR_SUGG_OK" }
200
+ },
201
+ {
202
+ "id": "num-voi-loc",
203
+ "componentType": "Input",
204
+ "label": {
205
+ "value": "\"Numéro de voie\"",
206
+ "type": "VTL"
207
+ },
208
+ "description": { "value": "\"Exemple : 56\"", "type": "VTL" },
209
+ "maxLength": 80,
210
+ "conditionFilter": {
211
+ "value": "ADR_SUGG_OK = \"2\" or RESPONSE = false or IDENTIFICATION_OK = false",
212
+ "type": "VTL|MD"
213
+ },
214
+ "response": {
215
+ "name": "NUMVOI_LOC"
216
+ }
217
+ },
218
+ {
219
+ "id": "indice-rep",
220
+ "componentType": "Input",
221
+ "label": {
222
+ "value": "\"Indice de répétition\"",
223
+ "type": "VTL"
224
+ },
225
+ "description": { "value": "\"Bis, ter, ...\"", "type": "VTL" },
226
+ "maxLength": 80,
227
+ "controls": [],
228
+ "conditionFilter": {
229
+ "value": "ADR_SUGG_OK = \"2\" or RESPONSE = false or IDENTIFICATION_OK = false",
230
+ "type": "VTL"
231
+ },
232
+ "response": {
233
+ "name": "BISTER_LOC"
234
+ }
235
+ },
236
+ {
237
+ "id": "type-voie",
238
+ "componentType": "Input",
239
+ "label": {
240
+ "value": "\"Type de voie\"",
241
+ "type": "VTL"
242
+ },
243
+ "description": { "value": "\"Rue, avenue,...\"", "type": "VTL" },
244
+ "maxLength": 80,
245
+ "controls": [],
246
+ "conditionFilter": {
247
+ "value": "ADR_SUGG_OK = \"2\" or RESPONSE = false or IDENTIFICATION_OK = false",
248
+ "type": "VTL"
249
+ },
250
+ "response": {
251
+ "name": "TYPEVOI_LOC"
252
+ }
253
+ },
254
+ {
255
+ "id": "libelle-voie",
256
+ "componentType": "Input",
257
+ "label": {
258
+ "value": "\"Libellé de la voie\"",
259
+ "type": "VTL"
260
+ },
261
+ "description": {
262
+ "value": "\"Exemple : du labradore\"",
263
+ "type": "VTL"
264
+ },
265
+ "maxLength": 80,
266
+ "controls": [],
267
+ "conditionFilter": {
268
+ "value": "ADR_SUGG_OK = \"2\" or RESPONSE = false or IDENTIFICATION_OK = false",
269
+ "type": "VTL"
270
+ },
271
+ "response": {
272
+ "name": "NOMVOI_LOC"
273
+ }
274
+ },
275
+ {
276
+ "id": "code-postal",
277
+ "componentType": "Input",
278
+ "label": {
279
+ "value": "\"Code postal\"",
280
+ "type": "VTL"
281
+ },
282
+ "description": { "value": "\"Exemple : 75012\"", "type": "VTL" },
283
+ "maxLength": 80,
284
+ "controls": [],
285
+ "conditionFilter": {
286
+ "value": "ADR_SUGG_OK = \"2\" or RESPONSE = false or IDENTIFICATION_OK = false",
287
+ "type": "VTL"
288
+ },
289
+ "response": {
290
+ "name": "CPOST_LOC"
291
+ }
292
+ },
293
+ {
294
+ "id": "libelle-commune",
295
+ "componentType": "Input",
296
+ "label": {
297
+ "value": "\"Commune (et arrondissement pour Paris, Lyon et Marseille)\"",
298
+ "type": "VTL"
299
+ },
300
+ "readOnly": "true",
301
+ "description": {
302
+ "value": "\"Si le nom de votre commune est incorrect, veuillez contacter votre mairie ou votre agent recenseur.\"",
303
+ "type": "VTL"
304
+ },
305
+ "maxLength": 80,
306
+ "controls": [],
307
+ "conditionFilter": {
308
+ "value": "ADR_SUGG_OK = \"2\" or RESPONSE = false or IDENTIFICATION_OK = false",
309
+ "type": "VTL"
310
+ },
311
+ "response": {
312
+ "name": "COM_LOC"
313
+ }
314
+ },
315
+ {
316
+ "id": "component-set-complements-adresse",
317
+ "componentType": "ComponentSet",
318
+ "conditionFilter": {
319
+ "value": "(ADR_SUGG_OK = \"1\" or ADR_SUGG_OK = \"2\") or RESPONSE = false or IDENTIFICATION_OK = false",
320
+ "type": "VTL"
321
+ },
322
+ "page": "2",
323
+ "label": {
324
+ "value": "\"### Compléter vos compléments d'adresse si vous en avez\"",
325
+ "type": "VTL|MD"
326
+ },
327
+ "description": {
328
+ "value": "\"XXXX\"",
329
+ "type": "VTL|MD"
330
+ },
331
+ "components": [
332
+ {
333
+ "id": "hameau",
334
+ "componentType": "Input",
335
+ "label": {
336
+ "value": "\"Residence, lotissement, hameau, ...\"",
337
+ "type": "VTL"
338
+ },
339
+ "description": {
340
+ "value": "\"Exemple : résidence de la forêt\"",
341
+ "type": "VTL"
342
+ },
343
+ "maxLength": 80,
344
+ "controls": [],
345
+ "conditionFilter": {
346
+ "value": "true",
347
+ "type": "VTL"
348
+ },
349
+ "response": {
350
+ "name": "RES_LOC"
351
+ }
352
+ },
353
+ {
354
+ "id": "batiment",
355
+ "componentType": "Input",
356
+ "label": {
357
+ "value": "\"Bâtiment\"",
358
+ "type": "VTL"
359
+ },
360
+ "description": {
361
+ "value": "\"Exemple : Bâtiment Tilleuil\"",
362
+ "type": "VTL"
363
+ },
364
+ "maxLength": 80,
365
+ "controls": [],
366
+ "conditionFilter": {
367
+ "value": "true",
368
+ "type": "VTL"
369
+ },
370
+ "response": {
371
+ "name": "BAT_LOC"
372
+ }
373
+ },
374
+ {
375
+ "id": "escalier",
376
+ "componentType": "Input",
377
+ "label": {
378
+ "value": "\"Escalier\"",
379
+ "type": "VTL"
380
+ },
381
+ "description": {
382
+ "value": "\"Exemple : A\"",
383
+ "type": "VTL"
384
+ },
385
+ "maxLength": 80,
386
+ "controls": [],
387
+ "conditionFilter": {
388
+ "value": "true",
389
+ "type": "VTL"
390
+ },
391
+ "response": {
392
+ "name": "ESC_LOC"
393
+ }
394
+ },
395
+ {
396
+ "id": "etage",
397
+ "componentType": "Input",
398
+ "label": {
399
+ "value": "\"Etage\"",
400
+ "type": "VTL"
401
+ },
402
+ "description": {
403
+ "value": "\"Exemple : 4\"",
404
+ "type": "VTL"
405
+ },
406
+ "maxLength": 80,
407
+ "controls": [],
408
+ "conditionFilter": {
409
+ "value": "true",
410
+ "type": "VTL"
411
+ },
412
+ "response": {
413
+ "name": "ETAGE_LOC"
414
+ }
415
+ },
416
+ {
417
+ "id": "num-porte",
418
+ "componentType": "Input",
419
+ "label": {
420
+ "value": "\"Numéro de porte ou position par rapport à l'escalier\"",
421
+ "type": "VTL"
422
+ },
423
+ "description": {
424
+ "value": "\"Exemple : 1ère porte à gauche en sortant de l'escalier\"",
425
+ "type": "VTL"
426
+ },
427
+ "maxLength": 80,
428
+ "controls": [],
429
+ "conditionFilter": {
430
+ "value": "true",
431
+ "type": "VTL"
432
+ },
433
+ "response": {
434
+ "name": "N_PORTE_LOC"
435
+ }
436
+ }
437
+ ]
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "id": "kkxugktl-title",
443
+ "componentType": "Sequence",
444
+ "page": "3",
445
+ "title": "Bye",
446
+ "label": {
447
+ "value": "\"Merci pour vos réponses\"",
448
+ "type": "VTL"
449
+ },
450
+ "declarations": [],
451
+ "conditionFilter": {
452
+ "value": "true",
453
+ "type": "VTL"
454
+ }
455
+ }
456
+ ],
457
+ "variables": [
458
+ { "variableType": "EXTERNAL", "name": "DEP_CODE", "value": null },
459
+ { "variableType": "EXTERNAL", "name": "COM_CODE", "value": null },
460
+ { "variableType": "EXTERNAL", "name": "LIBELLE_COMMUNE", "value": null },
461
+
462
+ { "variableType": "EXTERNAL", "name": "NUMVOI_LOC_SUGG", "value": null },
463
+ { "variableType": "EXTERNAL", "name": "BISTER_LOC_SUGG", "value": null },
464
+ { "variableType": "EXTERNAL", "name": "TYPEVOI_LOC_SUGG", "value": null },
465
+ { "variableType": "EXTERNAL", "name": "NOMVOI_LOC_SUGG", "value": null },
466
+
467
+ { "variableType": "EXTERNAL", "name": "RESPONSE", "value": null },
468
+
469
+ {
470
+ "variableType": "COLLECTED",
471
+ "name": "ADR_RANG",
472
+ "values": {
473
+ "PREVIOUS": null,
474
+ "COLLECTED": "AAA",
475
+ "FORCED": null,
476
+ "EDITED": null,
477
+ "INPUTTED": null
478
+ }
479
+ },
480
+ {
481
+ "variableType": "COLLECTED",
482
+ "name": "LOG_RANG",
483
+ "values": {
484
+ "PREVIOUS": null,
485
+ "COLLECTED": "AAA",
486
+ "FORCED": null,
487
+ "EDITED": null,
488
+ "INPUTTED": null
489
+ }
490
+ },
491
+ {
492
+ "variableType": "COLLECTED",
493
+ "name": "ZC",
494
+ "values": {
495
+ "PREVIOUS": null,
496
+ "COLLECTED": "AAAA",
497
+ "FORCED": null,
498
+ "EDITED": null,
499
+ "INPUTTED": null
500
+ }
501
+ },
502
+ {
503
+ "variableType": "COLLECTED",
504
+ "name": "NUMVOI_LOC",
505
+ "values": {
506
+ "PREVIOUS": null,
507
+ "COLLECTED": null,
508
+ "FORCED": null,
509
+ "EDITED": null,
510
+ "INPUTTED": null
511
+ }
512
+ },
513
+ {
514
+ "variableType": "COLLECTED",
515
+ "name": "NUMVOI_LOC_SUGG",
516
+ "values": {
517
+ "PREVIOUS": null,
518
+ "COLLECTED": null,
519
+ "FORCED": null,
520
+ "EDITED": null,
521
+ "INPUTTED": null
522
+ }
523
+ },
524
+ {
525
+ "variableType": "COLLECTED",
526
+ "name": "BISTER_LOC",
527
+ "values": {
528
+ "PREVIOUS": null,
529
+ "COLLECTED": null,
530
+ "FORCED": null,
531
+ "EDITED": null,
532
+ "INPUTTED": null
533
+ }
534
+ },
535
+ {
536
+ "variableType": "COLLECTED",
537
+ "name": "BISTER_LOC_SUGG",
538
+ "values": {
539
+ "PREVIOUS": null,
540
+ "COLLECTED": null,
541
+ "FORCED": null,
542
+ "EDITED": null,
543
+ "INPUTTED": null
544
+ }
545
+ },
546
+ {
547
+ "variableType": "COLLECTED",
548
+ "name": "TYPEVOI_LOC",
549
+ "values": {
550
+ "PREVIOUS": null,
551
+ "COLLECTED": null,
552
+ "FORCED": null,
553
+ "EDITED": null,
554
+ "INPUTTED": null
555
+ }
556
+ },
557
+ {
558
+ "variableType": "COLLECTED",
559
+ "name": "TYPEVOI_LOC_SUGG",
560
+ "values": {
561
+ "PREVIOUS": null,
562
+ "COLLECTED": null,
563
+ "FORCED": null,
564
+ "EDITED": null,
565
+ "INPUTTED": null
566
+ }
567
+ },
568
+ {
569
+ "variableType": "COLLECTED",
570
+ "name": "NOMVOI_LOC",
571
+ "values": {
572
+ "PREVIOUS": null,
573
+ "COLLECTED": null,
574
+ "FORCED": null,
575
+ "EDITED": null,
576
+ "INPUTTED": null
577
+ }
578
+ },
579
+ {
580
+ "variableType": "COLLECTED",
581
+ "name": "NOMVOI_LOC_SUGG",
582
+ "values": {
583
+ "PREVIOUS": null,
584
+ "COLLECTED": null,
585
+ "FORCED": null,
586
+ "EDITED": null,
587
+ "INPUTTED": null
588
+ }
589
+ },
590
+ {
591
+ "variableType": "COLLECTED",
592
+ "name": "CPOST_LOC",
593
+ "values": {
594
+ "PREVIOUS": null,
595
+ "COLLECTED": null,
596
+ "FORCED": null,
597
+ "EDITED": null,
598
+ "INPUTTED": null
599
+ }
600
+ },
601
+ {
602
+ "variableType": "COLLECTED",
603
+ "name": "LIBELLE_COMMUNE",
604
+ "values": {
605
+ "PREVIOUS": null,
606
+ "COLLECTED": "Paris(12)",
607
+ "FORCED": null,
608
+ "EDITED": null,
609
+ "INPUTTED": null
610
+ }
611
+ },
612
+ {
613
+ "variableType": "COLLECTED",
614
+ "name": "LIBELLE_COMMUNE_SUGG",
615
+ "values": {
616
+ "PREVIOUS": null,
617
+ "COLLECTED": null,
618
+ "FORCED": null,
619
+ "EDITED": null,
620
+ "INPUTTED": null
621
+ }
622
+ },
623
+ {
624
+ "variableType": "COLLECTED",
625
+ "name": "RES_LOC",
626
+ "values": {
627
+ "PREVIOUS": null,
628
+ "COLLECTED": null,
629
+ "FORCED": null,
630
+ "EDITED": null,
631
+ "INPUTTED": null
632
+ }
633
+ },
634
+ {
635
+ "variableType": "COLLECTED",
636
+ "name": "BAT_LOC",
637
+ "values": {
638
+ "PREVIOUS": null,
639
+ "COLLECTED": null,
640
+ "FORCED": null,
641
+ "EDITED": null,
642
+ "INPUTTED": null
643
+ }
644
+ },
645
+ {
646
+ "variableType": "COLLECTED",
647
+ "name": "ESC_LOC",
648
+ "values": {
649
+ "PREVIOUS": null,
650
+ "COLLECTED": null,
651
+ "FORCED": null,
652
+ "EDITED": null,
653
+ "INPUTTED": null
654
+ }
655
+ },
656
+ {
657
+ "variableType": "COLLECTED",
658
+ "name": "ETAGE_LOC",
659
+ "values": {
660
+ "PREVIOUS": null,
661
+ "COLLECTED": null,
662
+ "FORCED": null,
663
+ "EDITED": null,
664
+ "INPUTTED": null
665
+ }
666
+ },
667
+ {
668
+ "variableType": "COLLECTED",
669
+ "name": "N_PORTE_LOC",
670
+ "values": {
671
+ "PREVIOUS": null,
672
+ "COLLECTED": null,
673
+ "FORCED": null,
674
+ "EDITED": null,
675
+ "INPUTTED": null
676
+ }
677
+ },
678
+ {
679
+ "variableType": "COLLECTED",
680
+ "name": "ADR_SUGG_OK",
681
+ "values": {
682
+ "PREVIOUS": null,
683
+ "COLLECTED": null,
684
+ "FORCED": null,
685
+ "EDITED": null,
686
+ "INPUTTED": null
687
+ }
688
+ },
689
+ {
690
+ "variableType": "COLLECTED",
691
+ "name": "COM_LOC",
692
+ "values": {
693
+ "PREVIOUS": null,
694
+ "COLLECTED": "Paris(12)",
695
+ "FORCED": null,
696
+ "EDITED": null,
697
+ "INPUTTED": null
698
+ }
699
+ },
700
+ {
701
+ "variableType": "CALCULATED",
702
+ "name": "VOI_CONCAT",
703
+ "expression": {
704
+ "value": "(if (isnull(NUMVOI_LOC_SUGG)) then \"\" else (NUMVOI_LOC_SUGG || \" \")) || (if (isnull(BISTER_LOC_SUGG)) then \"\" else (BISTER_LOC_SUGG || \" \")) || (if (isnull(TYPEVOI_LOC_SUGG)) then \"\" else (TYPEVOI_LOC_SUGG || \" \")) || (if (isnull(NOMVOI_LOC_SUGG)) then \"\" else (NOMVOI_LOC_SUGG || \" \"))",
705
+ "type": "VTL"
706
+ },
707
+ "bindingDependencies": [
708
+ "NUMVOI_LOC_SUGG",
709
+ "BISTER_LOC_SUGG",
710
+ "TYPEVOI_LOC_SUGG",
711
+ "NOMVOI_LOC_SUGG"
712
+ ],
713
+ "inFilter": "false"
714
+ },
715
+ {
716
+ "variableType": "CALCULATED",
717
+ "name": "IDENTIFICATION_OK",
718
+ "expression": {
719
+ "value": "not(nvl(ZC, \"\") = \"\") and not(nvl(LOG_RANG, \"\") = \"\") and not(nvl(ADR_RANG, \"\") = \"\")",
720
+ "type": "VTL"
721
+ },
722
+ "bindingDependencies": ["ZC", "LOG_RANG", "ADR_RANG"],
723
+ "inFilter": "false"
724
+ }
725
+ ]
726
+ }