@inseefr/lunatic 3.0.0-rc.6 → 3.0.0-rc.8
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/components/CheckboxGroup/CheckboxGroup.js +3 -2
- package/lib/components/CheckboxGroup/CustomCheckboxGroup.js +2 -3
- package/lib/components/CheckboxGroup/CustomCheckboxGroup.spec.js +3 -0
- package/lib/components/CheckboxOne/CheckboxOne.js +0 -1
- package/lib/components/Datepicker/Datepicker.js +0 -1
- package/lib/components/Dropdown/Dropdown.js +0 -17
- package/lib/components/Duration/Duration.js +0 -1
- package/lib/components/Input/Input.js +0 -1
- package/lib/components/InputNumber/InputNumber.js +0 -1
- package/lib/components/RosterForLoop/RosterForLoop.js +0 -1
- package/lib/components/Roundabout/Roundabout.js +0 -1
- package/lib/components/Sequence/Sequence.js +0 -1
- package/lib/components/Suggester/CustomSuggester.js +7 -4
- package/lib/components/Suggester/Suggester.js +59 -4
- package/lib/components/Textarea/Textarea.js +1 -2
- package/lib/components/shared/Button/Button.js +0 -1
- package/lib/components/shared/Button/IconButton.js +0 -1
- package/lib/components/shared/Checkbox/CheckboxOption.js +0 -1
- package/lib/components/shared/Combobox/Combobox.js +3 -2
- package/lib/components/shared/ComponentErrors/ComponentErrors.js +0 -1
- package/lib/components/shared/Declarations/Declarations.js +0 -1
- package/lib/components/shared/Fieldset/Fieldset.js +0 -1
- package/lib/components/shared/Icons/lunatic-icon.js +0 -1
- package/lib/components/shared/Label/Label.js +0 -1
- package/lib/components/shared/Missing/Missing.js +0 -1
- package/lib/components/shared/ModalControls/ModalControls.js +0 -1
- package/lib/components/shared/Radio/RadioGroup.js +0 -1
- package/lib/components/shared/Table/Table.js +0 -1
- package/lib/components/shared/VariableStatus/VariableStatus.js +0 -1
- package/lib/components/shared/suggester-loader-widget/dragger/dragger.js +0 -1
- package/lib/components/shared/suggester-loader-widget/widget.js +0 -1
- package/lib/css/components/Button.scss +24 -0
- package/lib/css/components/CheckboxGroup.scss +13 -0
- package/lib/css/components/CheckboxOne.scss +19 -0
- package/lib/css/components/CheckboxOption.scss +19 -0
- package/lib/css/components/Combobox.scss +206 -0
- package/lib/css/components/ComponentErrors.scss +5 -0
- package/lib/css/components/Datepicker.scss +19 -0
- package/lib/css/components/Declarations.scss +42 -0
- package/lib/css/components/Dragger.scss +8 -0
- package/lib/css/components/Dropdown.scss +38 -0
- package/lib/css/components/Duration.scss +9 -0
- package/lib/css/components/Fieldset.scss +5 -0
- package/lib/css/components/IconButton.scss +38 -0
- package/lib/css/components/Input.scss +42 -0
- package/lib/css/components/InputNumber.scss +11 -0
- package/lib/css/components/Label.scss +6 -0
- package/lib/css/components/Missing.scss +27 -0
- package/lib/css/components/ModalControls.scss +48 -0
- package/lib/css/components/RadioGroup.scss +21 -0
- package/lib/css/components/RosterForLoop.scss +39 -0
- package/lib/css/components/Roundabout.scss +13 -0
- package/lib/css/components/Sequence.scss +10 -0
- package/lib/css/components/Suggester.scss +170 -0
- package/lib/css/components/SuggesterWidget.scss +176 -0
- package/lib/css/components/Table.scss +27 -0
- package/lib/css/components/Textarea.scss +8 -0
- package/lib/css/components/VariableStatus.scss +36 -0
- package/lib/css/main.scss +181 -0
- package/lib/hooks/useSuggesterInfo.js +14 -12
- package/lib/main.css +1063 -0
- package/lib/main.css.map +1 -0
- package/lib/src/components/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/lib/src/components/CheckboxOne/CheckboxOne.d.ts +0 -1
- package/lib/src/components/Datepicker/Datepicker.d.ts +0 -1
- package/lib/src/components/Dropdown/Dropdown.d.ts +0 -1
- package/lib/src/components/Duration/Duration.d.ts +0 -1
- package/lib/src/components/Input/Input.d.ts +0 -1
- package/lib/src/components/InputNumber/InputNumber.d.ts +0 -1
- package/lib/src/components/RosterForLoop/RosterForLoop.d.ts +0 -1
- package/lib/src/components/Roundabout/Roundabout.d.ts +0 -1
- package/lib/src/components/Sequence/Sequence.d.ts +1 -2
- package/lib/src/components/Subsequence/Subsequence.d.ts +1 -1
- package/lib/src/components/Suggester/CustomSuggester.d.ts +5 -1
- package/lib/src/components/Suggester/Suggester.d.ts +1 -2
- package/lib/src/components/Textarea/Textarea.d.ts +0 -1
- package/lib/src/components/library.d.ts +3 -3
- package/lib/src/components/shared/Button/Button.d.ts +0 -1
- package/lib/src/components/shared/Button/IconButton.d.ts +0 -1
- package/lib/src/components/shared/Checkbox/CheckboxOption.d.ts +0 -1
- package/lib/src/components/shared/Combobox/Combobox.d.ts +1 -1
- package/lib/src/components/shared/ComponentErrors/ComponentErrors.d.ts +0 -1
- package/lib/src/components/shared/Declarations/Declarations.d.ts +0 -1
- package/lib/src/components/shared/Fieldset/Fieldset.d.ts +0 -1
- package/lib/src/components/shared/Icons/lunatic-icon.d.ts +0 -1
- package/lib/src/components/shared/Label/Label.d.ts +0 -1
- package/lib/src/components/shared/Missing/Missing.d.ts +0 -1
- package/lib/src/components/shared/ModalControls/ModalControls.d.ts +0 -1
- package/lib/src/components/shared/Radio/RadioGroup.d.ts +0 -1
- package/lib/src/components/shared/Table/Table.d.ts +0 -1
- package/lib/src/components/shared/VariableStatus/VariableStatus.d.ts +0 -1
- package/lib/src/components/shared/suggester-loader-widget/dragger/dragger.d.ts +0 -1
- package/lib/src/components/shared/suggester-loader-widget/widget.d.ts +0 -1
- package/lib/src/components/type.d.ts +6 -1
- package/lib/src/hooks/use-track-changes.d.ts +9 -1
- package/lib/src/hooks/useSuggesterInfo.d.ts +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-component-required.d.ts +102 -44
- package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +83 -21
- package/lib/src/use-lunatic/commons/fill-components/fill-iterations.d.ts +47 -36
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +158 -46
- package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +1 -1
- package/lib/src/use-lunatic/replace-component-sequence.d.ts +21 -3
- package/lib/src/use-lunatic/type-source.d.ts +51 -42
- package/lib/src/use-lunatic/type.d.ts +4 -4
- package/lib/src/use-lunatic/use-lunatic.d.ts +57 -15
- package/lib/src/utils/variables.d.ts +10 -2
- package/lib/stories/loop/source-roster.json +2 -2
- package/lib/stories/suggester/fakeReferentiel.json +12 -0
- package/lib/stories/suggester/source-option-responses.json +145 -0
- package/lib/stories/suggester/suggester.stories.js +46 -1
- package/lib/use-lunatic/use-lunatic.test.js +8 -7
- package/package.json +2 -2
- package/lib/components/Dropdown/DropdownWritable.js +0 -58
- package/lib/components/Dropdown/renderer/WritableLabelRenderer.js +0 -38
- package/lib/components/Dropdown/renderer/WritableOptionRenderer.js +0 -140
- package/lib/src/components/Dropdown/DropdownWritable.d.ts +0 -17
- package/lib/src/components/Dropdown/renderer/WritableLabelRenderer.d.ts +0 -8
- package/lib/src/components/Dropdown/renderer/WritableOptionRenderer.d.ts +0 -8
|
@@ -3,46 +3,67 @@ 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: "
|
|
6
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
7
7
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSubSequenceType & {
|
|
8
|
-
componentType: "
|
|
8
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
9
9
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRosterForLoopType & {
|
|
10
|
-
componentType: "
|
|
11
|
-
}) | (import("../../type-source").ComponentTypeBase &
|
|
12
|
-
componentType: "
|
|
10
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
11
|
+
}) | (import("../../type-source").ComponentTypeBase & {
|
|
12
|
+
componentType: "Loop";
|
|
13
|
+
loopDependencies: string[];
|
|
14
|
+
components: import("../../type-source").ComponentType[];
|
|
15
|
+
depth: number;
|
|
16
|
+
} & {
|
|
17
|
+
paginatedLoop: true;
|
|
18
|
+
maxPage: string;
|
|
19
|
+
iterations: import("../../type-source").LabelType;
|
|
20
|
+
} & {
|
|
21
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
22
|
+
}) | (import("../../type-source").ComponentTypeBase & {
|
|
23
|
+
componentType: "Loop";
|
|
24
|
+
loopDependencies: string[];
|
|
25
|
+
components: import("../../type-source").ComponentType[];
|
|
26
|
+
depth: number;
|
|
27
|
+
} & {
|
|
28
|
+
paginatedLoop: false;
|
|
29
|
+
lines: {
|
|
30
|
+
min: import("../../type-source").LabelType;
|
|
31
|
+
max: import("../../type-source").LabelType;
|
|
32
|
+
};
|
|
33
|
+
} & {
|
|
34
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
13
35
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentTableType & {
|
|
14
|
-
componentType: "
|
|
36
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
15
37
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentNumberType & {
|
|
16
|
-
componentType: "
|
|
38
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
17
39
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDatePickerType & {
|
|
18
|
-
componentType: "
|
|
40
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
19
41
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxGroupType & {
|
|
20
|
-
componentType: "
|
|
42
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
21
43
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxBooleanType & {
|
|
22
|
-
componentType: "
|
|
44
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
23
45
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRadioType & {
|
|
24
|
-
componentType: "
|
|
46
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
25
47
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentFilterDescriptionType & {
|
|
26
|
-
componentType: "
|
|
48
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
27
49
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDropdownType & {
|
|
28
|
-
componentType: "
|
|
29
|
-
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentPairWiseLinksType & {
|
|
30
|
-
componentType: "
|
|
50
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
51
|
+
}) | (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";
|
|
31
53
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRoundaboutType & {
|
|
32
|
-
componentType: "
|
|
54
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
33
55
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSuggesterType & {
|
|
34
|
-
componentType: "
|
|
56
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
35
57
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentInputOrTextareaType & {
|
|
36
|
-
componentType: "
|
|
37
|
-
}) | (import("../../type-source").ComponentTypeBase & {
|
|
38
|
-
componentType: "CheckboxOne";
|
|
39
|
-
} & {
|
|
40
|
-
componentType: "CheckboxOne" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "Question";
|
|
58
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
59
|
+
}) | (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";
|
|
41
61
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionType & {
|
|
42
|
-
componentType: "
|
|
62
|
+
componentType: "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question";
|
|
43
63
|
}) | {
|
|
44
64
|
required: boolean;
|
|
45
65
|
label: import("../../type-source").LabelType;
|
|
66
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
46
67
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
47
68
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
48
69
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -52,9 +73,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
52
73
|
mandatory?: boolean | undefined;
|
|
53
74
|
page: string;
|
|
54
75
|
componentType: "Sequence";
|
|
76
|
+
gotoPage?: string | undefined;
|
|
55
77
|
} | {
|
|
56
78
|
required: boolean;
|
|
57
79
|
label: import("../../type-source").LabelType;
|
|
80
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
58
81
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
59
82
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
60
83
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -64,10 +87,10 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
64
87
|
mandatory?: boolean | undefined;
|
|
65
88
|
page: string;
|
|
66
89
|
componentType: "Subsequence";
|
|
67
|
-
gotoPage: string;
|
|
68
90
|
} | {
|
|
69
91
|
required: boolean;
|
|
70
92
|
label: import("../../type-source").LabelType;
|
|
93
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
71
94
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
72
95
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
73
96
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -82,28 +105,22 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
82
105
|
min: import("../../type-source").LabelType;
|
|
83
106
|
max: import("../../type-source").LabelType;
|
|
84
107
|
};
|
|
85
|
-
header
|
|
108
|
+
header?: {
|
|
86
109
|
value: string;
|
|
87
110
|
label: string | import("../../type-source").LabelType;
|
|
88
111
|
options: {
|
|
89
112
|
value: string;
|
|
90
113
|
label: import("../../type-source").LabelType;
|
|
114
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
91
115
|
}[];
|
|
92
116
|
colspan?: number | undefined;
|
|
93
117
|
rowspan?: number | undefined;
|
|
94
|
-
}[];
|
|
95
|
-
body: ({
|
|
96
|
-
label: import("../../type-source").LabelType;
|
|
97
|
-
colspan?: number | undefined;
|
|
98
|
-
rowspan?: number | undefined;
|
|
99
|
-
} | (import("../../type-source").ComponentType & {
|
|
100
|
-
colspan?: number | undefined;
|
|
101
|
-
rowspan?: number | undefined;
|
|
102
|
-
}))[][];
|
|
118
|
+
}[] | undefined;
|
|
103
119
|
positioning: "HORIZONTAL";
|
|
104
120
|
} | {
|
|
105
121
|
required: boolean;
|
|
106
122
|
label: import("../../type-source").LabelType;
|
|
123
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
107
124
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
108
125
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
109
126
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -114,18 +131,36 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
114
131
|
page: string;
|
|
115
132
|
componentType: "Loop";
|
|
116
133
|
loopDependencies: string[];
|
|
134
|
+
components: import("../../type-source").ComponentType[];
|
|
135
|
+
depth: number;
|
|
136
|
+
paginatedLoop: true;
|
|
137
|
+
maxPage: string;
|
|
138
|
+
iterations: import("../../type-source").LabelType;
|
|
139
|
+
} | {
|
|
140
|
+
required: boolean;
|
|
141
|
+
label: import("../../type-source").LabelType;
|
|
142
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
143
|
+
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
144
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
145
|
+
controls?: import("../../type-source").ControlType[] | undefined;
|
|
146
|
+
id: string;
|
|
147
|
+
bindingDependencies?: string[] | undefined;
|
|
148
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
149
|
+
mandatory?: boolean | undefined;
|
|
150
|
+
page: string;
|
|
151
|
+
componentType: "Loop";
|
|
152
|
+
loopDependencies: string[];
|
|
153
|
+
components: import("../../type-source").ComponentType[];
|
|
154
|
+
depth: number;
|
|
155
|
+
paginatedLoop: false;
|
|
117
156
|
lines: {
|
|
118
157
|
min: import("../../type-source").LabelType;
|
|
119
158
|
max: import("../../type-source").LabelType;
|
|
120
159
|
};
|
|
121
|
-
components: import("../../type-source").ComponentType[];
|
|
122
|
-
iterations: import("../../type-source").LabelType;
|
|
123
|
-
maxPage: string;
|
|
124
|
-
depth: number;
|
|
125
|
-
paginatedLoop: boolean;
|
|
126
160
|
} | {
|
|
127
161
|
required: boolean;
|
|
128
162
|
label: import("../../type-source").LabelType;
|
|
163
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
129
164
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
130
165
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
131
166
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -141,10 +176,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
141
176
|
options: {
|
|
142
177
|
value: string;
|
|
143
178
|
label: import("../../type-source").LabelType;
|
|
179
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
144
180
|
}[];
|
|
145
181
|
colspan?: number | undefined;
|
|
146
182
|
rowspan?: number | undefined;
|
|
147
|
-
}[];
|
|
183
|
+
}[] | undefined;
|
|
148
184
|
body: ({
|
|
149
185
|
label: import("../../type-source").LabelType;
|
|
150
186
|
colspan?: number | undefined;
|
|
@@ -156,6 +192,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
156
192
|
} | {
|
|
157
193
|
required: boolean;
|
|
158
194
|
label: import("../../type-source").LabelType;
|
|
195
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
159
196
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
160
197
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
161
198
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -165,7 +202,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
165
202
|
mandatory?: boolean | undefined;
|
|
166
203
|
page: string;
|
|
167
204
|
componentType: "InputNumber";
|
|
168
|
-
unit
|
|
205
|
+
unit?: string | undefined;
|
|
169
206
|
response: import("../../type-source").ResponseType;
|
|
170
207
|
min?: number | undefined;
|
|
171
208
|
max?: number | undefined;
|
|
@@ -173,6 +210,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
173
210
|
} | {
|
|
174
211
|
required: boolean;
|
|
175
212
|
label: import("../../type-source").LabelType;
|
|
213
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
176
214
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
177
215
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
178
216
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -189,6 +227,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
189
227
|
} | {
|
|
190
228
|
required: boolean;
|
|
191
229
|
label: import("../../type-source").LabelType;
|
|
230
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
192
231
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
193
232
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
194
233
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -200,12 +239,14 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
200
239
|
componentType: "CheckboxGroup";
|
|
201
240
|
responses: {
|
|
202
241
|
label: import("../../type-source").LabelType;
|
|
242
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
203
243
|
response: import("../../type-source").ResponseType;
|
|
204
244
|
id: string;
|
|
205
245
|
}[];
|
|
206
246
|
} | {
|
|
207
247
|
required: boolean;
|
|
208
248
|
label: import("../../type-source").LabelType;
|
|
249
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
209
250
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
210
251
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
211
252
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -220,6 +261,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
220
261
|
} | {
|
|
221
262
|
required: boolean;
|
|
222
263
|
label: import("../../type-source").LabelType;
|
|
264
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
223
265
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
224
266
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
225
267
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -232,12 +274,14 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
232
274
|
options: {
|
|
233
275
|
value: string;
|
|
234
276
|
label: import("../../type-source").LabelType;
|
|
277
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
235
278
|
}[];
|
|
236
279
|
response: import("../../type-source").ResponseType;
|
|
237
280
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
238
281
|
} | {
|
|
239
282
|
required: boolean;
|
|
240
283
|
label: import("../../type-source").LabelType;
|
|
284
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
241
285
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
242
286
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
243
287
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -251,6 +295,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
251
295
|
} | {
|
|
252
296
|
required: boolean;
|
|
253
297
|
label: import("../../type-source").LabelType;
|
|
298
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
254
299
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
255
300
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
256
301
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -263,12 +308,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
263
308
|
options: {
|
|
264
309
|
value: string;
|
|
265
310
|
label: import("../../type-source").LabelType;
|
|
311
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
266
312
|
}[];
|
|
267
313
|
response: import("../../type-source").ResponseType;
|
|
268
314
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
269
315
|
} | {
|
|
270
316
|
required: boolean;
|
|
271
|
-
|
|
317
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
272
318
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
273
319
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
274
320
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -281,12 +327,13 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
281
327
|
xAxisIterations: import("../../type-source").LabelType;
|
|
282
328
|
yAxisIterations: import("../../type-source").LabelType;
|
|
283
329
|
symLinks: {
|
|
284
|
-
[variableName: string]: Record<string, string>;
|
|
330
|
+
[variableName: string]: Record<string, string | null>;
|
|
285
331
|
};
|
|
286
332
|
components: import("../../type-source").ComponentType[];
|
|
287
333
|
} | {
|
|
288
334
|
required: boolean;
|
|
289
335
|
label: import("../../type-source").LabelType;
|
|
336
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
290
337
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
291
338
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
292
339
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -303,6 +350,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
303
350
|
} | {
|
|
304
351
|
required: boolean;
|
|
305
352
|
label: import("../../type-source").LabelType;
|
|
353
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
306
354
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
307
355
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
308
356
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -313,9 +361,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
313
361
|
page: string;
|
|
314
362
|
componentType: "Suggester";
|
|
315
363
|
storeName: string;
|
|
364
|
+
response: import("../../type-source").ResponseType;
|
|
316
365
|
} | {
|
|
317
366
|
required: boolean;
|
|
318
367
|
label: import("../../type-source").LabelType;
|
|
368
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
319
369
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
320
370
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
321
371
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -331,6 +381,7 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
331
381
|
} | {
|
|
332
382
|
required: boolean;
|
|
333
383
|
label: import("../../type-source").LabelType;
|
|
384
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
334
385
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
335
386
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
336
387
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -340,9 +391,17 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
340
391
|
mandatory?: boolean | undefined;
|
|
341
392
|
page: string;
|
|
342
393
|
componentType: "CheckboxOne";
|
|
394
|
+
response: import("../../type-source").ResponseType;
|
|
395
|
+
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
396
|
+
options: {
|
|
397
|
+
value: string;
|
|
398
|
+
label: import("../../type-source").LabelType;
|
|
399
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
400
|
+
}[];
|
|
343
401
|
} | {
|
|
344
402
|
required: boolean;
|
|
345
403
|
label: import("../../type-source").LabelType;
|
|
404
|
+
description: import("../../type-source").LabelType;
|
|
346
405
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
347
406
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
348
407
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -353,5 +412,4 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
353
412
|
page: string;
|
|
354
413
|
componentType: "Question";
|
|
355
414
|
components: import("../../type-source").ComponentType[];
|
|
356
|
-
description: import("../../type-source").LabelType;
|
|
357
415
|
};
|