@inseefr/lunatic 2.7.5 → 2.7.6
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/README.fr.md +1 -1
- package/README.md +6 -1
- package/lib/components/loop/block-for-loop.js +2 -0
- package/lib/components/loop/constant.js +10 -0
- package/lib/components/loop/roster-for-loop/roster-for-loop.js +42 -20
- package/lib/components/lunatic-components.js +45 -7
- package/lib/components/table/lunatic-table.js +5 -1
- package/lib/src/components/datepicker/lunatic-datepicker.d.ts +1 -1
- package/lib/src/components/loop/constant.d.ts +4 -0
- package/lib/src/components/loop/roster-for-loop/roster-for-loop.d.ts +1 -0
- package/lib/src/components/lunatic-components.d.ts +12 -5
- package/lib/src/components/type.d.ts +4 -1
- package/lib/src/use-lunatic/commons/compile-controls.d.ts +4 -3
- package/lib/src/use-lunatic/commons/fill-components/fill-component-required.d.ts +75 -70
- package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +55 -50
- package/lib/src/use-lunatic/commons/fill-components/fill-iterations.d.ts +31 -26
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +680 -73
- package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +1 -1
- package/lib/src/use-lunatic/reducer/commons/is-loop-component.d.ts +2 -2
- package/lib/src/use-lunatic/reducer/controls/check-base-control.d.ts +2 -0
- package/lib/src/use-lunatic/reducer/{resolve-component-controls/resolve-roundabout-control.d.ts → controls/check-roundabout-control.d.ts} +2 -2
- package/lib/src/use-lunatic/type-source.d.ts +16 -10
- package/lib/src/use-lunatic/use-lunatic.d.ts +11 -5
- package/lib/stories/behaviour/controls/controls.stories.js +14 -7
- package/lib/stories/behaviour/controls/loop.json +130 -0
- package/lib/stories/behaviour/controls/{V2_ControlesNonNum_horsBoucle_PasPageFin.json → simple.json} +2 -2
- package/lib/stories/date-picker/source.json +22 -67
- package/lib/stories/declaration/source.json +14 -28
- package/lib/stories/dropdown/source.json +11 -28
- package/lib/stories/filter-description/source.json +3 -2
- package/lib/stories/input/input.stories.js +1 -8
- package/lib/stories/input/source.json +1 -63
- package/lib/stories/input-number/input-number.stories.js +2 -22
- package/lib/stories/input-number/source.json +4 -6
- package/lib/stories/loop/{block-for-loop.stories.js → loop.stories.js} +10 -8
- package/lib/stories/loop/roster-for-loop.stories.js +8 -2
- package/lib/stories/loop/source-bloc.json +10 -39
- package/lib/stories/loop/source-paginated.json +65 -78
- package/lib/stories/overview/overview.stories.js +1 -1
- package/lib/stories/pairwise/pairwise-links.stories.js +4 -4
- package/lib/stories/pairwise/{links.json → source.json} +2 -6
- package/lib/stories/{loop/not-paginated-loop.stories.js → question-context/question-context.stories.js} +5 -9
- package/lib/stories/question-context/source.json +13 -0
- package/lib/stories/question-explication/source.json +1 -1
- package/lib/stories/{loop/paginated-loop.stories.js → question-information/question-information.stories.js} +4 -4
- package/lib/stories/question-information/source.json +14 -0
- package/lib/stories/roundabout/source.json +21 -31
- package/lib/stories/sequence/sequence.stories.js +7 -1
- package/lib/stories/sequence/source.json +17 -0
- package/lib/stories/suggester/simple.json +1 -1
- package/lib/stories/table/source-colspan.json +314 -0
- package/lib/stories/table/table.stories.js +7 -1
- package/lib/stories/textarea/source.json +6 -22
- package/lib/use-lunatic/commons/compile-controls.js +135 -34
- package/lib/use-lunatic/commons/fill-components/fill-component-value.js +10 -0
- package/lib/use-lunatic/commons/fill-components/fill-specific-expression.js +4 -1
- package/lib/use-lunatic/hooks/use-page-has-response.js +17 -0
- package/lib/use-lunatic/reducer/{resolve-component-controls/resolve-simple-control.js → controls/check-base-control.js} +5 -7
- package/lib/use-lunatic/reducer/{resolve-component-controls/resolve-roundabout-control.js → controls/check-roundabout-control.js} +2 -3
- package/lib/use-lunatic/reducer/overview/overview-on-init.js +6 -4
- package/lib/use-lunatic/type-source.js +1 -0
- package/package.json +1 -1
- package/lib/src/use-lunatic/commons/get-errors-without-empty-value.d.ts +0 -6
- package/lib/src/use-lunatic/reducer/resolve-component-controls/index.d.ts +0 -1
- package/lib/src/use-lunatic/reducer/resolve-component-controls/resolve-component-control.d.ts +0 -6
- package/lib/src/use-lunatic/reducer/resolve-component-controls/resolve-simple-control.d.ts +0 -3
- package/lib/stories/Introduction.stories.mdx +0 -112
- package/lib/stories/behaviour/controls/V2_Controles_BouclesLiees_PasPageFin.json +0 -533
- package/lib/stories/input/source-with-question.json +0 -80
- package/lib/stories/input-number/source-euros.json +0 -37
- package/lib/stories/input-number/source-thansand.json +0 -34
- package/lib/stories/loop/source-not-paginated.json +0 -138
- package/lib/use-lunatic/commons/get-errors-without-empty-value.js +0 -24
- package/lib/use-lunatic/reducer/resolve-component-controls/index.js +0 -12
- package/lib/use-lunatic/reducer/resolve-component-controls/resolve-component-control.js +0 -38
- /package/lib/stories/behaviour/controls/{V2_ControlesNum_horsBoucle_PasPageFin.json → simple-numeric.json} +0 -0
- /package/lib/stories/pairwise/{links-componentset.json → source-componentset.json} +0 -0
|
@@ -3,58 +3,58 @@ 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: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
7
7
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSubSequenceType & {
|
|
8
|
-
componentType: "
|
|
8
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
9
9
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRosterForLoopType & {
|
|
10
|
-
componentType: "
|
|
10
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
11
11
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentLoopType & {
|
|
12
|
-
componentType: "
|
|
12
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
13
13
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentTableType & {
|
|
14
|
-
componentType: "
|
|
14
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
15
15
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentNumberType & {
|
|
16
|
-
componentType: "
|
|
16
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
17
17
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDatePickerType & {
|
|
18
|
-
componentType: "
|
|
18
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
19
19
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxGroupType & {
|
|
20
|
-
componentType: "
|
|
20
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
21
21
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentCheckboxBooleanType & {
|
|
22
|
-
componentType: "
|
|
22
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
23
23
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRadioType & {
|
|
24
|
-
componentType: "
|
|
24
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
25
25
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentFilterDescriptionType & {
|
|
26
|
-
componentType: "
|
|
26
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
27
27
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentDropdownType & {
|
|
28
|
-
componentType: "
|
|
28
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
29
29
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentPairWiseLinksType & {
|
|
30
|
-
componentType: "
|
|
30
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
31
31
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentRoundaboutType & {
|
|
32
|
-
componentType: "
|
|
32
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
33
33
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentSuggesterType & {
|
|
34
|
-
componentType: "
|
|
34
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
35
35
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentInputOrTextareaType & {
|
|
36
|
-
componentType: "
|
|
36
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
37
37
|
}) | (import("../../type-source").ComponentTypeBase & {
|
|
38
38
|
componentType: "CheckboxOne";
|
|
39
39
|
} & {
|
|
40
|
-
componentType: "
|
|
40
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
41
41
|
}) | (import("../../type-source").ComponentTypeBase & {
|
|
42
42
|
componentType: "ConfirmationModal";
|
|
43
43
|
} & {
|
|
44
|
-
componentType: "
|
|
44
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
45
45
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentComponentSetType & {
|
|
46
|
-
componentType: "
|
|
46
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
47
47
|
}) | (import("../../type-source").ComponentTypeBase & import("../../type-source").ComponentQuestionExplicationType & {
|
|
48
|
-
componentType: "
|
|
48
|
+
componentType: "CheckboxOne" | "ConfirmationModal" | "Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "ComponentSet" | "QuestionExplication";
|
|
49
49
|
}) | {
|
|
50
50
|
required: boolean;
|
|
51
51
|
label: import("../../type-source").LabelType;
|
|
52
52
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
53
|
-
conditionFilter
|
|
53
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
54
54
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
55
55
|
id: string;
|
|
56
56
|
bindingDependencies?: string[] | undefined;
|
|
57
|
-
hierarchy
|
|
57
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
58
58
|
mandatory?: boolean | undefined;
|
|
59
59
|
page: string;
|
|
60
60
|
componentType: "Sequence";
|
|
@@ -62,11 +62,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
62
62
|
required: boolean;
|
|
63
63
|
label: import("../../type-source").LabelType;
|
|
64
64
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
65
|
-
conditionFilter
|
|
65
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
66
66
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
67
67
|
id: string;
|
|
68
68
|
bindingDependencies?: string[] | undefined;
|
|
69
|
-
hierarchy
|
|
69
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
70
70
|
mandatory?: boolean | undefined;
|
|
71
71
|
page: string;
|
|
72
72
|
componentType: "Subsequence";
|
|
@@ -75,11 +75,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
75
75
|
required: boolean;
|
|
76
76
|
label: import("../../type-source").LabelType;
|
|
77
77
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
78
|
-
conditionFilter
|
|
78
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
79
79
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
80
80
|
id: string;
|
|
81
81
|
bindingDependencies?: string[] | undefined;
|
|
82
|
-
hierarchy
|
|
82
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
83
83
|
mandatory?: boolean | undefined;
|
|
84
84
|
page: string;
|
|
85
85
|
componentType: "RosterForLoop";
|
|
@@ -98,19 +98,24 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
98
98
|
colspan?: number | undefined;
|
|
99
99
|
rowspan?: number | undefined;
|
|
100
100
|
}[];
|
|
101
|
-
body: (
|
|
101
|
+
body: ({
|
|
102
102
|
label: import("../../type-source").LabelType;
|
|
103
|
-
|
|
103
|
+
colspan?: number | undefined;
|
|
104
|
+
rowspan?: number | undefined;
|
|
105
|
+
} | (import("../../type-source").ComponentType & {
|
|
106
|
+
colspan?: number | undefined;
|
|
107
|
+
rowspan?: number | undefined;
|
|
108
|
+
}))[][];
|
|
104
109
|
positioning: "HORIZONTAL";
|
|
105
110
|
} | {
|
|
106
111
|
required: boolean;
|
|
107
112
|
label: import("../../type-source").LabelType;
|
|
108
113
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
109
|
-
conditionFilter
|
|
114
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
110
115
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
111
116
|
id: string;
|
|
112
117
|
bindingDependencies?: string[] | undefined;
|
|
113
|
-
hierarchy
|
|
118
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
114
119
|
mandatory?: boolean | undefined;
|
|
115
120
|
page: string;
|
|
116
121
|
componentType: "Loop";
|
|
@@ -128,18 +133,14 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
128
133
|
required: boolean;
|
|
129
134
|
label: import("../../type-source").LabelType;
|
|
130
135
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
131
|
-
conditionFilter
|
|
136
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
132
137
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
133
138
|
id: string;
|
|
134
139
|
bindingDependencies?: string[] | undefined;
|
|
135
|
-
hierarchy
|
|
140
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
136
141
|
mandatory?: boolean | undefined;
|
|
137
142
|
page: string;
|
|
138
143
|
componentType: "Table";
|
|
139
|
-
lines: {
|
|
140
|
-
min: import("../../type-source").LabelType;
|
|
141
|
-
max: import("../../type-source").LabelType;
|
|
142
|
-
};
|
|
143
144
|
header: {
|
|
144
145
|
value: string;
|
|
145
146
|
label: string | import("../../type-source").LabelType;
|
|
@@ -150,19 +151,23 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
150
151
|
colspan?: number | undefined;
|
|
151
152
|
rowspan?: number | undefined;
|
|
152
153
|
}[];
|
|
153
|
-
body: (
|
|
154
|
+
body: ({
|
|
154
155
|
label: import("../../type-source").LabelType;
|
|
155
|
-
|
|
156
|
-
|
|
156
|
+
colspan?: number | undefined;
|
|
157
|
+
rowspan?: number | undefined;
|
|
158
|
+
} | (import("../../type-source").ComponentType & {
|
|
159
|
+
colspan?: number | undefined;
|
|
160
|
+
rowspan?: number | undefined;
|
|
161
|
+
}))[][];
|
|
157
162
|
} | {
|
|
158
163
|
required: boolean;
|
|
159
164
|
label: import("../../type-source").LabelType;
|
|
160
165
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
161
|
-
conditionFilter
|
|
166
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
162
167
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
163
168
|
id: string;
|
|
164
169
|
bindingDependencies?: string[] | undefined;
|
|
165
|
-
hierarchy
|
|
170
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
166
171
|
mandatory?: boolean | undefined;
|
|
167
172
|
page: string;
|
|
168
173
|
componentType: "InputNumber";
|
|
@@ -175,15 +180,15 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
175
180
|
required: boolean;
|
|
176
181
|
label: import("../../type-source").LabelType;
|
|
177
182
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
178
|
-
conditionFilter
|
|
183
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
179
184
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
180
185
|
id: string;
|
|
181
186
|
bindingDependencies?: string[] | undefined;
|
|
182
|
-
hierarchy
|
|
187
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
183
188
|
mandatory?: boolean | undefined;
|
|
184
189
|
page: string;
|
|
185
190
|
componentType: "Datepicker";
|
|
186
|
-
dateFormat:
|
|
191
|
+
dateFormat: "YYYY-MM-DD" | "YYYY" | "YYYY-MM";
|
|
187
192
|
response: import("../../type-source").ResponseType;
|
|
188
193
|
min?: string | undefined;
|
|
189
194
|
max?: string | undefined;
|
|
@@ -191,11 +196,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
191
196
|
required: boolean;
|
|
192
197
|
label: import("../../type-source").LabelType;
|
|
193
198
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
194
|
-
conditionFilter
|
|
199
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
195
200
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
196
201
|
id: string;
|
|
197
202
|
bindingDependencies?: string[] | undefined;
|
|
198
|
-
hierarchy
|
|
203
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
199
204
|
mandatory?: boolean | undefined;
|
|
200
205
|
page: string;
|
|
201
206
|
componentType: "CheckboxGroup";
|
|
@@ -208,11 +213,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
208
213
|
required: boolean;
|
|
209
214
|
label: import("../../type-source").LabelType;
|
|
210
215
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
211
|
-
conditionFilter
|
|
216
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
212
217
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
213
218
|
id: string;
|
|
214
219
|
bindingDependencies?: string[] | undefined;
|
|
215
|
-
hierarchy
|
|
220
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
216
221
|
mandatory?: boolean | undefined;
|
|
217
222
|
page: string;
|
|
218
223
|
componentType: "CheckboxBoolean";
|
|
@@ -222,11 +227,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
222
227
|
required: boolean;
|
|
223
228
|
label: import("../../type-source").LabelType;
|
|
224
229
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
225
|
-
conditionFilter
|
|
230
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
226
231
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
227
232
|
id: string;
|
|
228
233
|
bindingDependencies?: string[] | undefined;
|
|
229
|
-
hierarchy
|
|
234
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
230
235
|
mandatory?: boolean | undefined;
|
|
231
236
|
page: string;
|
|
232
237
|
componentType: "Radio";
|
|
@@ -240,11 +245,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
240
245
|
required: boolean;
|
|
241
246
|
label: import("../../type-source").LabelType;
|
|
242
247
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
243
|
-
conditionFilter
|
|
248
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
244
249
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
245
250
|
id: string;
|
|
246
251
|
bindingDependencies?: string[] | undefined;
|
|
247
|
-
hierarchy
|
|
252
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
248
253
|
mandatory?: boolean | undefined;
|
|
249
254
|
page: string;
|
|
250
255
|
componentType: "FilterDescription";
|
|
@@ -253,11 +258,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
253
258
|
required: boolean;
|
|
254
259
|
label: import("../../type-source").LabelType;
|
|
255
260
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
256
|
-
conditionFilter
|
|
261
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
257
262
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
258
263
|
id: string;
|
|
259
264
|
bindingDependencies?: string[] | undefined;
|
|
260
|
-
hierarchy
|
|
265
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
261
266
|
mandatory?: boolean | undefined;
|
|
262
267
|
page: string;
|
|
263
268
|
componentType: "Dropdown";
|
|
@@ -271,11 +276,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
271
276
|
required: boolean;
|
|
272
277
|
label: import("../../type-source").LabelType;
|
|
273
278
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
274
|
-
conditionFilter
|
|
279
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
275
280
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
276
281
|
id: string;
|
|
277
282
|
bindingDependencies?: string[] | undefined;
|
|
278
|
-
hierarchy
|
|
283
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
279
284
|
mandatory?: boolean | undefined;
|
|
280
285
|
page: string;
|
|
281
286
|
componentType: "PairwiseLinks";
|
|
@@ -289,11 +294,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
289
294
|
required: boolean;
|
|
290
295
|
label: import("../../type-source").LabelType;
|
|
291
296
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
292
|
-
conditionFilter
|
|
297
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
293
298
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
294
299
|
id: string;
|
|
295
300
|
bindingDependencies?: string[] | undefined;
|
|
296
|
-
hierarchy
|
|
301
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
297
302
|
mandatory?: boolean | undefined;
|
|
298
303
|
page: string;
|
|
299
304
|
componentType: "Roundabout";
|
|
@@ -305,11 +310,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
305
310
|
required: boolean;
|
|
306
311
|
label: import("../../type-source").LabelType;
|
|
307
312
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
308
|
-
conditionFilter
|
|
313
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
309
314
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
310
315
|
id: string;
|
|
311
316
|
bindingDependencies?: string[] | undefined;
|
|
312
|
-
hierarchy
|
|
317
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
313
318
|
mandatory?: boolean | undefined;
|
|
314
319
|
page: string;
|
|
315
320
|
componentType: "Suggester";
|
|
@@ -318,11 +323,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
318
323
|
required: boolean;
|
|
319
324
|
label: import("../../type-source").LabelType;
|
|
320
325
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
321
|
-
conditionFilter
|
|
326
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
322
327
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
323
328
|
id: string;
|
|
324
329
|
bindingDependencies?: string[] | undefined;
|
|
325
|
-
hierarchy
|
|
330
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
326
331
|
mandatory?: boolean | undefined;
|
|
327
332
|
page: string;
|
|
328
333
|
componentType: "Input" | "Textarea";
|
|
@@ -333,11 +338,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
333
338
|
required: boolean;
|
|
334
339
|
label: import("../../type-source").LabelType;
|
|
335
340
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
336
|
-
conditionFilter
|
|
341
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
337
342
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
338
343
|
id: string;
|
|
339
344
|
bindingDependencies?: string[] | undefined;
|
|
340
|
-
hierarchy
|
|
345
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
341
346
|
mandatory?: boolean | undefined;
|
|
342
347
|
page: string;
|
|
343
348
|
componentType: "CheckboxOne";
|
|
@@ -345,11 +350,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
345
350
|
required: boolean;
|
|
346
351
|
label: import("../../type-source").LabelType;
|
|
347
352
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
348
|
-
conditionFilter
|
|
353
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
349
354
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
350
355
|
id: string;
|
|
351
356
|
bindingDependencies?: string[] | undefined;
|
|
352
|
-
hierarchy
|
|
357
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
353
358
|
mandatory?: boolean | undefined;
|
|
354
359
|
page: string;
|
|
355
360
|
componentType: "ConfirmationModal";
|
|
@@ -357,11 +362,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
357
362
|
required: boolean;
|
|
358
363
|
label: import("../../type-source").LabelType;
|
|
359
364
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
360
|
-
conditionFilter
|
|
365
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
361
366
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
362
367
|
id: string;
|
|
363
368
|
bindingDependencies?: string[] | undefined;
|
|
364
|
-
hierarchy
|
|
369
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
365
370
|
mandatory?: boolean | undefined;
|
|
366
371
|
page: string;
|
|
367
372
|
componentType: "ComponentSet";
|
|
@@ -370,11 +375,11 @@ export declare function fillComponentRequired(component: LunaticComponentDefinit
|
|
|
370
375
|
required: boolean;
|
|
371
376
|
label: import("../../type-source").LabelType;
|
|
372
377
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
373
|
-
conditionFilter
|
|
378
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
374
379
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
375
380
|
id: string;
|
|
376
381
|
bindingDependencies?: string[] | undefined;
|
|
377
|
-
hierarchy
|
|
382
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
378
383
|
mandatory?: boolean | undefined;
|
|
379
384
|
page: string;
|
|
380
385
|
componentType: "QuestionExplication";
|