@inseefr/lunatic 3.0.0-rc.12 → 3.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/main.css +0 -2
- package/lib/main.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/src/components/Duration/durationUtils.js +1 -1
- package/lib/src/components/Radio/Radio.js +2 -2
- package/lib/src/components/Radio/Radio.js.map +1 -1
- package/lib/src/components/Suggester/CustomSuggester.d.ts +9 -8
- package/lib/src/components/Suggester/CustomSuggester.js +4 -31
- package/lib/src/components/Suggester/CustomSuggester.js.map +1 -1
- package/lib/src/components/Suggester/Suggester.d.ts +1 -1
- package/lib/src/components/Suggester/Suggester.js +57 -35
- package/lib/src/components/Suggester/Suggester.js.map +1 -1
- package/lib/src/components/Suggester/SuggesterNotification.d.ts +5 -6
- package/lib/src/components/Suggester/SuggesterNotification.js +5 -10
- package/lib/src/components/Suggester/SuggesterNotification.js.map +1 -1
- package/lib/src/components/Suggester/useSuggestions.d.ts +20 -0
- package/lib/src/components/Suggester/useSuggestions.js +86 -0
- package/lib/src/components/Suggester/useSuggestions.js.map +1 -0
- package/lib/src/components/shared/Combobox/Combobox.d.ts +2 -0
- package/lib/src/components/shared/Combobox/Combobox.js +5 -6
- package/lib/src/components/shared/Combobox/Combobox.js.map +1 -1
- package/lib/src/components/shared/Combobox/ComboboxType.d.ts +1 -0
- package/lib/src/components/shared/Combobox/Panel/ComboboxOption.js +4 -0
- package/lib/src/components/shared/Combobox/Panel/ComboboxOption.js.map +1 -1
- package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.d.ts +1 -1
- package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.js +15 -1
- package/lib/src/components/shared/Combobox/Panel/ComboboxPanel.js.map +1 -1
- package/lib/src/components/shared/Combobox/Selection/ComboboxLabelSelection.js +6 -0
- package/lib/src/components/shared/Combobox/Selection/ComboboxLabelSelection.js.map +1 -1
- package/lib/src/components/type.d.ts +8 -1
- package/lib/src/hooks/use-track-changes.js +1 -1
- package/lib/src/hooks/use-track-changes.js.map +1 -1
- package/lib/src/hooks/useDebounce.d.ts +4 -0
- package/lib/src/hooks/useDebounce.js +23 -0
- package/lib/src/hooks/useDebounce.js.map +1 -0
- package/lib/src/hooks/useDocumentEvent.js +1 -1
- package/lib/src/hooks/useDocumentEvent.js.map +1 -1
- package/lib/src/hooks/{use-ref-sync.js → useRefSync.js} +1 -1
- package/lib/src/hooks/useRefSync.js.map +1 -0
- package/lib/src/hooks/useSuggesterInfo.d.ts +1 -1
- package/lib/src/i18n/dictionary.d.ts +16 -0
- package/lib/src/i18n/dictionary.js +16 -0
- package/lib/src/i18n/dictionary.js.map +1 -1
- package/lib/src/i18n/index.d.ts +1 -1
- package/lib/src/use-lunatic/actions.d.ts +6 -6
- package/lib/src/use-lunatic/commons/check-pager.js +1 -1
- package/lib/src/use-lunatic/commons/check-pager.js.map +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.js +3 -0
- package/lib/src/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-component-required.d.ts +105 -83
- package/lib/src/use-lunatic/commons/fill-components/fill-component-value.spec.js +2 -2
- package/lib/src/use-lunatic/commons/fill-components/fill-component-value.spec.js.map +1 -1
- package/lib/src/use-lunatic/commons/fill-components/fill-from-state.d.ts +124 -80
- package/lib/src/use-lunatic/commons/fill-components/fill-iterations.d.ts +34 -32
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.d.ts +131 -65
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.js +16 -0
- package/lib/src/use-lunatic/commons/fill-components/fill-specific-expression.js.map +1 -1
- package/lib/src/use-lunatic/commons/is-First-last-page.js +1 -1
- package/lib/src/use-lunatic/commons/is-First-last-page.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-navigation.js +11 -11
- package/lib/src/use-lunatic/commons/page-navigation.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-navigation.spec.js +21 -21
- package/lib/src/use-lunatic/commons/page-navigation.spec.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-tag.d.ts +9 -5
- package/lib/src/use-lunatic/commons/page-tag.js +19 -12
- package/lib/src/use-lunatic/commons/page-tag.js.map +1 -1
- package/lib/src/use-lunatic/commons/page-tag.spec.d.ts +1 -0
- package/lib/src/use-lunatic/commons/page-tag.spec.js +19 -0
- package/lib/src/use-lunatic/commons/page-tag.spec.js.map +1 -0
- package/lib/src/use-lunatic/commons/page.d.ts +1 -1
- package/lib/src/use-lunatic/commons/use-components-from-state.d.ts +1 -1
- package/lib/src/use-lunatic/initial-state.js +2 -2
- package/lib/src/use-lunatic/initial-state.js.map +1 -1
- package/lib/src/use-lunatic/reducer/commons/auto-explore-loop.js +1 -1
- package/lib/src/use-lunatic/reducer/commons/auto-explore-loop.js.map +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-change.js +2 -2
- package/lib/src/use-lunatic/reducer/overview/overview-on-change.js.map +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.d.ts +4 -4
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.js +1 -1
- package/lib/src/use-lunatic/reducer/overview/overview-on-init.js.map +1 -1
- package/lib/src/use-lunatic/reducer/reduce-go-to-page.js +7 -10
- package/lib/src/use-lunatic/reducer/reduce-go-to-page.js.map +1 -1
- package/lib/src/use-lunatic/reducer/reduce-on-init.js +2 -2
- package/lib/src/use-lunatic/reducer/reduce-on-init.js.map +1 -1
- package/lib/src/use-lunatic/replace-component-sequence.d.ts +4 -4
- package/lib/src/use-lunatic/type-source.d.ts +13 -3
- package/lib/src/use-lunatic/type.d.ts +5 -4
- package/lib/src/use-lunatic/use-lunatic.d.ts +29 -15
- package/lib/src/use-lunatic/use-lunatic.test.js +5 -5
- package/lib/src/use-lunatic/use-lunatic.test.js.map +1 -1
- package/lib/src/utils/function.d.ts +1 -0
- package/lib/src/utils/function.js +18 -0
- package/lib/src/utils/function.js.map +1 -1
- package/package.json +3 -3
- package/lib/src/components/Suggester/SuggesterStatus.d.ts +0 -23
- package/lib/src/components/Suggester/SuggesterStatus.js +0 -24
- package/lib/src/components/Suggester/SuggesterStatus.js.map +0 -1
- package/lib/src/hooks/use-ref-sync.js.map +0 -1
- /package/lib/src/hooks/{use-ref-sync.d.ts → useRefSync.d.ts} +0 -0
|
@@ -24,7 +24,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
24
24
|
} | undefined) => T;
|
|
25
25
|
preferences: ["COLLECTED"];
|
|
26
26
|
goToPage: (page: {
|
|
27
|
-
page:
|
|
27
|
+
page: number | import("../../type").PageTag;
|
|
28
28
|
iteration?: number | undefined;
|
|
29
29
|
nbIterations?: number | undefined;
|
|
30
30
|
subPage?: number | undefined;
|
|
@@ -37,8 +37,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
37
37
|
workersBasePath: string | undefined;
|
|
38
38
|
goNextPage: () => void;
|
|
39
39
|
goPreviousPage: () => void;
|
|
40
|
-
label: import("../../type-source").LabelType
|
|
41
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
40
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
41
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
42
42
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
43
43
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
44
44
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -62,7 +62,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
62
62
|
} | undefined) => T;
|
|
63
63
|
preferences: ["COLLECTED"];
|
|
64
64
|
goToPage: (page: {
|
|
65
|
-
page:
|
|
65
|
+
page: number | import("../../type").PageTag;
|
|
66
66
|
iteration?: number | undefined;
|
|
67
67
|
nbIterations?: number | undefined;
|
|
68
68
|
subPage?: number | undefined;
|
|
@@ -75,8 +75,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
75
75
|
workersBasePath: string | undefined;
|
|
76
76
|
goNextPage: () => void;
|
|
77
77
|
goPreviousPage: () => void;
|
|
78
|
-
label: import("../../type-source").LabelType
|
|
79
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
78
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
79
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
80
80
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
81
81
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
82
82
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -99,7 +99,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
99
99
|
} | undefined) => T;
|
|
100
100
|
preferences: ["COLLECTED"];
|
|
101
101
|
goToPage: (page: {
|
|
102
|
-
page:
|
|
102
|
+
page: number | import("../../type").PageTag;
|
|
103
103
|
iteration?: number | undefined;
|
|
104
104
|
nbIterations?: number | undefined;
|
|
105
105
|
subPage?: number | undefined;
|
|
@@ -112,8 +112,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
112
112
|
workersBasePath: string | undefined;
|
|
113
113
|
goNextPage: () => void;
|
|
114
114
|
goPreviousPage: () => void;
|
|
115
|
-
label: import("../../type-source").LabelType
|
|
116
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
115
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
116
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
117
117
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
118
118
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
119
119
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -125,16 +125,16 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
125
125
|
componentType: "RosterForLoop";
|
|
126
126
|
components: import("../../type-source").ComponentType[];
|
|
127
127
|
lines: {
|
|
128
|
-
min: import("../../type-source").LabelType
|
|
129
|
-
max: import("../../type-source").LabelType
|
|
128
|
+
min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
129
|
+
max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
130
130
|
};
|
|
131
131
|
header?: {
|
|
132
132
|
value: string;
|
|
133
|
-
label: string | import("../../type-source").LabelType
|
|
133
|
+
label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
134
134
|
options: {
|
|
135
135
|
value: string;
|
|
136
|
-
label: import("../../type-source").LabelType
|
|
137
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
136
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
137
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
138
138
|
}[];
|
|
139
139
|
colspan?: number | undefined;
|
|
140
140
|
rowspan?: number | undefined;
|
|
@@ -153,7 +153,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
153
153
|
} | undefined) => T;
|
|
154
154
|
preferences: ["COLLECTED"];
|
|
155
155
|
goToPage: (page: {
|
|
156
|
-
page:
|
|
156
|
+
page: number | import("../../type").PageTag;
|
|
157
157
|
iteration?: number | undefined;
|
|
158
158
|
nbIterations?: number | undefined;
|
|
159
159
|
subPage?: number | undefined;
|
|
@@ -166,8 +166,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
166
166
|
workersBasePath: string | undefined;
|
|
167
167
|
goNextPage: () => void;
|
|
168
168
|
goPreviousPage: () => void;
|
|
169
|
-
label: import("../../type-source").LabelType
|
|
170
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
169
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
170
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
171
171
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
172
172
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
173
173
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -182,7 +182,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
182
182
|
depth: number;
|
|
183
183
|
paginatedLoop: true;
|
|
184
184
|
maxPage: string;
|
|
185
|
-
iterations: import("../../type-source").LabelType
|
|
185
|
+
iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
186
186
|
} | {
|
|
187
187
|
handleChange: (response: {
|
|
188
188
|
name: string;
|
|
@@ -196,7 +196,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
196
196
|
} | undefined) => T;
|
|
197
197
|
preferences: ["COLLECTED"];
|
|
198
198
|
goToPage: (page: {
|
|
199
|
-
page:
|
|
199
|
+
page: number | import("../../type").PageTag;
|
|
200
200
|
iteration?: number | undefined;
|
|
201
201
|
nbIterations?: number | undefined;
|
|
202
202
|
subPage?: number | undefined;
|
|
@@ -209,8 +209,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
209
209
|
workersBasePath: string | undefined;
|
|
210
210
|
goNextPage: () => void;
|
|
211
211
|
goPreviousPage: () => void;
|
|
212
|
-
label: import("../../type-source").LabelType
|
|
213
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
212
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
213
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
214
214
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
215
215
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
216
216
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -225,8 +225,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
225
225
|
depth: number;
|
|
226
226
|
paginatedLoop: false;
|
|
227
227
|
lines: {
|
|
228
|
-
min: import("../../type-source").LabelType
|
|
229
|
-
max: import("../../type-source").LabelType
|
|
228
|
+
min: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
229
|
+
max: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
230
230
|
};
|
|
231
231
|
} | {
|
|
232
232
|
handleChange: (response: {
|
|
@@ -241,7 +241,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
241
241
|
} | undefined) => T;
|
|
242
242
|
preferences: ["COLLECTED"];
|
|
243
243
|
goToPage: (page: {
|
|
244
|
-
page:
|
|
244
|
+
page: number | import("../../type").PageTag;
|
|
245
245
|
iteration?: number | undefined;
|
|
246
246
|
nbIterations?: number | undefined;
|
|
247
247
|
subPage?: number | undefined;
|
|
@@ -254,8 +254,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
254
254
|
workersBasePath: string | undefined;
|
|
255
255
|
goNextPage: () => void;
|
|
256
256
|
goPreviousPage: () => void;
|
|
257
|
-
label: import("../../type-source").LabelType
|
|
258
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
257
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
258
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
259
259
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
260
260
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
261
261
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -267,17 +267,17 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
267
267
|
componentType: "Table";
|
|
268
268
|
header: {
|
|
269
269
|
value: string;
|
|
270
|
-
label: string | import("../../type-source").LabelType
|
|
270
|
+
label: string | import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
271
271
|
options: {
|
|
272
272
|
value: string;
|
|
273
|
-
label: import("../../type-source").LabelType
|
|
274
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
273
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
274
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
275
275
|
}[];
|
|
276
276
|
colspan?: number | undefined;
|
|
277
277
|
rowspan?: number | undefined;
|
|
278
278
|
}[] | undefined;
|
|
279
279
|
body: ({
|
|
280
|
-
label: import("../../type-source").LabelType
|
|
280
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
281
281
|
colspan?: number | undefined;
|
|
282
282
|
rowspan?: number | undefined;
|
|
283
283
|
} | (import("../../type-source").ComponentType & {
|
|
@@ -297,7 +297,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
297
297
|
} | undefined) => T;
|
|
298
298
|
preferences: ["COLLECTED"];
|
|
299
299
|
goToPage: (page: {
|
|
300
|
-
page:
|
|
300
|
+
page: number | import("../../type").PageTag;
|
|
301
301
|
iteration?: number | undefined;
|
|
302
302
|
nbIterations?: number | undefined;
|
|
303
303
|
subPage?: number | undefined;
|
|
@@ -310,8 +310,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
310
310
|
workersBasePath: string | undefined;
|
|
311
311
|
goNextPage: () => void;
|
|
312
312
|
goPreviousPage: () => void;
|
|
313
|
-
label: import("../../type-source").LabelType
|
|
314
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
313
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
314
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
315
315
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
316
316
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
317
317
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -339,7 +339,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
339
339
|
} | undefined) => T;
|
|
340
340
|
preferences: ["COLLECTED"];
|
|
341
341
|
goToPage: (page: {
|
|
342
|
-
page:
|
|
342
|
+
page: number | import("../../type").PageTag;
|
|
343
343
|
iteration?: number | undefined;
|
|
344
344
|
nbIterations?: number | undefined;
|
|
345
345
|
subPage?: number | undefined;
|
|
@@ -352,8 +352,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
352
352
|
workersBasePath: string | undefined;
|
|
353
353
|
goNextPage: () => void;
|
|
354
354
|
goPreviousPage: () => void;
|
|
355
|
-
label: import("../../type-source").LabelType
|
|
356
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
355
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
356
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
357
357
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
358
358
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
359
359
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -380,7 +380,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
380
380
|
} | undefined) => T;
|
|
381
381
|
preferences: ["COLLECTED"];
|
|
382
382
|
goToPage: (page: {
|
|
383
|
-
page:
|
|
383
|
+
page: number | import("../../type").PageTag;
|
|
384
384
|
iteration?: number | undefined;
|
|
385
385
|
nbIterations?: number | undefined;
|
|
386
386
|
subPage?: number | undefined;
|
|
@@ -393,8 +393,47 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
393
393
|
workersBasePath: string | undefined;
|
|
394
394
|
goNextPage: () => void;
|
|
395
395
|
goPreviousPage: () => void;
|
|
396
|
-
label: import("../../type-source").LabelType
|
|
397
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
396
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
397
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
398
|
+
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
399
|
+
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
400
|
+
controls?: import("../../type-source").ControlType[] | undefined;
|
|
401
|
+
id: string;
|
|
402
|
+
bindingDependencies?: string[] | undefined;
|
|
403
|
+
hierarchy?: import("../../type-source").Hierarchy | undefined;
|
|
404
|
+
mandatory?: boolean | undefined;
|
|
405
|
+
page: string;
|
|
406
|
+
componentType: "Duration";
|
|
407
|
+
format: "PnYnM" | "PTnHnM";
|
|
408
|
+
response: import("../../type-source").ResponseType;
|
|
409
|
+
} | {
|
|
410
|
+
handleChange: (response: {
|
|
411
|
+
name: string;
|
|
412
|
+
}, value: any, args?: {
|
|
413
|
+
iteration?: number[] | undefined;
|
|
414
|
+
} | undefined) => void;
|
|
415
|
+
executeExpression: <T extends unknown = unknown>(expression: unknown, args?: {
|
|
416
|
+
iteration?: number | number[] | undefined;
|
|
417
|
+
bindingDependencies?: string[] | undefined;
|
|
418
|
+
deps?: string[] | undefined;
|
|
419
|
+
} | undefined) => T;
|
|
420
|
+
preferences: ["COLLECTED"];
|
|
421
|
+
goToPage: (page: {
|
|
422
|
+
page: number | import("../../type").PageTag;
|
|
423
|
+
iteration?: number | undefined;
|
|
424
|
+
nbIterations?: number | undefined;
|
|
425
|
+
subPage?: number | undefined;
|
|
426
|
+
}) => void;
|
|
427
|
+
shortcut: boolean | undefined;
|
|
428
|
+
getSuggesterStatus: (name: string) => {
|
|
429
|
+
status: import("../../use-suggesters").SuggesterStatus;
|
|
430
|
+
timestamp: number;
|
|
431
|
+
};
|
|
432
|
+
workersBasePath: string | undefined;
|
|
433
|
+
goNextPage: () => void;
|
|
434
|
+
goPreviousPage: () => void;
|
|
435
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
436
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
398
437
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
399
438
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
400
439
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -405,8 +444,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
405
444
|
page: string;
|
|
406
445
|
componentType: "CheckboxGroup";
|
|
407
446
|
responses: {
|
|
408
|
-
label: import("../../type-source").LabelType
|
|
409
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
447
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
448
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
410
449
|
response: import("../../type-source").ResponseType;
|
|
411
450
|
id: string;
|
|
412
451
|
}[];
|
|
@@ -423,7 +462,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
423
462
|
} | undefined) => T;
|
|
424
463
|
preferences: ["COLLECTED"];
|
|
425
464
|
goToPage: (page: {
|
|
426
|
-
page:
|
|
465
|
+
page: number | import("../../type").PageTag;
|
|
427
466
|
iteration?: number | undefined;
|
|
428
467
|
nbIterations?: number | undefined;
|
|
429
468
|
subPage?: number | undefined;
|
|
@@ -436,8 +475,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
436
475
|
workersBasePath: string | undefined;
|
|
437
476
|
goNextPage: () => void;
|
|
438
477
|
goPreviousPage: () => void;
|
|
439
|
-
label: import("../../type-source").LabelType
|
|
440
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
478
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
479
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
441
480
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
442
481
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
443
482
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -462,7 +501,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
462
501
|
} | undefined) => T;
|
|
463
502
|
preferences: ["COLLECTED"];
|
|
464
503
|
goToPage: (page: {
|
|
465
|
-
page:
|
|
504
|
+
page: number | import("../../type").PageTag;
|
|
466
505
|
iteration?: number | undefined;
|
|
467
506
|
nbIterations?: number | undefined;
|
|
468
507
|
subPage?: number | undefined;
|
|
@@ -475,8 +514,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
475
514
|
workersBasePath: string | undefined;
|
|
476
515
|
goNextPage: () => void;
|
|
477
516
|
goPreviousPage: () => void;
|
|
478
|
-
label: import("../../type-source").LabelType
|
|
479
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
517
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
518
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
480
519
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
481
520
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
482
521
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -488,8 +527,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
488
527
|
componentType: "Radio";
|
|
489
528
|
options: {
|
|
490
529
|
value: string;
|
|
491
|
-
label: import("../../type-source").LabelType
|
|
492
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
530
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
531
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
493
532
|
}[];
|
|
494
533
|
response: import("../../type-source").ResponseType;
|
|
495
534
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
@@ -506,7 +545,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
506
545
|
} | undefined) => T;
|
|
507
546
|
preferences: ["COLLECTED"];
|
|
508
547
|
goToPage: (page: {
|
|
509
|
-
page:
|
|
548
|
+
page: number | import("../../type").PageTag;
|
|
510
549
|
iteration?: number | undefined;
|
|
511
550
|
nbIterations?: number | undefined;
|
|
512
551
|
subPage?: number | undefined;
|
|
@@ -519,8 +558,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
519
558
|
workersBasePath: string | undefined;
|
|
520
559
|
goNextPage: () => void;
|
|
521
560
|
goPreviousPage: () => void;
|
|
522
|
-
label: import("../../type-source").LabelType
|
|
523
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
561
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
562
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
524
563
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
525
564
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
526
565
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -544,7 +583,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
544
583
|
} | undefined) => T;
|
|
545
584
|
preferences: ["COLLECTED"];
|
|
546
585
|
goToPage: (page: {
|
|
547
|
-
page:
|
|
586
|
+
page: number | import("../../type").PageTag;
|
|
548
587
|
iteration?: number | undefined;
|
|
549
588
|
nbIterations?: number | undefined;
|
|
550
589
|
subPage?: number | undefined;
|
|
@@ -557,8 +596,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
557
596
|
workersBasePath: string | undefined;
|
|
558
597
|
goNextPage: () => void;
|
|
559
598
|
goPreviousPage: () => void;
|
|
560
|
-
label: import("../../type-source").LabelType
|
|
561
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
599
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
600
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
562
601
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
563
602
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
564
603
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -570,8 +609,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
570
609
|
componentType: "Dropdown";
|
|
571
610
|
options: {
|
|
572
611
|
value: string;
|
|
573
|
-
label: import("../../type-source").LabelType
|
|
574
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
612
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
613
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
575
614
|
}[];
|
|
576
615
|
response: import("../../type-source").ResponseType;
|
|
577
616
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
@@ -588,7 +627,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
588
627
|
} | undefined) => T;
|
|
589
628
|
preferences: ["COLLECTED"];
|
|
590
629
|
goToPage: (page: {
|
|
591
|
-
page:
|
|
630
|
+
page: number | import("../../type").PageTag;
|
|
592
631
|
iteration?: number | undefined;
|
|
593
632
|
nbIterations?: number | undefined;
|
|
594
633
|
subPage?: number | undefined;
|
|
@@ -601,7 +640,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
601
640
|
workersBasePath: string | undefined;
|
|
602
641
|
goNextPage: () => void;
|
|
603
642
|
goPreviousPage: () => void;
|
|
604
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
643
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
605
644
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
606
645
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
607
646
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -611,8 +650,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
611
650
|
mandatory?: boolean | undefined;
|
|
612
651
|
page: string;
|
|
613
652
|
componentType: "PairwiseLinks";
|
|
614
|
-
xAxisIterations: import("../../type-source").LabelType
|
|
615
|
-
yAxisIterations: import("../../type-source").LabelType
|
|
653
|
+
xAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
654
|
+
yAxisIterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
616
655
|
symLinks: {
|
|
617
656
|
[variableName: string]: Record<string, string | null>;
|
|
618
657
|
};
|
|
@@ -630,7 +669,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
630
669
|
} | undefined) => T;
|
|
631
670
|
preferences: ["COLLECTED"];
|
|
632
671
|
goToPage: (page: {
|
|
633
|
-
page:
|
|
672
|
+
page: number | import("../../type").PageTag;
|
|
634
673
|
iteration?: number | undefined;
|
|
635
674
|
nbIterations?: number | undefined;
|
|
636
675
|
subPage?: number | undefined;
|
|
@@ -643,8 +682,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
643
682
|
workersBasePath: string | undefined;
|
|
644
683
|
goNextPage: () => void;
|
|
645
684
|
goPreviousPage: () => void;
|
|
646
|
-
label: import("../../type-source").LabelType
|
|
647
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
685
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
686
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
648
687
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
649
688
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
650
689
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -655,9 +694,9 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
655
694
|
page: string;
|
|
656
695
|
componentType: "Roundabout";
|
|
657
696
|
components: import("../../type-source").ComponentType[];
|
|
658
|
-
iterations: import("../../type-source").LabelType
|
|
697
|
+
iterations: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
659
698
|
locked: boolean;
|
|
660
|
-
expressions: Record<string, import("../../type-source").LabelType
|
|
699
|
+
expressions: Record<string, import("../../type-source").LabelType<"VTL" | "VTL|MD">>;
|
|
661
700
|
} | {
|
|
662
701
|
handleChange: (response: {
|
|
663
702
|
name: string;
|
|
@@ -671,7 +710,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
671
710
|
} | undefined) => T;
|
|
672
711
|
preferences: ["COLLECTED"];
|
|
673
712
|
goToPage: (page: {
|
|
674
|
-
page:
|
|
713
|
+
page: number | import("../../type").PageTag;
|
|
675
714
|
iteration?: number | undefined;
|
|
676
715
|
nbIterations?: number | undefined;
|
|
677
716
|
subPage?: number | undefined;
|
|
@@ -684,8 +723,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
684
723
|
workersBasePath: string | undefined;
|
|
685
724
|
goNextPage: () => void;
|
|
686
725
|
goPreviousPage: () => void;
|
|
687
|
-
label: import("../../type-source").LabelType
|
|
688
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
726
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
727
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
689
728
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
690
729
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
691
730
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -697,6 +736,11 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
697
736
|
componentType: "Suggester";
|
|
698
737
|
storeName: string;
|
|
699
738
|
response: import("../../type-source").ResponseType;
|
|
739
|
+
arbitrary?: {
|
|
740
|
+
response: {
|
|
741
|
+
name: string;
|
|
742
|
+
};
|
|
743
|
+
} | undefined;
|
|
700
744
|
optionResponses: {
|
|
701
745
|
name: string;
|
|
702
746
|
attribute: string;
|
|
@@ -714,7 +758,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
714
758
|
} | undefined) => T;
|
|
715
759
|
preferences: ["COLLECTED"];
|
|
716
760
|
goToPage: (page: {
|
|
717
|
-
page:
|
|
761
|
+
page: number | import("../../type").PageTag;
|
|
718
762
|
iteration?: number | undefined;
|
|
719
763
|
nbIterations?: number | undefined;
|
|
720
764
|
subPage?: number | undefined;
|
|
@@ -727,8 +771,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
727
771
|
workersBasePath: string | undefined;
|
|
728
772
|
goNextPage: () => void;
|
|
729
773
|
goPreviousPage: () => void;
|
|
730
|
-
label: import("../../type-source").LabelType
|
|
731
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
774
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
775
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
732
776
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
733
777
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
734
778
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -754,7 +798,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
754
798
|
} | undefined) => T;
|
|
755
799
|
preferences: ["COLLECTED"];
|
|
756
800
|
goToPage: (page: {
|
|
757
|
-
page:
|
|
801
|
+
page: number | import("../../type").PageTag;
|
|
758
802
|
iteration?: number | undefined;
|
|
759
803
|
nbIterations?: number | undefined;
|
|
760
804
|
subPage?: number | undefined;
|
|
@@ -767,8 +811,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
767
811
|
workersBasePath: string | undefined;
|
|
768
812
|
goNextPage: () => void;
|
|
769
813
|
goPreviousPage: () => void;
|
|
770
|
-
label: import("../../type-source").LabelType
|
|
771
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
814
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
815
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
772
816
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
773
817
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
774
818
|
controls?: import("../../type-source").ControlType[] | undefined;
|
|
@@ -782,8 +826,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
782
826
|
missingResponse?: import("../../type-source").ResponseType | undefined;
|
|
783
827
|
options: {
|
|
784
828
|
value: string;
|
|
785
|
-
label: import("../../type-source").LabelType
|
|
786
|
-
description?: import("../../type-source").LabelType | undefined;
|
|
829
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
830
|
+
description?: import("../../type-source").LabelType<"VTL" | "VTL|MD"> | undefined;
|
|
787
831
|
}[];
|
|
788
832
|
} | {
|
|
789
833
|
handleChange: (response: {
|
|
@@ -798,7 +842,7 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
798
842
|
} | undefined) => T;
|
|
799
843
|
preferences: ["COLLECTED"];
|
|
800
844
|
goToPage: (page: {
|
|
801
|
-
page:
|
|
845
|
+
page: number | import("../../type").PageTag;
|
|
802
846
|
iteration?: number | undefined;
|
|
803
847
|
nbIterations?: number | undefined;
|
|
804
848
|
subPage?: number | undefined;
|
|
@@ -811,8 +855,8 @@ declare function fillFromState(component: LunaticComponentDefinition, state: Lun
|
|
|
811
855
|
workersBasePath: string | undefined;
|
|
812
856
|
goNextPage: () => void;
|
|
813
857
|
goPreviousPage: () => void;
|
|
814
|
-
label: import("../../type-source").LabelType
|
|
815
|
-
description: import("../../type-source").LabelType
|
|
858
|
+
label: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
859
|
+
description: import("../../type-source").LabelType<"VTL" | "VTL|MD">;
|
|
816
860
|
declarations?: import("../../type-source").DeclarationType[] | undefined;
|
|
817
861
|
conditionFilter?: import("../../type-source").ConditionFilterType | undefined;
|
|
818
862
|
controls?: import("../../type-source").ControlType[] | undefined;
|