@inseefr/lunatic 3.0.0-rc.12 → 3.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/main.css +0 -2
- package/lib/main.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/src/components/Duration/durationUtils.js +1 -1
- package/lib/src/components/Radio/Radio.js +2 -2
- package/lib/src/components/Radio/Radio.js.map +1 -1
- package/lib/src/components/Suggester/CustomSuggester.d.ts +9 -8
- package/lib/src/components/Suggester/CustomSuggester.js +4 -31
- package/lib/src/components/Suggester/CustomSuggester.js.map +1 -1
- package/lib/src/components/Suggester/Suggester.d.ts +1 -1
- package/lib/src/components/Suggester/Suggester.js +57 -35
- package/lib/src/components/Suggester/Suggester.js.map +1 -1
- package/lib/src/components/Suggester/SuggesterNotification.d.ts +5 -6
- package/lib/src/components/Suggester/SuggesterNotification.js +5 -10
- package/lib/src/components/Suggester/SuggesterNotification.js.map +1 -1
- package/lib/src/components/Suggester/useSuggestions.d.ts +20 -0
- package/lib/src/components/Suggester/useSuggestions.js +86 -0
- package/lib/src/components/Suggester/useSuggestions.js.map +1 -0
- package/lib/src/components/shared/Combobox/Combobox.d.ts +2 -0
- package/lib/src/components/shared/Combobox/Combobox.js +5 -6
- package/lib/src/components/shared/Combobox/Combobox.js.map +1 -1
- package/lib/src/components/shared/Combobox/ComboboxType.d.ts +1 -0
- package/lib/src/components/shared/Combobox/Panel/ComboboxOption.js +4 -0
- package/lib/src/components/shared/Combobox/Panel/ComboboxOption.js.map +1 -1
- package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.d.ts +1 -1
- package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.js +15 -1
- package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.js.map +1 -1
- package/lib/src/components/shared/Combobox/Selection/ComboboxLabelSelection.js +6 -0
- package/lib/src/components/shared/Combobox/Selection/ComboboxLabelSelection.js.map +1 -1
- package/lib/src/components/type.d.ts +8 -1
- package/lib/src/hooks/use-track-changes.js +1 -1
- package/lib/src/hooks/use-track-changes.js.map +1 -1
- package/lib/src/hooks/useDebounce.d.ts +4 -0
- package/lib/src/hooks/useDebounce.js +23 -0
- package/lib/src/hooks/useDebounce.js.map +1 -0
- package/lib/src/hooks/useDocumentEvent.js +1 -1
- package/lib/src/hooks/useDocumentEvent.js.map +1 -1
- package/lib/src/hooks/{use-ref-sync.js → useRefSync.js} +1 -1
- package/lib/src/hooks/useRefSync.js.map +1 -0
- package/lib/src/hooks/useSuggesterInfo.d.ts +1 -1
- package/lib/src/i18n/dictionary.d.ts +16 -0
- package/lib/src/i18n/dictionary.js +16 -0
- package/lib/src/i18n/dictionary.js.map +1 -1
- package/lib/src/i18n/index.d.ts +1 -1
- package/lib/src/use-lunatic/actions.d.ts +6 -6
- package/lib/src/use-lunatic/commons/check-pager.js +1 -1
- package/lib/src/use-lunatic/commons/check-pager.js.map +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.js +3 -0
- package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-component-required.d.ts +105 -83
- package/lib/src/use-lunatic/commons/fill-components/fill-component-value.spec.js +2 -2
- package/lib/src/use-lunatic/commons/fill-components/fill-component-value.spec.js.map +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +124 -80
- package/lib/src/use-lunatic/commons/fill-components/fill-iterations.d.ts +34 -32
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +131 -65
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.js +16 -0
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.js.map +1 -1
- package/lib/src/use-lunatic/commons/is-First-last-page.js +1 -1
- package/lib/src/use-lunatic/commons/is-First-last-page.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-navigation.js +11 -11
- package/lib/src/use-lunatic/commons/page-navigation.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-navigation.spec.js +21 -21
- package/lib/src/use-lunatic/commons/page-navigation.spec.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-tag.d.ts +9 -5
- package/lib/src/use-lunatic/commons/page-tag.js +19 -12
- package/lib/src/use-lunatic/commons/page-tag.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-tag.spec.d.ts +1 -0
- package/lib/src/use-lunatic/commons/page-tag.spec.js +19 -0
- package/lib/src/use-lunatic/commons/page-tag.spec.js.map +1 -0
- package/lib/src/use-lunatic/commons/page.d.ts +1 -1
- package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +1 -1
- package/lib/src/use-lunatic/initial-state.js +2 -2
- package/lib/src/use-lunatic/initial-state.js.map +1 -1
- package/lib/src/use-lunatic/reducer/commons/auto-explore-loop.js +1 -1
- package/lib/src/use-lunatic/reducer/commons/auto-explore-loop.js.map +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-change.js +2 -2
- package/lib/src/use-lunatic/reducer/overview/overview-on-change.js.map +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.d.ts +4 -4
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.js +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.js.map +1 -1
- package/lib/src/use-lunatic/reducer/reduce-go-to-page.js +7 -10
- package/lib/src/use-lunatic/reducer/reduce-go-to-page.js.map +1 -1
- package/lib/src/use-lunatic/reducer/reduce-on-init.js +2 -2
- package/lib/src/use-lunatic/reducer/reduce-on-init.js.map +1 -1
- package/lib/src/use-lunatic/replace-component-sequence.d.ts +4 -4
- package/lib/src/use-lunatic/type-source.d.ts +13 -3
- package/lib/src/use-lunatic/type.d.ts +5 -4
- package/lib/src/use-lunatic/use-lunatic.d.ts +29 -15
- package/lib/src/use-lunatic/use-lunatic.test.js +5 -5
- package/lib/src/use-lunatic/use-lunatic.test.js.map +1 -1
- package/lib/src/utils/function.d.ts +1 -0
- package/lib/src/utils/function.js +18 -0
- package/lib/src/utils/function.js.map +1 -1
- package/package.json +3 -3
- package/lib/src/components/Suggester/SuggesterStatus.d.ts +0 -23
- package/lib/src/components/Suggester/SuggesterStatus.js +0 -24
- package/lib/src/components/Suggester/SuggesterStatus.js.map +0 -1
- package/lib/src/hooks/use-ref-sync.js.map +0 -1
- /package/lib/src/hooks/{use-ref-sync.d.ts → useRefSync.d.ts} +0 -0
|
@@ -3,11 +3,11 @@ 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: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
6
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
7
7
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSubSequenceType & {
|
|
8
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
8
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
9
9
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRosterForLoopType & {
|
|
10
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
10
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
11
11
|
}) | (import("../../type-source").ComponentTypeBase & {
|
|
12
12
|
componentType: "Loop";
|
|
13
13
|
loopDependencies: string[];
|
|
@@ -16,9 +16,9 @@ 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
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
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 & {
|
|
23
23
|
componentType: "Loop";
|
|
24
24
|
loopDependencies: string[];
|
|
@@ -27,43 +27,45 @@ 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
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
34
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
35
35
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentTableType & {
|
|
36
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
36
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
37
37
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentNumberType & {
|
|
38
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
38
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
39
39
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDatePickerType & {
|
|
40
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
40
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
41
|
+
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDurationType & {
|
|
42
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
41
43
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxGroupType & {
|
|
42
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
44
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
43
45
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxBooleanType & {
|
|
44
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
46
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
45
47
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRadioType & {
|
|
46
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
48
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
47
49
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentFilterDescriptionType & {
|
|
48
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
50
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
49
51
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDropdownType & {
|
|
50
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
52
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
51
53
|
}) | (Omit<import("../../type-source").ComponentTypeBase, "label"> & import("../../type-source").ComponentPairWiseLinksType & {
|
|
52
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
54
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
53
55
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRoundaboutType & {
|
|
54
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
56
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
55
57
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSuggesterType & {
|
|
56
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
58
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
57
59
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentInputOrTextareaType & {
|
|
58
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
60
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
59
61
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxOneType & {
|
|
60
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
62
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
61
63
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionType & {
|
|
62
|
-
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
64
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "Duration" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
63
65
|
}) | {
|
|
64
66
|
required: boolean;
|
|
65
|
-
label: import("../../type-source").LabelType
|
|
66
|
-
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;
|
|
67
69
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
68
70
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
69
71
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -76,8 +78,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
76
78
|
gotoPage?: string | undefined;
|
|
77
79
|
} | {
|
|
78
80
|
required: boolean;
|
|
79
|
-
label: import("../../type-source").LabelType
|
|
80
|
-
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;
|
|
81
83
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
82
84
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
83
85
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -89,8 +91,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
89
91
|
componentType: "Subsequence";
|
|
90
92
|
} | {
|
|
91
93
|
required: boolean;
|
|
92
|
-
label: import("../../type-source").LabelType
|
|
93
|
-
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;
|
|
94
96
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
95
97
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
96
98
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -102,16 +104,16 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
102
104
|
componentType: "RosterForLoop";
|
|
103
105
|
components: import("../../type-source").ComponentType[];
|
|
104
106
|
lines: {
|
|
105
|
-
min: import("../../type-source").LabelType
|
|
106
|
-
max: import("../../type-source").LabelType
|
|
107
|
+
min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
108
|
+
max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
107
109
|
};
|
|
108
110
|
header?: {
|
|
109
111
|
value: string;
|
|
110
|
-
label: string | import("../../type-source").LabelType
|
|
112
|
+
label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
111
113
|
options: {
|
|
112
114
|
value: string;
|
|
113
|
-
label: import("../../type-source").LabelType
|
|
114
|
-
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;
|
|
115
117
|
}[];
|
|
116
118
|
colspan?: number | undefined;
|
|
117
119
|
rowspan?: number | undefined;
|
|
@@ -119,8 +121,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
119
121
|
positioning: "HORIZONTAL";
|
|
120
122
|
} | {
|
|
121
123
|
required: boolean;
|
|
122
|
-
label: import("../../type-source").LabelType
|
|
123
|
-
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;
|
|
124
126
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
125
127
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
126
128
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -135,11 +137,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
135
137
|
depth: number;
|
|
136
138
|
paginatedLoop: true;
|
|
137
139
|
maxPage: string;
|
|
138
|
-
iterations: import("../../type-source").LabelType
|
|
140
|
+
iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
139
141
|
} | {
|
|
140
142
|
required: boolean;
|
|
141
|
-
label: import("../../type-source").LabelType
|
|
142
|
-
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;
|
|
143
145
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
144
146
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
145
147
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -154,13 +156,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
154
156
|
depth: number;
|
|
155
157
|
paginatedLoop: false;
|
|
156
158
|
lines: {
|
|
157
|
-
min: import("../../type-source").LabelType
|
|
158
|
-
max: import("../../type-source").LabelType
|
|
159
|
+
min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
160
|
+
max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
159
161
|
};
|
|
160
162
|
} | {
|
|
161
163
|
required: boolean;
|
|
162
|
-
label: import("../../type-source").LabelType
|
|
163
|
-
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;
|
|
164
166
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
165
167
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
166
168
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -172,17 +174,17 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
172
174
|
componentType: "Table";
|
|
173
175
|
header: {
|
|
174
176
|
value: string;
|
|
175
|
-
label: string | import("../../type-source").LabelType
|
|
177
|
+
label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
176
178
|
options: {
|
|
177
179
|
value: string;
|
|
178
|
-
label: import("../../type-source").LabelType
|
|
179
|
-
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;
|
|
180
182
|
}[];
|
|
181
183
|
colspan?: number | undefined;
|
|
182
184
|
rowspan?: number | undefined;
|
|
183
185
|
}[] | undefined;
|
|
184
186
|
body: ({
|
|
185
|
-
label: import("../../type-source").LabelType
|
|
187
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
186
188
|
colspan?: number | undefined;
|
|
187
189
|
rowspan?: number | undefined;
|
|
188
190
|
} | (import("../../type-source").ComponentType & {
|
|
@@ -191,8 +193,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
191
193
|
}))[][];
|
|
192
194
|
} | {
|
|
193
195
|
required: boolean;
|
|
194
|
-
label: import("../../type-source").LabelType
|
|
195
|
-
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;
|
|
196
198
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
197
199
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
198
200
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -209,8 +211,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
209
211
|
decimals?: number | undefined;
|
|
210
212
|
} | {
|
|
211
213
|
required: boolean;
|
|
212
|
-
label: import("../../type-source").LabelType
|
|
213
|
-
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;
|
|
214
216
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
215
217
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
216
218
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -226,8 +228,23 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
226
228
|
max?: string | undefined;
|
|
227
229
|
} | {
|
|
228
230
|
required: boolean;
|
|
229
|
-
label: import("../../type-source").LabelType
|
|
230
|
-
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
|
+
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
234
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
235
|
+
controls?: import("../../type-source").ControlType[] | undefined;
|
|
236
|
+
id: string;
|
|
237
|
+
bindingDependencies?: string[] | undefined;
|
|
238
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
239
|
+
mandatory?: boolean | undefined;
|
|
240
|
+
page: string;
|
|
241
|
+
componentType: "Duration";
|
|
242
|
+
format: "PnYnM" | "PTnHnM";
|
|
243
|
+
response: import("../../type-source").ResponseType;
|
|
244
|
+
} | {
|
|
245
|
+
required: boolean;
|
|
246
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
247
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
231
248
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
232
249
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
233
250
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -238,15 +255,15 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
238
255
|
page: string;
|
|
239
256
|
componentType: "CheckboxGroup";
|
|
240
257
|
responses: {
|
|
241
|
-
label: import("../../type-source").LabelType
|
|
242
|
-
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;
|
|
243
260
|
response: import("../../type-source").ResponseType;
|
|
244
261
|
id: string;
|
|
245
262
|
}[];
|
|
246
263
|
} | {
|
|
247
264
|
required: boolean;
|
|
248
|
-
label: import("../../type-source").LabelType
|
|
249
|
-
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;
|
|
250
267
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
251
268
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
252
269
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -260,8 +277,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
260
277
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
261
278
|
} | {
|
|
262
279
|
required: boolean;
|
|
263
|
-
label: import("../../type-source").LabelType
|
|
264
|
-
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;
|
|
265
282
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
266
283
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
267
284
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -273,15 +290,15 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
273
290
|
componentType: "Radio";
|
|
274
291
|
options: {
|
|
275
292
|
value: string;
|
|
276
|
-
label: import("../../type-source").LabelType
|
|
277
|
-
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;
|
|
278
295
|
}[];
|
|
279
296
|
response: import("../../type-source").ResponseType;
|
|
280
297
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
281
298
|
} | {
|
|
282
299
|
required: boolean;
|
|
283
|
-
label: import("../../type-source").LabelType
|
|
284
|
-
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;
|
|
285
302
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
286
303
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
287
304
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -294,8 +311,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
294
311
|
filterDescription: boolean;
|
|
295
312
|
} | {
|
|
296
313
|
required: boolean;
|
|
297
|
-
label: import("../../type-source").LabelType
|
|
298
|
-
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;
|
|
299
316
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
300
317
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
301
318
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -307,14 +324,14 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
307
324
|
componentType: "Dropdown";
|
|
308
325
|
options: {
|
|
309
326
|
value: string;
|
|
310
|
-
label: import("../../type-source").LabelType
|
|
311
|
-
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;
|
|
312
329
|
}[];
|
|
313
330
|
response: import("../../type-source").ResponseType;
|
|
314
331
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
315
332
|
} | {
|
|
316
333
|
required: boolean;
|
|
317
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
334
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
318
335
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
319
336
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
320
337
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -324,16 +341,16 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
324
341
|
mandatory?: boolean | undefined;
|
|
325
342
|
page: string;
|
|
326
343
|
componentType: "PairwiseLinks";
|
|
327
|
-
xAxisIterations: import("../../type-source").LabelType
|
|
328
|
-
yAxisIterations: import("../../type-source").LabelType
|
|
344
|
+
xAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
345
|
+
yAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
329
346
|
symLinks: {
|
|
330
347
|
[variableName: string]: Record<string, string | null>;
|
|
331
348
|
};
|
|
332
349
|
components: import("../../type-source").ComponentType[];
|
|
333
350
|
} | {
|
|
334
351
|
required: boolean;
|
|
335
|
-
label: import("../../type-source").LabelType
|
|
336
|
-
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;
|
|
337
354
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
338
355
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
339
356
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -344,13 +361,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
344
361
|
page: string;
|
|
345
362
|
componentType: "Roundabout";
|
|
346
363
|
components: import("../../type-source").ComponentType[];
|
|
347
|
-
iterations: import("../../type-source").LabelType
|
|
364
|
+
iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
348
365
|
locked: boolean;
|
|
349
|
-
expressions: Record<string, import("../../type-source").LabelType
|
|
366
|
+
expressions: Record<string, import("../../type-source").LabelType<"VTL" | "VTL|MD">>;
|
|
350
367
|
} | {
|
|
351
368
|
required: boolean;
|
|
352
|
-
label: import("../../type-source").LabelType
|
|
353
|
-
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;
|
|
354
371
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
355
372
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
356
373
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -362,14 +379,19 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
362
379
|
componentType: "Suggester";
|
|
363
380
|
storeName: string;
|
|
364
381
|
response: import("../../type-source").ResponseType;
|
|
382
|
+
arbitrary?: {
|
|
383
|
+
response: {
|
|
384
|
+
name: string;
|
|
385
|
+
};
|
|
386
|
+
} | undefined;
|
|
365
387
|
optionResponses: {
|
|
366
388
|
name: string;
|
|
367
389
|
attribute: string;
|
|
368
390
|
}[];
|
|
369
391
|
} | {
|
|
370
392
|
required: boolean;
|
|
371
|
-
label: import("../../type-source").LabelType
|
|
372
|
-
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;
|
|
373
395
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
374
396
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
375
397
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -384,8 +406,8 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
384
406
|
response: import("../../type-source").ResponseType;
|
|
385
407
|
} | {
|
|
386
408
|
required: boolean;
|
|
387
|
-
label: import("../../type-source").LabelType
|
|
388
|
-
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;
|
|
389
411
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
390
412
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
391
413
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -399,13 +421,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
399
421
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
400
422
|
options: {
|
|
401
423
|
value: string;
|
|
402
|
-
label: import("../../type-source").LabelType
|
|
403
|
-
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;
|
|
404
426
|
}[];
|
|
405
427
|
} | {
|
|
406
428
|
required: boolean;
|
|
407
|
-
label: import("../../type-source").LabelType
|
|
408
|
-
description: import("../../type-source").LabelType
|
|
429
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
430
|
+
description: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
409
431
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
410
432
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
411
433
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fill-component-value.spec.js","sourceRoot":"","sources":["../../../../../src/use-lunatic/commons/fill-components/fill-component-value.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IACnC,6BAA6B;IAC7B,MAAM,qBAAqB,GAAG,CAC7B,SAAqC;IACrC,6BAA6B;IAC7B,SAAkC,EAAE;IACpC,kBAAkB;IAClB,SAAkB,EACjB,EAAE;QACH,OAAO,MAAM,CACZ,kBAAkB,CAAC,SAAS,EAAE;YAC7B,SAAS,EAAE,qBAAqB,CAAC,cAAc,CAAC,MAAM,CAAC;YACvD,KAAK,EAAE;gBACN,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fill-component-value.spec.js","sourceRoot":"","sources":["../../../../../src/use-lunatic/commons/fill-components/fill-component-value.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IACnC,6BAA6B;IAC7B,MAAM,qBAAqB,GAAG,CAC7B,SAAqC;IACrC,6BAA6B;IAC7B,SAAkC,EAAE;IACpC,kBAAkB;IAClB,SAAkB,EACjB,EAAE;QACH,OAAO,MAAM,CACZ,kBAAkB,CAAC,SAAS,EAAE;YAC7B,SAAS,EAAE,qBAAqB,CAAC,cAAc,CAAC,MAAM,CAAC;YACvD,KAAK,EAAE;gBACN,OAAO,EAAE,CAAC;gBACV,IAAI,EAAE,CAAC;gBACP,SAAS;aACT;SACD,CAAC,CAAC,KAAK,CACR,CAAC;IACH,CAAC,CAAC;IAEF,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;QACzB,MAAM,SAAS,GAAG;YACjB,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACW,CAAC;QAEzC,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;YAC3C,qBAAqB,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAClE,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,2CAA2C,EAAE,GAAG,EAAE;YACpD,qBAAqB,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CACvE,QAAQ,CACR,CAAC;YACF,qBAAqB,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CACvE,SAAS,CACT,CAAC;QACH,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;QAC1B,MAAM,SAAS,GAAG;YACjB,SAAS,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE;aAC9B,CAAC,CAAC;SAC4C,CAAC;QAEjD,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;YAC9C,qBAAqB,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;gBACxC,KAAK,EAAE,IAAI;gBACX,KAAK,EAAE,IAAI;gBACX,KAAK,EAAE,IAAI;aACX,CAAC,CAAC;YACH,qBAAqB,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC;gBACzD,KAAK,EAAE,IAAI;gBACX,KAAK,EAAE,IAAI;gBACX,KAAK,EAAE,IAAI;aACX,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|