@hestia-earth/ui-components 0.43.4 → 0.43.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/hestia-earth-ui-components-file-errors.mjs +4 -1
- package/fesm2022/hestia-earth-ui-components-file-errors.mjs.map +1 -1
- package/fesm2022/hestia-earth-ui-components.mjs +130 -1
- package/fesm2022/hestia-earth-ui-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/hestia-earth-ui-components.d.ts +70 -4
|
@@ -1180,7 +1180,10 @@ const createErrorFormatter = ({ renderer: r, urls }) => {
|
|
|
1180
1180
|
This means practices ${externalNodeLink({
|
|
1181
1181
|
'@type': NodeType.Term,
|
|
1182
1182
|
'@id': 'plantationLifespan'
|
|
1183
|
-
})} and ${externalNodeLink({ '@type': NodeType.Term, '@id': 'plantationProductiveLifespan' })} must have values
|
|
1183
|
+
})} and ${externalNodeLink({ '@type': NodeType.Term, '@id': 'plantationProductiveLifespan' })} must have values.`,
|
|
1184
|
+
'should specify functionalArea or site area': () => `To be able to add depreciated infrastructure inputs to the Cycle, we need to know the area the infrastructure is
|
|
1185
|
+
given per. This can be specified with the infrastructure ${code('functionalArea')} , or the ${code('site.area')}
|
|
1186
|
+
if it is known.`
|
|
1184
1187
|
};
|
|
1185
1188
|
const requiredPropertyError = (message, error) => {
|
|
1186
1189
|
const field = message.split("'")[1].replace("'", '');
|