@inseefr/lunatic 3.0.0-rc.13 → 3.0.0-rc.15

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 (82) hide show
  1. package/lib/main.css +0 -2
  2. package/lib/main.css.map +1 -1
  3. package/lib/package.json +3 -3
  4. package/lib/src/components/Loop/Loop.d.ts +1 -1
  5. package/lib/src/components/LunaticComponents.d.ts +5 -4
  6. package/lib/src/components/LunaticComponents.js.map +1 -1
  7. package/lib/src/components/PairwiseLinks/PairwiseLinks.js +31 -5
  8. package/lib/src/components/PairwiseLinks/PairwiseLinks.js.map +1 -1
  9. package/lib/src/components/Radio/Radio.d.ts +1 -0
  10. package/lib/src/components/RosterForLoop/RosterForLoop.spec.js.map +1 -1
  11. package/lib/src/components/Sequence/Sequence.d.ts +3 -1
  12. package/lib/src/components/Subsequence/Subsequence.d.ts +3 -1
  13. package/lib/src/components/Suggester/CustomSuggester.d.ts +9 -8
  14. package/lib/src/components/Suggester/CustomSuggester.js +4 -31
  15. package/lib/src/components/Suggester/CustomSuggester.js.map +1 -1
  16. package/lib/src/components/Suggester/Suggester.d.ts +1 -1
  17. package/lib/src/components/Suggester/Suggester.js +57 -35
  18. package/lib/src/components/Suggester/Suggester.js.map +1 -1
  19. package/lib/src/components/Suggester/SuggesterNotification.d.ts +5 -6
  20. package/lib/src/components/Suggester/SuggesterNotification.js +5 -10
  21. package/lib/src/components/Suggester/SuggesterNotification.js.map +1 -1
  22. package/lib/src/components/Suggester/useSuggestions.d.ts +20 -0
  23. package/lib/src/components/Suggester/useSuggestions.js +86 -0
  24. package/lib/src/components/Suggester/useSuggestions.js.map +1 -0
  25. package/lib/src/components/Switch/Switch.d.ts +1 -0
  26. package/lib/src/components/library.d.ts +15 -5
  27. package/lib/src/components/shared/Combobox/Combobox.d.ts +2 -0
  28. package/lib/src/components/shared/Combobox/Combobox.js +5 -6
  29. package/lib/src/components/shared/Combobox/Combobox.js.map +1 -1
  30. package/lib/src/components/shared/Combobox/ComboboxType.d.ts +1 -0
  31. package/lib/src/components/shared/Combobox/Panel/ComboboxOption.js +4 -0
  32. package/lib/src/components/shared/Combobox/Panel/ComboboxOption.js.map +1 -1
  33. package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.d.ts +1 -1
  34. package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.js +15 -1
  35. package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.js.map +1 -1
  36. package/lib/src/components/shared/Combobox/Selection/ComboboxLabelSelection.js +6 -0
  37. package/lib/src/components/shared/Combobox/Selection/ComboboxLabelSelection.js.map +1 -1
  38. package/lib/src/components/type.d.ts +41 -11
  39. package/lib/src/components/type.js.map +1 -1
  40. package/lib/src/hooks/use-track-changes.js +1 -1
  41. package/lib/src/hooks/use-track-changes.js.map +1 -1
  42. package/lib/src/hooks/useDebounce.d.ts +4 -0
  43. package/lib/src/hooks/useDebounce.js +23 -0
  44. package/lib/src/hooks/useDebounce.js.map +1 -0
  45. package/lib/src/hooks/useDocumentEvent.js +1 -1
  46. package/lib/src/hooks/useDocumentEvent.js.map +1 -1
  47. package/lib/src/hooks/{use-ref-sync.js → useRefSync.js} +1 -1
  48. package/lib/src/hooks/useRefSync.js.map +1 -0
  49. package/lib/src/hooks/useSuggesterInfo.d.ts +1 -1
  50. package/lib/src/i18n/dictionary.d.ts +16 -0
  51. package/lib/src/i18n/dictionary.js +16 -0
  52. package/lib/src/i18n/dictionary.js.map +1 -1
  53. package/lib/src/i18n/index.d.ts +1 -1
  54. package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.js +3 -0
  55. package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
  56. package/lib/src/use-lunatic/commons/fill-components/fill-component-required.d.ts +71 -66
  57. package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +68 -63
  58. package/lib/src/use-lunatic/commons/fill-components/fill-iterations.d.ts +16 -16
  59. package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +70 -60
  60. package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.js +16 -0
  61. package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.js.map +1 -1
  62. package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +2 -1
  63. package/lib/src/use-lunatic/commons/use-components-from-state.js.map +1 -1
  64. package/lib/src/use-lunatic/hooks/use-page-has-response.d.ts +2 -2
  65. package/lib/src/use-lunatic/hooks/use-page-has-response.js +6 -3
  66. package/lib/src/use-lunatic/hooks/use-page-has-response.js.map +1 -1
  67. package/lib/src/use-lunatic/replace-component-sequence.d.ts +3 -3
  68. package/lib/src/use-lunatic/type-source.d.ts +7 -2
  69. package/lib/src/use-lunatic/use-lunatic.d.ts +4 -486
  70. package/lib/src/use-lunatic/use-lunatic.js +2 -2
  71. package/lib/src/use-lunatic/use-lunatic.js.map +1 -1
  72. package/lib/src/use-lunatic/use-lunatic.test.js +2 -2
  73. package/lib/src/use-lunatic/use-lunatic.test.js.map +1 -1
  74. package/lib/src/utils/function.d.ts +1 -0
  75. package/lib/src/utils/function.js +18 -0
  76. package/lib/src/utils/function.js.map +1 -1
  77. package/package.json +3 -3
  78. package/lib/src/components/Suggester/SuggesterStatus.d.ts +0 -23
  79. package/lib/src/components/Suggester/SuggesterStatus.js +0 -24
  80. package/lib/src/components/Suggester/SuggesterStatus.js.map +0 -1
  81. package/lib/src/hooks/use-ref-sync.js.map +0 -1
  82. /package/lib/src/hooks/{use-ref-sync.d.ts → useRefSync.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useEffect } from 'react';
