@inseefr/lunatic 2.0.0-v2 → 2.0.0-v2test
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.
- package/lib/components/button/index.js +0 -2
- package/lib/components/button/lunatic-button.js +6 -16
- package/lib/components/checkbox/checkbox-boolean/checkbox-boolean.js +8 -13
- package/lib/components/checkbox/checkbox-boolean/index.js +0 -2
- package/lib/components/checkbox/checkbox-boolean/lunatic-checkbox-boolean.js +9 -16
- package/lib/components/checkbox/checkbox-group/checkbox-group.js +21 -33
- package/lib/components/checkbox/checkbox-group/checkbox.scss +1 -0
- package/lib/components/checkbox/checkbox-group/index.js +0 -2
- package/lib/components/checkbox/checkbox-group/lunatic-checkbox-group.js +9 -15
- package/lib/components/checkbox/checkbox-one/index.js +0 -2
- package/lib/components/checkbox/checkbox-one/lunatic-checkbox-one.js +5 -14
- package/lib/components/checkbox/commons/checkbox-option.js +14 -18
- package/lib/components/checkbox/commons/checkbox-option.scss +3 -0
- package/lib/components/checkbox/commons/index.js +0 -2
- package/lib/components/checkbox/index.js +0 -4
- package/lib/components/commons/build-style-object.js +3 -14
- package/lib/components/commons/components/combo-box/combo-box-container.js +3 -9
- package/lib/components/commons/components/combo-box/combo-box-content.js +6 -19
- package/lib/components/commons/components/combo-box/combo-box.js +35 -67
- package/lib/components/commons/components/combo-box/combo-box.scss +0 -10
- package/lib/components/commons/components/combo-box/index.js +0 -2
- package/lib/components/commons/components/combo-box/panel/index.js +0 -2
- package/lib/components/commons/components/combo-box/panel/option-container.js +4 -19
- package/lib/components/commons/components/combo-box/panel/panel-container.js +3 -8
- package/lib/components/commons/components/combo-box/panel/panel.js +13 -22
- package/lib/components/commons/components/combo-box/selection/delete.js +3 -19
- package/lib/components/commons/components/combo-box/selection/displayLabelOrInput.js +2 -10
- package/lib/components/commons/components/combo-box/selection/index.js +0 -2
- package/lib/components/commons/components/combo-box/selection/input.js +8 -21
- package/lib/components/commons/components/combo-box/selection/label-selection.js +8 -15
- package/lib/components/commons/components/combo-box/selection/selection-container.js +4 -9
- package/lib/components/commons/components/combo-box/selection/selection.js +12 -22
- package/lib/components/commons/components/combo-box/state-management/actions.js +6 -22
- package/lib/components/commons/components/combo-box/state-management/combo-box-context.js +0 -4
- package/lib/components/commons/components/combo-box/state-management/index.js +0 -9
- package/lib/components/commons/components/combo-box/state-management/reducer/index.js +0 -2
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-blur.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-change.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-delete.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-focus.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-init.js +8 -14
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/index.js +0 -2
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-arrow-down.js +4 -9
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-arrow-up.js +4 -9
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-end.js +4 -7
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-enter.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-escape.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-home.js +4 -7
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/on-tab.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-keydown/reduce-on-keydown.js +1 -20
- package/lib/components/commons/components/combo-box/state-management/reducer/reduce-on-select.js +4 -6
- package/lib/components/commons/components/combo-box/state-management/reducer/reducer.js +0 -22
- package/lib/components/commons/components/create-lunatic-component/create-lunatic-component.js +10 -21
- package/lib/components/commons/components/create-lunatic-component/index.js +0 -3
- package/lib/components/commons/components/default-label-renderer.js +4 -14
- package/lib/components/commons/components/default-option-renderer.js +3 -10
- package/lib/components/commons/components/dragger/dragger.js +20 -46
- package/lib/components/commons/components/dragger/index.js +0 -2
- package/lib/components/commons/components/errors/errors.js +18 -12
- package/lib/components/commons/components/errors/index.js +0 -2
- package/lib/components/commons/components/fab/fab.js +6 -14
- package/lib/components/commons/components/fab/index.js +0 -2
- package/lib/components/commons/components/field-container/field-container.js +3 -12
- package/lib/components/commons/components/field-container/index.js +0 -2
- package/lib/components/commons/components/fieldset.js +2 -10
- package/lib/components/commons/components/fieldset.scss +2 -0
- package/lib/components/commons/components/html-table/index.js +0 -7
- package/lib/components/commons/components/html-table/table.js +3 -12
- package/lib/components/commons/components/html-table/tbody.js +3 -12
- package/lib/components/commons/components/html-table/td.js +7 -16
- package/lib/components/commons/components/html-table/th.js +6 -15
- package/lib/components/commons/components/html-table/thead.js +3 -12
- package/lib/components/commons/components/html-table/tr.js +4 -13
- package/lib/components/commons/components/is-network/index.js +0 -2
- package/lib/components/commons/components/is-network/is-network.js +8 -27
- package/lib/components/commons/components/is-network/use-online-status.js +0 -9
- package/lib/components/commons/components/label.js +5 -13
- package/lib/components/commons/components/lunatic-component.js +12 -24
- package/lib/components/commons/components/lunatic-fieldset-component.js +9 -20
- package/lib/components/commons/components/md-label/index.js +0 -2
- package/lib/components/commons/components/md-label/link.js +8 -14
- package/lib/components/commons/components/md-label/md-label.js +6 -14
- package/lib/components/commons/components/missing/index.js +0 -2
- package/lib/components/commons/components/missing/missing.js +11 -25
- package/lib/components/commons/components/nothing-to-display.js +0 -4
- package/lib/components/commons/components/orchestrated-component.js +15 -25
- package/lib/components/commons/components/variable-status/img/index.js +0 -3
- package/lib/components/commons/components/variable-status/index.js +0 -2
- package/lib/components/commons/components/variable-status/variable-status.js +18 -35
- package/lib/components/commons/create-customizable-field.js +2 -14
- package/lib/components/commons/create-row-orchestrator.js +16 -21
- package/lib/components/commons/icons/checkbox-checked.icon.js +4 -9
- package/lib/components/commons/icons/checkbox-unchecked.icon.js +4 -9
- package/lib/components/commons/icons/closed.icon.js +4 -9
- package/lib/components/commons/icons/cross.icon.js +4 -9
- package/lib/components/commons/icons/index.js +0 -11
- package/lib/components/commons/icons/load.icon.js +4 -9
- package/lib/components/commons/icons/lunatic-icon.js +1 -7
- package/lib/components/commons/icons/network.icon.js +4 -9
- package/lib/components/commons/icons/on-drag.icon.js +4 -9
- package/lib/components/commons/icons/opened.icon.js +4 -9
- package/lib/components/commons/icons/radio-checked.icon.js +4 -9
- package/lib/components/commons/icons/radio-unchecked.icon.js +4 -9
- package/lib/components/commons/index.js +0 -24
- package/lib/components/commons/prop-types/declarations.js +0 -8
- package/lib/components/commons/prop-types/index.js +0 -6
- package/lib/components/commons/prop-types/lines.js +0 -4
- package/lib/components/commons/prop-types/options.js +0 -4
- package/lib/components/commons/prop-types/response.js +0 -4
- package/lib/components/commons/prop-types/value-type.js +0 -8
- package/lib/components/commons/safety-label.js +0 -8
- package/lib/components/commons/use-document-add-event-listener.js +9 -33
- package/lib/components/commons/use-on-handle-change.js +2 -5
- package/lib/components/commons/use-options-keydown.js +1 -6
- package/lib/components/commons/use-previous.js +0 -3
- package/lib/components/components.js +8 -33
- package/lib/components/datepicker/datepicker.js +9 -17
- package/lib/components/datepicker/index.js +0 -2
- package/lib/components/datepicker/lunatic-datepicker.js +5 -15
- package/lib/components/declarations/declaration.js +2 -9
- package/lib/components/declarations/declarations-after-text.js +0 -9
- package/lib/components/declarations/declarations-before-text.js +0 -9
- package/lib/components/declarations/declarations-detachable.js +0 -9
- package/lib/components/declarations/declarations.js +8 -14
- package/lib/components/declarations/index.js +0 -8
- package/lib/components/dropdown/dropdown-simple/dropdown-simple.js +7 -14
- package/lib/components/dropdown/dropdown-simple/index.js +0 -2
- package/lib/components/dropdown/dropdown-simple/simple-label-renderer.js +3 -13
- package/lib/components/dropdown/dropdown-simple/simple-option-renderer.js +2 -9
- package/lib/components/dropdown/dropdown-writable/dropdown-writable.js +11 -31
- package/lib/components/dropdown/dropdown-writable/filter-tools/filter-options.js +1 -12
- package/lib/components/dropdown/dropdown-writable/filter-tools/letters-matching.js +0 -11
- package/lib/components/dropdown/dropdown-writable/filter-tools/match.js +0 -5
- package/lib/components/dropdown/dropdown-writable/filter-tools/prepare-prefix.js +0 -4
- package/lib/components/dropdown/dropdown-writable/index.js +0 -2
- package/lib/components/dropdown/dropdown-writable/writable-label-renderer.js +3 -13
- package/lib/components/dropdown/dropdown-writable/writable-option-renderer.js +18 -52
- package/lib/components/dropdown/dropdown.js +9 -20
- package/lib/components/dropdown/index.js +0 -2
- package/lib/components/dropdown/lunatic-dropdown.js +11 -19
- package/lib/components/filter-description/component.js +3 -6
- package/lib/components/filter-description/index.js +0 -2
- package/lib/components/index.js +0 -4
- package/lib/components/input/index.js +0 -2
- package/lib/components/input/input.js +7 -19
- package/lib/components/input/lunatic-input.js +4 -15
- package/lib/components/input-number/index.js +0 -2
- package/lib/components/input-number/input-number.js +12 -22
- package/lib/components/input-number/lunatic-input-number.js +5 -14
- package/lib/components/loop/block-for-loop/block-for-loop-ochestrator.js +0 -4
- package/lib/components/loop/block-for-loop/block-for-loop.js +38 -76
- package/lib/components/loop/block-for-loop/index.js +0 -2
- package/lib/components/loop/block-for-loop/row.js +16 -30
- package/lib/components/loop/commons/get-init-length.js +0 -3
- package/lib/components/loop/commons/handle-row-button.js +2 -7
- package/lib/components/loop/commons/index.js +0 -3
- package/lib/components/loop/commons/row-component.js +17 -38
- package/lib/components/loop/index.js +0 -2
- package/lib/components/loop/loop.js +19 -29
- package/lib/components/loop/roster-for-loop/body.js +14 -26
- package/lib/components/loop/roster-for-loop/header.js +2 -9
- package/lib/components/loop/roster-for-loop/index.js +0 -2
- package/lib/components/loop/roster-for-loop/roster-for-loop-orchestrator.js +0 -4
- package/lib/components/loop/roster-for-loop/roster-for-loop.js +29 -58
- package/lib/components/loop/roster-for-loop/roster-table.js +10 -21
- package/lib/components/loop/roster-for-loop/row.js +16 -27
- package/lib/components/modal-controls/close-or-skip.js +7 -13
- package/lib/components/modal-controls/index.js +0 -2
- package/lib/components/modal-controls/modal-container.js +1 -6
- package/lib/components/modal-controls/modal-controls.js +6 -29
- package/lib/components/modal-controls/modal-controls.scss +15 -35
- package/lib/components/{pairwise/links → pairwise-links}/index.js +0 -2
- package/lib/components/pairwise-links/orchestrator.js +72 -0
- package/lib/components/{pairwise/links → pairwise-links}/pairwise-links.js +24 -33
- package/lib/components/{pairwise/links → pairwise-links}/row.js +51 -66
- package/lib/components/radio/index.js +0 -2
- package/lib/components/radio/lunatic-radio-group.js +9 -16
- package/lib/components/radio/radio-group.js +10 -19
- package/lib/components/radio/radio-option.js +13 -23
- package/lib/components/radio/radio.scss +3 -1
- package/lib/components/sequence/index.js +0 -2
- package/lib/components/sequence/sequence.js +5 -10
- package/lib/components/subsequence/index.js +0 -2
- package/lib/components/subsequence/subsequence.js +4 -8
- package/lib/components/suggester/check-store.js +15 -54
- package/lib/components/suggester/find-best-label/find-best-label.js +2 -14
- package/lib/components/suggester/find-best-label/index.js +0 -2
- package/lib/components/suggester/idb-suggester.js +14 -34
- package/lib/components/suggester/index.js +0 -2
- package/lib/components/suggester/lunatic-suggester.js +15 -28
- package/lib/components/suggester/searching/create-searching.js +5 -18
- package/lib/components/suggester/searching/index.js +0 -2
- package/lib/components/suggester/suggester.js +22 -56
- package/lib/components/suggester-loader-widget/index.js +0 -2
- package/lib/components/suggester-loader-widget/loader-row.js +13 -40
- package/lib/components/suggester-loader-widget/loader.js +15 -56
- package/lib/components/suggester-loader-widget/progress.js +6 -13
- package/lib/components/suggester-loader-widget/tools/action-tool.js +5 -12
- package/lib/components/suggester-loader-widget/tools/index.js +0 -3
- package/lib/components/suggester-loader-widget/tools/tools.js +0 -4
- package/lib/components/suggester-loader-widget/widget-container.js +2 -11
- package/lib/components/suggester-loader-widget/widget.js +24 -54
- package/lib/components/switch/index.js +0 -2
- package/lib/components/switch/lunatic-switch.js +5 -17
- package/lib/components/switch/switch.js +7 -21
- package/lib/components/table/cell.js +14 -39
- package/lib/components/table/components/cell.js +14 -39
- package/lib/components/table/components/header.js +4 -11
- package/lib/components/table/components/row.js +7 -13
- package/lib/components/table/components/table.js +3 -10
- package/lib/components/table/index.js +0 -2
- package/lib/components/table/lunatic-table.js +17 -34
- package/lib/components/table/table-orchestrator.js +12 -20
- package/lib/components/textarea/index.js +0 -2
- package/lib/components/textarea/lunatic-textarea.js +4 -15
- package/lib/components/textarea/textarea.js +8 -20
- package/lib/constants/declarations.js +3 -1
- package/lib/constants/event-types.js +2 -1
- package/lib/constants/index.js +0 -10
- package/lib/constants/supported-preferences.js +0 -5
- package/lib/constants/variable-types.js +2 -2
- package/lib/i18n/build-dictionary.js +5 -11
- package/lib/i18n/dictionary.js +8 -0
- package/lib/i18n/index.js +0 -6
- package/lib/index.js +0 -4
- package/lib/stories/{pairwise/block/pairwise-block.stories.js → checkboxBoolean/checkboxBoolean.stories.js} +6 -15
- package/lib/stories/checkboxBoolean/source.json +36 -0
- package/lib/stories/checkboxOne/checkboxOne.stories.js +0 -8
- package/lib/stories/custom-mui/checkbox-boolean-mui.js +4 -12
- package/lib/stories/custom-mui/checkbox-group-mui.js +9 -23
- package/lib/stories/custom-mui/checkbox-one-mui.js +0 -4
- package/lib/stories/custom-mui/index.js +0 -16
- package/lib/stories/custom-mui/input-mui.js +7 -17
- package/lib/stories/custom-mui/input-number-mui.js +7 -15
- package/lib/stories/custom-mui/radio-mui.js +7 -23
- package/lib/stories/custom-mui/suggester-mui/index.js +0 -2
- package/lib/stories/custom-mui/suggester-mui/suggester-mui.js +55 -93
- package/lib/stories/custom-mui/switch-mui.js +5 -15
- package/lib/stories/custom-mui/table-mui.js +2 -10
- package/lib/stories/custom-mui/tbody-mui.js +2 -8
- package/lib/stories/custom-mui/td-mui.js +4 -10
- package/lib/stories/custom-mui/textarea-mui.js +7 -16
- package/lib/stories/custom-mui/th-mui.js +3 -9
- package/lib/stories/custom-mui/thead-mui.js +2 -8
- package/lib/stories/custom-mui/tr-mui.js +3 -10
- package/lib/stories/date-picker/datepicker.stories.js +3 -10
- package/lib/stories/date-picker/source.json +2 -51
- package/lib/stories/dropdown/dropdown.stories.js +4 -10
- package/lib/stories/filter-description/filter-description.stories.js +4 -13
- package/lib/stories/input/input.stories.js +0 -9
- package/lib/stories/input-number/input-number.stories.js +0 -9
- package/lib/stories/pairwise/data.json +12 -0
- package/lib/stories/pairwise/links.json +270 -0
- package/lib/stories/pairwise/{links/pairwise-links.stories.js → pairwise-links.stories.js} +3 -12
- package/lib/stories/paste-questionnaire/test.stories.js +4 -12
- package/lib/stories/questionnaires/logement/data.json +6 -11
- package/lib/stories/questionnaires/logement/logement.stories.js +4 -15
- package/lib/stories/questionnaires/recensement/data.json +12 -0
- package/lib/stories/questionnaires/recensement/recensement.stories.js +58 -0
- package/lib/stories/questionnaires/recensement/source.json +15202 -0
- package/lib/stories/questionnaires/rp/data.json +5 -0
- package/lib/stories/questionnaires/rp/rp.stories.js +36 -0
- package/lib/stories/questionnaires/rp/source.json +262 -0
- package/lib/stories/questionnaires/simpsons/simpsons.stories.js +4 -12
- package/lib/stories/questionnaires-test/controls/V2_Controles_BouclesLiees_PasPageFin.json +13 -52
- package/lib/stories/questionnaires-test/controls/boucles-n.json +74 -444
- package/lib/stories/questionnaires-test/controls/controls.stories.js +12 -24
- package/lib/stories/questionnaires-test/test.stories.js +4 -16
- package/lib/stories/radio/radio.stories.js +0 -8
- package/lib/stories/roster-for-loop/roster-for-loop.stories.js +8 -9
- package/lib/stories/roster-for-loop/source-with-header.json +127 -0
- package/lib/stories/suggester/suggester-workers.stories.js +201 -0
- package/lib/stories/suggester/suggester.stories.js +0 -10
- package/lib/stories/switch/SwitchMaterialUI.js +5 -15
- package/lib/stories/switch/switch.js +4 -27
- package/lib/stories/table/table-dynamique.json +67 -0
- package/lib/stories/table/table.stories.js +8 -16
- package/lib/stories/utils/default-arg-types.js +4 -5
- package/lib/stories/utils/orchestrator.js +61 -84
- package/lib/stories/utils/waiting/index.js +0 -2
- package/lib/stories/utils/waiting/waiting.js +1 -11
- package/lib/use-lunatic/actions.js +8 -20
- package/lib/use-lunatic/commons/calculated-variables.js +20 -44
- package/lib/use-lunatic/commons/check-loops.js +14 -38
- package/lib/use-lunatic/commons/compose.js +0 -4
- package/lib/use-lunatic/commons/create-map-pages.js +6 -27
- package/lib/use-lunatic/commons/execute-condition-filter.js +0 -7
- package/lib/use-lunatic/commons/execute-expression/create-execute-expression.js +64 -107
- package/lib/use-lunatic/commons/execute-expression/create-memoizer.js +7 -28
- package/lib/use-lunatic/commons/execute-expression/create-refresh-calculated.js +23 -45
- package/lib/use-lunatic/commons/execute-expression/execute-expression.js +10 -41
- package/lib/use-lunatic/commons/execute-expression/get-expressions-variables.js +2 -16
- package/lib/use-lunatic/commons/execute-expression/get-safety-expression.js +5 -12
- package/lib/use-lunatic/commons/execute-expression/index.js +0 -2
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +20 -46
- package/lib/use-lunatic/commons/fill-components/fill-component-value.js +4 -8
- package/lib/use-lunatic/commons/fill-components/fill-components.js +0 -13
- package/lib/use-lunatic/commons/fill-components/fill-errors.js +4 -8
- package/lib/use-lunatic/commons/fill-components/fill-from-state.js +6 -8
- package/lib/use-lunatic/commons/fill-components/fill-management.js +4 -8
- package/lib/use-lunatic/commons/fill-components/fill-missing-response.js +5 -10
- package/lib/use-lunatic/commons/fill-components/fill-pagination.js +4 -6
- package/lib/use-lunatic/commons/fill-components/index.js +0 -2
- package/lib/use-lunatic/commons/get-compatible-vtl-expression.js +0 -7
- package/lib/use-lunatic/commons/get-component-value/get-component-value.js +26 -66
- package/lib/use-lunatic/commons/get-component-value/index.js +0 -2
- package/lib/use-lunatic/commons/get-components-from-state.js +10 -14
- package/lib/use-lunatic/commons/get-data.js +16 -31
- package/lib/use-lunatic/commons/get-errors-without-empty-value.js +22 -0
- package/lib/use-lunatic/commons/index.js +7 -13
- package/lib/use-lunatic/commons/is-First-last-page.js +1 -3
- package/lib/use-lunatic/commons/is-paginated-loop.js +1 -3
- package/lib/use-lunatic/commons/load-suggesters.js +9 -54
- package/lib/use-lunatic/commons/page-tag.js +15 -34
- package/lib/use-lunatic/commons/use-components-from-state.js +12 -20
- package/lib/use-lunatic/index.js +0 -2
- package/lib/use-lunatic/initial-state.js +1 -3
- package/lib/use-lunatic/reducer/commons/index.js +0 -5
- package/lib/use-lunatic/reducer/commons/is-empty-on-empty-page.js +1 -15
- package/lib/use-lunatic/reducer/commons/resize-array-variable.js +2 -12
- package/lib/use-lunatic/reducer/commons/validate-condition-filter.js +4 -16
- package/lib/use-lunatic/reducer/index.js +0 -2
- package/lib/use-lunatic/reducer/reduce-go-next-page.js +37 -65
- package/lib/use-lunatic/reducer/reduce-go-previous-page.js +31 -50
- package/lib/use-lunatic/reducer/reduce-go-to-page.js +10 -20
- package/lib/use-lunatic/reducer/reduce-handle-change/index.js +0 -2
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-cleaning.js +13 -29
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-handle-change.js +34 -40
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-links-variable.js +58 -30
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-missing.js +13 -33
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-resizing.js +24 -43
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-variables-array.js +11 -20
- package/lib/use-lunatic/reducer/reduce-handle-change/reduce-variables-simple.js +5 -9
- package/lib/use-lunatic/reducer/reduce-on-init.js +69 -104
- package/lib/use-lunatic/reducer/reduce-on-set-waiting.js +4 -6
- package/lib/use-lunatic/reducer/reducer.js +0 -20
- package/lib/use-lunatic/reducer/validate-controls/create-controls-reducer.js +28 -27
- package/lib/use-lunatic/reducer/validate-controls/create-modal-controls-reducer.js +22 -26
- package/lib/use-lunatic/reducer/validate-controls/index.js +0 -3
- package/lib/use-lunatic/reducer/validate-controls/validation-utils.js +11 -22
- package/lib/use-lunatic/use-lunatic.js +61 -106
- package/lib/utils/constants/index.js +0 -10
- package/lib/utils/idb-tools/clear-store.js +1 -11
- package/lib/utils/idb-tools/create-db-opener.js +6 -19
- package/lib/utils/idb-tools/create-open-db.js +1 -7
- package/lib/utils/idb-tools/get-entity.js +0 -4
- package/lib/utils/idb-tools/get-idb.js +0 -2
- package/lib/utils/idb-tools/idb-bulk-insert.js +15 -38
- package/lib/utils/idb-tools/index.js +0 -11
- package/lib/utils/idb-tools/insert-entity.js +0 -4
- package/lib/utils/idb-tools/open-db.js +1 -6
- package/lib/utils/idb-tools/open-or-create-db.js +3 -10
- package/lib/utils/is-element.js +0 -2
- package/lib/utils/store-tools/auto-load.js +10 -51
- package/lib/utils/store-tools/clear-store-data.js +1 -12
- package/lib/utils/store-tools/clear-store-info.js +1 -12
- package/lib/utils/store-tools/create/create.js +1 -18
- package/lib/utils/store-tools/create/index.js +0 -3
- package/lib/utils/store-tools/create/update-store-info.js +0 -6
- package/lib/utils/store-tools/get-store-count.js +0 -5
- package/lib/utils/store-tools/index.js +0 -12
- package/lib/utils/store-tools/open-or-create-store.js +1 -11
- package/lib/utils/store-tools/use-store-index.js +5 -27
- package/lib/utils/suggester-workers/append-to-index/append.js +7 -23
- package/lib/utils/suggester-workers/append-to-index/append.worker.js +6 -10
- package/lib/utils/suggester-workers/append-to-index/create-append-task.js +3 -11
- package/lib/utils/suggester-workers/append-to-index/index.js +0 -3
- package/lib/utils/suggester-workers/append-to-index/prepare-entities.js +10 -36
- package/lib/utils/suggester-workers/append-to-index/store-messages.js +4 -7
- package/lib/utils/suggester-workers/commons-tokenizer/create-entity-tokenizer.js +9 -19
- package/lib/utils/suggester-workers/commons-tokenizer/create-fields-tokenizer.js +16 -42
- package/lib/utils/suggester-workers/commons-tokenizer/create-filter-stop-words.js +4 -15
- package/lib/utils/suggester-workers/commons-tokenizer/filters/compose-filters.js +0 -3
- package/lib/utils/suggester-workers/commons-tokenizer/filters/create-filter-stop-words.js +4 -15
- package/lib/utils/suggester-workers/commons-tokenizer/filters/create-filter-stop-words.spec.js +0 -2
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-accents.js +0 -5
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-accents.spec.js +0 -2
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-double.js +0 -9
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-double.spec.js +0 -2
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-length.js +1 -3
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-length.spec.js +0 -2
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-stemmer.js +3 -9
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-stemmer.spec.js +0 -2
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.js +4 -22
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.spec.js +2 -3
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-to-lower.js +0 -3
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-to-lower.spec.js +0 -2
- package/lib/utils/suggester-workers/commons-tokenizer/filters/index.js +0 -3
- package/lib/utils/suggester-workers/commons-tokenizer/get-regexp-from-pattern.js +0 -3
- package/lib/utils/suggester-workers/commons-tokenizer/get-stemmer.js +0 -8
- package/lib/utils/suggester-workers/commons-tokenizer/index.js +0 -10
- package/lib/utils/suggester-workers/commons-tokenizer/prepare-string-indexation.js +0 -6
- package/lib/utils/suggester-workers/commons-tokenizer/soft-tokenizer.js +0 -3
- package/lib/utils/suggester-workers/create-worker.js +1 -11
- package/lib/utils/suggester-workers/find-best-label/find-best-label.js +10 -28
- package/lib/utils/suggester-workers/find-best-label/find-best-label.worker.js +9 -23
- package/lib/utils/suggester-workers/find-best-label/tokenize.js +6 -23
- package/lib/utils/suggester-workers/find-best-label/tokenize.spec.js +0 -2
- package/lib/utils/suggester-workers/searching/compute-score.js +4 -16
- package/lib/utils/suggester-workers/searching/get-db.js +1 -15
- package/lib/utils/suggester-workers/searching/index.js +0 -2
- package/lib/utils/suggester-workers/searching/order/create-alphanumeric-orderer.js +0 -5
- package/lib/utils/suggester-workers/searching/order/index.js +0 -8
- package/lib/utils/suggester-workers/searching/query-parser/index.js +0 -3
- package/lib/utils/suggester-workers/searching/query-parser/query-parser-soft.js +0 -3
- package/lib/utils/suggester-workers/searching/query-parser/query-parser-soft.spec.js +0 -2
- package/lib/utils/suggester-workers/searching/query-parser/query-parser-tokenized.js +4 -20
- package/lib/utils/suggester-workers/searching/resolve-query-parser.js +1 -15
- package/lib/utils/suggester-workers/searching/search-in-index.js +0 -3
- package/lib/utils/suggester-workers/searching/searching.js +6 -41
- package/lib/utils/suggester-workers/searching/searching.worker.js +4 -7
- package/lib/utils/vtl/dataset-builder.js +0 -4
- package/lib/utils/vtl/index.js +0 -2
- package/package.json +7 -4
- package/lib/components/checkbox/checkbox-group/checkbox-option.js +0 -57
- package/lib/components/checkbox/checkbox.scss +0 -1
- package/lib/components/pairwise/block/index.js +0 -15
- package/lib/components/pairwise/block/pairwise-block.js +0 -17
- package/lib/components/pairwise/index.js +0 -23
- package/lib/components/pairwise/links/links-orchestrator.js +0 -16
- package/lib/stories/pairwise/block/block.json +0 -3
- package/lib/stories/pairwise/links/data.json +0 -12
- package/lib/stories/pairwise/links/links.json +0 -141
|
@@ -12,39 +12,6 @@
|
|
|
12
12
|
},
|
|
13
13
|
"name": "COMMENT_QE"
|
|
14
14
|
},
|
|
15
|
-
{
|
|
16
|
-
"variableType": "COLLECTED",
|
|
17
|
-
"values": {
|
|
18
|
-
"COLLECTED": null,
|
|
19
|
-
"EDITED": null,
|
|
20
|
-
"INPUTED": null,
|
|
21
|
-
"FORCED": null,
|
|
22
|
-
"PREVIOUS": null
|
|
23
|
-
},
|
|
24
|
-
"name": "Q1"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"variableType": "COLLECTED",
|
|
28
|
-
"values": {
|
|
29
|
-
"COLLECTED": [null],
|
|
30
|
-
"EDITED": [null],
|
|
31
|
-
"INPUTED": [null],
|
|
32
|
-
"FORCED": [null],
|
|
33
|
-
"PREVIOUS": [null]
|
|
34
|
-
},
|
|
35
|
-
"name": "Q2"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"variableType": "COLLECTED",
|
|
39
|
-
"values": {
|
|
40
|
-
"COLLECTED": [null],
|
|
41
|
-
"EDITED": [null],
|
|
42
|
-
"INPUTED": [null],
|
|
43
|
-
"FORCED": [null],
|
|
44
|
-
"PREVIOUS": [null]
|
|
45
|
-
},
|
|
46
|
-
"name": "Q3"
|
|
47
|
-
},
|
|
48
15
|
{
|
|
49
16
|
"variableType": "COLLECTED",
|
|
50
17
|
"values": {
|
|
@@ -54,52 +21,14 @@
|
|
|
54
21
|
"FORCED": [null],
|
|
55
22
|
"PREVIOUS": [null]
|
|
56
23
|
},
|
|
57
|
-
"name": "
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"variableType": "COLLECTED",
|
|
61
|
-
"values": {
|
|
62
|
-
"COLLECTED": [null],
|
|
63
|
-
"EDITED": [null],
|
|
64
|
-
"INPUTED": [null],
|
|
65
|
-
"FORCED": [null],
|
|
66
|
-
"PREVIOUS": [null]
|
|
67
|
-
},
|
|
68
|
-
"name": "Q5"
|
|
24
|
+
"name": "Q1"
|
|
69
25
|
},
|
|
70
26
|
{
|
|
71
27
|
"variableType": "CALCULATED",
|
|
72
28
|
"expression": { "type": "VTL", "value": "true" },
|
|
73
29
|
"name": "FILTER_RESULT_Q1",
|
|
74
|
-
"inFilter": "false"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"variableType": "CALCULATED",
|
|
78
|
-
"expression": { "type": "VTL", "value": "true" },
|
|
79
|
-
"name": "FILTER_RESULT_Q2",
|
|
80
|
-
"inFilter": "false",
|
|
81
|
-
"shapeFrom": "Q2"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"variableType": "CALCULATED",
|
|
85
|
-
"expression": { "type": "VTL", "value": "true" },
|
|
86
|
-
"name": "FILTER_RESULT_Q3",
|
|
87
|
-
"inFilter": "false",
|
|
88
|
-
"shapeFrom": "Q3"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"variableType": "CALCULATED",
|
|
92
|
-
"expression": { "type": "VTL", "value": "true" },
|
|
93
|
-
"name": "FILTER_RESULT_Q4",
|
|
94
|
-
"inFilter": "false",
|
|
95
|
-
"shapeFrom": "Q3"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"variableType": "CALCULATED",
|
|
99
|
-
"expression": { "type": "VTL", "value": "true" },
|
|
100
|
-
"name": "FILTER_RESULT_Q5",
|
|
101
30
|
"inFilter": "false",
|
|
102
|
-
"shapeFrom": "
|
|
31
|
+
"shapeFrom": "Q1"
|
|
103
32
|
}
|
|
104
33
|
],
|
|
105
34
|
"components": [
|
|
@@ -107,429 +36,135 @@
|
|
|
107
36
|
"componentType": "Sequence",
|
|
108
37
|
"hierarchy": {
|
|
109
38
|
"sequence": {
|
|
110
|
-
"id": "
|
|
39
|
+
"id": "kanya0cm",
|
|
111
40
|
"page": "1",
|
|
112
|
-
"label": {
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
116
|
-
"id": "kfxmfvwj",
|
|
117
|
-
"page": "1",
|
|
118
|
-
"label": { "type": "VTL|MD", "value": "\"I - \" || \"S1\"" }
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"componentType": "InputNumber",
|
|
122
|
-
"controls": [
|
|
123
|
-
{
|
|
124
|
-
"criticality": "ERROR",
|
|
125
|
-
"errorMessage": {
|
|
126
|
-
"type": "VTL|MD",
|
|
127
|
-
"value": "\"Vous devez saisir un nombre.\""
|
|
128
|
-
},
|
|
129
|
-
"typeOfControl": "FORMAT",
|
|
130
|
-
"control": {
|
|
131
|
-
"type": "VTL",
|
|
132
|
-
"value": "not(not(isnull(Q1)) and not(isNaN(Q1)))"
|
|
133
|
-
},
|
|
134
|
-
"id": "l14vfucm-formatNumber"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"criticality": "ERROR",
|
|
138
|
-
"errorMessage": {
|
|
139
|
-
"type": "VTL|MD",
|
|
140
|
-
"value": "\" La valeur doit être comprise entre 1 et 5.\""
|
|
141
|
-
},
|
|
142
|
-
"typeOfControl": "FORMAT",
|
|
143
|
-
"control": {
|
|
144
|
-
"type": "VTL",
|
|
145
|
-
"value": "not(not(isnull(Q1)) and (1>Q1 or 5<Q1)))"
|
|
146
|
-
},
|
|
147
|
-
"id": "l14vfucm-formatBorneInfSup"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"criticality": "ERROR",
|
|
151
|
-
"errorMessage": {
|
|
41
|
+
"label": {
|
|
152
42
|
"type": "VTL|MD",
|
|
153
|
-
"value": "\"
|
|
154
|
-
}
|
|
155
|
-
"typeOfControl": "FORMAT",
|
|
156
|
-
"control": {
|
|
157
|
-
"type": "VTL",
|
|
158
|
-
"value": "not(not(isnull(Q1)) and trunc(Q1,0)<>Q1)"
|
|
159
|
-
},
|
|
160
|
-
"id": "l14vfucm-formatDec"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"bindingDependencies": ["Q1"],
|
|
164
|
-
"criticality": "WARN",
|
|
165
|
-
"errorMessage": { "type": "VTL|MD", "value": "\"Supérieur à 3\"" },
|
|
166
|
-
"typeOfControl": "CONSISTENCY",
|
|
167
|
-
"control": { "type": "VTL", "value": "not(nvl(Q1,1) > 3)" },
|
|
168
|
-
"id": "l14vfucm-CI-0"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"max": 5,
|
|
172
|
-
"hierarchy": {
|
|
173
|
-
"sequence": {
|
|
174
|
-
"id": "kfxmfvwj",
|
|
175
|
-
"page": "1",
|
|
176
|
-
"label": { "type": "VTL|MD", "value": "\"I - \" || \"S1\"" }
|
|
43
|
+
"value": "\"I - \" || \"Boucle Taille fixe\""
|
|
44
|
+
}
|
|
177
45
|
}
|
|
178
46
|
},
|
|
179
47
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
48
|
+
"id": "kanya0cm",
|
|
49
|
+
"page": "1",
|
|
180
50
|
"label": {
|
|
181
51
|
"type": "VTL|MD",
|
|
182
|
-
"value": "\"
|
|
183
|
-
},
|
|
184
|
-
"mandatory": false,
|
|
185
|
-
"declarations": [
|
|
186
|
-
{
|
|
187
|
-
"declarationType": "HELP",
|
|
188
|
-
"id": "l14vfucm-l5qoq4pp",
|
|
189
|
-
"label": { "type": "VTL|MD", "value": "\"Controle si > 3\"" },
|
|
190
|
-
"position": "AFTER_QUESTION_TEXT"
|
|
191
|
-
}
|
|
192
|
-
],
|
|
193
|
-
"bindingDependencies": ["Q1"],
|
|
194
|
-
"min": 1,
|
|
195
|
-
"response": { "name": "Q1" },
|
|
196
|
-
"decimals": 0,
|
|
197
|
-
"id": "l14vfucm",
|
|
198
|
-
"page": "2"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"componentType": "Sequence",
|
|
202
|
-
"hierarchy": {
|
|
203
|
-
"sequence": {
|
|
204
|
-
"id": "l5gh9umu",
|
|
205
|
-
"page": "3",
|
|
206
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
210
|
-
"id": "l5gh9umu",
|
|
211
|
-
"page": "3",
|
|
212
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"paginatedLoop": false,
|
|
216
|
-
"componentType": "Loop",
|
|
217
|
-
"loopDependencies": ["Q1"],
|
|
218
|
-
"components": [
|
|
219
|
-
{
|
|
220
|
-
"componentType": "Subsequence",
|
|
221
|
-
"bindingDependencies": ["Q1"],
|
|
222
|
-
"goToPage": "4",
|
|
223
|
-
"hierarchy": {
|
|
224
|
-
"sequence": {
|
|
225
|
-
"id": "l5gh9umu",
|
|
226
|
-
"page": "3",
|
|
227
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
228
|
-
},
|
|
229
|
-
"subSequence": {
|
|
230
|
-
"id": "l7svg7al",
|
|
231
|
-
"page": "4",
|
|
232
|
-
"label": { "type": "VTL|MD", "value": "SS2" }
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
236
|
-
"id": "l7svg7al",
|
|
237
|
-
"page": "4",
|
|
238
|
-
"label": { "type": "VTL|MD", "value": "SS2" }
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"componentType": "Input",
|
|
242
|
-
"bindingDependencies": ["Q2", "Q1"],
|
|
243
|
-
"response": { "name": "Q2" },
|
|
244
|
-
"hierarchy": {
|
|
245
|
-
"sequence": {
|
|
246
|
-
"id": "l5gh9umu",
|
|
247
|
-
"page": "3",
|
|
248
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
249
|
-
},
|
|
250
|
-
"subSequence": {
|
|
251
|
-
"id": "l7svg7al",
|
|
252
|
-
"page": "4",
|
|
253
|
-
"label": { "type": "VTL|MD", "value": "SS2" }
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
257
|
-
"id": "l5gh84ov",
|
|
258
|
-
"page": "4",
|
|
259
|
-
"label": { "type": "VTL|MD", "value": "\"➡ 2. \" || \"prenom\"" },
|
|
260
|
-
"mandatory": false,
|
|
261
|
-
"maxLength": 249
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"bindingDependencies": ["Q1", "Q2"],
|
|
265
|
-
"depth": 1,
|
|
266
|
-
"hierarchy": {
|
|
267
|
-
"sequence": {
|
|
268
|
-
"id": "l5gh9umu",
|
|
269
|
-
"page": "3",
|
|
270
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
274
|
-
"id": "l5gh45ic",
|
|
275
|
-
"page": "4",
|
|
276
|
-
"lines": {
|
|
277
|
-
"min": { "type": "VTL", "value": "nvl(Q1,1)" },
|
|
278
|
-
"max": { "type": "VTL", "value": "nvl(Q1,1)" }
|
|
52
|
+
"value": "\"I - \" || \"Boucle Taille fixe\""
|
|
279
53
|
}
|
|
280
54
|
},
|
|
281
55
|
{
|
|
282
|
-
"paginatedLoop":
|
|
56
|
+
"paginatedLoop": false,
|
|
283
57
|
"componentType": "Loop",
|
|
284
|
-
"loopDependencies": ["Q2"],
|
|
285
58
|
"components": [
|
|
286
59
|
{
|
|
287
60
|
"componentType": "Subsequence",
|
|
288
|
-
"
|
|
289
|
-
"goToPage": "5.1",
|
|
61
|
+
"goToPage": "2",
|
|
290
62
|
"hierarchy": {
|
|
291
63
|
"sequence": {
|
|
292
|
-
"id": "
|
|
293
|
-
"page": "
|
|
294
|
-
"label": {
|
|
295
|
-
},
|
|
296
|
-
"subSequence": {
|
|
297
|
-
"id": "l7svbzu7",
|
|
298
|
-
"page": "5.1",
|
|
299
|
-
"label": { "type": "VTL|MD", "value": "SS3" }
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
303
|
-
"id": "l7svbzu7",
|
|
304
|
-
"label": { "type": "VTL|MD", "value": "SS3" }
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"componentType": "InputNumber",
|
|
308
|
-
"controls": [
|
|
309
|
-
{
|
|
310
|
-
"criticality": "ERROR",
|
|
311
|
-
"errorMessage": {
|
|
312
|
-
"type": "VTL|MD",
|
|
313
|
-
"value": "\"Vous devez saisir un nombre.\""
|
|
314
|
-
},
|
|
315
|
-
"typeOfControl": "FORMAT",
|
|
316
|
-
"control": {
|
|
317
|
-
"type": "VTL",
|
|
318
|
-
"value": "not(not(isnull(Q3)) and not(isNaN(Q3)))"
|
|
319
|
-
},
|
|
320
|
-
"id": "l5ggvqgj-formatNumber"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"criticality": "ERROR",
|
|
324
|
-
"errorMessage": {
|
|
325
|
-
"type": "VTL|MD",
|
|
326
|
-
"value": "\" La valeur doit être comprise entre 0 et 20.\""
|
|
327
|
-
},
|
|
328
|
-
"typeOfControl": "FORMAT",
|
|
329
|
-
"control": {
|
|
330
|
-
"type": "VTL",
|
|
331
|
-
"value": "not(not(isnull(Q3)) and (0>Q3 or 20<Q3)))"
|
|
332
|
-
},
|
|
333
|
-
"id": "l5ggvqgj-formatBorneInfSup"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"criticality": "ERROR",
|
|
337
|
-
"errorMessage": {
|
|
64
|
+
"id": "kanya0cm",
|
|
65
|
+
"page": "1",
|
|
66
|
+
"label": {
|
|
338
67
|
"type": "VTL|MD",
|
|
339
|
-
"value": "\"
|
|
340
|
-
}
|
|
341
|
-
"typeOfControl": "FORMAT",
|
|
342
|
-
"control": {
|
|
343
|
-
"type": "VTL",
|
|
344
|
-
"value": "not(not(isnull(Q3)) and trunc(Q3,0)<>Q3)"
|
|
345
|
-
},
|
|
346
|
-
"id": "l5ggvqgj-formatDec"
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"max": 20,
|
|
350
|
-
"hierarchy": {
|
|
351
|
-
"sequence": {
|
|
352
|
-
"id": "l5gh9umu",
|
|
353
|
-
"page": "3",
|
|
354
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
68
|
+
"value": "\"I - \" || \"Boucle Taille fixe\""
|
|
69
|
+
}
|
|
355
70
|
},
|
|
356
71
|
"subSequence": {
|
|
357
|
-
"id": "
|
|
358
|
-
"page": "
|
|
359
|
-
"label": { "type": "VTL|MD", "value": "
|
|
72
|
+
"id": "l7qast3a",
|
|
73
|
+
"page": "2",
|
|
74
|
+
"label": { "type": "VTL|MD", "value": "SS1" }
|
|
360
75
|
}
|
|
361
76
|
},
|
|
362
77
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
363
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
},
|
|
367
|
-
"mandatory": false,
|
|
368
|
-
"bindingDependencies": ["Q3", "Q2"],
|
|
369
|
-
"min": 0,
|
|
370
|
-
"response": { "name": "Q3" },
|
|
371
|
-
"decimals": 0,
|
|
372
|
-
"id": "l5ggvqgj",
|
|
373
|
-
"page": "5.1"
|
|
78
|
+
"id": "l7qast3a",
|
|
79
|
+
"page": "2",
|
|
80
|
+
"label": { "type": "VTL|MD", "value": "SS1" }
|
|
374
81
|
},
|
|
375
82
|
{
|
|
376
|
-
"componentType": "
|
|
83
|
+
"componentType": "Input",
|
|
84
|
+
"bindingDependencies": ["Q1"],
|
|
377
85
|
"controls": [
|
|
378
86
|
{
|
|
379
|
-
"
|
|
380
|
-
"errorMessage": {
|
|
381
|
-
"type": "VTL|MD",
|
|
382
|
-
"value": "\"Vous devez saisir un nombre.\""
|
|
383
|
-
},
|
|
384
|
-
"typeOfControl": "FORMAT",
|
|
385
|
-
"control": {
|
|
386
|
-
"type": "VTL",
|
|
387
|
-
"value": "not(not(isnull(Q4)) and not(isNaN(Q4)))"
|
|
388
|
-
},
|
|
389
|
-
"id": "l5ggzuuo-formatNumber"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"criticality": "ERROR",
|
|
393
|
-
"errorMessage": {
|
|
394
|
-
"type": "VTL|MD",
|
|
395
|
-
"value": "\" La valeur doit être comprise entre 0 et 20.\""
|
|
396
|
-
},
|
|
397
|
-
"typeOfControl": "FORMAT",
|
|
398
|
-
"control": {
|
|
399
|
-
"type": "VTL",
|
|
400
|
-
"value": "not(not(isnull(Q4)) and (0>Q4 or 20<Q4)))"
|
|
401
|
-
},
|
|
402
|
-
"id": "l5ggzuuo-formatBorneInfSup"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"criticality": "ERROR",
|
|
406
|
-
"errorMessage": {
|
|
407
|
-
"type": "VTL|MD",
|
|
408
|
-
"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
|
|
409
|
-
},
|
|
410
|
-
"typeOfControl": "FORMAT",
|
|
411
|
-
"control": {
|
|
412
|
-
"type": "VTL",
|
|
413
|
-
"value": "not(not(isnull(Q4)) and trunc(Q4,0)<>Q4)"
|
|
414
|
-
},
|
|
415
|
-
"id": "l5ggzuuo-formatDec"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"bindingDependencies": ["Q3", "Q4"],
|
|
87
|
+
"bindingDependencies": ["Q1"],
|
|
419
88
|
"criticality": "WARN",
|
|
420
|
-
"errorMessage": { "type": "VTL|MD", "value": "\"
|
|
89
|
+
"errorMessage": { "type": "VTL|MD", "value": "\"Q1 est vide\"" },
|
|
421
90
|
"typeOfControl": "CONSISTENCY",
|
|
422
91
|
"control": {
|
|
423
92
|
"type": "VTL",
|
|
424
|
-
"value": "not(
|
|
93
|
+
"value": "not(isnull(Q1) or Q1=\"\")"
|
|
425
94
|
},
|
|
426
|
-
"id": "
|
|
95
|
+
"id": "kanz18h6-CI-0"
|
|
427
96
|
}
|
|
428
97
|
],
|
|
429
|
-
"
|
|
98
|
+
"response": { "name": "Q1" },
|
|
430
99
|
"hierarchy": {
|
|
431
100
|
"sequence": {
|
|
432
|
-
"id": "
|
|
433
|
-
"page": "
|
|
434
|
-
"label": {
|
|
101
|
+
"id": "kanya0cm",
|
|
102
|
+
"page": "1",
|
|
103
|
+
"label": {
|
|
104
|
+
"type": "VTL|MD",
|
|
105
|
+
"value": "\"I - \" || \"Boucle Taille fixe\""
|
|
106
|
+
}
|
|
435
107
|
},
|
|
436
108
|
"subSequence": {
|
|
437
|
-
"id": "
|
|
438
|
-
"page": "
|
|
439
|
-
"label": { "type": "VTL|MD", "value": "
|
|
109
|
+
"id": "l7qast3a",
|
|
110
|
+
"page": "2",
|
|
111
|
+
"label": { "type": "VTL|MD", "value": "SS1" }
|
|
440
112
|
}
|
|
441
113
|
},
|
|
442
114
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
115
|
+
"id": "kanz18h6",
|
|
116
|
+
"page": "2",
|
|
443
117
|
"label": {
|
|
444
118
|
"type": "VTL|MD",
|
|
445
|
-
"value": "\"➡
|
|
119
|
+
"value": "\"➡ 1. \" || \"\"question 1 : Q1\" \""
|
|
446
120
|
},
|
|
447
121
|
"mandatory": false,
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"response": { "name": "Q4" },
|
|
451
|
-
"decimals": 0,
|
|
452
|
-
"id": "l5ggzuuo",
|
|
453
|
-
"page": "5.2"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"componentType": "Input",
|
|
457
|
-
"bindingDependencies": ["Q5", "Q2"],
|
|
458
|
-
"controls": [
|
|
122
|
+
"maxLength": 5,
|
|
123
|
+
"declarations": [
|
|
459
124
|
{
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
],
|
|
468
|
-
"response": { "name": "Q5" },
|
|
469
|
-
"hierarchy": {
|
|
470
|
-
"sequence": {
|
|
471
|
-
"id": "l5gh9umu",
|
|
472
|
-
"page": "3",
|
|
473
|
-
"label": { "type": "VTL|MD", "value": "\"II - \" || \"S2\"" }
|
|
474
|
-
},
|
|
475
|
-
"subSequence": {
|
|
476
|
-
"id": "l7svbzu7",
|
|
477
|
-
"page": "5.1",
|
|
478
|
-
"label": { "type": "VTL|MD", "value": "SS3" }
|
|
125
|
+
"declarationType": "HELP",
|
|
126
|
+
"id": "kanz18h6-l8abm1g3",
|
|
127
|
+
"label": {
|
|
128
|
+
"type": "VTL|MD",
|
|
129
|
+
"value": "\"affichage question Q1\""
|
|
130
|
+
},
|
|
131
|
+
"position": "AFTER_QUESTION_TEXT"
|
|
479
132
|
}
|
|
480
|
-
|
|
481
|
-
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
482
|
-
"id": "l5ghsjv2",
|
|
483
|
-
"page": "5.3",
|
|
484
|
-
"label": {
|
|
485
|
-
"type": "VTL|MD",
|
|
486
|
-
"value": "\"➡ 5. \" || \"Q5 controle sur vide\""
|
|
487
|
-
},
|
|
488
|
-
"mandatory": false,
|
|
489
|
-
"maxLength": 249
|
|
133
|
+
]
|
|
490
134
|
}
|
|
491
135
|
],
|
|
492
|
-
"bindingDependencies": ["
|
|
136
|
+
"bindingDependencies": ["Q1"],
|
|
493
137
|
"depth": 1,
|
|
494
138
|
"hierarchy": {
|
|
495
139
|
"sequence": {
|
|
496
|
-
"id": "
|
|
497
|
-
"page": "
|
|
498
|
-
"label": {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
"id": "l5gh8yro",
|
|
503
|
-
"page": "5",
|
|
504
|
-
"maxPage": "3",
|
|
505
|
-
"iterations": { "type": "VTL", "value": "count(Q2)" }
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"componentType": "Sequence",
|
|
509
|
-
"hierarchy": {
|
|
510
|
-
"sequence": {
|
|
511
|
-
"id": "l5gh8epv",
|
|
512
|
-
"page": "6",
|
|
513
|
-
"label": { "type": "VTL|MD", "value": "\"III - \" || \"S4\"" }
|
|
140
|
+
"id": "kanya0cm",
|
|
141
|
+
"page": "1",
|
|
142
|
+
"label": {
|
|
143
|
+
"type": "VTL|MD",
|
|
144
|
+
"value": "\"I - \" || \"Boucle Taille fixe\""
|
|
145
|
+
}
|
|
514
146
|
}
|
|
515
147
|
},
|
|
516
148
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
517
|
-
"id": "
|
|
518
|
-
"page": "
|
|
519
|
-
"
|
|
149
|
+
"id": "l7qb3gb0",
|
|
150
|
+
"page": "2",
|
|
151
|
+
"lines": {
|
|
152
|
+
"min": { "type": "VTL", "value": "1" },
|
|
153
|
+
"max": { "type": "VTL", "value": "4" }
|
|
154
|
+
}
|
|
520
155
|
},
|
|
521
156
|
{
|
|
522
157
|
"componentType": "Sequence",
|
|
523
158
|
"hierarchy": {
|
|
524
159
|
"sequence": {
|
|
525
160
|
"id": "COMMENT-SEQ",
|
|
526
|
-
"page": "
|
|
161
|
+
"page": "3",
|
|
527
162
|
"label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
|
|
528
163
|
}
|
|
529
164
|
},
|
|
530
165
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
531
166
|
"id": "COMMENT-SEQ",
|
|
532
|
-
"page": "
|
|
167
|
+
"page": "3",
|
|
533
168
|
"label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
|
|
534
169
|
},
|
|
535
170
|
{
|
|
@@ -539,13 +174,13 @@
|
|
|
539
174
|
"hierarchy": {
|
|
540
175
|
"sequence": {
|
|
541
176
|
"id": "COMMENT-SEQ",
|
|
542
|
-
"page": "
|
|
177
|
+
"page": "3",
|
|
543
178
|
"label": { "type": "VTL|MD", "value": "\"Commentaire\"" }
|
|
544
179
|
}
|
|
545
180
|
},
|
|
546
181
|
"conditionFilter": { "type": "VTL", "value": "true" },
|
|
547
182
|
"id": "COMMENT-QUESTION",
|
|
548
|
-
"page": "
|
|
183
|
+
"page": "4",
|
|
549
184
|
"label": {
|
|
550
185
|
"type": "VTL|MD",
|
|
551
186
|
"value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
|
|
@@ -555,18 +190,13 @@
|
|
|
555
190
|
}
|
|
556
191
|
],
|
|
557
192
|
"pagination": "question",
|
|
558
|
-
"resizing": {
|
|
559
|
-
|
|
560
|
-
},
|
|
561
|
-
"label": {
|
|
562
|
-
"type": "VTL|MD",
|
|
563
|
-
"value": "Lunatic V2 - controles dans boucles liees (bug V1)"
|
|
564
|
-
},
|
|
193
|
+
"resizing": {},
|
|
194
|
+
"label": { "type": "VTL|MD", "value": "Boucle taille 1 a 4" },
|
|
565
195
|
"lunaticModelVersion": "2.2.14-rc",
|
|
566
|
-
"modele": "
|
|
196
|
+
"modele": "QTEST_DECL",
|
|
567
197
|
"enoCoreVersion": "2.3.10-controls-type",
|
|
568
|
-
"generatingDate": "
|
|
198
|
+
"generatingDate": "20-09-2022 14:56:51",
|
|
569
199
|
"missing": false,
|
|
570
|
-
"id": "
|
|
571
|
-
"maxPage": "
|
|
200
|
+
"id": "l7qax3st",
|
|
201
|
+
"maxPage": "4"
|
|
572
202
|
}
|