@inseefr/lunatic 2.7.20-rc.2 → 2.7.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/lib/components/checkbox/commons/checkbox-option.spec.js +2 -2
  2. package/lib/components/commons/components/combo-box/combo-box-content.js +0 -1
  3. package/lib/components/commons/components/combo-box/combo-box.stories.js +2 -2
  4. package/lib/components/commons/components/combo-box/panel/option-container.spec.js +2 -2
  5. package/lib/components/commons/components/html-table/th.spec.js +2 -2
  6. package/lib/components/commons/components/html-table/thead.spec.js +2 -2
  7. package/lib/components/commons/components/lunatic-component-with-label.js +2 -2
  8. package/lib/components/commons/components/lunatic-component-without-label.js +2 -2
  9. package/lib/components/commons/components/md-label/link.js +2 -2
  10. package/lib/components/commons/components/md-label/md-label.js +2 -2
  11. package/lib/components/commons/components/md-label/router-link.js +2 -2
  12. package/lib/components/commons/components/missing/missing.js +2 -2
  13. package/lib/components/commons/components/orchestrated-component.js +2 -2
  14. package/lib/components/commons/create-customizable-field.js +2 -2
  15. package/lib/components/component-set/lunatic-component-set.js +2 -2
  16. package/lib/components/datepicker/html/datepicker.js +2 -2
  17. package/lib/components/declarations/declarations-after-text.js +2 -2
  18. package/lib/components/declarations/declarations-before-text.js +3 -5
  19. package/lib/components/declarations/declarations-detachable.js +2 -4
  20. package/lib/components/dropdown/html/dropdown-writable/writable-option-renderer.js +2 -2
  21. package/lib/components/duration/durationInput.js +2 -2
  22. package/lib/components/loop/block-for-loop.js +4 -4
  23. package/lib/components/loop/loop.js +2 -2
  24. package/lib/components/loop/roster-for-loop/roster-for-loop.js +2 -2
  25. package/lib/components/lunatic-components.js +2 -2
  26. package/lib/components/modal-controls/modal-controls.js +2 -2
  27. package/lib/components/pairwise-links/pairwise-links.js +2 -2
  28. package/lib/components/question-explication/question-explication.spec.js +2 -2
  29. package/lib/components/sequence/sequence.spec.js +2 -3
  30. package/lib/components/subsequence/subsequence.spec.js +2 -2
  31. package/lib/components/suggester-loader-widget/widget.js +2 -2
  32. package/lib/i18n/build-dictionary.js +2 -2
  33. package/lib/i18n/index.js +2 -2
  34. package/lib/src/components/declarations/declarations-before-text.d.ts +2 -2
  35. package/lib/src/components/declarations/declarations-detachable.d.ts +2 -2
  36. package/lib/src/components/sequence/html/sequence.d.ts +1 -1
  37. package/lib/src/components/type.d.ts +2 -2
  38. package/lib/src/index.d.ts +4 -0
  39. package/lib/src/use-lunatic/commons/fill-components/fill-component-required.d.ts +28 -32
  40. package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +6 -6
  41. package/lib/src/use-lunatic/commons/fill-components/fill-iterations.d.ts +20 -24
  42. package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +11 -11
  43. package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +1 -1
  44. package/lib/src/use-lunatic/replace-component-sequence.d.ts +1 -5
  45. package/lib/src/use-lunatic/type-source.d.ts +2 -5
  46. package/lib/src/use-lunatic/use-lunatic.d.ts +7 -7
  47. package/lib/stories/behaviour/cleaning/cleaning.stories.js +2 -2
  48. package/lib/stories/behaviour/controls/controls-externes.stories.js +2 -2
  49. package/lib/stories/behaviour/controls/controls.stories.js +2 -2
  50. package/lib/stories/behaviour/missing/missing.stories.js +2 -2
  51. package/lib/stories/behaviour/others/test.stories.js +2 -2
  52. package/lib/stories/behaviour/paste/source.json +44337 -5678
  53. package/lib/stories/behaviour/paste/test.stories.js +2 -2
  54. package/lib/stories/behaviour/performance/performance.stories.js +2 -2
  55. package/lib/stories/behaviour/resizing/resizing.stories.js +2 -2
  56. package/lib/stories/checkbox-boolean/checkboxBoolean.stories.js +2 -2
  57. package/lib/stories/checkbox-group/checkbox-group.stories.js +2 -2
  58. package/lib/stories/checkbox-one/checkboxOne.stories.js +2 -2
  59. package/lib/stories/component-set/component-set.stories.js +2 -2
  60. package/lib/stories/declaration/input.stories.js +2 -2
  61. package/lib/stories/disabled/disabled.stories.js +2 -2
  62. package/lib/stories/dropdown/dropdown.stories.js +2 -2
  63. package/lib/stories/duration/duration.stories.js +2 -2
  64. package/lib/stories/filter-description/filter-description.stories.js +2 -2
  65. package/lib/stories/input/input.stories.js +2 -2
  66. package/lib/stories/input-number/input-number.stories.js +2 -2
  67. package/lib/stories/loop/loop.stories.js +2 -2
  68. package/lib/stories/loop/roster-for-loop.stories.js +2 -2
  69. package/lib/stories/markdown/markdown.stories.js +2 -2
  70. package/lib/stories/modal/modal.stories.js +2 -2
  71. package/lib/stories/overview/overview.stories.js +2 -2
  72. package/lib/stories/pairwise/pairwise-links.stories.js +2 -2
  73. package/lib/stories/question/question.stories.js +4 -8
  74. package/lib/stories/question-context/question-context.stories.js +2 -2
  75. package/lib/stories/question-explication/question-explication.stories.js +2 -2
  76. package/lib/stories/question-information/question-information.stories.js +2 -2
  77. package/lib/stories/questionnaires/logement/logement.stories.js +2 -2
  78. package/lib/stories/questionnaires/recensement/recensement.stories.js +2 -2
  79. package/lib/stories/questionnaires/rp/rp.stories.js +2 -2
  80. package/lib/stories/questionnaires/simpsons/simpsons.stories.js +2 -2
  81. package/lib/stories/questionnaires2023/bySequence/ticWeb.stories.js +2 -2
  82. package/lib/stories/questionnaires2023/famille/famille.stories.js +2 -2
  83. package/lib/stories/questionnaires2023/simpsons/simpsons.stories.js +2 -2
  84. package/lib/stories/questionnaires2023/ticTel/ticWeb.stories.js +2 -2
  85. package/lib/stories/questionnaires2023/ticWeb/ticWeb.stories.js +2 -2
  86. package/lib/stories/radio/radio.stories.js +2 -2
  87. package/lib/stories/roundabout/roundabout.stories.js +2 -2
  88. package/lib/stories/sequence/sequence.stories.js +2 -2
  89. package/lib/stories/suggester/suggester.stories.js +2 -2
  90. package/lib/stories/summary/summary.stories.js +2 -2
  91. package/lib/stories/switch/switch.stories.js +2 -2
  92. package/lib/stories/table/table.stories.js +2 -2
  93. package/lib/stories/textarea/textarea.stories.js +2 -2
  94. package/lib/stories/utils/default-arg-types.js +2 -2
  95. package/lib/stories/utils/orchestrator.js +2 -2
  96. package/lib/use-lunatic/commons/check-loops.js +2 -2
  97. package/lib/use-lunatic/commons/compile-controls.js +2 -2
  98. package/lib/use-lunatic/commons/create-map-pages.js +2 -2
  99. package/lib/use-lunatic/commons/fill-components/fill-component-expressions.js +2 -2
  100. package/lib/use-lunatic/commons/fill-components/fill-component-required.js +2 -2
  101. package/lib/use-lunatic/commons/fill-components/fill-component-value.js +2 -2
  102. package/lib/use-lunatic/commons/fill-components/fill-from-state.js +2 -2
  103. package/lib/use-lunatic/commons/fill-components/fill-iterations.js +2 -2
  104. package/lib/use-lunatic/commons/fill-components/fill-management.js +2 -2
  105. package/lib/use-lunatic/commons/fill-components/fill-missing-response.js +2 -2
  106. package/lib/use-lunatic/commons/fill-components/fill-pagination.js +2 -2
  107. package/lib/use-lunatic/commons/fill-components/fill-specific-expression.js +2 -2
  108. package/lib/use-lunatic/commons/page-navigation.js +2 -2
  109. package/lib/use-lunatic/commons/page-navigation.spec.js +2 -2
  110. package/lib/use-lunatic/commons/variables/get-questionnaire-data.js +2 -2
  111. package/lib/use-lunatic/commons/variables/lunatic-variables-store.js +2 -2
  112. package/lib/use-lunatic/reducer/commons/auto-explore-loop.js +2 -2
  113. package/lib/use-lunatic/reducer/overview/overview-on-change.js +2 -2
  114. package/lib/use-lunatic/reducer/overview/overview-on-init.js +2 -2
  115. package/lib/use-lunatic/reducer/reduce-go-next-page.js +2 -2
  116. package/lib/use-lunatic/reducer/reduce-go-previous-page.js +2 -2
  117. package/lib/use-lunatic/reducer/reduce-go-to-page.js +2 -2
  118. package/lib/use-lunatic/reducer/reduce-handle-change.js +2 -2
  119. package/lib/use-lunatic/reducer/reduce-on-init.js +4 -4
  120. package/lib/use-lunatic/reducer/reduce-on-set-waiting.js +2 -2
  121. package/lib/use-lunatic/reducer/reduce-update-state.js +2 -2
  122. package/lib/use-lunatic/use-lunatic.test.js +2 -2
  123. package/lib/use-lunatic/use-suggesters.js +2 -2
  124. package/lib/utils/array.js +0 -1
  125. package/lib/utils/idb-tools/idb-bulk-insert.js +2 -2
  126. package/lib/utils/logger.js +2 -2
  127. package/lib/utils/suggester-workers/append-to-index/prepare-entities.js +2 -2
  128. package/lib/utils/suggester-workers/append-to-index/store-messages.js +2 -2
  129. package/lib/utils/suggester-workers/commons-tokenizer/create-entity-tokenizer.js +2 -2
  130. package/lib/utils/suggester-workers/commons-tokenizer/create-fields-tokenizer.js +2 -2
  131. package/lib/utils/suggester-workers/commons-tokenizer/create-filter-stop-words.js +2 -2
  132. package/lib/utils/suggester-workers/commons-tokenizer/filters/create-filter-stop-words.js +2 -2
  133. package/lib/utils/suggester-workers/commons-tokenizer/filters/filter-synonyms.js +2 -2
  134. package/lib/utils/suggester-workers/find-best-label/find-best-label.js +2 -2
  135. package/lib/utils/suggester-workers/searching/compute-score.js +2 -2
  136. package/lib/utils/suggester-workers/searching/searching.js +2 -2
  137. package/package.json +13 -18
  138. package/workers-release/lunatic-append-worker-0.3.0.js +1 -1
  139. package/workers-release/lunatic-label-worker-0.3.0.js +1 -1
  140. package/workers-release/lunatic-search-worker-0.3.0.js +1 -1
