@gridsuite/commons-ui 0.165.0 → 0.165.1
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.
|
@@ -67,4 +67,11 @@ export declare const businessErrorsEn: {
|
|
|
67
67
|
'dynamicSimulation.mappingNotLastRuleWithEmptyFilterError': string;
|
|
68
68
|
'sensitivityAnalysis.tooManyFactors': string;
|
|
69
69
|
'pccMin.missingFilter': string;
|
|
70
|
+
'diagram.invalidEquipmentType': string;
|
|
71
|
+
'diagram.invalidSubstationLayout': string;
|
|
72
|
+
'diagram.invalidDisplayMode': string;
|
|
73
|
+
'diagram.maxVoltageLevelDisplayed': string;
|
|
74
|
+
'diagram.equipmentNotFound': string;
|
|
75
|
+
'diagram.noConfiguredPosition': string;
|
|
76
|
+
'diagram.noVoltageLevelFound': string;
|
|
70
77
|
};
|
|
@@ -60,7 +60,14 @@ const businessErrorsEn = {
|
|
|
60
60
|
"dynamicSimulation.mappingNotProvided": "Dynamic simulation mapping not provided.",
|
|
61
61
|
"dynamicSimulation.mappingNotLastRuleWithEmptyFilterError": "Only last rule can have empty filter: type {equipmentType}, rule index {index}.",
|
|
62
62
|
"sensitivityAnalysis.tooManyFactors": "Too many factors to run sensitivity analysis: {resultCount} results (limit: {resultCountLimit}) and {variableCount} variables (limit: {variableCountLimit}).",
|
|
63
|
-
"pccMin.missingFilter": "The configuration contains one filter that has been deleted."
|
|
63
|
+
"pccMin.missingFilter": "The configuration contains one filter that has been deleted.",
|
|
64
|
+
"diagram.invalidEquipmentType": "The equipment {id} of type {equipmentType} is not a substation or voltage level in given network",
|
|
65
|
+
"diagram.invalidSubstationLayout": "Given substation layout {substationLayout} doesn't exist",
|
|
66
|
+
"diagram.invalidDisplayMode": "Given sld display mode {sldDisplayMode} doesn't exist",
|
|
67
|
+
"diagram.maxVoltageLevelDisplayed": "You need to reduce the number of voltage levels to be displayed in the network area diagram (current {nbVoltageLevels}, maximum {maxVoltageLevels})",
|
|
68
|
+
"diagram.equipmentNotFound": "Voltage level or substation {id} not found",
|
|
69
|
+
"diagram.noConfiguredPosition": "No configured position found",
|
|
70
|
+
"diagram.noVoltageLevelFound": "No voltage level found for this network area diagram"
|
|
64
71
|
};
|
|
65
72
|
export {
|
|
66
73
|
businessErrorsEn
|
|
@@ -67,4 +67,11 @@ export declare const businessErrorsFr: {
|
|
|
67
67
|
'dynamicSimulation.mappingNotLastRuleWithEmptyFilterError': string;
|
|
68
68
|
'sensitivityAnalysis.tooManyFactors': string;
|
|
69
69
|
'pccMin.missingFilter': string;
|
|
70
|
+
'diagram.invalidEquipmentType': string;
|
|
71
|
+
'diagram.invalidSubstationLayout': string;
|
|
72
|
+
'diagram.invalidDisplayMode': string;
|
|
73
|
+
'diagram.maxVoltageLevelDisplayed': string;
|
|
74
|
+
'diagram.equipmentNotFound': string;
|
|
75
|
+
'diagram.noConfiguredPosition': string;
|
|
76
|
+
'diagram.noVoltageLevelFound': string;
|
|
70
77
|
};
|
|
@@ -60,7 +60,14 @@ const businessErrorsFr = {
|
|
|
60
60
|
"dynamicSimulation.mappingNotProvided": "Mapping pour la simulation dynamique non fourni.",
|
|
61
61
|
"dynamicSimulation.mappingNotLastRuleWithEmptyFilterError": "Seule la dernière règle peut avoir un filtre vide : type {equipmentType}, indice de la règle : {index}.",
|
|
62
62
|
"sensitivityAnalysis.tooManyFactors": "Trop de facteurs pour exécuter l’analyse de sensibilité : {resultCount} résultats (limite : {resultCountLimit}) et {variableCount} variables (limite : {variableCountLimit}).",
|
|
63
|
-
"pccMin.missingFilter": "La configuration contient un filtre qui a été supprimé."
|
|
63
|
+
"pccMin.missingFilter": "La configuration contient un filtre qui a été supprimé.",
|
|
64
|
+
"diagram.invalidEquipmentType": "L'équipement {id} de type {equipmentType} n'est pas un site ou poste dans le réseau courant",
|
|
65
|
+
"diagram.invalidSubstationLayout": "Le mode d'affichage de site {substationLayout} n'existe pas",
|
|
66
|
+
"diagram.invalidDisplayMode": "Le mode d'affichage de schéma unifilaire {sldDisplayMode} n'existe pas",
|
|
67
|
+
"diagram.maxVoltageLevelDisplayed": "Vous devez réduire le nombre de postes à afficher dans l'image nodale de zone (nombre actuel {nbVoltageLevels}, nombre maximum {maxVoltageLevels})",
|
|
68
|
+
"diagram.equipmentNotFound": "Poste ou site {id} non trouvé",
|
|
69
|
+
"diagram.noConfiguredPosition": "Aucune position configurée trouvée",
|
|
70
|
+
"diagram.noVoltageLevelFound": "Aucun poste trouvé pour cette image nodale de zone"
|
|
64
71
|
};
|
|
65
72
|
export {
|
|
66
73
|
businessErrorsFr
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UUID } from 'node:crypto';
|
|
2
|
-
import {
|
|
2
|
+
import { MessageDescriptor, PrimitiveType } from 'react-intl';
|
|
3
3
|
import { ElementType } from './elementType';
|
|
4
4
|
export type Input = string | number;
|
|
5
5
|
export type ElementAttributes = {
|
|
@@ -61,8 +61,8 @@ export declare enum ArrayAction {
|
|
|
61
61
|
ADD = "ADD",
|
|
62
62
|
REMOVE = "REMOVE"
|
|
63
63
|
}
|
|
64
|
-
export type FormatValues =
|
|
64
|
+
export type FormatValues = Record<string, PrimitiveType>;
|
|
65
65
|
export type ErrorMessageDescriptor = {
|
|
66
|
-
descriptor:
|
|
66
|
+
descriptor: MessageDescriptor;
|
|
67
67
|
values?: FormatValues;
|
|
68
68
|
};
|