@inseefr/lunatic 3.0.0-rc.6 → 3.0.0-rc.9
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/LunaticComponents.js +19 -15
- 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/Subsequence/Subsequence.spec.js +1 -1
- package/lib/components/Suggester/CustomSuggester.js +7 -4
- package/lib/components/Suggester/Suggester.js +67 -4
- package/lib/components/Suggester/SuggesterType.js +5 -0
- 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 +3 -4
- package/lib/components/shared/Declarations/Declarations.spec.js +5 -5
- 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 +7 -3
- package/lib/src/components/Suggester/Suggester.d.ts +1 -2
- package/lib/src/components/Suggester/SuggesterType.d.ts +6 -0
- package/lib/src/components/Suggester/helpers.d.ts +2 -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 +2 -3
- package/lib/src/components/shared/Fieldset/Fieldset.d.ts +0 -1
- package/lib/src/components/shared/HOC/slottableComponent.d.ts +4 -0
- 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 +7 -2
- 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 +106 -44
- package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +87 -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 +166 -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 +55 -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
|
@@ -7,6 +7,7 @@ import { type DeepTranslateExpression } from './fill-component-expressions';
|
|
|
7
7
|
declare function fillSpecificExpressions(component: DeepTranslateExpression<LunaticComponentDefinition>, state: LunaticState): {
|
|
8
8
|
expressions: {};
|
|
9
9
|
label: import("react").ReactNode;
|
|
10
|
+
description?: import("react").ReactNode;
|
|
10
11
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
11
12
|
conditionFilter?: import("react").ReactNode;
|
|
12
13
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -31,8 +32,9 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
31
32
|
iterations: import("react").ReactNode;
|
|
32
33
|
locked: boolean;
|
|
33
34
|
} | {
|
|
34
|
-
components: import("./fill-components").FilledLunaticComponentProps<"
|
|
35
|
+
components: import("./fill-components").FilledLunaticComponentProps<"Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question">[];
|
|
35
36
|
label: import("react").ReactNode;
|
|
37
|
+
description: import("react").ReactNode;
|
|
36
38
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
37
39
|
conditionFilter?: import("react").ReactNode;
|
|
38
40
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -53,10 +55,10 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
53
55
|
mandatory?: boolean | undefined;
|
|
54
56
|
page: string;
|
|
55
57
|
componentType: "Question";
|
|
56
|
-
description: import("react").ReactNode;
|
|
57
58
|
} | {
|
|
58
|
-
getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"
|
|
59
|
+
getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question">[];
|
|
59
60
|
label: import("react").ReactNode;
|
|
61
|
+
description?: import("react").ReactNode;
|
|
60
62
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
61
63
|
conditionFilter?: import("react").ReactNode;
|
|
62
64
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -82,29 +84,54 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
82
84
|
min: import("react").ReactNode;
|
|
83
85
|
max: import("react").ReactNode;
|
|
84
86
|
};
|
|
85
|
-
header
|
|
87
|
+
header?: {
|
|
86
88
|
value: string;
|
|
87
89
|
label: string | import("../../type-source").LabelType;
|
|
88
90
|
options: {
|
|
89
91
|
value: string;
|
|
90
92
|
label: import("../../type-source").LabelType;
|
|
93
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
91
94
|
}[];
|
|
92
95
|
colspan?: number | undefined;
|
|
93
96
|
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
|
-
}))[][];
|
|
97
|
+
}[] | undefined;
|
|
103
98
|
positioning: "HORIZONTAL";
|
|
104
99
|
value?: Record<string, unknown[]> | undefined;
|
|
105
100
|
} | {
|
|
106
|
-
getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"
|
|
101
|
+
getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question">[];
|
|
102
|
+
label: import("react").ReactNode;
|
|
103
|
+
description?: import("react").ReactNode;
|
|
104
|
+
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
105
|
+
conditionFilter?: import("react").ReactNode;
|
|
106
|
+
controls?: import("../../type-source").ControlType[] | undefined;
|
|
107
|
+
id: string;
|
|
108
|
+
bindingDependencies?: string[] | undefined;
|
|
109
|
+
hierarchy?: {
|
|
110
|
+
sequence: {
|
|
111
|
+
label: import("react").ReactNode;
|
|
112
|
+
id: string;
|
|
113
|
+
page: string;
|
|
114
|
+
};
|
|
115
|
+
subSequence?: {
|
|
116
|
+
label: import("react").ReactNode;
|
|
117
|
+
id: string;
|
|
118
|
+
page: string;
|
|
119
|
+
} | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
mandatory?: boolean | undefined;
|
|
122
|
+
page: string;
|
|
123
|
+
componentType: "Loop";
|
|
124
|
+
loopDependencies: string[];
|
|
125
|
+
components: import("../../type-source").ComponentType[];
|
|
126
|
+
depth: number;
|
|
127
|
+
paginatedLoop: true;
|
|
128
|
+
maxPage: string;
|
|
129
|
+
iterations: import("react").ReactNode;
|
|
130
|
+
value?: Record<string, unknown[]> | undefined;
|
|
131
|
+
} | {
|
|
132
|
+
getComponents: (iteration: number) => import("./fill-components").FilledLunaticComponentProps<"Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question">[];
|
|
107
133
|
label: import("react").ReactNode;
|
|
134
|
+
description?: import("react").ReactNode;
|
|
108
135
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
109
136
|
conditionFilter?: import("react").ReactNode;
|
|
110
137
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -126,19 +153,17 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
126
153
|
page: string;
|
|
127
154
|
componentType: "Loop";
|
|
128
155
|
loopDependencies: string[];
|
|
156
|
+
components: import("../../type-source").ComponentType[];
|
|
157
|
+
depth: number;
|
|
158
|
+
paginatedLoop: false;
|
|
129
159
|
lines: {
|
|
130
160
|
min: import("react").ReactNode;
|
|
131
161
|
max: import("react").ReactNode;
|
|
132
162
|
};
|
|
133
|
-
components: import("../../type-source").ComponentType[];
|
|
134
|
-
iterations: import("react").ReactNode;
|
|
135
|
-
maxPage: string;
|
|
136
|
-
depth: number;
|
|
137
|
-
paginatedLoop: boolean;
|
|
138
163
|
value?: Record<string, unknown[]> | undefined;
|
|
139
164
|
} | {
|
|
140
|
-
getComponents: (x: number, y: number) => import("./fill-components").FilledLunaticComponentProps<"
|
|
141
|
-
|
|
165
|
+
getComponents: (x: number, y: number) => import("./fill-components").FilledLunaticComponentProps<"Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question">[];
|
|
166
|
+
description?: import("react").ReactNode;
|
|
142
167
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
143
168
|
conditionFilter?: import("react").ReactNode;
|
|
144
169
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -163,13 +188,14 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
163
188
|
yAxisIterations: import("react").ReactNode;
|
|
164
189
|
symLinks: {
|
|
165
190
|
[x: string]: {
|
|
166
|
-
[x: string]: string;
|
|
191
|
+
[x: string]: string | null;
|
|
167
192
|
};
|
|
168
193
|
};
|
|
169
194
|
components: import("../../type-source").ComponentType[];
|
|
170
195
|
} | {
|
|
171
196
|
body: (({
|
|
172
197
|
label: import("react").ReactNode;
|
|
198
|
+
description?: import("react").ReactNode;
|
|
173
199
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
174
200
|
conditionFilter?: import("react").ReactNode;
|
|
175
201
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -190,10 +216,12 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
190
216
|
mandatory?: boolean | undefined;
|
|
191
217
|
page: string;
|
|
192
218
|
componentType: "Sequence";
|
|
219
|
+
gotoPage?: string | undefined;
|
|
193
220
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
194
221
|
conditionFilter?: boolean | undefined;
|
|
195
222
|
}) | ({
|
|
196
223
|
label: import("react").ReactNode;
|
|
224
|
+
description?: import("react").ReactNode;
|
|
197
225
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
198
226
|
conditionFilter?: import("react").ReactNode;
|
|
199
227
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -214,11 +242,11 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
214
242
|
mandatory?: boolean | undefined;
|
|
215
243
|
page: string;
|
|
216
244
|
componentType: "Subsequence";
|
|
217
|
-
gotoPage: string;
|
|
218
245
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
219
246
|
conditionFilter?: boolean | undefined;
|
|
220
247
|
}) | ({
|
|
221
248
|
label: import("react").ReactNode;
|
|
249
|
+
description?: import("react").ReactNode;
|
|
222
250
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
223
251
|
conditionFilter?: import("react").ReactNode;
|
|
224
252
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -244,29 +272,54 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
244
272
|
min: import("react").ReactNode;
|
|
245
273
|
max: import("react").ReactNode;
|
|
246
274
|
};
|
|
247
|
-
header
|
|
275
|
+
header?: {
|
|
248
276
|
value: string;
|
|
249
277
|
label: string | import("../../type-source").LabelType;
|
|
250
278
|
options: {
|
|
251
279
|
value: string;
|
|
252
280
|
label: import("../../type-source").LabelType;
|
|
281
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
253
282
|
}[];
|
|
254
283
|
colspan?: number | undefined;
|
|
255
284
|
rowspan?: number | undefined;
|
|
256
|
-
}[];
|
|
257
|
-
body: ({
|
|
258
|
-
label: import("../../type-source").LabelType;
|
|
259
|
-
colspan?: number | undefined;
|
|
260
|
-
rowspan?: number | undefined;
|
|
261
|
-
} | (import("../../type-source").ComponentType & {
|
|
262
|
-
colspan?: number | undefined;
|
|
263
|
-
rowspan?: number | undefined;
|
|
264
|
-
}))[][];
|
|
285
|
+
}[] | undefined;
|
|
265
286
|
positioning: "HORIZONTAL";
|
|
266
287
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
267
288
|
conditionFilter?: boolean | undefined;
|
|
268
289
|
}) | ({
|
|
269
290
|
label: import("react").ReactNode;
|
|
291
|
+
description?: import("react").ReactNode;
|
|
292
|
+
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
293
|
+
conditionFilter?: import("react").ReactNode;
|
|
294
|
+
controls?: import("../../type-source").ControlType[] | undefined;
|
|
295
|
+
id: string;
|
|
296
|
+
bindingDependencies?: string[] | undefined;
|
|
297
|
+
hierarchy?: {
|
|
298
|
+
sequence: {
|
|
299
|
+
label: import("react").ReactNode;
|
|
300
|
+
id: string;
|
|
301
|
+
page: string;
|
|
302
|
+
};
|
|
303
|
+
subSequence?: {
|
|
304
|
+
label: import("react").ReactNode;
|
|
305
|
+
id: string;
|
|
306
|
+
page: string;
|
|
307
|
+
} | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
mandatory?: boolean | undefined;
|
|
310
|
+
page: string;
|
|
311
|
+
componentType: "Loop";
|
|
312
|
+
loopDependencies: string[];
|
|
313
|
+
components: import("../../type-source").ComponentType[];
|
|
314
|
+
depth: number;
|
|
315
|
+
paginatedLoop: true;
|
|
316
|
+
maxPage: string;
|
|
317
|
+
iterations: import("react").ReactNode;
|
|
318
|
+
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
319
|
+
conditionFilter?: boolean | undefined;
|
|
320
|
+
}) | ({
|
|
321
|
+
label: import("react").ReactNode;
|
|
322
|
+
description?: import("react").ReactNode;
|
|
270
323
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
271
324
|
conditionFilter?: import("react").ReactNode;
|
|
272
325
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -288,19 +341,18 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
288
341
|
page: string;
|
|
289
342
|
componentType: "Loop";
|
|
290
343
|
loopDependencies: string[];
|
|
344
|
+
components: import("../../type-source").ComponentType[];
|
|
345
|
+
depth: number;
|
|
346
|
+
paginatedLoop: false;
|
|
291
347
|
lines: {
|
|
292
348
|
min: import("react").ReactNode;
|
|
293
349
|
max: import("react").ReactNode;
|
|
294
350
|
};
|
|
295
|
-
components: import("../../type-source").ComponentType[];
|
|
296
|
-
iterations: import("react").ReactNode;
|
|
297
|
-
maxPage: string;
|
|
298
|
-
depth: number;
|
|
299
|
-
paginatedLoop: boolean;
|
|
300
351
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
301
352
|
conditionFilter?: boolean | undefined;
|
|
302
353
|
}) | ({
|
|
303
354
|
label: import("react").ReactNode;
|
|
355
|
+
description?: import("react").ReactNode;
|
|
304
356
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
305
357
|
conditionFilter?: import("react").ReactNode;
|
|
306
358
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -327,10 +379,11 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
327
379
|
options: {
|
|
328
380
|
value: string;
|
|
329
381
|
label: import("../../type-source").LabelType;
|
|
382
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
330
383
|
}[];
|
|
331
384
|
colspan?: number | undefined;
|
|
332
385
|
rowspan?: number | undefined;
|
|
333
|
-
}[];
|
|
386
|
+
}[] | undefined;
|
|
334
387
|
body: ({
|
|
335
388
|
label: import("../../type-source").LabelType;
|
|
336
389
|
colspan?: number | undefined;
|
|
@@ -343,6 +396,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
343
396
|
conditionFilter?: boolean | undefined;
|
|
344
397
|
}) | ({
|
|
345
398
|
label: import("react").ReactNode;
|
|
399
|
+
description?: import("react").ReactNode;
|
|
346
400
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
347
401
|
conditionFilter?: import("react").ReactNode;
|
|
348
402
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -363,7 +417,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
363
417
|
mandatory?: boolean | undefined;
|
|
364
418
|
page: string;
|
|
365
419
|
componentType: "InputNumber";
|
|
366
|
-
unit
|
|
420
|
+
unit?: string | undefined;
|
|
367
421
|
response: {
|
|
368
422
|
name: string;
|
|
369
423
|
};
|
|
@@ -374,6 +428,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
374
428
|
conditionFilter?: boolean | undefined;
|
|
375
429
|
}) | ({
|
|
376
430
|
label: import("react").ReactNode;
|
|
431
|
+
description?: import("react").ReactNode;
|
|
377
432
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
378
433
|
conditionFilter?: import("react").ReactNode;
|
|
379
434
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -404,6 +459,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
404
459
|
conditionFilter?: boolean | undefined;
|
|
405
460
|
}) | ({
|
|
406
461
|
label: import("react").ReactNode;
|
|
462
|
+
description?: import("react").ReactNode;
|
|
407
463
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
408
464
|
conditionFilter?: import("react").ReactNode;
|
|
409
465
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -426,6 +482,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
426
482
|
componentType: "CheckboxGroup";
|
|
427
483
|
responses: {
|
|
428
484
|
label: import("../../type-source").LabelType;
|
|
485
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
429
486
|
response: import("../../type-source").ResponseType;
|
|
430
487
|
id: string;
|
|
431
488
|
}[];
|
|
@@ -433,6 +490,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
433
490
|
conditionFilter?: boolean | undefined;
|
|
434
491
|
}) | ({
|
|
435
492
|
label: import("react").ReactNode;
|
|
493
|
+
description?: import("react").ReactNode;
|
|
436
494
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
437
495
|
conditionFilter?: import("react").ReactNode;
|
|
438
496
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -463,6 +521,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
463
521
|
conditionFilter?: boolean | undefined;
|
|
464
522
|
}) | ({
|
|
465
523
|
label: import("react").ReactNode;
|
|
524
|
+
description?: import("react").ReactNode;
|
|
466
525
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
467
526
|
conditionFilter?: import("react").ReactNode;
|
|
468
527
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -486,6 +545,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
486
545
|
options: {
|
|
487
546
|
value: string;
|
|
488
547
|
label: import("../../type-source").LabelType;
|
|
548
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
489
549
|
}[];
|
|
490
550
|
response: {
|
|
491
551
|
name: string;
|
|
@@ -497,6 +557,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
497
557
|
conditionFilter?: boolean | undefined;
|
|
498
558
|
}) | ({
|
|
499
559
|
label: import("react").ReactNode;
|
|
560
|
+
description?: import("react").ReactNode;
|
|
500
561
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
501
562
|
conditionFilter?: import("react").ReactNode;
|
|
502
563
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -522,6 +583,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
522
583
|
conditionFilter?: boolean | undefined;
|
|
523
584
|
}) | ({
|
|
524
585
|
label: import("react").ReactNode;
|
|
586
|
+
description?: import("react").ReactNode;
|
|
525
587
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
526
588
|
conditionFilter?: import("react").ReactNode;
|
|
527
589
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -545,6 +607,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
545
607
|
options: {
|
|
546
608
|
value: string;
|
|
547
609
|
label: import("../../type-source").LabelType;
|
|
610
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
548
611
|
}[];
|
|
549
612
|
response: {
|
|
550
613
|
name: string;
|
|
@@ -555,7 +618,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
555
618
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
556
619
|
conditionFilter?: boolean | undefined;
|
|
557
620
|
}) | ({
|
|
558
|
-
|
|
621
|
+
description?: import("react").ReactNode;
|
|
559
622
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
560
623
|
conditionFilter?: import("react").ReactNode;
|
|
561
624
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -580,7 +643,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
580
643
|
yAxisIterations: import("react").ReactNode;
|
|
581
644
|
symLinks: {
|
|
582
645
|
[x: string]: {
|
|
583
|
-
[x: string]: string;
|
|
646
|
+
[x: string]: string | null;
|
|
584
647
|
};
|
|
585
648
|
};
|
|
586
649
|
components: import("../../type-source").ComponentType[];
|
|
@@ -588,6 +651,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
588
651
|
conditionFilter?: boolean | undefined;
|
|
589
652
|
}) | ({
|
|
590
653
|
label: import("react").ReactNode;
|
|
654
|
+
description?: import("react").ReactNode;
|
|
591
655
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
592
656
|
conditionFilter?: import("react").ReactNode;
|
|
593
657
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -618,6 +682,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
618
682
|
conditionFilter?: boolean | undefined;
|
|
619
683
|
}) | ({
|
|
620
684
|
label: import("react").ReactNode;
|
|
685
|
+
description?: import("react").ReactNode;
|
|
621
686
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
622
687
|
conditionFilter?: import("react").ReactNode;
|
|
623
688
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -639,10 +704,18 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
639
704
|
page: string;
|
|
640
705
|
componentType: "Suggester";
|
|
641
706
|
storeName: string;
|
|
707
|
+
response: {
|
|
708
|
+
name: string;
|
|
709
|
+
};
|
|
710
|
+
optionResponses: {
|
|
711
|
+
name: string;
|
|
712
|
+
attribute: string;
|
|
713
|
+
};
|
|
642
714
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
643
715
|
conditionFilter?: boolean | undefined;
|
|
644
716
|
}) | ({
|
|
645
717
|
label: import("react").ReactNode;
|
|
718
|
+
description?: import("react").ReactNode;
|
|
646
719
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
647
720
|
conditionFilter?: import("react").ReactNode;
|
|
648
721
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -674,6 +747,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
674
747
|
conditionFilter?: boolean | undefined;
|
|
675
748
|
}) | ({
|
|
676
749
|
label: import("react").ReactNode;
|
|
750
|
+
description?: import("react").ReactNode;
|
|
677
751
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
678
752
|
conditionFilter?: import("react").ReactNode;
|
|
679
753
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -694,10 +768,22 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
694
768
|
mandatory?: boolean | undefined;
|
|
695
769
|
page: string;
|
|
696
770
|
componentType: "CheckboxOne";
|
|
771
|
+
response: {
|
|
772
|
+
name: string;
|
|
773
|
+
};
|
|
774
|
+
missingResponse?: {
|
|
775
|
+
name: string;
|
|
776
|
+
} | undefined;
|
|
777
|
+
options: {
|
|
778
|
+
value: string;
|
|
779
|
+
label: import("../../type-source").LabelType;
|
|
780
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
781
|
+
}[];
|
|
697
782
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
698
783
|
conditionFilter?: boolean | undefined;
|
|
699
784
|
}) | ({
|
|
700
785
|
label: import("react").ReactNode;
|
|
786
|
+
description: import("react").ReactNode;
|
|
701
787
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
702
788
|
conditionFilter?: import("react").ReactNode;
|
|
703
789
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -719,7 +805,6 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
719
805
|
page: string;
|
|
720
806
|
componentType: "Question";
|
|
721
807
|
components: import("../../type-source").ComponentType[];
|
|
722
|
-
description: import("react").ReactNode;
|
|
723
808
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
724
809
|
conditionFilter?: boolean | undefined;
|
|
725
810
|
}) | {
|
|
@@ -728,6 +813,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
728
813
|
rowspan?: number | undefined;
|
|
729
814
|
})[][];
|
|
730
815
|
label: import("react").ReactNode;
|
|
816
|
+
description?: import("react").ReactNode;
|
|
731
817
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
732
818
|
conditionFilter?: import("react").ReactNode;
|
|
733
819
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -754,12 +840,14 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
754
840
|
options: {
|
|
755
841
|
value: string;
|
|
756
842
|
label: import("../../type-source").LabelType;
|
|
843
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
757
844
|
}[];
|
|
758
845
|
colspan?: number | undefined;
|
|
759
846
|
rowspan?: number | undefined;
|
|
760
|
-
}[];
|
|
847
|
+
}[] | undefined;
|
|
761
848
|
} | {
|
|
762
849
|
label: import("react").ReactNode;
|
|
850
|
+
description?: import("react").ReactNode;
|
|
763
851
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
764
852
|
conditionFilter?: import("react").ReactNode;
|
|
765
853
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -780,8 +868,10 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
780
868
|
mandatory?: boolean | undefined;
|
|
781
869
|
page: string;
|
|
782
870
|
componentType: "Sequence";
|
|
871
|
+
gotoPage?: string | undefined;
|
|
783
872
|
} | {
|
|
784
873
|
label: import("react").ReactNode;
|
|
874
|
+
description?: import("react").ReactNode;
|
|
785
875
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
786
876
|
conditionFilter?: import("react").ReactNode;
|
|
787
877
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -802,9 +892,9 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
802
892
|
mandatory?: boolean | undefined;
|
|
803
893
|
page: string;
|
|
804
894
|
componentType: "Subsequence";
|
|
805
|
-
gotoPage: string;
|
|
806
895
|
} | {
|
|
807
896
|
label: import("react").ReactNode;
|
|
897
|
+
description?: import("react").ReactNode;
|
|
808
898
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
809
899
|
conditionFilter?: import("react").ReactNode;
|
|
810
900
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -825,7 +915,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
825
915
|
mandatory?: boolean | undefined;
|
|
826
916
|
page: string;
|
|
827
917
|
componentType: "InputNumber";
|
|
828
|
-
unit
|
|
918
|
+
unit?: string | undefined;
|
|
829
919
|
response: {
|
|
830
920
|
name: string;
|
|
831
921
|
};
|
|
@@ -834,6 +924,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
834
924
|
decimals?: number | undefined;
|
|
835
925
|
} | {
|
|
836
926
|
label: import("react").ReactNode;
|
|
927
|
+
description?: import("react").ReactNode;
|
|
837
928
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
838
929
|
conditionFilter?: import("react").ReactNode;
|
|
839
930
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -862,6 +953,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
862
953
|
max?: string | undefined;
|
|
863
954
|
} | {
|
|
864
955
|
label: import("react").ReactNode;
|
|
956
|
+
description?: import("react").ReactNode;
|
|
865
957
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
866
958
|
conditionFilter?: import("react").ReactNode;
|
|
867
959
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -884,11 +976,13 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
884
976
|
componentType: "CheckboxGroup";
|
|
885
977
|
responses: {
|
|
886
978
|
label: import("../../type-source").LabelType;
|
|
979
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
887
980
|
response: import("../../type-source").ResponseType;
|
|
888
981
|
id: string;
|
|
889
982
|
}[];
|
|
890
983
|
} | {
|
|
891
984
|
label: import("react").ReactNode;
|
|
985
|
+
description?: import("react").ReactNode;
|
|
892
986
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
893
987
|
conditionFilter?: import("react").ReactNode;
|
|
894
988
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -917,6 +1011,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
917
1011
|
} | undefined;
|
|
918
1012
|
} | {
|
|
919
1013
|
label: import("react").ReactNode;
|
|
1014
|
+
description?: import("react").ReactNode;
|
|
920
1015
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
921
1016
|
conditionFilter?: import("react").ReactNode;
|
|
922
1017
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -940,6 +1035,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
940
1035
|
options: {
|
|
941
1036
|
value: string;
|
|
942
1037
|
label: import("../../type-source").LabelType;
|
|
1038
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
943
1039
|
}[];
|
|
944
1040
|
response: {
|
|
945
1041
|
name: string;
|
|
@@ -949,6 +1045,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
949
1045
|
} | undefined;
|
|
950
1046
|
} | {
|
|
951
1047
|
label: import("react").ReactNode;
|
|
1048
|
+
description?: import("react").ReactNode;
|
|
952
1049
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
953
1050
|
conditionFilter?: import("react").ReactNode;
|
|
954
1051
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -972,6 +1069,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
972
1069
|
filterDescription: boolean;
|
|
973
1070
|
} | {
|
|
974
1071
|
label: import("react").ReactNode;
|
|
1072
|
+
description?: import("react").ReactNode;
|
|
975
1073
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
976
1074
|
conditionFilter?: import("react").ReactNode;
|
|
977
1075
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -995,6 +1093,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
995
1093
|
options: {
|
|
996
1094
|
value: string;
|
|
997
1095
|
label: import("../../type-source").LabelType;
|
|
1096
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
998
1097
|
}[];
|
|
999
1098
|
response: {
|
|
1000
1099
|
name: string;
|
|
@@ -1004,6 +1103,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1004
1103
|
} | undefined;
|
|
1005
1104
|
} | {
|
|
1006
1105
|
label: import("react").ReactNode;
|
|
1106
|
+
description?: import("react").ReactNode;
|
|
1007
1107
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
1008
1108
|
conditionFilter?: import("react").ReactNode;
|
|
1009
1109
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1025,8 +1125,16 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1025
1125
|
page: string;
|
|
1026
1126
|
componentType: "Suggester";
|
|
1027
1127
|
storeName: string;
|
|
1128
|
+
response: {
|
|
1129
|
+
name: string;
|
|
1130
|
+
};
|
|
1131
|
+
optionResponses: {
|
|
1132
|
+
name: string;
|
|
1133
|
+
attribute: string;
|
|
1134
|
+
};
|
|
1028
1135
|
} | {
|
|
1029
1136
|
label: import("react").ReactNode;
|
|
1137
|
+
description?: import("react").ReactNode;
|
|
1030
1138
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
1031
1139
|
conditionFilter?: import("react").ReactNode;
|
|
1032
1140
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1056,6 +1164,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1056
1164
|
};
|
|
1057
1165
|
} | {
|
|
1058
1166
|
label: import("react").ReactNode;
|
|
1167
|
+
description?: import("react").ReactNode;
|
|
1059
1168
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
1060
1169
|
conditionFilter?: import("react").ReactNode;
|
|
1061
1170
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1076,5 +1185,16 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1076
1185
|
mandatory?: boolean | undefined;
|
|
1077
1186
|
page: string;
|
|
1078
1187
|
componentType: "CheckboxOne";
|
|
1188
|
+
response: {
|
|
1189
|
+
name: string;
|
|
1190
|
+
};
|
|
1191
|
+
missingResponse?: {
|
|
1192
|
+
name: string;
|
|
1193
|
+
} | undefined;
|
|
1194
|
+
options: {
|
|
1195
|
+
value: string;
|
|
1196
|
+
label: import("../../type-source").LabelType;
|
|
1197
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
1198
|
+
}[];
|
|
1079
1199
|
};
|
|
1080
1200
|
export default fillSpecificExpressions;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LunaticState } from '../type';
|
|
2
|
-
declare function useComponentsFromState(state: LunaticState): import("./fill-components/fill-components").FilledLunaticComponentProps<"
|
|
2
|
+
declare function useComponentsFromState(state: LunaticState): import("./fill-components/fill-components").FilledLunaticComponentProps<"Sequence" | "Subsequence" | "RosterForLoop" | "Loop" | "Table" | "InputNumber" | "Datepicker" | "CheckboxGroup" | "CheckboxBoolean" | "Radio" | "FilterDescription" | "Dropdown" | "PairwiseLinks" | "Roundabout" | "Suggester" | "Input" | "Textarea" | "CheckboxOne" | "Question">[];
|
|
3
3
|
export default useComponentsFromState;
|
|
@@ -6,6 +6,24 @@ import type { LunaticComponentDefinition } from './type';
|
|
|
6
6
|
* des composant à part entière.
|
|
7
7
|
* D'autres composant pourraient un jour figurer ici.
|
|
8
8
|
*/
|
|
9
|
-
export declare function replaceComponentSequence(components: Array<LunaticComponentDefinition>): ((import("./type-source").ComponentTypeBase & import("./type-source").ComponentSequenceType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentSubSequenceType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentRosterForLoopType) | (import("./type-source").ComponentTypeBase &
|
|
10
|
-
componentType: "
|
|
11
|
-
|
|
9
|
+
export declare function replaceComponentSequence(components: Array<LunaticComponentDefinition>): ((import("./type-source").ComponentTypeBase & import("./type-source").ComponentSequenceType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentSubSequenceType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentRosterForLoopType) | (import("./type-source").ComponentTypeBase & {
|
|
10
|
+
componentType: "Loop";
|
|
11
|
+
loopDependencies: string[];
|
|
12
|
+
components: import("./type-source").ComponentType[];
|
|
13
|
+
depth: number;
|
|
14
|
+
} & {
|
|
15
|
+
paginatedLoop: true;
|
|
16
|
+
maxPage: string;
|
|
17
|
+
iterations: import("./type-source").LabelType;
|
|
18
|
+
}) | (import("./type-source").ComponentTypeBase & {
|
|
19
|
+
componentType: "Loop";
|
|
20
|
+
loopDependencies: string[];
|
|
21
|
+
components: import("./type-source").ComponentType[];
|
|
22
|
+
depth: number;
|
|
23
|
+
} & {
|
|
24
|
+
paginatedLoop: false;
|
|
25
|
+
lines: {
|
|
26
|
+
min: import("./type-source").LabelType;
|
|
27
|
+
max: import("./type-source").LabelType;
|
|
28
|
+
};
|
|
29
|
+
}) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentTableType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentNumberType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentDatePickerType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentCheckboxGroupType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentCheckboxBooleanType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentRadioType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentFilterDescriptionType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentDropdownType) | (Omit<import("./type-source").ComponentTypeBase, "label"> & import("./type-source").ComponentPairWiseLinksType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentRoundaboutType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentSuggesterType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentInputOrTextareaType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentCheckboxOneType) | (import("./type-source").ComponentTypeBase & import("./type-source").ComponentQuestionType))[];
|