@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
@@ -37,8 +37,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
37
37
  workersBasePath: string | undefined;
38
38
  goNextPage: () => void;
39
39
  goPreviousPage: () => void;
40
- label: import("../../type-source").LabelType;
41
- description?: import("../../type-source").LabelType | undefined;
40
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
41
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
42
42
  declarations?: import("../../type-source").DeclarationType[] | undefined;
43
43
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
44
44
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -75,8 +75,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
75
75
  workersBasePath: string | undefined;
76
76
  goNextPage: () => void;
77
77
  goPreviousPage: () => void;
78
- label: import("../../type-source").LabelType;
79
- description?: import("../../type-source").LabelType | undefined;
78
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
79
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
80
80
  declarations?: import("../../type-source").DeclarationType[] | undefined;
81
81
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
82
82
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -112,8 +112,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
112
112
  workersBasePath: string | undefined;
113
113
  goNextPage: () => void;
114
114
  goPreviousPage: () => void;
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
  declarations?: import("../../type-source").DeclarationType[] | undefined;
118
118
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
119
119
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -125,16 +125,16 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
125
125
  componentType: "RosterForLoop";
126
126
  components: import("../../type-source").ComponentType[];
127
127
  lines: {
128
- min: import("../../type-source").LabelType;
129
- max: import("../../type-source").LabelType;
128
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
129
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
130
130
  };
