@inseefr/lunatic 2.6.10 → 2.6.11

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 (381) 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 +118 -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 +12 -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/mock-server.js +34 -0
  182. package/lib/stories/RemoteComponent/remoteComponent.stories.js +40 -0
  183. package/lib/stories/RemoteComponent/source.json +667 -0
  184. package/lib/stories/behaviour/cleaning/cleaning.stories.js +8 -11
  185. package/lib/stories/behaviour/controls/controls-externes.stories.js +7 -9
  186. package/lib/stories/behaviour/controls/controls.stories.js +11 -17
  187. package/lib/stories/behaviour/others/test.stories.js +11 -17
  188. package/lib/stories/behaviour/paste/test.stories.js +7 -9
  189. package/lib/stories/behaviour/resizing/resizing.stories.js +8 -11
  190. package/lib/stories/checkbox-boolean/checkboxBoolean.stories.js +7 -9
  191. package/lib/stories/checkbox-group/checkbox-group.stories.js +7 -9
  192. package/lib/stories/checkbox-one/checkboxOne.stories.js +7 -9
  193. package/lib/stories/checkboxGroup/checkboxGroup.stories.js +9 -13
  194. package/lib/stories/component-set/component-set.stories.js +9 -13
  195. package/lib/stories/custom-mui/checkbox-boolean-mui.js +4 -5
  196. package/lib/stories/custom-mui/checkbox-group-mui.js +4 -5
  197. package/lib/stories/custom-mui/checkbox-one-mui.js +1 -2
  198. package/lib/stories/custom-mui/input-mui.js +4 -5
  199. package/lib/stories/custom-mui/input-number-mui.js +4 -5
  200. package/lib/stories/custom-mui/radio-mui.js +5 -6
  201. package/lib/stories/custom-mui/suggester-mui/suggester-mui.js +5 -6
  202. package/lib/stories/custom-mui/switch-mui.js +4 -5
  203. package/lib/stories/custom-mui/table-mui.js +1 -2
  204. package/lib/stories/custom-mui/tbody-mui.js +1 -2
  205. package/lib/stories/custom-mui/td-mui.js +1 -2
  206. package/lib/stories/custom-mui/textarea-mui.js +4 -5
  207. package/lib/stories/custom-mui/th-mui.js +1 -2
  208. package/lib/stories/custom-mui/thead-mui.js +1 -2
  209. package/lib/stories/custom-mui/tr-mui.js +1 -2
  210. package/lib/stories/date-picker/datepicker.stories.js +7 -9
  211. package/lib/stories/declaration/input.stories.js +7 -9
  212. package/lib/stories/disabled/disabled.stories.js +7 -9
  213. package/lib/stories/dropdown/dropdown.stories.js +7 -9
  214. package/lib/stories/duration/duration.stories.js +8 -11
  215. package/lib/stories/filter-description/filter-description.stories.js +8 -11
  216. package/lib/stories/input/input.stories.js +8 -11
  217. package/lib/stories/input-number/input-number.stories.js +9 -13
  218. package/lib/stories/loop/block-for-loop.stories.js +9 -13
  219. package/lib/stories/loop/paginated-loop.stories.js +7 -9
  220. package/lib/stories/loop/roster-for-loop.stories.js +10 -14
  221. package/lib/stories/modal/modal.stories.js +7 -9
  222. package/lib/stories/overview/overview.stories.js +7 -9
  223. package/lib/stories/pairwise/pairwise-links.stories.js +10 -14
  224. package/lib/stories/question-explication/question-explication.stories.js +7 -9
  225. package/lib/stories/questionnaires/logement/logement.stories.js +9 -13
  226. package/lib/stories/questionnaires/recensement/recensement.stories.js +7 -9
  227. package/lib/stories/questionnaires/rp/rp.stories.js +7 -9
  228. package/lib/stories/questionnaires/simpsons/simpsons.stories.js +10 -14
  229. package/lib/stories/questionnaires2023/bySequence/ticWeb.stories.js +7 -9
  230. package/lib/stories/questionnaires2023/famille/famille.stories.js +7 -9
  231. package/lib/stories/questionnaires2023/simpsons/simpsons.stories.js +7 -9
  232. package/lib/stories/questionnaires2023/ticTel/ticWeb.stories.js +7 -9
  233. package/lib/stories/questionnaires2023/ticWeb/ticWeb.stories.js +7 -9
  234. package/lib/stories/radio/radio.stories.js +7 -9
  235. package/lib/stories/roundabout/roundabout.stories.js +8 -11
  236. package/lib/stories/sequence/sequence.stories.js +7 -9
  237. package/lib/stories/suggester/suggester-workers.stories.js +7 -9
  238. package/lib/stories/suggester/suggester.stories.js +10 -14
  239. package/lib/stories/summary/summary.stories.js +7 -9
  240. package/lib/stories/switch/switch.stories.js +9 -11
  241. package/lib/stories/table/table.stories.js +12 -17
  242. package/lib/stories/textarea/textarea.stories.js +7 -9
  243. package/lib/stories/utils/default-arg-types.js +6 -7
  244. package/lib/stories/utils/options.js +5 -9
  245. package/lib/stories/utils/orchestrator.js +13 -13
  246. package/lib/stories/utils/overview.js +2 -3
  247. package/lib/stories/utils/waiting/waiting.js +1 -2
  248. package/lib/use-lunatic/actions.js +8 -16
  249. package/lib/use-lunatic/commons/calculated-variables.js +7 -8
  250. package/lib/use-lunatic/commons/check-loops.js +7 -8
  251. package/lib/use-lunatic/commons/compile-controls.js +6 -7
  252. package/lib/use-lunatic/commons/compose.js +1 -2
  253. package/lib/use-lunatic/commons/create-map-pages.js +6 -7
  254. package/lib/use-lunatic/commons/execute-condition-filter.js +1 -2
  255. package/lib/use-lunatic/commons/execute-expression/create-execute-expression.js +10 -12
  256. package/lib/use-lunatic/commons/execute-expression/create-execute-expression.spec.js +1 -1
  257. package/lib/use-lunatic/commons/execute-expression/create-memoizer.js +7 -8
  258. package/lib/use-lunatic/commons/execute-expression/create-refresh-calculated.js +7 -8
  259. package/lib/use-lunatic/commons/execute-expression/create-refresh-calculated.spec.js +3 -3
  260. package/lib/use-lunatic/commons/execute-expression/execute-expression.js +7 -8
  261. package/lib/use-lunatic/commons/execute-expression/execute-expression.spec.js +1 -1
  262. package/lib/use-lunatic/commons/execute-expression/get-expressions-variables.js +1 -2
  263. package/lib/use-lunatic/commons/execute-expression/get-expressions-variables.spec.js +1 -1
  264. package/lib/use-lunatic/commons/execute-expression/get-safety-expression.js +6 -7
  265. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +6 -7
  266. package/lib/use-lunatic/commons/fill-components/fill-component-required.js +5 -5
  267. package/lib/use-lunatic/commons/fill-components/fill-component-value.js +6 -7
  268. package/lib/use-lunatic/commons/fill-components/fill-components.js +1 -2
  269. package/lib/use-lunatic/commons/fill-components/fill-from-state.js +6 -7
  270. package/lib/use-lunatic/commons/fill-components/fill-management.js +6 -7
  271. package/lib/use-lunatic/commons/fill-components/fill-missing-response.js +6 -7
  272. package/lib/use-lunatic/commons/fill-components/fill-pagination.js +6 -7
  273. package/lib/use-lunatic/commons/fill-components/fill-specific-expression.js +7 -9
  274. package/lib/use-lunatic/commons/get-compatible-vtl-expression.js +2 -3
  275. package/lib/use-lunatic/commons/get-component-value/get-component-value.js +18 -8
  276. package/lib/use-lunatic/commons/get-components-from-state.js +1 -2
  277. package/lib/use-lunatic/commons/get-data.js +8 -9
  278. package/lib/use-lunatic/commons/get-errors-without-empty-value.js +2 -3
  279. package/lib/use-lunatic/commons/getOverview.js +3 -4
  280. package/lib/use-lunatic/commons/is-First-last-page.js +1 -2
  281. package/lib/use-lunatic/commons/is-paginated-loop.js +1 -2
  282. package/lib/use-lunatic/commons/page-navigation.js +6 -6
  283. package/lib/use-lunatic/commons/page-navigation.spec.js +5 -5
  284. package/lib/use-lunatic/commons/page-tag.js +3 -3
  285. package/lib/use-lunatic/commons/use-components-from-state.js +1 -2
  286. package/lib/use-lunatic/initial-state.js +1 -2
  287. package/lib/use-lunatic/lunatic-context.js +3 -6
  288. package/lib/use-lunatic/reducer/commons/auto-explore-loop.js +5 -5
  289. package/lib/use-lunatic/reducer/commons/is-loop-component.js +2 -3
  290. package/lib/use-lunatic/reducer/commons/resize-array-variable.js +1 -2
  291. package/lib/use-lunatic/reducer/commons/validate-condition-filter.js +1 -1
  292. package/lib/use-lunatic/reducer/overview/overview-on-change.js +7 -8
  293. package/lib/use-lunatic/reducer/overview/overview-on-init.js +7 -7
  294. package/lib/use-lunatic/reducer/reduce-go-next-page.js +7 -8
  295. package/lib/use-lunatic/reducer/reduce-go-previous-page.js +6 -7
  296. package/lib/use-lunatic/reducer/reduce-go-to-page.js +6 -7
  297. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-cleaning.js +7 -8
  298. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-handle-change.js +8 -8
  299. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-links-variable.js +7 -8
  300. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-missing.js +7 -8
  301. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-resizing.js +8 -9
  302. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-variables-array.js +6 -7
  303. package/lib/use-lunatic/reducer/reduce-handle-change/reduce-variables-simple.js +6 -7
  304. package/lib/use-lunatic/reducer/reduce-on-init.js +7 -8
  305. package/lib/use-lunatic/reducer/reduce-on-set-waiting.js +6 -7
  306. package/lib/use-lunatic/reducer/reduce-update-state.js +5 -5
  307. package/lib/use-lunatic/reducer/reducer.js +1 -2
  308. package/lib/use-lunatic/type-source.js +4 -7
  309. package/lib/use-lunatic/use-lunatic.js +9 -10
  310. package/lib/use-lunatic/use-lunatic.test.js +5 -5
  311. package/lib/use-lunatic/use-suggesters.js +9 -10
  312. package/lib/utils/constants/alphabet.js +1 -2
  313. package/lib/utils/constants/features.js +3 -6
  314. package/lib/utils/constants/links.js +2 -4
  315. package/lib/utils/constants/missing.js +2 -4
  316. package/lib/utils/constants/variable-status.js +5 -10
  317. package/lib/utils/constants/variable-types.js +1 -2
  318. package/lib/utils/function.js +1 -2
  319. package/lib/utils/get-component-value.js +1 -1
  320. package/lib/utils/idb-tools/clear-store.js +3 -4
  321. package/lib/utils/idb-tools/create-db-opener.js +1 -2
  322. package/lib/utils/idb-tools/create-open-db.js +1 -2
  323. package/lib/utils/idb-tools/get-entity.js +1 -2
  324. package/lib/utils/idb-tools/get-idb.js +1 -2
  325. package/lib/utils/idb-tools/idb-bulk-insert.js +7 -9
  326. package/lib/utils/idb-tools/index.js +3 -3
  327. package/lib/utils/idb-tools/insert-entity.js +1 -2
  328. package/lib/utils/idb-tools/open-db.js +3 -4
  329. package/lib/utils/idb-tools/open-or-create-db.js +2 -3
  330. package/lib/utils/is-object.js +1 -1
  331. package/lib/utils/logger.js +6 -8
  332. package/lib/utils/number.js +1 -1
  333. package/lib/utils/object.js +1 -1
  334. package/lib/utils/store-tools/clear-store-data.js +3 -4
  335. package/lib/utils/store-tools/clear-store-info.js +3 -4
  336. package/lib/utils/store-tools/constantes.js +7 -14
  337. package/lib/utils/store-tools/create/create.js +3 -4
  338. package/lib/utils/store-tools/create/update-store-info.js +1 -2
  339. package/lib/utils/store-tools/get-store-count.js +1 -2
  340. package/lib/utils/store-tools/index.js +3 -3
  341. package/lib/utils/store-tools/initStore.js +2 -2
  342. package/lib/utils/store-tools/open-or-create-store.js +1 -2
  343. package/lib/utils/store-tools/use-store-index.js +4 -5
  344. package/lib/utils/suggester-workers/append-to-index/append.js +3 -4
  345. package/lib/utils/suggester-workers/append-to-index/append.worker.js +1 -2
  346. package/lib/utils/suggester-workers/append-to-index/prepare-entities.js +7 -8
  347. package/lib/utils/suggester-workers/append-to-index/store-messages.js +6 -7
  348. package/lib/utils/suggester-workers/commons-tokenizer/create-entity-tokenizer.js +6 -7
  349. package/lib/utils/suggester-workers/commons-tokenizer/create-fields-tokenizer.js +7 -8
  350. package/lib/utils/suggester-workers/commons-tokenizer/create-filter-stop-words.js +6 -7
  351. package/lib/utils/suggester-workers/commons-tokenizer/filters/compose-filters.js +1 -2
  352. package/lib/utils/suggester-workers/commons-tokenizer/filters/create-filter-stop-words.js +6 -7
  353. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-accents.js +1 -2
  354. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-double.js +1 -2
  355. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-length.js +1 -2
  356. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-stemmer.js +1 -2
  357. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.js +6 -7
  358. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-to-lower.js +1 -2
  359. package/lib/utils/suggester-workers/commons-tokenizer/filters/stop-words.js +1 -2
  360. package/lib/utils/suggester-workers/commons-tokenizer/get-regexp-from-pattern.js +1 -2
  361. package/lib/utils/suggester-workers/commons-tokenizer/get-stemmer.js +1 -2
  362. package/lib/utils/suggester-workers/commons-tokenizer/prepare-string-indexation.js +1 -2
  363. package/lib/utils/suggester-workers/commons-tokenizer/soft-tokenizer.js +1 -2
  364. package/lib/utils/suggester-workers/create-worker-ts.js +2 -3
  365. package/lib/utils/suggester-workers/find-best-label/find-best-label.js +7 -8
  366. package/lib/utils/suggester-workers/find-best-label/tokenize.js +3 -4
  367. package/lib/utils/suggester-workers/searching/compute-score.js +6 -7
  368. package/lib/utils/suggester-workers/searching/get-db.js +3 -4
  369. package/lib/utils/suggester-workers/searching/order/create-alphanumeric-orderer.js +1 -2
  370. package/lib/utils/suggester-workers/searching/order/index.js +1 -2
  371. package/lib/utils/suggester-workers/searching/query-parser/query-parser-soft.js +1 -2
  372. package/lib/utils/suggester-workers/searching/query-parser/query-parser-tokenized.js +2 -3
  373. package/lib/utils/suggester-workers/searching/resolve-query-parser.js +3 -4
  374. package/lib/utils/suggester-workers/searching/search-in-index.js +1 -2
  375. package/lib/utils/suggester-workers/searching/searching.js +7 -8
  376. package/lib/utils/suggester-workers/worker-path.js +1 -2
  377. package/lib/utils/vtl/dataset-builder.js +1 -2
  378. package/package.json +3 -1
  379. package/workers-release/lunatic-append-worker-0.3.0-experimental.js +1 -1
  380. package/workers-release/lunatic-label-worker-0.3.0-experimental.js +1 -1
  381. package/workers-release/lunatic-searching-worker-0.3.0-experimental.js +1 -1