2
- import { useRefSync } from './use-ref-sync';
2
+ import { useRefSync } from './useRefSync';
3
3
  function useDocumentEvent(eventName, callback, options) {
4
4
  // We want to avoid attaching / detaching listener constantly, create a ref to remember the callback
5
5
  const refCallback = useRefSync(callback);
@@ -1 +1 @@
1
- {"version":3,"file":"useDocumentEvent.js","sourceRoot":"","sources":["../../../src/hooks/useDocumentEvent.ts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AAC,EACD,CAAC,WAAW,CAAC,CACb,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACd,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QACxD,OAAO,GAAG,EAAE;YACX,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC5D,CAAC,CAAC;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;AACpC,CAAC;AAED,eAAe,gBAAgB,CAAC"}
@@ -7,4 +7,4 @@ export function useRefSync(value) {
7
7
  ref.current = value;
8
8
  return ref;
9
9
  }
10
- //# sourceMappingURL=use-ref-sync.js.map
10
+ //# sourceMappingURL=useRefSync.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRefSync.js","sourceRoot":"","sources":["../../../src/hooks/useRefSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,UAAU,UAAU,CAAI,KAAQ;IACrC,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC1B,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC;IACpB,OAAO,GAAG,CAAC;AACZ,CAAC"}
@@ -3,7 +3,7 @@ import type { SuggesterType } from '../use-lunatic/type-source';
3
3
  * Retrieves suggester info from indexedDB
4
4
  */
5
5
  export declare function useSuggesterInfo(storeName: string, version: string): {
6
- state: "Loading" | "Ready" | "Error";
6
+ state: "Error" | "Loading" | "Ready";
7
7
  infos: SuggesterType | undefined;
8
8
  fetchInfos: () => Promise<void>;
9
9
  };
@@ -27,6 +27,22 @@ declare const dictionary: {
27
27
  readonly fr: "Commencez votre saisie...";
28
28
  readonly en: "Start typing...";
29
29
  };
30
+ readonly SUGGESTER_LOADING: {
31
+ readonly fr: "Liste en cours de chargement";
32
+ readonly en: "List is loading";
33
+ };
34
+ readonly SUGGESTER_NO_RESULT: {
35
+ readonly fr: "Aucun résultat trouvé";
36
+ readonly en: "No results";
37
+ };
38
+ readonly SUGGESTER_ERROR: {
39
+ readonly fr: "Erreur lors du chargement de la liste";
40
+ readonly en: "An error has occured while loading the list";
41
+ };
42
+ readonly SUGGESTER_ARBITRARY: {
43
+ readonly fr: "Choisir";
44
+ readonly en: "Select";
45
+ };
30
46
  };
31
47
  export default dictionary;
32
48
  export type Dictionary = typeof dictionary;
@@ -6,6 +6,22 @@ const dictionary = {
6
6
  DK: { fr: 'Ne sais pas', en: "Don't know" },
7
7
  RF: { fr: 'Refus', en: 'Refused' },
8
8
  PLACEHOLDER: { fr: 'Commencez votre saisie...', en: 'Start typing...' },
9
+ SUGGESTER_LOADING: {
10
+ fr: 'Liste en cours de chargement',
11
+ en: 'List is loading',
12
+ },
13
+ SUGGESTER_NO_RESULT: {
14
+ fr: 'Aucun résultat trouvé',
15
+ en: 'No results',
16
+ },
17
+ SUGGESTER_ERROR: {
18
+ fr: 'Erreur lors du chargement de la liste',
19
+ en: 'An error has occured while loading the list',
20
+ },
21
+ SUGGESTER_ARBITRARY: {
22
+ fr: 'Choisir',
23
+ en: 'Select',
24
+ },
9
25
  };
10
26
  export default dictionary;
11
27
  //# sourceMappingURL=dictionary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary.js","sourceRoot":"","sources":["../../../src/i18n/dictionary.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG;IAClB,kBAAkB,EAAE,EAAE,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE,SAAS,EAAE;IAC9D,qBAAqB,EAAE,EAAE,EAAE,EAAE,qBAAqB,EAAE,EAAE,EAAE,YAAY,EAAE;IACtE,YAAY,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,QAAQ,EAAE;IAChD,aAAa,EAAE,EAAE,EAAE,EAAE,qBAAqB,EAAE,EAAE,EAAE,SAAS,EAAE;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"}
@@ -3,5 +3,5 @@ export declare const inputNumberPropsI18N: {
3
3
  thousandSeparator: string;
4
4
  decimalSeparator: string;
5
5
  };
6
- declare const _default: Record<"DK" | "RF" | "DEFAULT_BUTTON_ADD" | "DEFAULT_BUTTON_REMOVE" | "MODAL_IGNORE" | "MODAL_CORRECT" | "PLACEHOLDER", string>;
6
+ declare const _default: Record<"DK" | "RF" | "DEFAULT_BUTTON_ADD" | "DEFAULT_BUTTON_REMOVE" | "MODAL_IGNORE" | "MODAL_CORRECT" | "PLACEHOLDER" | "SUGGESTER_LOADING" | "SUGGESTER_NO_RESULT" | "SUGGESTER_ERROR" | "SUGGESTER_ARBITRARY", string>;
7
7
  export default _default;
@@ -23,6 +23,9 @@ const VTL_ATTRIBUTES = [
23
23
  'header.label',
24
24
  'disabled',
25
25
  'readOnly',
26
+ // For suggesters
27
+ 'arbitrary.label',
28
+ 'arbitrary.inputLabel',
26
29
  ];
27
30
  function createCrawl({ executeExpression, iteration, linksIterations, }) {
28
31
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"fill-component-expressions.js","sourceRoot":"","sources":["../../../../../src/use-lunatic/commons/fill-components/fill-component-expressions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAMpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,cAAc,GAAG;IACtB,OAAO;IACP,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,0BAA0B;IAC1B,6BAA6B;IAC7B,oBAAoB;IACpB,aAAa;IACb,uBAAuB;IACvB,qBAAqB;IACrB,+BAA+B;IAC/B,sBAAsB;IACtB,2BAA2B;IAC3B,qBAAqB;IACrB,WAAW;IACX,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,UAAU;IACV,UAAU;CACV,CAAC;AAcF,SAAS,WAAW,CAAC,EACpB,iBAAiB,EACjB,SAAS,EACT,eA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;IACH,CAAC,EACD,EAAE,GAAG,SAAS,EAAsB,CACpC,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,wBAAwB,CAChC,SAAqC,EACrC,KAGC;IAED,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAC3C,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAC7C,OAAO,cAAc,CAAC,SAAS,EAAE;QAChC,iBAAiB;QACjB,SAAS;QACT,eAAe;KACf,CAAC,CAAC;AACJ,CAAC;AAED,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"fill-component-expressions.js","sourceRoot":"","sources":["../../../../../src/use-lunatic/commons/fill-components/fill-component-expressions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAMpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,cAAc,GAAG;IACtB,OAAO;IACP,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,0BAA0B;IAC1B,6BAA6B;IAC7B,oBAAoB;IACpB,aAAa;IACb,uBAAuB;IACvB,qBAAqB;IACrB,+BAA+B;IAC/B,sBAAsB;IACtB,2BAA2B;IAC3B,qBAAqB;IACrB,WAAW;IACX,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,iBAAiB;IACjB,sBAAsB;CACtB,CAAC;AAcF,SAAS,WAAW,CAAC,EACpB,iBAAiB,EACjB,SAAS,EACT,eAAe,GACJ;IACX;;OAEG;IACH,SAAS,oBAAoB,CAAC,MAA+B,EAAE,IAAY;QAC1E,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC;YACJ,MAAM,MAAM,GAAG,iBAAiB,CAAC,SAAS,EAAE;gBAC3C,SAAS,EAAE,eAAe,IAA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AAE,GAAG,KAAK,CAAC;IAC7C,OAAO,cAAc,CAAC,SAAS,EAAE;QAChC,iBAAiB;QACjB,SAAS;QACT,eAAe;KACf,CAAC,CAAC;AACJ,CAAC;AAED,eAAe,wBAAwB,CAAC"}
@@ -16,7 +16,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
16
16
  } & {
17
17
  paginatedLoop: true;
18
18
  maxPage: string;
19
- iterations: import("../../type-source").LabelType;
19
+ iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
20
20
  } & {
21
21
  componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
22
22
  }) | (import("../../type-source").ComponentTypeBase & {
@@ -27,8 +27,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
27
27
  } & {
28
28
  paginatedLoop: false;
29
29
  lines: {
30
- min: import("../../type-source").LabelType;
31
- max: import("../../type-source").LabelType;
30
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
31
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
32
32
  };
33
33
  } & {
34
34
  componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
@@ -64,8 +64,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
64
64
  componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
65
65
  }) | {
66
66
  required: boolean;
67
- label: import("../../type-source").LabelType;
68
- description?: import("../../type-source").LabelType | undefined;
67
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
68
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
69
69
  declarations?: import("../../type-source").DeclarationType[] | undefined;
70
70
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
71
71
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -78,8 +78,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
78
78
  gotoPage?: string | undefined;
79
79
  } | {
80
80
  required: boolean;
81
- label: import("../../type-source").LabelType;
82
- description?: import("../../type-source").LabelType | undefined;
81
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
82
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
83
83
  declarations?: import("../../type-source").DeclarationType[] | undefined;
84
84
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
85
85
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -91,8 +91,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
91
91
  componentType: "Subsequence";
92
92
  } | {
93
93
  required: boolean;
94
- label: import("../../type-source").LabelType;
95
- description?: import("../../type-source").LabelType | undefined;
94
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
95
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
96
96
  declarations?: import("../../type-source").DeclarationType[] | undefined;
97
97
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
98
98
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -104,16 +104,16 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
104
104
  componentType: "RosterForLoop";
105
105
  components: import("../../type-source").ComponentType[];
106
106
  lines: {
107
- min: import("../../type-source").LabelType;
108
- max: import("../../type-source").LabelType;
107
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
108
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
109
109
  };
110
110
  header?: {
111
111
  value: string;
112
- label: string | import("../../type-source").LabelType;
112
+ label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
113
113
  options: {
114
114
  value: string;
115
- label: import("../../type-source").LabelType;
116
- description?: import("../../type-source").LabelType | undefined;
115
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
116
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
117
117
  }[];
118
118
  colspan?: number | undefined;
119
119
  rowspan?: number | undefined;
@@ -121,8 +121,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
121
121
  positioning: "HORIZONTAL";
122
122
  } | {
123
123
  required: boolean;
124
- label: import("../../type-source").LabelType;
125
- description?: import("../../type-source").LabelType | undefined;
124
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
125
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
126
126
  declarations?: import("../../type-source").DeclarationType[] | undefined;
127
127
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
128
128
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -137,11 +137,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
137
137
  depth: number;
138
138
  paginatedLoop: true;
139
139
  maxPage: string;
140
- iterations: import("../../type-source").LabelType;
140
+ iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
141
141
  } | {
142
142
  required: boolean;
143
- label: import("../../type-source").LabelType;
144
- description?: import("../../type-source").LabelType | undefined;
143
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
144
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
145
145
  declarations?: import("../../type-source").DeclarationType[] | undefined;
146
146
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
147
147
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -156,13 +156,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
156
156
  depth: number;
157
157
  paginatedLoop: false;
158
158
  lines: {
159
- min: import("../../type-source").LabelType;
160
- max: import("../../type-source").LabelType;
159
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
160
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
161
161
  };
162
162
  } | {
163
163
  required: boolean;
164
- label: import("../../type-source").LabelType;
165
- description?: import("../../type-source").LabelType | undefined;
164
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
165
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
166
166
  declarations?: import("../../type-source").DeclarationType[] | undefined;
167
167
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
168
168
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -174,17 +174,17 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
174
174
  componentType: "Table";
175
175
  header: {
176
176
  value: string;
177
- label: string | import("../../type-source").LabelType;
177
+ label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
178
178
  options: {
179
179
  value: string;
180
- label: import("../../type-source").LabelType;
181
- description?: import("../../type-source").LabelType | undefined;
180
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
181
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
182
182
  }[];
183
183
  colspan?: number | undefined;
184
184
  rowspan?: number | undefined;
185
185
  }[] | undefined;
186
186
  body: ({
187
- label: import("../../type-source").LabelType;
187
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
188
188
  colspan?: number | undefined;
189
189
  rowspan?: number | undefined;
190
190
  } | (import("../../type-source").ComponentType & {
@@ -193,8 +193,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
193
193
  }))[][];
194
194
  } | {
195
195
  required: boolean;
196
- label: import("../../type-source").LabelType;
197
- description?: import("../../type-source").LabelType | undefined;
196
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
197
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
198
198
  declarations?: import("../../type-source").DeclarationType[] | undefined;
199
199
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
200
200
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -211,8 +211,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
211
211
  decimals?: number | undefined;
212
212
  } | {
213
213
  required: boolean;
214
- label: import("../../type-source").LabelType;
215
- description?: import("../../type-source").LabelType | undefined;
214
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
215
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
216
216
  declarations?: import("../../type-source").DeclarationType[] | undefined;
217
217
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
218
218
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -228,8 +228,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
228
228
  max?: string | undefined;
229
229
  } | {
230
230
  required: boolean;
231
- label: import("../../type-source").LabelType;
232
- description?: import("../../type-source").LabelType | undefined;
231
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
232
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
233
233
  declarations?: import("../../type-source").DeclarationType[] | undefined;
234
234
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
235
235
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -243,8 +243,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
243
243
  response: import("../../type-source").ResponseType;
244
244
  } | {
245
245
  required: boolean;
246
- label: import("../../type-source").LabelType;
247
- description?: import("../../type-source").LabelType | undefined;
246
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
247
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
248
248
  declarations?: import("../../type-source").DeclarationType[] | undefined;
249
249
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
250
250
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -255,15 +255,15 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
255
255
  page: string;
256
256
  componentType: "CheckboxGroup";
257
257
  responses: {
258
- label: import("../../type-source").LabelType;
259
- description?: import("../../type-source").LabelType | undefined;
258
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
259
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
260
260
  response: import("../../type-source").ResponseType;
261
261
  id: string;
262
262
  }[];
263
263
  } | {
264
264
  required: boolean;
265
- label: import("../../type-source").LabelType;
266
- description?: import("../../type-source").LabelType | undefined;
265
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
266
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
267
267
  declarations?: import("../../type-source").DeclarationType[] | undefined;
268
268
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
269
269
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -277,8 +277,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
277
277
  missingResponse?: import("../../type-source").ResponseType | undefined;
278
278
  } | {
279
279
  required: boolean;
280
- label: import("../../type-source").LabelType;
281
- description?: import("../../type-source").LabelType | undefined;
280
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
281
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
282
282
  declarations?: import("../../type-source").DeclarationType[] | undefined;
283
283
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
284
284
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -290,15 +290,15 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
290
290
  componentType: "Radio";
291
291
  options: {
292
292
  value: string;
293
- label: import("../../type-source").LabelType;
294
- description?: import("../../type-source").LabelType | undefined;
293
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
294
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
295
295
  }[];
296
296
  response: import("../../type-source").ResponseType;
297
297
  missingResponse?: import("../../type-source").ResponseType | undefined;
298
298
  } | {
299
299
  required: boolean;
300
- label: import("../../type-source").LabelType;
301
- description?: import("../../type-source").LabelType | undefined;
300
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
301
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
302
302
  declarations?: import("../../type-source").DeclarationType[] | undefined;
303
303
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
304
304
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -311,8 +311,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
311
311
  filterDescription: boolean;
312
312
  } | {
313
313
  required: boolean;
314
- label: import("../../type-source").LabelType;
315
- description?: import("../../type-source").LabelType | undefined;
314
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
315
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
316
316
  declarations?: import("../../type-source").DeclarationType[] | undefined;
317
317
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
318
318
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -324,14 +324,14 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
324
324
  componentType: "Dropdown";
325
325
  options: {
326
326
  value: string;
327
- label: import("../../type-source").LabelType;
328
- description?: import("../../type-source").LabelType | undefined;
327
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
328
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
329
329
  }[];
330
330
  response: import("../../type-source").ResponseType;
331
331
  missingResponse?: import("../../type-source").ResponseType | undefined;
332
332
  } | {
333
333
  required: boolean;
334
- description?: import("../../type-source").LabelType | undefined;
334
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
335
335
  declarations?: import("../../type-source").DeclarationType[] | undefined;
336
336
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
337
337
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -341,16 +341,16 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
341
341
  mandatory?: boolean | undefined;
342
342
  page: string;
343
343
  componentType: "PairwiseLinks";
344
- xAxisIterations: import("../../type-source").LabelType;
345
- yAxisIterations: import("../../type-source").LabelType;
344
+ xAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
345
+ yAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
346
346
  symLinks: {
347
347
  [variableName: string]: Record<string, string | null>;
348
348
  };
349
349
  components: import("../../type-source").ComponentType[];
350
350
  } | {
351
351
  required: boolean;
352
- label: import("../../type-source").LabelType;
353
- description?: import("../../type-source").LabelType | undefined;
352
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
353
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
354
354
  declarations?: import("../../type-source").DeclarationType[] | undefined;
355
355
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
356
356
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -361,13 +361,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
361
361
  page: string;
362
362
  componentType: "Roundabout";
363
363
  components: import("../../type-source").ComponentType[];
364
- iterations: import("../../type-source").LabelType;
364
+ iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
365
365
  locked: boolean;
366
- expressions: Record<string, import("../../type-source").LabelType>;
366
+ expressions: Record<string, import("../../type-source").LabelType<"VTL" | "VTL|MD">>;
367
367
  } | {
368
368
  required: boolean;
369
- label: import("../../type-source").LabelType;
370
- description?: import("../../type-source").LabelType | undefined;
369
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
370
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
371
371
  declarations?: import("../../type-source").DeclarationType[] | undefined;
372
372
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
373
373
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -379,14 +379,19 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
379
379
  componentType: "Suggester";
380
380
  storeName: string;
381
381
  response: import("../../type-source").ResponseType;
382
+ arbitrary?: {
383
+ response: {
384
+ name: string;
385
+ };
386
+ } | undefined;
382
387
  optionResponses: {
383
388
  name: string;
384
389
  attribute: string;
385
390
  }[];
386
391
  } | {
387
392
  required: boolean;
388
- label: import("../../type-source").LabelType;
389
- description?: import("../../type-source").LabelType | undefined;
393
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
394
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
390
395
  declarations?: import("../../type-source").DeclarationType[] | undefined;
391
396
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
392
397
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -401,8 +406,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
401
406
  response: import("../../type-source").ResponseType;
402
407
  } | {
403
408
  required: boolean;
404
- label: import("../../type-source").LabelType;
405
- description?: import("../../type-source").LabelType | undefined;
409
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
410
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
406
411
  declarations?: import("../../type-source").DeclarationType[] | undefined;
407
412
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
408
413
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -416,13 +421,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
416
421
  missingResponse?: import("../../type-source").ResponseType | undefined;
417
422
  options: {
418
423
  value: string;
419
- label: import("../../type-source").LabelType;
420
- description?: import("../../type-source").LabelType | undefined;
424
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
425
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
421
426
  }[];
422
427
  } | {
423
428
  required: boolean;
424
- label: import("../../type-source").LabelType;
425
- description: import("../../type-source").LabelType;
429
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
430
+ description: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
426
431
  declarations?: import("../../type-source").DeclarationType[] | undefined;
427
432
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
428
433
  controls?: import("../../type-source").ControlType[] | undefined;