@@ -8,8 +8,8 @@ exports.supportedLanguages = exports.getLang = exports["default"] = void 0;
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
10
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
12
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
13
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
14
14
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
15
15
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
package/lib/i18n/index.js CHANGED
@@ -14,8 +14,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
14
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
16
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
19
  var D1 = (0, _buildDictionary["default"])('fr', _dictionary["default"]);
20
20
  var D2 = (0, _buildDictionary["default"])('en', _dictionary["default"]);
21
21
  var IN_FR = (0, _buildDictionary["default"])('fr', _inputNumberProps["default"]);
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type DeclarationsProps } from './declarations';
3
- declare const _default: React.ComponentType<Omit<DeclarationsProps, "type">>;
3
+ declare const _default: import("react").ComponentType<Omit<DeclarationsProps, "type">>;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { type DeclarationsProps } from './declarations';
3
- declare const _default: React.ComponentType<Omit<DeclarationsProps, "type">>;
3
+ declare const _default: import("react").ComponentType<Omit<DeclarationsProps, "type">>;
4
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import './sequence.scss';
3
3
  import type { LunaticBaseProps } from '../../type';
4
- declare const _default: import("react").ComponentType<Pick<LunaticBaseProps<string>, "label" | "style" | "id" | "description">>;
4
+ declare const _default: import("react").ComponentType<Pick<LunaticBaseProps<string>, "label" | "id" | "style" | "description">>;
5
5
  export default _default;