131
131
  header?: {
132
132
  value: string;
133
- label: string | import("../../type-source").LabelType;
133
+ label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
134
134
  options: {
135
135
  value: string;
136
- label: import("../../type-source").LabelType;
137
- description?: import("../../type-source").LabelType | undefined;
136
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
137
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
138
138
  }[];
139
139
  colspan?: number | undefined;
140
140
  rowspan?: number | undefined;
@@ -166,8 +166,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
166
166
  workersBasePath: string | undefined;
167
167
  goNextPage: () => void;
168
168
  goPreviousPage: () => void;
169
- label: import("../../type-source").LabelType;
170
- description?: import("../../type-source").LabelType | undefined;
169
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
170
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
171
171
  declarations?: import("../../type-source").DeclarationType[] | undefined;
172
172
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
173
173
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -182,7 +182,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
182
182
  depth: number;
183
183
  paginatedLoop: true;
184
184
  maxPage: string;
185
- iterations: import("../../type-source").LabelType;
185
+ iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
186
186
  } | {
187
187
  handleChange: (response: {
188
188
  name: string;
@@ -209,8 +209,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
209
209
  workersBasePath: string | undefined;
210
210
  goNextPage: () => void;
211
211
  goPreviousPage: () => void;
212
- label: import("../../type-source").LabelType;
213
- description?: import("../../type-source").LabelType | undefined;
212
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
213
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
214
214
  declarations?: import("../../type-source").DeclarationType[] | undefined;
215
215
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
216
216
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -225,8 +225,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
225
225
  depth: number;
226
226
  paginatedLoop: false;
227
227
  lines: {
228
- min: import("../../type-source").LabelType;
229
- max: import("../../type-source").LabelType;
228
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
229
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
230
230
  };
231
231
  } | {
232
232
  handleChange: (response: {
@@ -254,8 +254,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
254
254
  workersBasePath: string | undefined;
255
255
  goNextPage: () => void;
256
256
  goPreviousPage: () => void;
257
- label: import("../../type-source").LabelType;
258
- description?: import("../../type-source").LabelType | undefined;
257
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
258
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
259
259
  declarations?: import("../../type-source").DeclarationType[] | undefined;
260
260
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
261
261
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -267,17 +267,17 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
267
267
  componentType: "Table";
268
268
  header: {
269
269
  value: string;
270
- label: string | import("../../type-source").LabelType;
270
+ label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
271
271
  options: {
272
272
  value: string;
273
- label: import("../../type-source").LabelType;
274
- description?: import("../../type-source").LabelType | undefined;
273
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
274
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
275
275
  }[];
276
276
  colspan?: number | undefined;
277
277
  rowspan?: number | undefined;
278
278
  }[] | undefined;
279
279
  body: ({
280
- label: import("../../type-source").LabelType;
280
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
281
281
  colspan?: number | undefined;
282
282
  rowspan?: number | undefined;
283
283
  } | (import("../../type-source").ComponentType & {
@@ -310,8 +310,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
310
310
  workersBasePath: string | undefined;
311
311
  goNextPage: () => void;
312
312
  goPreviousPage: () => void;
313
- label: import("../../type-source").LabelType;
314
- description?: import("../../type-source").LabelType | undefined;
313
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
314
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
315
315
  declarations?: import("../../type-source").DeclarationType[] | undefined;
316
316
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
317
317
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -352,8 +352,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
352
352
  workersBasePath: string | undefined;
353
353
  goNextPage: () => void;
354
354
  goPreviousPage: () => void;
355
- label: import("../../type-source").LabelType;
356
- description?: import("../../type-source").LabelType | undefined;
355
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
356
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
357
357
  declarations?: import("../../type-source").DeclarationType[] | undefined;
358
358
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
359
359
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -393,8 +393,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
393
393
  workersBasePath: string | undefined;
394
394
  goNextPage: () => void;
395
395
  goPreviousPage: () => void;
396
- label: import("../../type-source").LabelType;
397
- description?: import("../../type-source").LabelType | undefined;
396
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
397
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
398
398
  declarations?: import("../../type-source").DeclarationType[] | undefined;
399
399
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
400
400
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -432,8 +432,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
432
432
  workersBasePath: string | undefined;
433
433
  goNextPage: () => void;
434
434
  goPreviousPage: () => void;
435
- label: import("../../type-source").LabelType;
436
- description?: import("../../type-source").LabelType | undefined;
435
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
436
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
437
437
  declarations?: import("../../type-source").DeclarationType[] | undefined;
438
438
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
439
439
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -444,8 +444,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
444
444
  page: string;
445
445
  componentType: "CheckboxGroup";
446
446
  responses: {
447
- label: import("../../type-source").LabelType;
448
- description?: import("../../type-source").LabelType | undefined;
447
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
448
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
449
449
  response: import("../../type-source").ResponseType;
450
450
  id: string;
451
451
  }[];
@@ -475,8 +475,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
475
475
  workersBasePath: string | undefined;
476
476
  goNextPage: () => void;
477
477
  goPreviousPage: () => void;
478
- label: import("../../type-source").LabelType;
479
- description?: import("../../type-source").LabelType | undefined;
478
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
479
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
480
480
  declarations?: import("../../type-source").DeclarationType[] | undefined;
481
481
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
482
482
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -514,8 +514,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
514
514
  workersBasePath: string | undefined;
515
515
  goNextPage: () => void;
516
516
  goPreviousPage: () => void;
517
- label: import("../../type-source").LabelType;
518
- description?: import("../../type-source").LabelType | undefined;
517
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
518
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
519
519
  declarations?: import("../../type-source").DeclarationType[] | undefined;
520
520
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
521
521
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -527,8 +527,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
527
527
  componentType: "Radio";
528
528
  options: {
529
529
  value: string;
530
- label: import("../../type-source").LabelType;
531
- description?: import("../../type-source").LabelType | undefined;
530
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
531
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
532
532
  }[];
533
533
  response: import("../../type-source").ResponseType;
534
534
  missingResponse?: import("../../type-source").ResponseType | undefined;
@@ -558,8 +558,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
558
558
  workersBasePath: string | undefined;
559
559
  goNextPage: () => void;
560
560
  goPreviousPage: () => void;
561
- label: import("../../type-source").LabelType;
562
- description?: import("../../type-source").LabelType | undefined;
561
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
562
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
563
563
  declarations?: import("../../type-source").DeclarationType[] | undefined;
564
564
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
565
565
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -596,8 +596,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
596
596
  workersBasePath: string | undefined;
597
597
  goNextPage: () => void;
598
598
  goPreviousPage: () => void;
599
- label: import("../../type-source").LabelType;
600
- description?: import("../../type-source").LabelType | undefined;
599
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
600
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
601
601
  declarations?: import("../../type-source").DeclarationType[] | undefined;
602
602
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
603
603
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -609,8 +609,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
609
609
  componentType: "Dropdown";
610
610
  options: {
611
611
  value: string;
612
- label: import("../../type-source").LabelType;
613
- description?: import("../../type-source").LabelType | undefined;
612
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
613
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
614
614
  }[];
615
615
  response: import("../../type-source").ResponseType;
616
616
  missingResponse?: import("../../type-source").ResponseType | undefined;
@@ -640,7 +640,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
640
640
  workersBasePath: string | undefined;
641
641
  goNextPage: () => void;
642
642
  goPreviousPage: () => void;
643
- description?: import("../../type-source").LabelType | undefined;
643
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
644
644
  declarations?: import("../../type-source").DeclarationType[] | undefined;
645
645
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
646
646
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -650,8 +650,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
650
650
  mandatory?: boolean | undefined;
651
651
  page: string;
652
652
  componentType: "PairwiseLinks";
653
- xAxisIterations: import("../../type-source").LabelType;
654
- yAxisIterations: import("../../type-source").LabelType;
653
+ xAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
654
+ yAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
655
655
  symLinks: {
656
656
  [variableName: string]: Record<string, string | null>;
657
657
  };
@@ -682,8 +682,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
682
682
  workersBasePath: string | undefined;
683
683
  goNextPage: () => void;
684
684
  goPreviousPage: () => void;
685
- label: import("../../type-source").LabelType;
686
- description?: import("../../type-source").LabelType | undefined;
685
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
686
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
687
687
  declarations?: import("../../type-source").DeclarationType[] | undefined;
688
688
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
689
689
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -694,9 +694,9 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
694
694
  page: string;
695
695
  componentType: "Roundabout";
696
696
  components: import("../../type-source").ComponentType[];
697
- iterations: import("../../type-source").LabelType;
697
+ iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
698
698
  locked: boolean;
699
- expressions: Record<string, import("../../type-source").LabelType>;
699
+ expressions: Record<string, import("../../type-source").LabelType<"VTL" | "VTL|MD">>;
700
700
  } | {
701
701
  handleChange: (response: {
702
702
  name: string;
@@ -723,8 +723,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
723
723
  workersBasePath: string | undefined;
724
724
  goNextPage: () => void;
725
725
  goPreviousPage: () => void;
726
- label: import("../../type-source").LabelType;
727
- description?: import("../../type-source").LabelType | undefined;
726
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
727
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
728
728
  declarations?: import("../../type-source").DeclarationType[] | undefined;
729
729
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
730
730
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -736,6 +736,11 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
736
736
  componentType: "Suggester";
737
737
  storeName: string;
738
738
  response: import("../../type-source").ResponseType;
739
+ arbitrary?: {
740
+ response: {
741
+ name: string;
742
+ };
743
+ } | undefined;
739
744
  optionResponses: {
740
745
  name: string;
741
746
  attribute: string;
@@ -766,8 +771,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
766
771
  workersBasePath: string | undefined;
767
772
  goNextPage: () => void;
768
773
  goPreviousPage: () => void;
769
- label: import("../../type-source").LabelType;
770
- description?: import("../../type-source").LabelType | undefined;
774
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
775
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
771
776
  declarations?: import("../../type-source").DeclarationType[] | undefined;
772
777
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
773
778
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -806,8 +811,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
806
811
  workersBasePath: string | undefined;
807
812
  goNextPage: () => void;
808
813
  goPreviousPage: () => void;
809
- label: import("../../type-source").LabelType;
810
- description?: import("../../type-source").LabelType | undefined;
814
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
815
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
811
816
  declarations?: import("../../type-source").DeclarationType[] | undefined;
812
817
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
813
818
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -821,8 +826,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
821
826
  missingResponse?: import("../../type-source").ResponseType | undefined;
822
827
  options: {
823
828
  value: string;
824
- label: import("../../type-source").LabelType;
825
- description?: import("../../type-source").LabelType | undefined;
829
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
830
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
826
831
  }[];
827
832
  } | {
828
833
  handleChange: (response: {
@@ -850,8 +855,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
850
855
  workersBasePath: string | undefined;
851
856
  goNextPage: () => void;
852
857
  goPreviousPage: () => void;
853
- label: import("../../type-source").LabelType;
854
- description: import("../../type-source").LabelType;
858
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
859
+ description: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
855
860
  declarations?: import("../../type-source").DeclarationType[] | undefined;
856
861
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
857
862
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -38,8 +38,8 @@ export declare function fillIterations(component: LunaticComponentDefinition, st
38
38
  componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
39
39
  }) | {
40
40
  iterations: number;
41
- label: import("../../type-source").LabelType;
42
- description?: import("../../type-source").LabelType | undefined;
41
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
42
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
43
43
  declarations?: import("../../type-source").DeclarationType[] | undefined;
44
44
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
45
45
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -56,8 +56,8 @@ export declare function fillIterations(component: LunaticComponentDefinition, st
56
56
  maxPage: string;
57
57
  } | {
58
58
  iterations: number;
59
- label: import("../../type-source").LabelType;
60
- description?: import("../../type-source").LabelType | undefined;
59
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
60
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
61
61
  declarations?: import("../../type-source").DeclarationType[] | undefined;
62
62
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
63
63
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -69,11 +69,11 @@ export declare function fillIterations(component: LunaticComponentDefinition, st
69
69
  componentType: "Roundabout";
70
70
  components: import("../../type-source").ComponentType[];
71
71
  locked: boolean;
72
- expressions: Record<string, import("../../type-source").LabelType>;
72
+ expressions: Record<string, import("../../type-source").LabelType<"VTL" | "VTL|MD">>;
73
73
  } | {
74
74
  iterations: number;
75
- label: import("../../type-source").LabelType;
76
- description?: import("../../type-source").LabelType | undefined;
75
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
76
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
77
77
  declarations?: import("../../type-source").DeclarationType[] | undefined;
78
78
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
79
79
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -85,16 +85,16 @@ export declare function fillIterations(component: LunaticComponentDefinition, st
85
85
  componentType: "RosterForLoop";
86
86
  components: import("../../type-source").ComponentType[];
87
87
  lines: {
88
- min: import("../../type-source").LabelType;
89
- max: import("../../type-source").LabelType;
88
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
89
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
90
90
  };
91
91
  header?: {
92
92
  value: string;
93
- label: string | import("../../type-source").LabelType;
93
+ label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
94
94
  options: {
95
95
  value: string;
96
- label: import("../../type-source").LabelType;
97
- description?: import("../../type-source").LabelType | undefined;
96
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
97
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
98
98
  }[];
99
99
  colspan?: number | undefined;
100
100
  rowspan?: number | undefined;
@@ -102,8 +102,8 @@ export declare function fillIterations(component: LunaticComponentDefinition, st
102
102
  positioning: "HORIZONTAL";
103
103
  } | {
104
104
  iterations: number;
105
- label: import("../../type-source").LabelType;
106
- description?: import("../../type-source").LabelType | undefined;
105
+ label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
106
+ description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
107
107
  declarations?: import("../../type-source").DeclarationType[] | undefined;
108
108
  conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
109
109
  controls?: import("../../type-source").ControlType[] | undefined;
@@ -118,7 +118,7 @@ export declare function fillIterations(component: LunaticComponentDefinition, st
118
118
  depth: number;
119
119
  paginatedLoop: false;
120
120
  lines: {
121
- min: import("../../type-source").LabelType;
122
- max: import("../../type-source").LabelType;
121
+ min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
122
+ max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
123
123
  };
124
124
  };