@inseefr/lunatic 3.0.0-rc.5 → 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/CheckboxBoolean/CheckboxBoolean.js +1 -1
- 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
|
@@ -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,14 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
639
704
|
page: string;
|
|
640
705
|
componentType: "Suggester";
|
|
641
706
|
storeName: string;
|
|
707
|
+
response: {
|
|
708
|
+
name: string;
|
|
709
|
+
};
|
|
642
710
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
643
711
|
conditionFilter?: boolean | undefined;
|
|
644
712
|
}) | ({
|
|
645
713
|
label: import("react").ReactNode;
|
|
714
|
+
description?: import("react").ReactNode;
|
|
646
715
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
647
716
|
conditionFilter?: import("react").ReactNode;
|
|
648
717
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -674,6 +743,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
674
743
|
conditionFilter?: boolean | undefined;
|
|
675
744
|
}) | ({
|
|
676
745
|
label: import("react").ReactNode;
|
|
746
|
+
description?: import("react").ReactNode;
|
|
677
747
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
678
748
|
conditionFilter?: import("react").ReactNode;
|
|
679
749
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -694,10 +764,22 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
694
764
|
mandatory?: boolean | undefined;
|
|
695
765
|
page: string;
|
|
696
766
|
componentType: "CheckboxOne";
|
|
767
|
+
response: {
|
|
768
|
+
name: string;
|
|
769
|
+
};
|
|
770
|
+
missingResponse?: {
|
|
771
|
+
name: string;
|
|
772
|
+
} | undefined;
|
|
773
|
+
options: {
|
|
774
|
+
value: string;
|
|
775
|
+
label: import("../../type-source").LabelType;
|
|
776
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
777
|
+
}[];
|
|
697
778
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
698
779
|
conditionFilter?: boolean | undefined;
|
|
699
780
|
}) | ({
|
|
700
781
|
label: import("react").ReactNode;
|
|
782
|
+
description: import("react").ReactNode;
|
|
701
783
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
702
784
|
conditionFilter?: import("react").ReactNode;
|
|
703
785
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -719,7 +801,6 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
719
801
|
page: string;
|
|
720
802
|
componentType: "Question";
|
|
721
803
|
components: import("../../type-source").ComponentType[];
|
|
722
|
-
description: import("react").ReactNode;
|
|
723
804
|
} & import("./fill-management").FilledProps & import("./fill-component-value").FilledProps & import("./fill-missing-response").FilledProps & import("./fill-from-state").FilledProps & import("./fill-pagination").FilledProps & {
|
|
724
805
|
conditionFilter?: boolean | undefined;
|
|
725
806
|
}) | {
|
|
@@ -728,6 +809,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
728
809
|
rowspan?: number | undefined;
|
|
729
810
|
})[][];
|
|
730
811
|
label: import("react").ReactNode;
|
|
812
|
+
description?: import("react").ReactNode;
|
|
731
813
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
732
814
|
conditionFilter?: import("react").ReactNode;
|
|
733
815
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -754,12 +836,14 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
754
836
|
options: {
|
|
755
837
|
value: string;
|
|
756
838
|
label: import("../../type-source").LabelType;
|
|
839
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
757
840
|
}[];
|
|
758
841
|
colspan?: number | undefined;
|
|
759
842
|
rowspan?: number | undefined;
|
|
760
|
-
}[];
|
|
843
|
+
}[] | undefined;
|
|
761
844
|
} | {
|
|
762
845
|
label: import("react").ReactNode;
|
|
846
|
+
description?: import("react").ReactNode;
|
|
763
847
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
764
848
|
conditionFilter?: import("react").ReactNode;
|
|
765
849
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -780,8 +864,10 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
780
864
|
mandatory?: boolean | undefined;
|
|
781
865
|
page: string;
|
|
782
866
|
componentType: "Sequence";
|
|
867
|
+
gotoPage?: string | undefined;
|
|
783
868
|
} | {
|
|
784
869
|
label: import("react").ReactNode;
|
|
870
|
+
description?: import("react").ReactNode;
|
|
785
871
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
786
872
|
conditionFilter?: import("react").ReactNode;
|
|
787
873
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -802,9 +888,9 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
802
888
|
mandatory?: boolean | undefined;
|
|
803
889
|
page: string;
|
|
804
890
|
componentType: "Subsequence";
|
|
805
|
-
gotoPage: string;
|
|
806
891
|
} | {
|
|
807
892
|
label: import("react").ReactNode;
|
|
893
|
+
description?: import("react").ReactNode;
|
|
808
894
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
809
895
|
conditionFilter?: import("react").ReactNode;
|
|
810
896
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -825,7 +911,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
825
911
|
mandatory?: boolean | undefined;
|
|
826
912
|
page: string;
|
|
827
913
|
componentType: "InputNumber";
|
|
828
|
-
unit
|
|
914
|
+
unit?: string | undefined;
|
|
829
915
|
response: {
|
|
830
916
|
name: string;
|
|
831
917
|
};
|
|
@@ -834,6 +920,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
834
920
|
decimals?: number | undefined;
|
|
835
921
|
} | {
|
|
836
922
|
label: import("react").ReactNode;
|
|
923
|
+
description?: import("react").ReactNode;
|
|
837
924
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
838
925
|
conditionFilter?: import("react").ReactNode;
|
|
839
926
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -862,6 +949,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
862
949
|
max?: string | undefined;
|
|
863
950
|
} | {
|
|
864
951
|
label: import("react").ReactNode;
|
|
952
|
+
description?: import("react").ReactNode;
|
|
865
953
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
866
954
|
conditionFilter?: import("react").ReactNode;
|
|
867
955
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -884,11 +972,13 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
884
972
|
componentType: "CheckboxGroup";
|
|
885
973
|
responses: {
|
|
886
974
|
label: import("../../type-source").LabelType;
|
|
975
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
887
976
|
response: import("../../type-source").ResponseType;
|
|
888
977
|
id: string;
|
|
889
978
|
}[];
|
|
890
979
|
} | {
|
|
891
980
|
label: import("react").ReactNode;
|
|
981
|
+
description?: import("react").ReactNode;
|
|
892
982
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
893
983
|
conditionFilter?: import("react").ReactNode;
|
|
894
984
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -917,6 +1007,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
917
1007
|
} | undefined;
|
|
918
1008
|
} | {
|
|
919
1009
|
label: import("react").ReactNode;
|
|
1010
|
+
description?: import("react").ReactNode;
|
|
920
1011
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
921
1012
|
conditionFilter?: import("react").ReactNode;
|
|
922
1013
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -940,6 +1031,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
940
1031
|
options: {
|
|
941
1032
|
value: string;
|
|
942
1033
|
label: import("../../type-source").LabelType;
|
|
1034
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
943
1035
|
}[];
|
|
944
1036
|
response: {
|
|
945
1037
|
name: string;
|
|
@@ -949,6 +1041,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
949
1041
|
} | undefined;
|
|
950
1042
|
} | {
|
|
951
1043
|
label: import("react").ReactNode;
|
|
1044
|
+
description?: import("react").ReactNode;
|
|
952
1045
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
953
1046
|
conditionFilter?: import("react").ReactNode;
|
|
954
1047
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -972,6 +1065,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
972
1065
|
filterDescription: boolean;
|
|
973
1066
|
} | {
|
|
974
1067
|
label: import("react").ReactNode;
|
|
1068
|
+
description?: import("react").ReactNode;
|
|
975
1069
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
976
1070
|
conditionFilter?: import("react").ReactNode;
|
|
977
1071
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -995,6 +1089,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
995
1089
|
options: {
|
|
996
1090
|
value: string;
|
|
997
1091
|
label: import("../../type-source").LabelType;
|
|
1092
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
998
1093
|
}[];
|
|
999
1094
|
response: {
|
|
1000
1095
|
name: string;
|
|
@@ -1004,6 +1099,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1004
1099
|
} | undefined;
|
|
1005
1100
|
} | {
|
|
1006
1101
|
label: import("react").ReactNode;
|
|
1102
|
+
description?: import("react").ReactNode;
|
|
1007
1103
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
1008
1104
|
conditionFilter?: import("react").ReactNode;
|
|
1009
1105
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1025,8 +1121,12 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1025
1121
|
page: string;
|
|
1026
1122
|
componentType: "Suggester";
|
|
1027
1123
|
storeName: string;
|
|
1124
|
+
response: {
|
|
1125
|
+
name: string;
|
|
1126
|
+
};
|
|
1028
1127
|
} | {
|
|
1029
1128
|
label: import("react").ReactNode;
|
|
1129
|
+
description?: import("react").ReactNode;
|
|
1030
1130
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
1031
1131
|
conditionFilter?: import("react").ReactNode;
|
|
1032
1132
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1056,6 +1156,7 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1056
1156
|
};
|
|
1057
1157
|
} | {
|
|
1058
1158
|
label: import("react").ReactNode;
|
|
1159
|
+
description?: import("react").ReactNode;
|
|
1059
1160
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
1060
1161
|
conditionFilter?: import("react").ReactNode;
|
|
1061
1162
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -1076,5 +1177,16 @@ declare function fillSpecificExpressions(component: DeepTranslateExpression<Luna
|
|
|
1076
1177
|
mandatory?: boolean | undefined;
|
|
1077
1178
|
page: string;
|
|
1078
1179
|
componentType: "CheckboxOne";
|
|
1180
|
+
response: {
|
|
1181
|
+
name: string;
|
|
1182
|
+
};
|
|
1183
|
+
missingResponse?: {
|
|
1184
|
+
name: string;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
options: {
|
|
1187
|
+
value: string;
|
|
1188
|
+
label: import("../../type-source").LabelType;
|
|
1189
|
+
description?: import("../../type-source").LabelType | undefined;
|
|
1190
|
+
}[];
|
|
1079
1191
|
};
|
|
1080
1192
|
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))[];
|