@inseefr/lunatic 2.5.2-rc1-beta → 2.6.0-rc.1
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/README.fr.md +186 -0
- package/README.md +111 -94
- package/lib/components/button/lunatic-button.js +10 -13
- package/lib/components/checkbox/checkbox-group/html/checkbox-group.js +0 -1
- package/lib/components/commons/components/combo-box/combo-box-content.js +2 -1
- package/lib/components/commons/components/combo-box/combo-box.js +94 -66
- package/lib/components/commons/components/combo-box/combo-box.stories.js +69 -8
- package/lib/components/commons/components/combo-box/panel/panel.js +0 -1
- package/lib/components/commons/components/combo-box/selection/LabelOrInput.js +4 -1
- package/lib/components/commons/components/combo-box/selection/LabelOrInput.spec.js +2 -4
- package/lib/components/commons/components/combo-box/selection/combo-box-label-selection.js +5 -2
- package/lib/components/commons/components/combo-box/selection/label-selection.js +4 -2
- package/lib/components/commons/components/combo-box/selection/selection.js +2 -0
- package/lib/components/commons/components/fab/fab.js +0 -1
- package/lib/components/commons/components/fieldset.js +0 -1
- package/lib/components/commons/components/lunatic-component-with-label.js +1 -3
- package/lib/components/commons/components/md-label/md-label.js +5 -1
- package/lib/components/commons/components/md-label/md-label.spec.js +15 -0
- package/lib/components/commons/components/missing/missing.js +1 -3
- package/lib/components/commons/components/variable-status/variable-status.js +2 -3
- package/lib/components/commons/create-customizable-field.js +1 -0
- package/lib/components/commons/icons/closed-icon.js +0 -2
- package/lib/components/commons/icons/cross-icon.js +0 -2
- package/lib/components/commons/index.js +0 -7
- package/lib/components/component-set/html/__snapshots__/component-set.spec.tsx.snap +124 -0
- package/lib/components/component-set/html/{legend/legend.js → component-set-legend.js} +4 -6
- package/lib/components/component-set/html/component-set-wrapper.js +16 -0
- package/lib/components/component-set/html/component-set.js +7 -8
- package/lib/components/component-set/html/component-set.spec.js +91 -0
- package/lib/components/component-set/lunatic-component-set.js +19 -9
- package/lib/components/datepicker/html/__snapshots__/datepicker.spec.tsx.snap +34 -0
- package/lib/components/datepicker/html/datepicker-input.js +0 -1
- package/lib/components/datepicker/html/datepicker.js +1 -4
- package/lib/components/datepicker/html/datepicker.spec.js +38 -0
- package/lib/components/datepicker/lunatic-datepicker.js +0 -1
- package/lib/components/dropdown/html/__snapshots__/dropdown.spec.tsx.snap +85 -0
- package/lib/components/dropdown/html/dropdown-simple/dropdown-simple.js +3 -2
- package/lib/components/dropdown/html/dropdown-simple/simple-label-renderer.js +0 -2
- package/lib/components/dropdown/html/dropdown-writable/dropdown-writable.js +4 -5
- package/lib/components/dropdown/html/dropdown-writable/writable-label-renderer.js +1 -4
- package/lib/components/dropdown/html/dropdown-writable/writable-option-renderer.js +1 -3
- package/lib/components/dropdown/html/dropdown.js +4 -2
- package/lib/components/dropdown/html/dropdown.spec.js +48 -0
- package/lib/components/dropdown/lunatic-dropdown.js +5 -4
- package/lib/components/duration/getDurationFromValue.js +0 -1
- package/lib/components/filter-description/component.js +0 -2
- package/lib/components/index.js +6 -5
- package/lib/components/input/html/__snapshots__/input.spec.tsx.snap +34 -0
- package/lib/components/input/html/input.js +4 -5
- package/lib/components/input/html/input.spec.js +81 -0
- package/lib/components/input/lunatic-input.js +4 -2
- package/lib/components/input-number/html/__snapshots__/input-number.spec.tsx.snap +38 -90
- package/lib/components/input-number/html/input-number-thousand.js +2 -0
- package/lib/components/input-number/html/input-number.js +3 -0
- package/lib/components/input-number/html/input-number.spec.js +35 -19
- package/lib/components/input-number/lunatic-input-number.js +2 -1
- package/lib/components/loop/{block-for-loop/block-for-loop.js → block-for-loop.js} +39 -64
- package/lib/components/loop/{commons/handle-row-button.js → loop-button.js} +4 -7
- package/lib/components/loop/{roster-for-loop/header.js → loop-header.js} +4 -8
- package/lib/components/loop/loop.js +19 -65
- package/lib/components/loop/roster-for-loop/roster-for-loop.js +102 -83
- package/lib/components/loop/{commons/get-init-length.js → utils/get-initial-nb-rows.js} +6 -5
- package/lib/components/{loop/roster-for-loop/body.js → lunatic-components.js} +46 -37
- package/lib/components/modal/html/modal.js +45 -73
- package/lib/components/modal/html/modal.scss +25 -42
- package/lib/components/modal/lunatic-modal.js +33 -9
- package/lib/components/modal-controls/close-or-skip.js +0 -1
- package/lib/components/modal-controls/modal-controls.spec.js +5 -6
- package/lib/components/pairwise-links/orchestrator.js +1 -4
- package/lib/components/pairwise-links/row.js +1 -4
- package/lib/components/question-explication/html/question-explication.js +0 -1
- package/lib/components/radio/html/radio-group-content.js +4 -3
- package/lib/components/radio/html/radio-group.js +4 -2
- package/lib/components/radio/html/radio-option.js +7 -8
- package/lib/components/radio/lunatic-radio-group.js +4 -2
- package/lib/components/roundabout/components/roundabout-it-title.js +0 -2
- package/lib/components/roundabout/components/roundabout-label.js +0 -2
- package/lib/components/roundabout/lunatic-roundabout.js +1 -4
- package/lib/components/roundabout/roundabout.js +0 -1
- package/lib/components/suggester/html/notification.js +0 -1
- package/lib/components/suggester/html/suggester.js +3 -3
- package/lib/components/suggester/idb-suggester/check-store.js +3 -5
- package/lib/components/suggester/idb-suggester/idb-suggester.js +4 -5
- package/lib/components/suggester/idb-suggester/suggester-notification.js +2 -2
- package/lib/components/suggester/lunatic-suggester.js +3 -1
- package/lib/components/suggester-loader-widget/loader-row.js +1 -4
- package/lib/components/suggester-loader-widget/loader.js +1 -3
- package/lib/components/summary/html/summary-responses.js +13 -7
- package/lib/components/summary/lunatic-summary.js +8 -4
- package/lib/components/switch/html/switch.js +0 -1
- package/lib/components/table/cell.js +0 -2
- package/lib/components/table/header.js +0 -2
- package/lib/components/table/row.js +0 -1
- package/lib/components/textarea/html/__snapshots__/textarea.spec.tsx.snap +30 -0
- package/lib/components/textarea/html/textarea.js +5 -6
- package/lib/components/textarea/html/textarea.spec.js +38 -0
- package/lib/components/textarea/lunatic-textarea.js +4 -2
- package/lib/index.js +8 -0
- package/lib/src/components/button/lunatic-button.d.ts +5 -3
- package/lib/src/components/checkbox/checkbox-boolean/html/checkbox-boolean.d.ts +2 -2
- package/lib/src/components/checkbox/checkbox-boolean/lunatic-checkbox-boolean.d.ts +1 -1
- package/lib/src/components/checkbox/checkbox-group/checkbox-group-content.d.ts +1 -1
- package/lib/src/components/checkbox/checkbox-group/html/checkbox-group-content.d.ts +1 -1
- package/lib/src/components/checkbox/checkbox-group/html/checkbox-group.d.ts +4 -4
- package/lib/src/components/checkbox/checkbox-group/lunatic-checkbox-group.d.ts +2 -2
- package/lib/src/components/checkbox/checkbox-one/html/checkbox-one.d.ts +1 -1
- package/lib/src/components/checkbox/checkbox-one/lunatic-checkbox-one.d.ts +1 -1
- package/lib/src/components/checkbox/commons/checkbox-option.d.ts +2 -2
- package/lib/src/components/commons/components/combo-box/combo-box-container.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/combo-box-content-box.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/combo-box-content.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/combo-box.d.ts +6 -5
- package/lib/src/components/commons/components/combo-box/combo-box.stories.d.ts +30 -2
- package/lib/src/components/commons/components/combo-box/combo-box.type.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/panel/combo-box-option.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/panel/panel-container.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/panel/panel.d.ts +2 -2
- package/lib/src/components/commons/components/combo-box/selection/LabelOrInput.d.ts +3 -2
- package/lib/src/components/commons/components/combo-box/selection/combo-box-label-selection.d.ts +2 -1
- package/lib/src/components/commons/components/combo-box/selection/input.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/selection/label-selection.d.ts +4 -3
- package/lib/src/components/commons/components/combo-box/selection/selection-container.d.ts +1 -1
- package/lib/src/components/commons/components/combo-box/selection/selection.d.ts +3 -2
- package/lib/src/components/commons/components/description.d.ts +1 -1
- package/lib/src/components/commons/components/dragger/dragger.d.ts +1 -1
- package/lib/src/components/commons/components/errors/errors.d.ts +1 -1
- package/lib/src/components/commons/components/fab/fab.d.ts +1 -1
- package/lib/src/components/commons/components/field-container/field-container.d.ts +1 -1
- package/lib/src/components/commons/components/fieldset.d.ts +3 -3
- package/lib/src/components/commons/components/html-table/table.d.ts +1 -1
- package/lib/src/components/commons/components/html-table/thead.d.ts +1 -1
- package/lib/src/components/commons/components/label/label.d.ts +1 -1
- package/lib/src/components/commons/components/lunatic-component-with-label.d.ts +2 -2
- package/lib/src/components/commons/components/lunatic-component-without-label.d.ts +2 -2
- package/lib/src/components/commons/components/md-label/link.d.ts +1 -1
- package/lib/src/components/commons/components/md-label/md-label.spec.d.ts +1 -0
- package/lib/src/components/commons/components/missing/missing.d.ts +1 -1
- package/lib/src/components/commons/components/orchestrated-component.d.ts +2 -2
- package/lib/src/components/commons/components/variable-status/variable-status.d.ts +1 -1
- package/lib/src/components/commons/create-customizable-field.d.ts +1 -1
- package/lib/src/components/commons/icons/checkbox-checked-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/checkbox-unchecked-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/closed-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/cross-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/load-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/lunatic-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/network-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/on-drag-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/opened-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/radio-checked-icon.d.ts +1 -1
- package/lib/src/components/commons/icons/radio-unchecked-icon.d.ts +1 -1
- package/lib/src/components/commons/index.d.ts +0 -1
- package/lib/src/components/commons/safety-label.d.ts +1 -1
- package/lib/src/components/component-set/html/component-set-legend.d.ts +8 -0
- package/lib/src/components/component-set/html/component-set-wrapper.d.ts +6 -0
- package/lib/src/components/component-set/html/component-set.d.ts +5 -4
- package/lib/src/components/component-set/html/component-set.spec.d.ts +1 -0
- package/lib/src/components/component-set/lunatic-component-set.d.ts +3 -4
- package/lib/src/components/datepicker/html/datepicker-container.d.ts +1 -1
- package/lib/src/components/datepicker/html/datepicker-input.d.ts +1 -1
- package/lib/src/components/datepicker/html/datepicker.d.ts +3 -3
- package/lib/src/components/datepicker/html/datepicker.spec.d.ts +1 -0
- package/lib/src/components/datepicker/lunatic-datepicker.d.ts +2 -2
- package/lib/src/components/declarations/declaration.d.ts +1 -1
- package/lib/src/components/declarations/declarations-after-text.d.ts +1 -1
- package/lib/src/components/declarations/declarations-before-text.d.ts +1 -1
- package/lib/src/components/declarations/declarations-detachable.d.ts +1 -1
- package/lib/src/components/declarations/declarations.d.ts +1 -1
- package/lib/src/components/dropdown/html/dropdown-simple/dropdown-simple.d.ts +2 -2
- package/lib/src/components/dropdown/html/dropdown-simple/simple-label-renderer.d.ts +1 -1
- package/lib/src/components/dropdown/html/dropdown-simple/simple-option-renderer.d.ts +1 -1
- package/lib/src/components/dropdown/html/dropdown-writable/dropdown-writable.d.ts +5 -4
- package/lib/src/components/dropdown/html/dropdown-writable/writable-label-renderer.d.ts +1 -1
- package/lib/src/components/dropdown/html/dropdown-writable/writable-option-renderer.d.ts +1 -1
- package/lib/src/components/dropdown/html/dropdown.d.ts +4 -3
- package/lib/src/components/dropdown/html/dropdown.spec.d.ts +1 -0
- package/lib/src/components/dropdown/lunatic-dropdown.d.ts +2 -2
- package/lib/src/components/duration/duration.d.ts +1 -1
- package/lib/src/components/duration/durationInput.d.ts +1 -1
- package/lib/src/components/duration/formatDuration.d.ts +1 -1
- package/lib/src/components/duration/getDurationFromValue.d.ts +1 -1
- package/lib/src/components/duration/index.d.ts +1 -1
- package/lib/src/components/filter-description/component.d.ts +2 -2
- package/lib/src/components/index.d.ts +4 -4
- package/lib/src/components/input/html/input.d.ts +4 -3
- package/lib/src/components/input/html/input.spec.d.ts +1 -0
- package/lib/src/components/input/lunatic-input.d.ts +1 -1
- package/lib/src/components/input-number/html/input-number-thousand.d.ts +2 -1
- package/lib/src/components/input-number/html/input-number.d.ts +3 -2
- package/lib/src/components/input-number/lunatic-input-number.d.ts +1 -1
- package/lib/src/components/loop/{block-for-loop/block-for-loop.d.ts → block-for-loop.d.ts} +6 -4
- package/lib/src/components/loop/loop-button.d.ts +7 -0
- package/lib/src/components/loop/loop-header.d.ts +9 -0
- package/lib/src/components/loop/loop.d.ts +2 -3
- package/lib/src/components/loop/roster-for-loop/roster-for-loop.d.ts +7 -5
- package/lib/src/components/loop/utils/get-initial-nb-rows.d.ts +4 -0
- package/lib/src/components/lunatic-components.d.ts +13 -0
- package/lib/src/components/modal/html/modal.d.ts +10 -13
- package/lib/src/components/modal/lunatic-modal.d.ts +2 -2
- package/lib/src/components/modal-controls/close-or-skip.d.ts +1 -1
- package/lib/src/components/modal-controls/modal-container.d.ts +1 -1
- package/lib/src/components/modal-controls/modal-controls.d.ts +2 -2
- package/lib/src/components/pairwise-links/orchestrator.d.ts +1 -1
- package/lib/src/components/pairwise-links/pairwise-links.d.ts +1 -1
- package/lib/src/components/pairwise-links/row.d.ts +1 -1
- package/lib/src/components/question-explication/html/question-explication.d.ts +1 -1
- package/lib/src/components/question-explication/lunatic-question-explication.d.ts +1 -1
- package/lib/src/components/radio/html/radio-group-content.d.ts +3 -2
- package/lib/src/components/radio/html/radio-group.d.ts +3 -2
- package/lib/src/components/radio/html/radio-option.d.ts +3 -2
- package/lib/src/components/roundabout/components/roundabout-it-title.d.ts +3 -3
- package/lib/src/components/roundabout/components/roundabout-label.d.ts +3 -3
- package/lib/src/components/roundabout/lunatic-roundabout.d.ts +1 -1
- package/lib/src/components/roundabout/roundabout.d.ts +2 -2
- package/lib/src/components/sequence/html/sequence.d.ts +1 -1
- package/lib/src/components/sequence/lunatic-sequence.d.ts +2 -2
- package/lib/src/components/suggester/html/notification.d.ts +2 -2
- package/lib/src/components/suggester/html/suggester.d.ts +6 -5
- package/lib/src/components/suggester/idb-suggester/check-store.d.ts +1 -1
- package/lib/src/components/suggester/idb-suggester/idb-suggester.d.ts +3 -3
- package/lib/src/components/suggester/idb-suggester/suggester-notification.d.ts +1 -1
- package/lib/src/components/suggester/idb-suggester/suggester-status.d.ts +1 -1
- package/lib/src/components/suggester/lunatic-suggester.d.ts +2 -2
- package/lib/src/components/suggester/searching/create-searching.d.ts +1 -1
- package/lib/src/components/suggester-loader-widget/loader-row.d.ts +1 -1
- package/lib/src/components/suggester-loader-widget/loader.d.ts +1 -1
- package/lib/src/components/suggester-loader-widget/tools/action-tool.d.ts +1 -1
- package/lib/src/components/suggester-loader-widget/tools/tools.d.ts +1 -1
- package/lib/src/components/suggester-loader-widget/widget.d.ts +1 -1
- package/lib/src/components/summary/html/summary-container.d.ts +1 -1
- package/lib/src/components/summary/html/summary-responses.d.ts +3 -1
- package/lib/src/components/summary/html/summary-title.d.ts +1 -1
- package/lib/src/components/summary/lunatic-summary.d.ts +3 -2
- package/lib/src/components/switch/html/switch.d.ts +3 -3
- package/lib/src/components/switch/lunatic-switch.d.ts +1 -1
- package/lib/src/components/table/cell.d.ts +1 -1
- package/lib/src/components/table/header.d.ts +1 -1
- package/lib/src/components/table/lunatic-table.d.ts +1 -1
- package/lib/src/components/table/row.d.ts +1 -1
- package/lib/src/components/table/table-orchestrator.d.ts +1 -1
- package/lib/src/components/textarea/html/textarea.d.ts +4 -3
- package/lib/src/components/textarea/html/textarea.spec.d.ts +1 -0
- package/lib/src/components/textarea/lunatic-textarea.d.ts +1 -1
- package/lib/src/components/type.d.ts +9 -6
- package/lib/src/i18n/build-dictionary.d.ts +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/use-lunatic/actions.d.ts +4 -8
- package/lib/src/use-lunatic/commons/calculated-variables.d.ts +1 -1
- package/lib/src/use-lunatic/commons/check-loops.d.ts +1 -1
- package/lib/src/use-lunatic/commons/check-pager.d.ts +1 -1
- package/lib/src/use-lunatic/commons/compile-controls.d.ts +1 -1
- package/lib/src/use-lunatic/commons/compose.d.ts +1 -1
- package/lib/src/use-lunatic/commons/create-map-pages.d.ts +2 -2
- package/lib/src/use-lunatic/commons/execute-condition-filter.d.ts +1 -1
- package/lib/src/use-lunatic/commons/execute-expression/create-execute-expression.d.ts +1 -1
- package/lib/src/use-lunatic/commons/execute-expression/create-refresh-calculated.d.ts +2 -2
- package/lib/src/use-lunatic/commons/execute-expression/execute-expression.d.ts +3 -3
- package/lib/src/use-lunatic/commons/execute-expression/get-safety-expression.d.ts +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.d.ts +5 -2
- package/lib/src/use-lunatic/commons/fill-components/fill-component-value.d.ts +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-components.d.ts +15 -10
- package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +38 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-management.d.ts +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-missing-response.d.ts +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-pagination.d.ts +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +62 -33
- package/lib/src/use-lunatic/commons/get-compatible-vtl-expression.d.ts +1 -1
- package/lib/src/use-lunatic/commons/get-component-value/get-component-value.d.ts +1 -1
- package/lib/src/use-lunatic/commons/get-components-from-state.d.ts +1 -2
- package/lib/src/use-lunatic/commons/get-data.d.ts +1 -1
- package/lib/src/use-lunatic/commons/get-errors-without-empty-value.d.ts +1 -1
- package/lib/src/use-lunatic/commons/getOverview.d.ts +1 -1
- package/lib/src/use-lunatic/commons/is-First-last-page.d.ts +1 -1
- package/lib/src/use-lunatic/commons/is-paginated-loop.d.ts +1 -1
- package/lib/src/use-lunatic/commons/is-roundabout.d.ts +1 -1
- package/lib/src/use-lunatic/commons/page-navigation.d.ts +2 -2
- package/lib/src/use-lunatic/commons/page-tag.d.ts +1 -1
- package/lib/src/use-lunatic/commons/page.d.ts +2 -2
- package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +2 -2
- package/lib/src/use-lunatic/hooks/use-loop-variables.d.ts +1 -1
- package/lib/src/use-lunatic/lunatic-context.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/commons/auto-explore-loop.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/commons/is-loop-component.d.ts +3 -3
- package/lib/src/use-lunatic/reducer/commons/validate-condition-filter.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-change.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-go-next-page.d.ts +2 -4
- package/lib/src/use-lunatic/reducer/reduce-go-next-page.spec.d.ts +1 -0
- package/lib/src/use-lunatic/reducer/reduce-go-previous-page.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/reduce-go-previous-page.spec.d.ts +1 -0
- package/lib/src/use-lunatic/reducer/reduce-go-to-page.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-cleaning.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-handle-change.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-links-variable.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-missing.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-resizing.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-variables-array.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/reduce-handle-change/reduce-variables-simple.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/reduce-on-init.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-on-set-waiting.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reduce-update-state.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/reducer.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/resolve-component-controls/resolve-component-control.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/resolve-component-controls/resolve-roundabout-control.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/resolve-component-controls/resolve-simple-control.d.ts +2 -2
- package/lib/src/use-lunatic/replace-component-sequence.d.ts +3 -1
- package/lib/src/use-lunatic/type-source.d.ts +3 -1
- package/lib/src/use-lunatic/type.d.ts +3 -3
- package/lib/src/use-lunatic/use-lunatic.d.ts +21 -15
- package/lib/src/use-lunatic/use-suggesters.d.ts +1 -1
- package/lib/src/utils/array.d.ts +8 -0
- package/lib/src/utils/dom.d.ts +14 -0
- package/lib/src/utils/get-component-value.d.ts +1 -1
- package/lib/src/utils/get-component-value.test.d.ts +1 -0
- package/lib/src/utils/is-element.d.ts +1 -1
- package/lib/src/utils/number.d.ts +5 -0
- package/lib/src/utils/number.spec.d.ts +1 -0
- package/lib/src/utils/store-tools/initStore.d.ts +1 -1
- package/lib/src/utils/suggester-workers/append-to-index/create-append-task.d.ts +1 -1
- package/lib/src/utils/suggester-workers/searching/compute-score.d.ts +1 -1
- package/lib/stories/checkbox-one/source.json +2 -2
- package/lib/stories/component-set/component-set.stories.js +9 -9
- package/lib/stories/component-set/{data2.json → data-roundabout.json} +1 -1
- package/lib/stories/component-set/data.json +8 -1
- package/lib/stories/component-set/source-loop.json +308 -0
- package/lib/stories/component-set/source-roundabout.json +434 -0
- package/lib/stories/component-set/source.json +16 -2
- package/lib/stories/disabled/data.json +32 -0
- package/lib/{components/commons/components/combo-box/state-management/reduce-on-keydown/on-end.js → stories/disabled/disabled.stories.js} +25 -12
- package/lib/stories/disabled/source.json +382 -0
- package/lib/stories/input/source-with-question.json +9 -3
- package/lib/stories/input/source.json +6 -0
- package/lib/stories/loop/source-paginated.json +2 -2
- package/lib/stories/overview/source.json +1 -1
- package/lib/stories/overview/sourceWithHierarchy.json +10 -2
- package/lib/stories/pairwise/links-componentset.json +292 -0
- package/lib/stories/pairwise/pairwise-links.stories.js +11 -2
- package/lib/stories/question-explication/source.json +16 -16
- package/lib/stories/questionnaires/logement/source-sum.json +31805 -34611
- package/lib/stories/questionnaires/recensement/source.json +2 -2
- package/lib/stories/questionnaires/simpsons/simpsons.stories.js +4 -4
- package/lib/stories/questionnaires-test/V2_DeclarationsSimples.json +963 -847
- package/lib/stories/questionnaires-test/V2_QuestSimple_Boucles.json +4350 -4090
- package/lib/stories/suggester/simple.json +4 -0
- package/lib/stories/summary/source.json +55 -40
- package/lib/stories/utils/orchestrator.js +11 -22
- package/lib/tests/utils/lunatic.d.ts +16 -2
- package/lib/use-lunatic/commons/execute-expression/create-execute-expression.js +13 -45
- package/lib/use-lunatic/commons/execute-expression/execute-expression.js +0 -1
- package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +5 -1
- package/lib/use-lunatic/commons/fill-components/fill-components.js +10 -2
- package/lib/use-lunatic/commons/fill-components/fill-from-state.js +3 -0
- package/lib/use-lunatic/commons/fill-components/fill-specific-expression.js +66 -21
- package/lib/use-lunatic/commons/get-component-value/get-component-value.js +1 -3
- package/lib/use-lunatic/commons/page.js +6 -0
- package/lib/use-lunatic/hooks/use-loop-variables.js +1 -1
- package/lib/use-lunatic/reducer/reduce-go-next-page.js +10 -10
- package/lib/use-lunatic/reducer/reduce-go-next-page.spec.js +13 -0
- package/lib/use-lunatic/reducer/reduce-go-previous-page.js +3 -3
- package/lib/use-lunatic/reducer/reduce-go-previous-page.spec.js +14 -0
- package/lib/use-lunatic/reducer/reduce-go-to-page.js +3 -8
- package/lib/use-lunatic/reducer/reduce-handle-change/__mocks__/source-cleaning-loop.json +790 -924
- package/lib/use-lunatic/reducer/reducer.js +2 -2
- package/lib/use-lunatic/use-lunatic.js +5 -2
- package/lib/use-lunatic/use-lunatic.test.js +26 -0
- package/lib/utils/array.js +33 -0
- package/lib/utils/dom.js +27 -0
- package/lib/utils/get-component-value.js +13 -11
- package/lib/utils/get-component-value.test.js +57 -0
- package/lib/utils/number.js +30 -0
- package/lib/utils/number.spec.js +11 -0
- package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.spec.js +0 -2
- package/package.json +9 -3
- package/lib/components/commons/components/combo-box/state-management/actions.js +0 -79
- package/lib/components/commons/components/combo-box/state-management/index.js +0 -25
- package/lib/components/commons/components/combo-box/state-management/reduce-on-init.js +0 -38
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/on-arrow-down.js +0 -30
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/on-arrow-up.js +0 -30
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/on-enter.js +0 -19
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/on-escape.js +0 -18
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/on-home.js +0 -23
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/on-tab.js +0 -18
- package/lib/components/commons/components/combo-box/state-management/reduce-on-keydown/reduce-on-keydown.js +0 -40
- package/lib/components/commons/components/combo-box/state-management/reducer.js +0 -53
- package/lib/components/commons/create-row-orchestrator.js +0 -58
- package/lib/components/component-set/html/component-set-component-container.js +0 -20
- package/lib/components/component-set/html/component-set-components.js +0 -45
- package/lib/components/component-set/html/legend/index.js +0 -13
- package/lib/components/component-set/index.js +0 -13
- package/lib/components/loop/block-for-loop/block-for-loop-ochestrator.js +0 -12
- package/lib/components/loop/block-for-loop/index.js +0 -13
- package/lib/components/loop/block-for-loop/row.js +0 -56
- package/lib/components/loop/commons/index.js +0 -20
- package/lib/components/loop/commons/row-component.js +0 -72
- package/lib/components/loop/index.js +0 -13
- package/lib/components/loop/roster-for-loop/index.js +0 -13
- package/lib/components/loop/roster-for-loop/roster-for-loop-orchestrator.js +0 -12
- package/lib/components/loop/roster-for-loop/roster-table.js +0 -50
- package/lib/components/loop/roster-for-loop/row.js +0 -85
- package/lib/src/components/commons/components/combo-box/state-management/actions.d.ts +0 -78
- package/lib/src/components/commons/components/combo-box/state-management/index.d.ts +0 -9
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-init.d.ts +0 -4
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-arrow-down.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-arrow-up.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-end.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-enter.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-escape.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-home.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/on-tab.d.ts +0 -2
- package/lib/src/components/commons/components/combo-box/state-management/reduce-on-keydown/reduce-on-keydown.d.ts +0 -9
- package/lib/src/components/commons/components/combo-box/state-management/reducer.d.ts +0 -3
- package/lib/src/components/commons/create-row-orchestrator.d.ts +0 -32
- package/lib/src/components/component-set/html/component-set-component-container.d.ts +0 -6
- package/lib/src/components/component-set/html/component-set-components.d.ts +0 -7
- package/lib/src/components/component-set/html/legend/index.d.ts +0 -1
- package/lib/src/components/component-set/html/legend/legend.d.ts +0 -8
- package/lib/src/components/component-set/index.d.ts +0 -1
- package/lib/src/components/loop/block-for-loop/block-for-loop-ochestrator.d.ts +0 -51
- package/lib/src/components/loop/block-for-loop/index.d.ts +0 -1
- package/lib/src/components/loop/block-for-loop/row.d.ts +0 -23
- package/lib/src/components/loop/commons/get-init-length.d.ts +0 -2
- package/lib/src/components/loop/commons/handle-row-button.d.ts +0 -7
- package/lib/src/components/loop/commons/index.d.ts +0 -2
- package/lib/src/components/loop/commons/row-component.d.ts +0 -9
- package/lib/src/components/loop/index.d.ts +0 -1
- package/lib/src/components/loop/roster-for-loop/body.d.ts +0 -12
- package/lib/src/components/loop/roster-for-loop/header.d.ts +0 -9
- package/lib/src/components/loop/roster-for-loop/index.d.ts +0 -1
- package/lib/src/components/loop/roster-for-loop/roster-for-loop-orchestrator.d.ts +0 -51
- package/lib/src/components/loop/roster-for-loop/roster-table.d.ts +0 -13
- package/lib/src/components/loop/roster-for-loop/row.d.ts +0 -24
- package/lib/stories/component-set/source1.json +0 -287
- package/lib/stories/component-set/source2.json +0 -413
- /package/lib/components/commons/components/combo-box/{state-management/reduce-on-keydown/keyboard-key-codes.js → keyboard-key-codes.js} +0 -0
- /package/lib/src/components/commons/components/combo-box/{state-management/reduce-on-keydown/keyboard-key-codes.d.ts → keyboard-key-codes.d.ts} +0 -0
- /package/lib/stories/component-set/{data1.json → data-loop.json} +0 -0
|
@@ -1,926 +1,792 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
"label": {
|
|
793
|
-
"type": "VTL|MD",
|
|
794
|
-
"value": "\"V - \" || \"MERCI\""
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
},
|
|
798
|
-
"conditionFilter": {
|
|
799
|
-
"bindingDependencies": [
|
|
800
|
-
"VITICI"
|
|
801
|
-
],
|
|
802
|
-
"type": "VTL",
|
|
803
|
-
"value": "(VITICI =\"1\")"
|
|
804
|
-
},
|
|
805
|
-
"id": "ldndohgt",
|
|
806
|
-
"page": "2.10",
|
|
807
|
-
"label": {
|
|
808
|
-
"type": "VTL|MD",
|
|
809
|
-
"value": "\"V - \" || \"MERCI\""
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
],
|
|
813
|
-
"bindingDependencies": [
|
|
814
|
-
"PRENOMREP",
|
|
815
|
-
"VITICI",
|
|
816
|
-
"NBF",
|
|
817
|
-
"NBF_VIE",
|
|
818
|
-
"NBS",
|
|
819
|
-
"NBS_VIE",
|
|
820
|
-
"SIMPLEPOUR"
|
|
821
|
-
],
|
|
822
|
-
"depth": 1,
|
|
823
|
-
"conditionFilter": {
|
|
824
|
-
"type": "VTL",
|
|
825
|
-
"value": "true"
|
|
826
|
-
},
|
|
827
|
-
"id": "ldndohv2",
|
|
828
|
-
"page": "2",
|
|
829
|
-
"maxPage": "10",
|
|
830
|
-
"iterations": {
|
|
831
|
-
"type": "VTL",
|
|
832
|
-
"value": "count(PRENOMREP)"
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"componentType": "Sequence",
|
|
837
|
-
"hierarchy": {
|
|
838
|
-
"sequence": {
|
|
839
|
-
"id": "ldndhokp",
|
|
840
|
-
"page": "3",
|
|
841
|
-
"label": {
|
|
842
|
-
"type": "VTL|MD",
|
|
843
|
-
"value": "\"VI - \" || \"FIN\""
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
"conditionFilter": {
|
|
848
|
-
"type": "VTL",
|
|
849
|
-
"value": "true"
|
|
850
|
-
},
|
|
851
|
-
"id": "ldndhokp",
|
|
852
|
-
"page": "3",
|
|
853
|
-
"label": {
|
|
854
|
-
"type": "VTL|MD",
|
|
855
|
-
"value": "\"VI - \" || \"FIN\""
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"componentType": "Sequence",
|
|
860
|
-
"hierarchy": {
|
|
861
|
-
"sequence": {
|
|
862
|
-
"id": "COMMENT-SEQ",
|
|
863
|
-
"page": "4",
|
|
864
|
-
"label": {
|
|
865
|
-
"type": "VTL|MD",
|
|
866
|
-
"value": "\"Commentaire\""
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
"conditionFilter": {
|
|
871
|
-
"type": "VTL",
|
|
872
|
-
"value": "true"
|
|
873
|
-
},
|
|
874
|
-
"id": "COMMENT-SEQ",
|
|
875
|
-
"page": "4",
|
|
876
|
-
"label": {
|
|
877
|
-
"type": "VTL|MD",
|
|
878
|
-
"value": "\"Commentaire\""
|
|
879
|
-
}
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"componentType": "Textarea",
|
|
883
|
-
"bindingDependencies": [
|
|
884
|
-
"COMMENT_QE"
|
|
885
|
-
],
|
|
886
|
-
"response": {
|
|
887
|
-
"name": "COMMENT_QE"
|
|
888
|
-
},
|
|
889
|
-
"hierarchy": {
|
|
890
|
-
"sequence": {
|
|
891
|
-
"id": "COMMENT-SEQ",
|
|
892
|
-
"page": "4",
|
|
893
|
-
"label": {
|
|
894
|
-
"type": "VTL|MD",
|
|
895
|
-
"value": "\"Commentaire\""
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
"conditionFilter": {
|
|
900
|
-
"type": "VTL",
|
|
901
|
-
"value": "true"
|
|
902
|
-
},
|
|
903
|
-
"id": "COMMENT-QUESTION",
|
|
904
|
-
"page": "5",
|
|
905
|
-
"label": {
|
|
906
|
-
"type": "VTL|MD",
|
|
907
|
-
"value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
|
|
908
|
-
},
|
|
909
|
-
"mandatory": false,
|
|
910
|
-
"maxLength": 2000
|
|
911
|
-
}
|
|
912
|
-
],
|
|
913
|
-
"pagination": "question",
|
|
914
|
-
"resizing": {},
|
|
915
|
-
"label": {
|
|
916
|
-
"type": "VTL|MD",
|
|
917
|
-
"value": "Bug - issue 399 - bug famille - filtre sur VITICI et vidage de questions filtrées"
|
|
918
|
-
},
|
|
919
|
-
"lunaticModelVersion": "2.3.1",
|
|
920
|
-
"modele": "TESTBUGFAM",
|
|
921
|
-
"enoCoreVersion": "2.4.0",
|
|
922
|
-
"generatingDate": "15-03-2023 13:26:11",
|
|
923
|
-
"missing": false,
|
|
924
|
-
"id": "ldndehwy",
|
|
925
|
-
"maxPage": "5"
|
|
2
|
+
"cleaning": {
|
|
3
|
+
"PRENOMREP": {
|
|
4
|
+
"NBF": "false"
|
|
5
|
+
},
|
|
6
|
+
"VITICI": {
|
|
7
|
+
"NBF": "(VITICI =\"1\")",
|
|
8
|
+
"NBS_VIE": "(VITICI =\"1\") and (nvl(NBS,0) > 1)",
|
|
9
|
+
"NBF_VIE": "(VITICI =\"1\") and (nvl(NBF,0) > 1)",
|
|
10
|
+
"SIMPLEPOUR": "(VITICI =\"1\")",
|
|
11
|
+
"NBS": "(VITICI =\"1\")"
|
|
12
|
+
},
|
|
13
|
+
"NBF": {
|
|
14
|
+
"NBF_VIE": "(VITICI =\"1\") and (nvl(NBF,0) > 1)"
|
|
15
|
+
},
|
|
16
|
+
"NBS": {
|
|
17
|
+
"NBS_VIE": "(VITICI =\"1\") and (nvl(NBS,0) > 1)"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"variables": [
|
|
21
|
+
{
|
|
22
|
+
"variableType": "COLLECTED",
|
|
23
|
+
"values": {
|
|
24
|
+
"COLLECTED": null,
|
|
25
|
+
"EDITED": null,
|
|
26
|
+
"INPUTED": null,
|
|
27
|
+
"FORCED": null,
|
|
28
|
+
"PREVIOUS": null
|
|
29
|
+
},
|
|
30
|
+
"name": "COMMENT_QE"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"variableType": "COLLECTED",
|
|
34
|
+
"values": {
|
|
35
|
+
"COLLECTED": [null],
|
|
36
|
+
"EDITED": [null],
|
|
37
|
+
"INPUTED": [null],
|
|
38
|
+
"FORCED": [null],
|
|
39
|
+
"PREVIOUS": [null]
|
|
40
|
+
},
|
|
41
|
+
"name": "PRENOMREP"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"variableType": "COLLECTED",
|
|
45
|
+
"values": {
|
|
46
|
+
"COLLECTED": [null],
|
|
47
|
+
"EDITED": [null],
|
|
48
|
+
"INPUTED": [null],
|
|
49
|
+
"FORCED": [null],
|
|
50
|
+
"PREVIOUS": [null]
|
|
51
|
+
},
|
|
52
|
+
"name": "VITICI"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"variableType": "COLLECTED",
|
|
56
|
+
"values": {
|
|
57
|
+
"COLLECTED": [null],
|
|
58
|
+
"EDITED": [null],
|
|
59
|
+
"INPUTED": [null],
|
|
60
|
+
"FORCED": [null],
|
|
61
|
+
"PREVIOUS": [null]
|
|
62
|
+
},
|
|
63
|
+
"name": "NBF"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"variableType": "COLLECTED",
|
|
67
|
+
"values": {
|
|
68
|
+
"COLLECTED": [null],
|
|
69
|
+
"EDITED": [null],
|
|
70
|
+
"INPUTED": [null],
|
|
71
|
+
"FORCED": [null],
|
|
72
|
+
"PREVIOUS": [null]
|
|
73
|
+
},
|
|
74
|
+
"name": "NBF_VIE"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"variableType": "COLLECTED",
|
|
78
|
+
"values": {
|
|
79
|
+
"COLLECTED": [null],
|
|
80
|
+
"EDITED": [null],
|
|
81
|
+
"INPUTED": [null],
|
|
82
|
+
"FORCED": [null],
|
|
83
|
+
"PREVIOUS": [null]
|
|
84
|
+
},
|
|
85
|
+
"name": "NBS"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"variableType": "COLLECTED",
|
|
89
|
+
"values": {
|
|
90
|
+
"COLLECTED": [null],
|
|
91
|
+
"EDITED": [null],
|
|
92
|
+
"INPUTED": [null],
|
|
93
|
+
"FORCED": [null],
|
|
94
|
+
"PREVIOUS": [null]
|
|
95
|
+
},
|
|
96
|
+
"name": "NBS_VIE"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"variableType": "COLLECTED",
|
|
100
|
+
"values": {
|
|
101
|
+
"COLLECTED": [null],
|
|
102
|
+
"EDITED": [null],
|
|
103
|
+
"INPUTED": [null],
|
|
104
|
+
"FORCED": [null],
|
|
105
|
+
"PREVIOUS": [null]
|
|
106
|
+
},
|
|
107
|
+
"name": "SIMPLEPOUR"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"variableType": "CALCULATED",
|
|
111
|
+
"expression": {
|
|
112
|
+
"type": "VTL",
|
|
113
|
+
"value": "true"
|
|
114
|
+
},
|
|
115
|
+
"name": "FILTER_RESULT_PRENOMREP",
|
|
116
|
+
"inFilter": "false",
|
|
117
|
+
"shapeFrom": "PRENOMREP"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"variableType": "CALCULATED",
|
|
121
|
+
"expression": {
|
|
122
|
+
"type": "VTL",
|
|
123
|
+
"value": "true"
|
|
124
|
+
},
|
|
125
|
+
"name": "FILTER_RESULT_VITICI",
|
|
126
|
+
"inFilter": "false",
|
|
127
|
+
"shapeFrom": "VITICI"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"variableType": "CALCULATED",
|
|
131
|
+
"bindingDependencies": ["VITICI"],
|
|
132
|
+
"expression": {
|
|
133
|
+
"type": "VTL",
|
|
134
|
+
"value": "(VITICI =\"1\")"
|
|
135
|
+
},
|
|
136
|
+
"name": "FILTER_RESULT_NBF",
|
|
137
|
+
"inFilter": "false",
|
|
138
|
+
"shapeFrom": "VITICI"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"variableType": "CALCULATED",
|
|
142
|
+
"bindingDependencies": ["VITICI", "NBF"],
|
|
143
|
+
"expression": {
|
|
144
|
+
"type": "VTL",
|
|
145
|
+
"value": "(VITICI =\"1\") and (nvl(NBF,0) > 1)"
|
|
146
|
+
},
|
|
147
|
+
"name": "FILTER_RESULT_NBF_VIE",
|
|
148
|
+
"inFilter": "false",
|
|
149
|
+
"shapeFrom": "VITICI"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"variableType": "CALCULATED",
|
|
153
|
+
"bindingDependencies": ["VITICI"],
|
|
154
|
+
"expression": {
|
|
155
|
+
"type": "VTL",
|
|
156
|
+
"value": "(VITICI =\"1\")"
|
|
157
|
+
},
|
|
158
|
+
"name": "FILTER_RESULT_NBS",
|
|
159
|
+
"inFilter": "false",
|
|
160
|
+
"shapeFrom": "VITICI"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"variableType": "CALCULATED",
|
|
164
|
+
"bindingDependencies": ["VITICI", "NBS"],
|
|
165
|
+
"expression": {
|
|
166
|
+
"type": "VTL",
|
|
167
|
+
"value": "(VITICI =\"1\") and (nvl(NBS,0) > 1)"
|
|
168
|
+
},
|
|
169
|
+
"name": "FILTER_RESULT_NBS_VIE",
|
|
170
|
+
"inFilter": "false",
|
|
171
|
+
"shapeFrom": "VITICI"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"variableType": "CALCULATED",
|
|
175
|
+
"bindingDependencies": ["VITICI"],
|
|
176
|
+
"expression": {
|
|
177
|
+
"type": "VTL",
|
|
178
|
+
"value": "(VITICI =\"1\")"
|
|
179
|
+
},
|
|
180
|
+
"name": "FILTER_RESULT_SIMPLEPOUR",
|
|
181
|
+
"inFilter": "false",
|
|
182
|
+
"shapeFrom": "VITICI"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"components": [
|
|
186
|
+
{
|
|
187
|
+
"paginatedLoop": false,
|
|
188
|
+
"componentType": "Loop",
|
|
189
|
+
"components": [
|
|
190
|
+
{
|
|
191
|
+
"componentType": "Sequence",
|
|
192
|
+
"hierarchy": {
|
|
193
|
+
"sequence": {
|
|
194
|
+
"id": "ldnda0vb",
|
|
195
|
+
"page": "1",
|
|
196
|
+
"label": {
|
|
197
|
+
"type": "VTL|MD",
|
|
198
|
+
"value": "\"I - \" || \"REPONDANT\""
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"conditionFilter": {
|
|
203
|
+
"type": "VTL",
|
|
204
|
+
"value": "true"
|
|
205
|
+
},
|
|
206
|
+
"id": "ldnda0vb",
|
|
207
|
+
"page": "1",
|
|
208
|
+
"label": {
|
|
209
|
+
"type": "VTL|MD",
|
|
210
|
+
"value": "\"I - \" || \"REPONDANT\""
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"componentType": "Input",
|
|
215
|
+
"bindingDependencies": ["PRENOMREP"],
|
|
216
|
+
"response": {
|
|
217
|
+
"name": "PRENOMREP"
|
|
218
|
+
},
|
|
219
|
+
"hierarchy": {
|
|
220
|
+
"sequence": {
|
|
221
|
+
"id": "ldnda0vb",
|
|
222
|
+
"page": "1",
|
|
223
|
+
"label": {
|
|
224
|
+
"type": "VTL|MD",
|
|
225
|
+
"value": "\"I - \" || \"REPONDANT\""
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"conditionFilter": {
|
|
230
|
+
"type": "VTL",
|
|
231
|
+
"value": "true"
|
|
232
|
+
},
|
|
233
|
+
"id": "ldndn8fx",
|
|
234
|
+
"page": "1",
|
|
235
|
+
"label": {
|
|
236
|
+
"type": "VTL|MD",
|
|
237
|
+
"value": "\"➡ 1. \" || \"Prenom des enquêtés\""
|
|
238
|
+
},
|
|
239
|
+
"mandatory": false,
|
|
240
|
+
"maxLength": 249
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"bindingDependencies": ["PRENOMREP"],
|
|
244
|
+
"depth": 1,
|
|
245
|
+
"conditionFilter": {
|
|
246
|
+
"type": "VTL",
|
|
247
|
+
"value": "true"
|
|
248
|
+
},
|
|
249
|
+
"id": "ldndipy6",
|
|
250
|
+
"page": "1",
|
|
251
|
+
"lines": {
|
|
252
|
+
"min": {
|
|
253
|
+
"type": "VTL",
|
|
254
|
+
"value": "2"
|
|
255
|
+
},
|
|
256
|
+
"max": {
|
|
257
|
+
"type": "VTL",
|
|
258
|
+
"value": "2"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"paginatedLoop": true,
|
|
264
|
+
"componentType": "Loop",
|
|
265
|
+
"loopDependencies": ["PRENOMREP"],
|
|
266
|
+
"components": [
|
|
267
|
+
{
|
|
268
|
+
"componentType": "Sequence",
|
|
269
|
+
"bindingDependencies": ["PRENOMREP"],
|
|
270
|
+
"hierarchy": {
|
|
271
|
+
"sequence": {
|
|
272
|
+
"id": "ldndgj7b",
|
|
273
|
+
"page": "2.1",
|
|
274
|
+
"label": {
|
|
275
|
+
"type": "VTL|MD",
|
|
276
|
+
"value": "\"II - \" || \"Présence des personnes\""
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"conditionFilter": {
|
|
281
|
+
"type": "VTL",
|
|
282
|
+
"value": "true"
|
|
283
|
+
},
|
|
284
|
+
"id": "ldndgj7b",
|
|
285
|
+
"page": "2.1",
|
|
286
|
+
"label": {
|
|
287
|
+
"type": "VTL|MD",
|
|
288
|
+
"value": "\"II - \" || \"Présence des personnes\""
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"componentType": "CheckboxOne",
|
|
293
|
+
"bindingDependencies": ["PRENOMREP", "VITICI"],
|
|
294
|
+
"response": {
|
|
295
|
+
"name": "VITICI"
|
|
296
|
+
},
|
|
297
|
+
"hierarchy": {
|
|
298
|
+
"sequence": {
|
|
299
|
+
"id": "ldndgj7b",
|
|
300
|
+
"page": "2.1",
|
|
301
|
+
"label": {
|
|
302
|
+
"type": "VTL|MD",
|
|
303
|
+
"value": "\"II - \" || \"Présence des personnes\""
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"options": [
|
|
308
|
+
{
|
|
309
|
+
"label": {
|
|
310
|
+
"type": "VTL|MD",
|
|
311
|
+
"value": "oui"
|
|
312
|
+
},
|
|
313
|
+
"value": "1"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"label": {
|
|
317
|
+
"type": "VTL|MD",
|
|
318
|
+
"value": "non"
|
|
319
|
+
},
|
|
320
|
+
"value": "2"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"conditionFilter": {
|
|
324
|
+
"type": "VTL",
|
|
325
|
+
"value": "true"
|
|
326
|
+
},
|
|
327
|
+
"id": "ldndh7fb",
|
|
328
|
+
"page": "2.2",
|
|
329
|
+
"label": {
|
|
330
|
+
"type": "VTL|MD",
|
|
331
|
+
"value": "\"➡ 2. \" || \"Est-ce que \" || PRENOMREP || \"vit ici ?\""
|
|
332
|
+
},
|
|
333
|
+
"mandatory": false
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"componentType": "Sequence",
|
|
337
|
+
"bindingDependencies": ["PRENOMREP"],
|
|
338
|
+
"hierarchy": {
|
|
339
|
+
"sequence": {
|
|
340
|
+
"id": "ldndnqr7",
|
|
341
|
+
"page": "2.3",
|
|
342
|
+
"label": {
|
|
343
|
+
"type": "VTL|MD",
|
|
344
|
+
"value": "\"III - \" || \"Infos\""
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"conditionFilter": {
|
|
349
|
+
"bindingDependencies": ["VITICI"],
|
|
350
|
+
"type": "VTL",
|
|
351
|
+
"value": "(VITICI =\"1\")"
|
|
352
|
+
},
|
|
353
|
+
"id": "ldndnqr7",
|
|
354
|
+
"page": "2.3",
|
|
355
|
+
"label": {
|
|
356
|
+
"type": "VTL|MD",
|
|
357
|
+
"value": "\"III - \" || \"Infos\""
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"componentType": "InputNumber",
|
|
362
|
+
"controls": [
|
|
363
|
+
{
|
|
364
|
+
"criticality": "ERROR",
|
|
365
|
+
"errorMessage": {
|
|
366
|
+
"type": "VTL|MD",
|
|
367
|
+
"value": "\" La valeur doit être comprise entre 0 et 10.\""
|
|
368
|
+
},
|
|
369
|
+
"typeOfControl": "FORMAT",
|
|
370
|
+
"control": {
|
|
371
|
+
"type": "VTL",
|
|
372
|
+
"value": "not(not(isnull(NBF)) and (0>NBF or 10<NBF))"
|
|
373
|
+
},
|
|
374
|
+
"id": "ldndqtym-format-borne-inf-sup"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"criticality": "ERROR",
|
|
378
|
+
"errorMessage": {
|
|
379
|
+
"type": "VTL|MD",
|
|
380
|
+
"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
|
|
381
|
+
},
|
|
382
|
+
"typeOfControl": "FORMAT",
|
|
383
|
+
"control": {
|
|
384
|
+
"type": "VTL",
|
|
385
|
+
"value": "not(not(isnull(NBF)) and round(NBF,0)<>NBF)"
|
|
386
|
+
},
|
|
387
|
+
"id": "ldndqtym-format-decimal"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"max": 10,
|
|
391
|
+
"hierarchy": {
|
|
392
|
+
"sequence": {
|
|
393
|
+
"id": "ldndnqr7",
|
|
394
|
+
"page": "2.3",
|
|
395
|
+
"label": {
|
|
396
|
+
"type": "VTL|MD",
|
|
397
|
+
"value": "\"III - \" || \"Infos\""
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"conditionFilter": {
|
|
402
|
+
"bindingDependencies": ["VITICI"],
|
|
403
|
+
"type": "VTL",
|
|
404
|
+
"value": "(VITICI =\"1\")"
|
|
405
|
+
},
|
|
406
|
+
"label": {
|
|
407
|
+
"type": "VTL|MD",
|
|
408
|
+
"value": "\"➡ 3. \" || \"Combien de freres de 0 à 10 ?\""
|
|
409
|
+
},
|
|
410
|
+
"mandatory": false,
|
|
411
|
+
"bindingDependencies": ["NBF", "PRENOMREP"],
|
|
412
|
+
"min": 0,
|
|
413
|
+
"response": {
|
|
414
|
+
"name": "NBF"
|
|
415
|
+
},
|
|
416
|
+
"decimals": 0,
|
|
417
|
+
"id": "ldndqtym",
|
|
418
|
+
"page": "2.4"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"componentType": "InputNumber",
|
|
422
|
+
"controls": [
|
|
423
|
+
{
|
|
424
|
+
"criticality": "ERROR",
|
|
425
|
+
"errorMessage": {
|
|
426
|
+
"type": "VTL|MD",
|
|
427
|
+
"value": "\" La valeur doit être comprise entre 0 et 10.\""
|
|
428
|
+
},
|
|
429
|
+
"typeOfControl": "FORMAT",
|
|
430
|
+
"control": {
|
|
431
|
+
"type": "VTL",
|
|
432
|
+
"value": "not(not(isnull(NBF_VIE)) and (0>NBF_VIE or 10<NBF_VIE))"
|
|
433
|
+
},
|
|
434
|
+
"id": "ldndmds9-format-borne-inf-sup"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"criticality": "ERROR",
|
|
438
|
+
"errorMessage": {
|
|
439
|
+
"type": "VTL|MD",
|
|
440
|
+
"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
|
|
441
|
+
},
|
|
442
|
+
"typeOfControl": "FORMAT",
|
|
443
|
+
"control": {
|
|
444
|
+
"type": "VTL",
|
|
445
|
+
"value": "not(not(isnull(NBF_VIE)) and round(NBF_VIE,0)<>NBF_VIE)"
|
|
446
|
+
},
|
|
447
|
+
"id": "ldndmds9-format-decimal"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
"max": 10,
|
|
451
|
+
"hierarchy": {
|
|
452
|
+
"sequence": {
|
|
453
|
+
"id": "ldndnqr7",
|
|
454
|
+
"page": "2.3",
|
|
455
|
+
"label": {
|
|
456
|
+
"type": "VTL|MD",
|
|
457
|
+
"value": "\"III - \" || \"Infos\""
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"conditionFilter": {
|
|
462
|
+
"bindingDependencies": ["VITICI", "NBF"],
|
|
463
|
+
"type": "VTL",
|
|
464
|
+
"value": "(VITICI =\"1\") and (nvl(NBF,0) > 1)"
|
|
465
|
+
},
|
|
466
|
+
"label": {
|
|
467
|
+
"type": "VTL|MD",
|
|
468
|
+
"value": "\"➡ 4. \" || \"Combien de freres en vie ?\""
|
|
469
|
+
},
|
|
470
|
+
"mandatory": false,
|
|
471
|
+
"bindingDependencies": ["NBF_VIE", "PRENOMREP"],
|
|
472
|
+
"min": 0,
|
|
473
|
+
"response": {
|
|
474
|
+
"name": "NBF_VIE"
|
|
475
|
+
},
|
|
476
|
+
"decimals": 0,
|
|
477
|
+
"id": "ldndmds9",
|
|
478
|
+
"page": "2.5"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"componentType": "InputNumber",
|
|
482
|
+
"controls": [
|
|
483
|
+
{
|
|
484
|
+
"criticality": "ERROR",
|
|
485
|
+
"errorMessage": {
|
|
486
|
+
"type": "VTL|MD",
|
|
487
|
+
"value": "\" La valeur doit être comprise entre 0 et 10.\""
|
|
488
|
+
},
|
|
489
|
+
"typeOfControl": "FORMAT",
|
|
490
|
+
"control": {
|
|
491
|
+
"type": "VTL",
|
|
492
|
+
"value": "not(not(isnull(NBS)) and (0>NBS or 10<NBS))"
|
|
493
|
+
},
|
|
494
|
+
"id": "ldndgju5-format-borne-inf-sup"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"criticality": "ERROR",
|
|
498
|
+
"errorMessage": {
|
|
499
|
+
"type": "VTL|MD",
|
|
500
|
+
"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
|
|
501
|
+
},
|
|
502
|
+
"typeOfControl": "FORMAT",
|
|
503
|
+
"control": {
|
|
504
|
+
"type": "VTL",
|
|
505
|
+
"value": "not(not(isnull(NBS)) and round(NBS,0)<>NBS)"
|
|
506
|
+
},
|
|
507
|
+
"id": "ldndgju5-format-decimal"
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"max": 10,
|
|
511
|
+
"hierarchy": {
|
|
512
|
+
"sequence": {
|
|
513
|
+
"id": "ldndnqr7",
|
|
514
|
+
"page": "2.3",
|
|
515
|
+
"label": {
|
|
516
|
+
"type": "VTL|MD",
|
|
517
|
+
"value": "\"III - \" || \"Infos\""
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"conditionFilter": {
|
|
522
|
+
"bindingDependencies": ["VITICI"],
|
|
523
|
+
"type": "VTL",
|
|
524
|
+
"value": "(VITICI =\"1\")"
|
|
525
|
+
},
|
|
526
|
+
"label": {
|
|
527
|
+
"type": "VTL|MD",
|
|
528
|
+
"value": "\"➡ 5. \" || \"Combien de soeurs de 0 à 10 ?\""
|
|
529
|
+
},
|
|
530
|
+
"mandatory": false,
|
|
531
|
+
"bindingDependencies": ["NBS", "PRENOMREP"],
|
|
532
|
+
"min": 0,
|
|
533
|
+
"response": {
|
|
534
|
+
"name": "NBS"
|
|
535
|
+
},
|
|
536
|
+
"decimals": 0,
|
|
537
|
+
"id": "ldndgju5",
|
|
538
|
+
"page": "2.6"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"componentType": "InputNumber",
|
|
542
|
+
"controls": [
|
|
543
|
+
{
|
|
544
|
+
"criticality": "ERROR",
|
|
545
|
+
"errorMessage": {
|
|
546
|
+
"type": "VTL|MD",
|
|
547
|
+
"value": "\" La valeur doit être comprise entre 0 et 10.\""
|
|
548
|
+
},
|
|
549
|
+
"typeOfControl": "FORMAT",
|
|
550
|
+
"control": {
|
|
551
|
+
"type": "VTL",
|
|
552
|
+
"value": "not(not(isnull(NBS_VIE)) and (0>NBS_VIE or 10<NBS_VIE))"
|
|
553
|
+
},
|
|
554
|
+
"id": "ldndbd3b-format-borne-inf-sup"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"criticality": "ERROR",
|
|
558
|
+
"errorMessage": {
|
|
559
|
+
"type": "VTL|MD",
|
|
560
|
+
"value": "\"Le nombre doit comporter au maximum 0 chiffre(s) après la virgule.\""
|
|
561
|
+
},
|
|
562
|
+
"typeOfControl": "FORMAT",
|
|
563
|
+
"control": {
|
|
564
|
+
"type": "VTL",
|
|
565
|
+
"value": "not(not(isnull(NBS_VIE)) and round(NBS_VIE,0)<>NBS_VIE)"
|
|
566
|
+
},
|
|
567
|
+
"id": "ldndbd3b-format-decimal"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"max": 10,
|
|
571
|
+
"hierarchy": {
|
|
572
|
+
"sequence": {
|
|
573
|
+
"id": "ldndnqr7",
|
|
574
|
+
"page": "2.3",
|
|
575
|
+
"label": {
|
|
576
|
+
"type": "VTL|MD",
|
|
577
|
+
"value": "\"III - \" || \"Infos\""
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"conditionFilter": {
|
|
582
|
+
"bindingDependencies": ["VITICI", "NBS"],
|
|
583
|
+
"type": "VTL",
|
|
584
|
+
"value": "(VITICI =\"1\") and (nvl(NBS,0) > 1)"
|
|
585
|
+
},
|
|
586
|
+
"label": {
|
|
587
|
+
"type": "VTL|MD",
|
|
588
|
+
"value": "\"➡ 6. \" || \"Combien de soeurs en vie ?\""
|
|
589
|
+
},
|
|
590
|
+
"mandatory": false,
|
|
591
|
+
"bindingDependencies": ["NBS_VIE", "PRENOMREP"],
|
|
592
|
+
"min": 0,
|
|
593
|
+
"response": {
|
|
594
|
+
"name": "NBS_VIE"
|
|
595
|
+
},
|
|
596
|
+
"decimals": 0,
|
|
597
|
+
"id": "ldndbd3b",
|
|
598
|
+
"page": "2.7"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"componentType": "Sequence",
|
|
602
|
+
"bindingDependencies": ["PRENOMREP"],
|
|
603
|
+
"hierarchy": {
|
|
604
|
+
"sequence": {
|
|
605
|
+
"id": "ldnddl5z",
|
|
606
|
+
"page": "2.8",
|
|
607
|
+
"label": {
|
|
608
|
+
"type": "VTL|MD",
|
|
609
|
+
"value": "\"IV - \" || \"Autre\""
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"conditionFilter": {
|
|
614
|
+
"bindingDependencies": ["VITICI"],
|
|
615
|
+
"type": "VTL",
|
|
616
|
+
"value": "(VITICI =\"1\")"
|
|
617
|
+
},
|
|
618
|
+
"id": "ldnddl5z",
|
|
619
|
+
"page": "2.8",
|
|
620
|
+
"label": {
|
|
621
|
+
"type": "VTL|MD",
|
|
622
|
+
"value": "\"IV - \" || \"Autre\""
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"componentType": "Input",
|
|
627
|
+
"bindingDependencies": ["SIMPLEPOUR", "PRENOMREP"],
|
|
628
|
+
"response": {
|
|
629
|
+
"name": "SIMPLEPOUR"
|
|
630
|
+
},
|
|
631
|
+
"hierarchy": {
|
|
632
|
+
"sequence": {
|
|
633
|
+
"id": "ldnddl5z",
|
|
634
|
+
"page": "2.8",
|
|
635
|
+
"label": {
|
|
636
|
+
"type": "VTL|MD",
|
|
637
|
+
"value": "\"IV - \" || \"Autre\""
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"conditionFilter": {
|
|
642
|
+
"bindingDependencies": ["VITICI"],
|
|
643
|
+
"type": "VTL",
|
|
644
|
+
"value": "(VITICI =\"1\")"
|
|
645
|
+
},
|
|
646
|
+
"id": "ldndb6ao",
|
|
647
|
+
"page": "2.9",
|
|
648
|
+
"label": {
|
|
649
|
+
"type": "VTL|MD",
|
|
650
|
+
"value": "\"➡ 7. \" || \"Simple pour simuler Famille\""
|
|
651
|
+
},
|
|
652
|
+
"mandatory": false,
|
|
653
|
+
"maxLength": 249
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"componentType": "Sequence",
|
|
657
|
+
"bindingDependencies": ["PRENOMREP"],
|
|
658
|
+
"hierarchy": {
|
|
659
|
+
"sequence": {
|
|
660
|
+
"id": "ldndohgt",
|
|
661
|
+
"page": "2.10",
|
|
662
|
+
"label": {
|
|
663
|
+
"type": "VTL|MD",
|
|
664
|
+
"value": "\"V - \" || \"MERCI\""
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"conditionFilter": {
|
|
669
|
+
"bindingDependencies": ["VITICI"],
|
|
670
|
+
"type": "VTL",
|
|
671
|
+
"value": "(VITICI =\"1\")"
|
|
672
|
+
},
|
|
673
|
+
"id": "ldndohgt",
|
|
674
|
+
"page": "2.10",
|
|
675
|
+
"label": {
|
|
676
|
+
"type": "VTL|MD",
|
|
677
|
+
"value": "\"V - \" || \"MERCI\""
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"bindingDependencies": [
|
|
682
|
+
"PRENOMREP",
|
|
683
|
+
"VITICI",
|
|
684
|
+
"NBF",
|
|
685
|
+
"NBF_VIE",
|
|
686
|
+
"NBS",
|
|
687
|
+
"NBS_VIE",
|
|
688
|
+
"SIMPLEPOUR"
|
|
689
|
+
],
|
|
690
|
+
"depth": 1,
|
|
691
|
+
"conditionFilter": {
|
|
692
|
+
"type": "VTL",
|
|
693
|
+
"value": "true"
|
|
694
|
+
},
|
|
695
|
+
"id": "ldndohv2",
|
|
696
|
+
"page": "2",
|
|
697
|
+
"maxPage": "10",
|
|
698
|
+
"iterations": {
|
|
699
|
+
"type": "VTL",
|
|
700
|
+
"value": "count(PRENOMREP)"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"componentType": "Sequence",
|
|
705
|
+
"hierarchy": {
|
|
706
|
+
"sequence": {
|
|
707
|
+
"id": "ldndhokp",
|
|
708
|
+
"page": "3",
|
|
709
|
+
"label": {
|
|
710
|
+
"type": "VTL|MD",
|
|
711
|
+
"value": "\"VI - \" || \"FIN\""
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"conditionFilter": {
|
|
716
|
+
"type": "VTL",
|
|
717
|
+
"value": "true"
|
|
718
|
+
},
|
|
719
|
+
"id": "ldndhokp",
|
|
720
|
+
"page": "3",
|
|
721
|
+
"label": {
|
|
722
|
+
"type": "VTL|MD",
|
|
723
|
+
"value": "\"VI - \" || \"FIN\""
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"componentType": "Sequence",
|
|
728
|
+
"hierarchy": {
|
|
729
|
+
"sequence": {
|
|
730
|
+
"id": "COMMENT-SEQ",
|
|
731
|
+
"page": "4",
|
|
732
|
+
"label": {
|
|
733
|
+
"type": "VTL|MD",
|
|
734
|
+
"value": "\"Commentaire\""
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"conditionFilter": {
|
|
739
|
+
"type": "VTL",
|
|
740
|
+
"value": "true"
|
|
741
|
+
},
|
|
742
|
+
"id": "COMMENT-SEQ",
|
|
743
|
+
"page": "4",
|
|
744
|
+
"label": {
|
|
745
|
+
"type": "VTL|MD",
|
|
746
|
+
"value": "\"Commentaire\""
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"componentType": "Textarea",
|
|
751
|
+
"bindingDependencies": ["COMMENT_QE"],
|
|
752
|
+
"response": {
|
|
753
|
+
"name": "COMMENT_QE"
|
|
754
|
+
},
|
|
755
|
+
"hierarchy": {
|
|
756
|
+
"sequence": {
|
|
757
|
+
"id": "COMMENT-SEQ",
|
|
758
|
+
"page": "4",
|
|
759
|
+
"label": {
|
|
760
|
+
"type": "VTL|MD",
|
|
761
|
+
"value": "\"Commentaire\""
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"conditionFilter": {
|
|
766
|
+
"type": "VTL",
|
|
767
|
+
"value": "true"
|
|
768
|
+
},
|
|
769
|
+
"id": "COMMENT-QUESTION",
|
|
770
|
+
"page": "5",
|
|
771
|
+
"label": {
|
|
772
|
+
"type": "VTL|MD",
|
|
773
|
+
"value": "\"Avez-vous des remarques concernant l'enquête ou des commentaires ?\""
|
|
774
|
+
},
|
|
775
|
+
"mandatory": false,
|
|
776
|
+
"maxLength": 2000
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"pagination": "question",
|
|
780
|
+
"resizing": {},
|
|
781
|
+
"label": {
|
|
782
|
+
"type": "VTL|MD",
|
|
783
|
+
"value": "Bug - issue 399 - bug famille - filtre sur VITICI et vidage de questions filtrées"
|
|
784
|
+
},
|
|
785
|
+
"lunaticModelVersion": "2.3.1",
|
|
786
|
+
"modele": "TESTBUGFAM",
|
|
787
|
+
"enoCoreVersion": "2.4.0",
|
|
788
|
+
"generatingDate": "15-03-2023 13:26:11",
|
|
789
|
+
"missing": false,
|
|
790
|
+
"id": "ldndehwy",
|
|
791
|
+
"maxPage": "5"
|
|
926
792
|
}
|