@inseefr/lunatic 2.4.3-beta → 2.4.3
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.
|
@@ -14,8 +14,7 @@ function TableOrchestrator(_ref) {
|
|
|
14
14
|
executeExpression = _ref.executeExpression,
|
|
15
15
|
valueMap = _ref.value,
|
|
16
16
|
handleChange = _ref.handleChange,
|
|
17
|
-
iteration = _ref.iteration
|
|
18
|
-
errors = _ref.errors;
|
|
17
|
+
iteration = _ref.iteration;
|
|
19
18
|
if (!Array.isArray(body)) {
|
|
20
19
|
return null;
|
|
21
20
|
}
|
|
@@ -28,8 +27,7 @@ function TableOrchestrator(_ref) {
|
|
|
28
27
|
valueMap: valueMap,
|
|
29
28
|
handleChange: handleChange,
|
|
30
29
|
iteration: iteration,
|
|
31
|
-
executeExpression: executeExpression
|
|
32
|
-
errors: errors
|
|
30
|
+
executeExpression: executeExpression
|
|
33
31
|
}, index);
|
|
34
32
|
})
|
|
35
33
|
});
|
|
@@ -14,7 +14,7 @@ type Props = {
|
|
|
14
14
|
row?: string | number;
|
|
15
15
|
index?: string | number;
|
|
16
16
|
handleChange: LunaticBaseProps['handleChange'];
|
|
17
|
-
errors
|
|
17
|
+
errors?: LunaticBaseProps['errors'];
|
|
18
18
|
};
|
|
19
19
|
declare function Cell({ content, id, executeExpression, iteration, value, row, index, handleChange, errors, }: Props): JSX.Element;
|
|
20
20
|
export default Cell;
|
|
@@ -13,7 +13,7 @@ type Props = {
|
|
|
13
13
|
valueMap: Record<string, unknown>;
|
|
14
14
|
rowIndex?: string | number;
|
|
15
15
|
handleChange: LunaticBaseProps['handleChange'];
|
|
16
|
-
errors
|
|
16
|
+
errors?: LunaticBaseProps['errors'];
|
|
17
17
|
};
|
|
18
18
|
declare function Row({ id, components, executeExpression, valueMap, rowIndex, iteration, handleChange, errors, }: Props): JSX.Element;
|
|
19
19
|
export default Row;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { LunaticComponentProps } from '../type';
|
|
3
|
-
type Props = {} & Pick<LunaticComponentProps<'Table'>, 'body' | 'id' | 'executeExpression' | 'value' | 'handleChange' | 'iteration'
|
|
4
|
-
declare function TableOrchestrator({ body, id, executeExpression, value: valueMap, handleChange, iteration,
|
|
3
|
+
type Props = {} & Pick<LunaticComponentProps<'Table'>, 'body' | 'id' | 'executeExpression' | 'value' | 'handleChange' | 'iteration'>;
|
|
4
|
+
declare function TableOrchestrator({ body, id, executeExpression, value: valueMap, handleChange, iteration, }: Props): JSX.Element | null;
|
|
5
5
|
export default TableOrchestrator;
|