@@ -83,11 +83,11 @@ type ComponentPropsByType = {
83
83
  };
84
84
  Sequence: Pick<LunaticBaseProps<string>, 'id' | 'declarations' | 'label' | 'style'>;
85
85
  Subsequence: Pick<LunaticBaseProps<string>, 'id' | 'declarations' | 'label'>;
86
+ QuestionContext: Pick<LunaticBaseProps<unknown>, 'label' | 'description'>;
87
+ QuestionInformation: Pick<LunaticBaseProps<unknown>, 'label' | 'description'>;
86
88
  Question: Pick<LunaticBaseProps<unknown>, 'declarations' | 'label' | 'id' | 'description'> & {
87
89
  components: FilledLunaticComponentProps[];
88
90
  };
89
- QuestionContext: Pick<LunaticBaseProps<unknown>, 'label' | 'description'>;
90
- QuestionInformation: Pick<LunaticBaseProps<unknown>, 'label' | 'description'>;
91
91
  ComponentSet: LunaticBaseProps<unknown> & {
92
92
  components: FilledLunaticComponentProps[];
93
93
  value: Record<string, unknown>;
@@ -1,3 +1,7 @@
1
+ /**
2
+ * We should remove this export to avoid `import * as lunatic from "@inseefr/lunatic"` in orchestrators
3
+ * but this is a breaking change
4
+ */
1
5
  export * from './components';
2
6
  export * as components from './components';
3
7
  export { LunaticComponents } from './components/lunatic-components';
@@ -3,55 +3,51 @@ import type { LunaticComponentDefinition } from '../../type';
3
3
  * Add required attribute on component that are mandatory
4
4
  */
5
5
  export declare function fillComponentRequired(component: LunaticComponentDefinition): (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSequenceType & {
6
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
6
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
7
7
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSubSequenceType & {
8
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
8
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
9
9
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRosterForLoopType & {
10
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
10
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
11
11
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentLoopType & {
12
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
12
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
13
13
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentTableType & {
14
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
14
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
15
15
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentNumberType & {
16
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
16
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
17
17
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDatePickerType & {
18
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
18
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
19
19
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxGroupType & {
20
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
20
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
21
21
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxBooleanType & {
22
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
22
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
23
23
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRadioType & {
24
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
24
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
25
25
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentFilterDescriptionType & {
26
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
26
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
27
27
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDropdownType & {
28
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
28
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
29
29
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentPairWiseLinksType & {
30
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
30
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
31
31
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRoundaboutType & {
32
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
32
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
33
33
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSuggesterType & {
34
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
34
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
35
35
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentInputOrTextareaType & {
36
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
36
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
37
37
  }) | (import("../../type-source").ComponentTypeBase & {
38
38
  componentType: "CheckboxOne";
39
39
  } & {
40
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
40
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
41
41
  }) | (import("../../type-source").ComponentTypeBase & {
42
42
  componentType: "ConfirmationModal";
43
43
  } & {
44
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
44
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
45
45
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentComponentSetType & {
46
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
46
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
47
+ }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionType & {
48
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
47
49
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionExplicationType & {
48
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
49
- }) | (import("../../type-source").ComponentTypeBase & {
50
- componentType: "Question";
51
- components: import("../../type-source").ComponentType[];
52
- description: import("../../type-source").LabelType;
53
- } & {
54
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
50
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
55
51
  }) | {
56
52
  required: boolean;
57
53
  label: import("../../type-source").LabelType;
@@ -388,9 +384,9 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
388
384
  hierarchy?: import("../../type-source").Hierarchy | undefined;
389
385
  mandatory?: boolean | undefined;
390
386
  page: string;
391
- componentType: "QuestionExplication";
392
- description: string;
393
- bgColor?: string | undefined;
387
+ componentType: "Question";
388
+ components: import("../../type-source").ComponentType[];
389
+ description: import("../../type-source").LabelType;
394
390
  } | {
395
391
  required: boolean;
396
392
  label: import("../../type-source").LabelType;
@@ -402,7 +398,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
402
398
  hierarchy?: import("../../type-source").Hierarchy | undefined;
403
399
  mandatory?: boolean | undefined;
404
400
  page: string;
405
- componentType: "Question";
406
- components: import("../../type-source").ComponentType[];
407
- description: import("../../type-source").LabelType;
401
+ componentType: "QuestionExplication";
402
+ description: string;
403
+ bgColor?: string | undefined;
408
404
  };
@@ -827,9 +827,9 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
827
827
  hierarchy?: import("../../type-source").Hierarchy | undefined;
828
828
  mandatory?: boolean | undefined;
829
829
  page: string;
830
- componentType: "QuestionExplication";
831
- description: string;
832
- bgColor?: string | undefined;
830
+ componentType: "Question";
831
+ components: import("../../type-source").ComponentType[];
832
+ description: import("../../type-source").LabelType;
833
833
  } | {
834
834
  handleChange: (response: {
835
835
  name: string;
@@ -865,8 +865,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
865
865
  hierarchy?: import("../../type-source").Hierarchy | undefined;
866
866
  mandatory?: boolean | undefined;
867
867
  page: string;
868
- componentType: "Question";
869
- components: import("../../type-source").ComponentType[];
870
- description: import("../../type-source").LabelType;
868
+ componentType: "QuestionExplication";
869
+ description: string;
870
+ bgColor?: string | undefined;
871
871
  };
872
872
  export default fillFromState;
@@ -3,51 +3,47 @@ import type { LunaticComponentDefinition, LunaticState } from '../../type';
3
3
  * Fill the number of iterations for loop components without "iterations" expression
4
4
  */
5
5
  export declare function fillIterations(component: LunaticComponentDefinition, state: LunaticState): (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSequenceType & {
6
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
6
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
7
7
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSubSequenceType & {
8
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
8
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
9
9
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentTableType & {
10
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
10
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
11
11
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentNumberType & {
12
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
12
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
13
13
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDatePickerType & {
14
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
14
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
15
15
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxGroupType & {
16
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
16
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
17
17
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxBooleanType & {
18
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
18
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
19
19
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRadioType & {
20
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
20
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
21
21
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentFilterDescriptionType & {
22
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
22
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
23
23
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDropdownType & {
24
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
24
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
25
25
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentPairWiseLinksType & {
26
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
26
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
27
27
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRoundaboutType & {
28
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
28
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
29
29
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSuggesterType & {
30
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
30
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
31
31
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentInputOrTextareaType & {
32
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
32
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
33
33
  }) | (import("../../type-source").ComponentTypeBase & {
34
34
  componentType: "CheckboxOne";
35
35
  } & {
36
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
36
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
37
37
  }) | (import("../../type-source").ComponentTypeBase & {
38
38
  componentType: "ConfirmationModal";
39
39
  } & {
40
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
40
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
41
41
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentComponentSetType & {
42
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
42
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
43
+ }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionType & {
44
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
43
45
  }) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionExplicationType & {
44
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
45
- }) | (import("../../type-source").ComponentTypeBase & {
46
- componentType: "Question";
47
- components: import("../../type-source").ComponentType[];
48
- description: import("../../type-source").LabelType;
49
- } & {
50
- componentType: "CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
46
+ componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication";
51
47
  }) | {
52
48
  iterations: number;
53
49
  label: import("../../type-source").LabelType;
@@ -31,7 +31,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
31
31
  iterations: import("react").ReactNode;
32
32
  locked: boolean;
33
33
  } | {
34
- components: import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
34
+ components: import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
35
35
  label: import("react").ReactNode;
36
36
  declarations?: import("../../type-source").DeclarationType[] | undefined;
37
37
  conditionFilter?: import("react").ReactNode;
@@ -54,7 +54,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
54
54
  page: string;
55
55
  componentType: "ComponentSet";
56
56
  } | {
57
- components: import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
57
+ components: import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
58
58
  label: import("react").ReactNode;
59
59
  declarations?: import("../../type-source").DeclarationType[] | undefined;
60
60
  conditionFilter?: import("react").ReactNode;
@@ -78,7 +78,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
78
78
  componentType: "Question";
79
79
  description: import("react").ReactNode;
80
80
  } | {
81
- getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
81
+ getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
82
82
  label: import("react").ReactNode;
83
83
  declarations?: import("../../type-source").DeclarationType[] | undefined;
84
84
  conditionFilter?: import("react").ReactNode;
@@ -126,7 +126,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
126
126
  positioning: "HORIZONTAL";
127
127
  value?: Record<string, unknown[]> | undefined;
128
128
  } | {
129
- getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
129
+ getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
130
130
  label: import("react").ReactNode;
131
131
  declarations?: import("../../type-source").DeclarationType[] | undefined;
132
132
  conditionFilter?: import("react").ReactNode;
@@ -160,7 +160,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
160
160
  paginatedLoop: boolean;
161
161
  value?: Record<string, unknown[]> | undefined;
162
162
  } | {
163
- getComponents: (x: number, y: number) => import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
163
+ getComponents: (x: number, y: number) => import("./fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
164
164
  label: import("react").ReactNode;
165
165
  declarations?: import("../../type-source").DeclarationType[] | undefined;
166
166
  conditionFilter?: import("react").ReactNode;
@@ -789,9 +789,9 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
789
789
  } | undefined;
790
790
  mandatory?: boolean | undefined;
791
791
  page: string;
792
- componentType: "QuestionExplication";
793
- description: string;
794
- bgColor?: string | undefined;
792
+ componentType: "Question";
793
+ components: import("../../type-source").ComponentType[];
794
+ description: import("react").ReactNode;
795
795
  } & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
796
796
  conditionFilter?: boolean | undefined;
797
797
  }) | ({
@@ -815,9 +815,9 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
815
815
  } | undefined;
816
816
  mandatory?: boolean | undefined;
817
817
  page: string;
818
- componentType: "Question";
819
- components: import("../../type-source").ComponentType[];
820
- description: import("react").ReactNode;
818
+ componentType: "QuestionExplication";
819
+ description: string;
820
+ bgColor?: string | undefined;
821
821
  } & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
822
822
  conditionFilter?: boolean | undefined;
823
823
  }) | {
@@ -1,3 +1,3 @@
1
1
  import type { LunaticState } from '../type';
2
- declare function useComponentsFromState(state: LunaticState): import("./fill-components/fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
2
+ declare function useComponentsFromState(state: LunaticState): import("./fill-components/fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
3
3
  export default useComponentsFromState;
@@ -10,8 +10,4 @@ export declare function replaceComponentSequence(components: Array<LunaticCompon
10
10
  componentType: "CheckboxOne";
11
11
  }) | (import("./type-source").ComponentTypeBase & {
12
12
  componentType: "ConfirmationModal";
13
- }) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentComponentSetType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentQuestionExplicationType) | (import("./type-source").ComponentTypeBase & {
14
- componentType: "Question";
15
- components: import("./type-source").ComponentType[];
16
- description: import("./type-source").LabelType;
17
- }))[];
13
+ }) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentComponentSetType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentQuestionType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentQuestionExplicationType))[];
@@ -65,11 +65,7 @@ export type ComponentType = (ComponentTypeBase & ComponentSequenceType) | (Compo
65
65
  componentType: 'CheckboxOne';
66
66
  }) | (ComponentTypeBase & {
67
67
  componentType: 'ConfirmationModal';
68
- }) | (ComponentTypeBase & ComponentComponentSetType) | (ComponentTypeBase & ComponentQuestionExplicationType) | (ComponentTypeBase & {
69
- componentType: 'Question';
70
- components: ComponentType[];
71
- description: LabelType;
72
- });
68
+ }) | (ComponentTypeBase & ComponentComponentSetType) | (ComponentTypeBase & ComponentQuestionType) | (ComponentTypeBase & ComponentQuestionExplicationType);
73
69
  export type ComponentTypeEnum = ComponentType['componentType'];
74
70
  export type ComponentInputOrTextareaType = {
75
71
  componentType: 'Input' | 'Textarea';
@@ -198,6 +194,7 @@ export type ComponentPairWiseLinksType = {
198
194
  export type ComponentQuestionType = {
199
195
  componentType: 'Question';
200
196
  components: ComponentType[];
197
+ description: LabelType;
201
198
  };
202
199
  export type ComponentComponentSetType = {
203
200
  componentType: 'ComponentSet';
@@ -51,13 +51,13 @@ declare function useLunatic(source: LunaticSource, data: LunaticData | undefined
51
51
  name: string;
52
52
  };
53
53
  };
54
- Sequence: Pick<import("../components/type").LunaticBaseProps<string>, "label" | "style" | "id" | "declarations">;
54
+ Sequence: Pick<import("../components/type").LunaticBaseProps<string>, "label" | "id" | "style" | "declarations">;
55
55
  Subsequence: Pick<import("../components/type").LunaticBaseProps<string>, "label" | "id" | "declarations">;
56
+ QuestionContext: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
57
+ QuestionInformation: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
56
58
  Question: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "id" | "description" | "declarations"> & {
57
59
  components: import("./commons/fill-components/fill-components").FilledLunaticComponentProps[];
58
60
  };
59
- QuestionContext: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
60
- QuestionInformation: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
61
61
  ComponentSet: import("../components/type").LunaticBaseProps<unknown> & {
62
62
  components: import("./commons/fill-components/fill-components").FilledLunaticComponentProps[];
63
63
  value: Record<string, unknown>;
@@ -303,13 +303,13 @@ declare function useLunatic(source: LunaticSource, data: LunaticData | undefined
303
303
  name: string;
304
304
  };
305
305
  };
306
- Sequence: Pick<import("../components/type").LunaticBaseProps<string>, "label" | "style" | "id" | "declarations">;
306
+ Sequence: Pick<import("../components/type").LunaticBaseProps<string>, "label" | "id" | "style" | "declarations">;
307
307
  Subsequence: Pick<import("../components/type").LunaticBaseProps<string>, "label" | "id" | "declarations">;
308
+ QuestionContext: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
309
+ QuestionInformation: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
308
310
  Question: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "id" | "description" | "declarations"> & {
309
311
  components: import("./commons/fill-components/fill-components").FilledLunaticComponentProps[];
310
312
  };
311
- QuestionContext: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
312
- QuestionInformation: Pick<import("../components/type").LunaticBaseProps<unknown>, "label" | "description">;
313
313
  ComponentSet: import("../components/type").LunaticBaseProps<unknown> & {
314
314
  components: import("./commons/fill-components/fill-components").FilledLunaticComponentProps[];
315
315
  value: Record<string, unknown>;
@@ -532,7 +532,7 @@ declare function useLunatic(source: LunaticSource, data: LunaticData | undefined
532
532
  goPreviousPage: () => void;
533
533
  };
534
534
  })[] | undefined;
535
- }) => import("./commons/fill-components/fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Question" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication">[];
535
+ }) => import("./commons/fill-components/fill-components").FilledLunaticComponentProps<"CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "Question" | "QuestionExplication">[];
536
536
  goPreviousPage: () => void;
537
537
  goNextPage: (payload?: {}) => void;
538
538
  goToPage: (page: {
@@ -15,8 +15,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
17
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
19
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
20
20
  var stories = {
21
21
  title: 'Behaviour/Cleaning',
22
22
  component: _orchestrator["default"],
@@ -14,8 +14,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
14
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
16
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
19
  var stories = {
20
20
  title: 'Questionnaires-Tests/Controls-externes',
21
21
  component: _orchestrator["default"],
@@ -18,8 +18,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
19
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
20
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
22
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
23
23
  var stories = {
24
24
  title: 'Behaviour/Controls',
25
25
  component: _orchestrator["default"],