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