@@ -0,0 +1,667 @@
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 then \"## Basé sur les rangs d'adresse que vous avez entré, 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
+ "mandatory": false,
140
+ "retry": 6,
141
+ "latency": 2000,
142
+ "remote": "http://localhost:4000/api/recensement/adresse",
143
+ "conditionFilter": {
144
+ "value": "true",
145
+ "type": "VTL"
146
+ },
147
+ "components": [
148
+ {
149
+ "id": "Subsequence",
150
+ "componentType": "Subsequence",
151
+ "label": {
152
+ "type": "VTL|MD",
153
+ "value": "\"## \" || VOI_CONCAT || COMMUNE_CONCAT \n\n"
154
+ },
155
+ "conditionFilter": {
156
+ "value": "RESPONSE",
157
+ "type": "VTL"
158
+ }
159
+ }
160
+ ],
161
+ "responses": [
162
+ { "response": { "name": "ZC" } },
163
+ { "response": { "name": "ADR_RANG" } },
164
+ { "response": { "name": "LOG_RANG" } }
165
+ ]
166
+ },
167
+ {
168
+ "id": "radio",
169
+ "componentType": "Radio",
170
+ "mandatory": false,
171
+ "page": "2",
172
+ "label": {
173
+ "value": "\"### L'adresse de votre logement est-elle correcte ?\"",
174
+ "type": "VTL|MD"
175
+ },
176
+ "conditionFilter": { "value": "true", "type": "VTL" },
177
+ "options": [
178
+ {
179
+ "value": "1",
180
+ "description": {
181
+ "value": "\" oui\"",
182
+ "type": "VTL|MD"
183
+ },
184
+ "label": { "value": "\"oui\"", "type": "VTL|MD" }
185
+ },
186
+ {
187
+ "value": "2",
188
+ "description": {
189
+ "value": "\" non\"",
190
+ "type": "VTL|MD"
191
+ },
192
+ "label": { "value": "\"non\"", "type": "VTL|MD" }
193
+ }
194
+ ],
195
+ "response": { "name": "MODIFICATION_LOC" }
196
+ },
197
+ {
198
+ "id": "num-voi-loc",
199
+ "componentType": "Input",
200
+ "label": {
201
+ "value": "\"Numéro de voie\"",
202
+ "type": "VTL"
203
+ },
204
+ "description": { "value": "\"Exemple : 56\"", "type": "VTL" },
205
+ "maxLength": 80,
206
+ "conditionFilter": {
207
+ "value": "if MODIFICATION_LOC = \"2\" then true else false",
208
+ "type": "VTL|MD"
209
+ },
210
+ "response": {
211
+ "name": "NUMVOI_LOC"
212
+ }
213
+ },
214
+ {
215
+ "id": "indice-rep",
216
+ "componentType": "Input",
217
+ "label": {
218
+ "value": "\"Indice de répétition\"",
219
+ "type": "VTL"
220
+ },
221
+ "description": { "value": "\"Bis, ter, ...\"", "type": "VTL" },
222
+ "maxLength": 80,
223
+ "controls": [],
224
+ "conditionFilter": {
225
+ "value": "MODIFICATION_LOC = \"2\" or RESPONSE = false",
226
+ "type": "VTL"
227
+ },
228
+ "response": {
229
+ "name": "BISTER_LOC"
230
+ }
231
+ },
232
+ {
233
+ "id": "type-voie",
234
+ "componentType": "Input",
235
+ "label": {
236
+ "value": "\"Type de voie\"",
237
+ "type": "VTL"
238
+ },
239
+ "description": { "value": "\"Rue, avenue,...\"", "type": "VTL" },
240
+ "maxLength": 80,
241
+ "controls": [],
242
+ "conditionFilter": {
243
+ "value": "MODIFICATION_LOC = \"2\" or RESPONSE = false",
244
+ "type": "VTL"
245
+ },
246
+ "response": {
247
+ "name": "TYPEVOI_LOC"
248
+ }
249
+ },
250
+ {
251
+ "id": "libelle-voie",
252
+ "componentType": "Input",
253
+ "label": {
254
+ "value": "\"Libellé de la voie\"",
255
+ "type": "VTL"
256
+ },
257
+ "description": {
258
+ "value": "\"Exemple : du labradore\"",
259
+ "type": "VTL"
260
+ },
261
+ "maxLength": 80,
262
+ "controls": [],
263
+ "conditionFilter": {
264
+ "value": "MODIFICATION_LOC = \"2\" or RESPONSE = false",
265
+ "type": "VTL"
266
+ },
267
+ "response": {
268
+ "name": "NOMVOI_LOC"
269
+ }
270
+ },
271
+ {
272
+ "id": "code-postal",
273
+ "componentType": "Input",
274
+ "label": {
275
+ "value": "\"Code postal\"",
276
+ "type": "VTL"
277
+ },
278
+ "description": { "value": "\"Exemple : 75012\"", "type": "VTL" },
279
+ "maxLength": 80,
280
+ "controls": [],
281
+ "conditionFilter": {
282
+ "value": "MODIFICATION_LOC = \"2\" or RESPONSE = false",
283
+ "type": "VTL"
284
+ },
285
+ "response": {
286
+ "name": "CPOST_LOC"
287
+ }
288
+ },
289
+ {
290
+ "id": "libelle-commune",
291
+ "componentType": "Input",
292
+ "label": {
293
+ "value": "\"Commune (et arrondissement pour Paris, Lyon et Marseille)\"",
294
+ "type": "VTL"
295
+ },
296
+ "readOnly": "true",
297
+ "description": {
298
+ "value": "\"Si le nom de votre commune est incorrect, veuillez contacter votre mairie ou votre agent recenseur.\"",
299
+ "type": "VTL"
300
+ },
301
+ "maxLength": 80,
302
+ "controls": [],
303
+ "conditionFilter": {
304
+ "value": "MODIFICATION_LOC = \"2\" or RESPONSE = false",
305
+ "type": "VTL"
306
+ },
307
+ "response": {
308
+ "name": "COM_LOC"
309
+ }
310
+ },
311
+ {
312
+ "id": "component-set-complements-adresse",
313
+ "componentType": "ComponentSet",
314
+ "conditionFilter": {
315
+ "value": "MODIFICATION_LOC = \"1\" or MODIFICATION_LOC = \"2\"",
316
+ "type": "VTL"
317
+ },
318
+ "page": "2",
319
+ "label": {
320
+ "value": "\"### Compléter vos compléments d'adresse si vous en avez\"",
321
+ "type": "VTL|MD"
322
+ },
323
+ "description": {
324
+ "value": "\"XXXX\"",
325
+ "type": "VTL|MD"
326
+ },
327
+ "components": [
328
+ {
329
+ "id": "hameau",
330
+ "componentType": "Input",
331
+ "label": {
332
+ "value": "\"Residence, lotissement, hameau, ...\"",
333
+ "type": "VTL"
334
+ },
335
+ "description": {
336
+ "value": "\"Exemple : résidence de la forêt\"",
337
+ "type": "VTL"
338
+ },
339
+ "maxLength": 80,
340
+ "controls": [],
341
+ "conditionFilter": {
342
+ "value": "true",
343
+ "type": "VTL"
344
+ },
345
+ "response": {
346
+ "name": "RES_LOC"
347
+ }
348
+ },
349
+ {
350
+ "id": "batiment",
351
+ "componentType": "Input",
352
+ "label": {
353
+ "value": "\"Bâtiment\"",
354
+ "type": "VTL"
355
+ },
356
+ "description": {
357
+ "value": "\"Exemple : Bâtiment Tilleuil\"",
358
+ "type": "VTL"
359
+ },
360
+ "maxLength": 80,
361
+ "controls": [],
362
+ "conditionFilter": {
363
+ "value": "true",
364
+ "type": "VTL"
365
+ },
366
+ "response": {
367
+ "name": "BAT_LOC"
368
+ }
369
+ },
370
+ {
371
+ "id": "escalier",
372
+ "componentType": "Input",
373
+ "label": {
374
+ "value": "\"Escalier\"",
375
+ "type": "VTL"
376
+ },
377
+ "description": {
378
+ "value": "Exemple : A",
379
+ "type": "VTL"
380
+ },
381
+ "maxLength": 80,
382
+ "controls": [],
383
+ "conditionFilter": {
384
+ "value": "true",
385
+ "type": "VTL"
386
+ },
387
+ "response": {
388
+ "name": "ESC_LOC"
389
+ }
390
+ },
391
+ {
392
+ "id": "etage",
393
+ "componentType": "Input",
394
+ "label": {
395
+ "value": "\"Etage\"",
396
+ "type": "VTL"
397
+ },
398
+ "description": {
399
+ "value": "\"Exemple : 4\"",
400
+ "type": "VTL"
401
+ },
402
+ "maxLength": 80,
403
+ "controls": [],
404
+ "conditionFilter": {
405
+ "value": "true",
406
+ "type": "VTL"
407
+ },
408
+ "response": {
409
+ "name": "ETAGE_LOC"
410
+ }
411
+ },
412
+ {
413
+ "id": "num-porte",
414
+ "componentType": "Input",
415
+ "label": {
416
+ "value": "\"Numéro de porte ou position par rapport à l'escalier\"",
417
+ "type": "VTL"
418
+ },
419
+ "description": {
420
+ "value": "\"Exemple : 1ère porte à gauche en sortant de l'escalier\"",
421
+ "type": "VTL"
422
+ },
423
+ "maxLength": 80,
424
+ "controls": [],
425
+ "conditionFilter": {
426
+ "value": "true",
427
+ "type": "VTL"
428
+ },
429
+ "response": {
430
+ "name": "N_PORTE_LOC"
431
+ }
432
+ }
433
+ ]
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "id": "kkxugktl-title",
439
+ "componentType": "Sequence",
440
+ "page": "3",
441
+ "title": "Bye",
442
+ "label": {
443
+ "value": "\"Merci pour vos réponses\"",
444
+ "type": "VTL"
445
+ },
446
+ "declarations": [],
447
+ "conditionFilter": {
448
+ "value": "true",
449
+ "type": "VTL"
450
+ }
451
+ }
452
+ ],
453
+ "variables": [
454
+ {
455
+ "variableType": "COLLECTED",
456
+ "name": "ADR_RANG",
457
+ "values": {
458
+ "PREVIOUS": null,
459
+ "COLLECTED": null,
460
+ "FORCED": null,
461
+ "EDITED": null,
462
+ "INPUTTED": null
463
+ }
464
+ },
465
+ {
466
+ "variableType": "COLLECTED",
467
+ "name": "LOG_RANG",
468
+ "values": {
469
+ "PREVIOUS": null,
470
+ "COLLECTED": null,
471
+ "FORCED": null,
472
+ "EDITED": null,
473
+ "INPUTTED": null
474
+ }
475
+ },
476
+ {
477
+ "variableType": "COLLECTED",
478
+ "name": "ZC",
479
+ "values": {
480
+ "PREVIOUS": null,
481
+ "COLLECTED": null,
482
+ "FORCED": null,
483
+ "EDITED": null,
484
+ "INPUTTED": null
485
+ }
486
+ },
487
+ {
488
+ "variableType": "COLLECTED",
489
+ "name": "NUMVOI_LOC",
490
+ "values": {
491
+ "PREVIOUS": null,
492
+ "COLLECTED": null,
493
+ "FORCED": null,
494
+ "EDITED": null,
495
+ "INPUTTED": null
496
+ }
497
+ },
498
+ {
499
+ "variableType": "COLLECTED",
500
+ "name": "BISTER_LOC",
501
+ "values": {
502
+ "PREVIOUS": null,
503
+ "COLLECTED": null,
504
+ "FORCED": null,
505
+ "EDITED": null,
506
+ "INPUTTED": null
507
+ }
508
+ },
509
+ {
510
+ "variableType": "COLLECTED",
511
+ "name": "TYPEVOI_LOC",
512
+ "values": {
513
+ "PREVIOUS": null,
514
+ "COLLECTED": null,
515
+ "FORCED": null,
516
+ "EDITED": null,
517
+ "INPUTTED": null
518
+ }
519
+ },
520
+ {
521
+ "variableType": "COLLECTED",
522
+ "name": "NOMVOI_LOC",
523
+ "values": {
524
+ "PREVIOUS": null,
525
+ "COLLECTED": null,
526
+ "FORCED": null,
527
+ "EDITED": null,
528
+ "INPUTTED": null
529
+ }
530
+ },
531
+ {
532
+ "variableType": "COLLECTED",
533
+ "name": "RES_LOC",
534
+ "values": {
535
+ "PREVIOUS": null,
536
+ "COLLECTED": null,
537
+ "FORCED": null,
538
+ "EDITED": null,
539
+ "INPUTTED": null
540
+ }
541
+ },
542
+ {
543
+ "variableType": "COLLECTED",
544
+ "name": "BAT_LOC",
545
+ "values": {
546
+ "PREVIOUS": null,
547
+ "COLLECTED": null,
548
+ "FORCED": null,
549
+ "EDITED": null,
550
+ "INPUTTED": null
551
+ }
552
+ },
553
+ {
554
+ "variableType": "COLLECTED",
555
+ "name": "CPOST_LOC",
556
+ "values": {
557
+ "PREVIOUS": null,
558
+ "COLLECTED": null,
559
+ "FORCED": null,
560
+ "EDITED": null,
561
+ "INPUTTED": null
562
+ }
563
+ },
564
+ {
565
+ "variableType": "COLLECTED",
566
+ "name": "LIBELLE_COMMUNE",
567
+ "values": {
568
+ "PREVIOUS": null,
569
+ "COLLECTED": null,
570
+ "FORCED": null,
571
+ "EDITED": null,
572
+ "INPUTTED": null
573
+ }
574
+ },
575
+ {
576
+ "variableType": "COLLECTED",
577
+ "name": "ESC_LOC",
578
+ "values": {
579
+ "PREVIOUS": null,
580
+ "COLLECTED": null,
581
+ "FORCED": null,
582
+ "EDITED": null,
583
+ "INPUTTED": null
584
+ }
585
+ },
586
+ {
587
+ "variableType": "COLLECTED",
588
+ "name": "ETAGE_LOC",
589
+ "values": {
590
+ "PREVIOUS": null,
591
+ "COLLECTED": null,
592
+ "FORCED": null,
593
+ "EDITED": null,
594
+ "INPUTTED": null
595
+ }
596
+ },
597
+ {
598
+ "variableType": "COLLECTED",
599
+ "name": "N_PORTE_LOC",
600
+ "values": {
601
+ "PREVIOUS": null,
602
+ "COLLECTED": null,
603
+ "FORCED": null,
604
+ "EDITED": null,
605
+ "INPUTTED": null
606
+ }
607
+ },
608
+ {
609
+ "variableType": "COLLECTED",
610
+ "name": "RESPONSE",
611
+ "values": {
612
+ "PREVIOUS": null,
613
+ "COLLECTED": false,
614
+ "FORCED": null,
615
+ "EDITED": null,
616
+ "INPUTTED": null
617
+ }
618
+ },
619
+ {
620
+ "variableType": "COLLECTED",
621
+ "name": "MODIFICATION_LOC",
622
+ "values": {
623
+ "PREVIOUS": null,
624
+ "COLLECTED": null,
625
+ "FORCED": null,
626
+ "EDITED": null,
627
+ "INPUTTED": null
628
+ }
629
+ },
630
+ {
631
+ "variableType": "COLLECTED",
632
+ "name": "COM_LOC",
633
+ "values": {
634
+ "PREVIOUS": null,
635
+ "COLLECTED": "Paris(12)",
636
+ "FORCED": null,
637
+ "EDITED": null,
638
+ "INPUTTED": null
639
+ }
640
+ },
641
+ {
642
+ "variableType": "CALCULATED",
643
+ "name": "VOI_CONCAT",
644
+ "expression": {
645
+ "value": "(if (isnull(NUMVOI_LOC)) then \"\" else (NUMVOI_LOC || \" \")) || (if (isnull(BISTER_LOC)) then \"\" else (BISTER_LOC || \" \")) || (if (isnull(TYPEVOI_LOC)) then \"\" else (TYPEVOI_LOC || \" \")) || (if (isnull(NOMVOI_LOC)) then \"\" else (NOMVOI_LOC || \" \"))",
646
+ "type": "VTL"
647
+ },
648
+ "bindingDependencies": [
649
+ "NUMVOI_LOC",
650
+ "BISTER_LOC",
651
+ "TYPEVOI_LOC",
652
+ "NOMVOI_LOC"
653
+ ],
654
+ "inFilter": "false"
655
+ },
656
+ {
657
+ "variableType": "CALCULATED",
658
+ "name": "COMMUNE_CONCAT",
659
+ "expression": {
660
+ "value": "(if (isnull(CPOST_LOC)) then \"\" else (CPOST_LOC || \" \")) || (if (isnull(LIBELLE_COMMUNE)) then \"\" else (LIBELLE_COMMUNE || \" \")) ",
661
+ "type": "VTL"
662
+ },
663
+ "bindingDependencies": ["CPOST_LOC", "LIBELLE_COMMUNE"],
664
+ "inFilter": "false"
665
+ }
666
+ ]
667
+ }