@gridsuite/commons-ui 0.291.0 → 0.292.0

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.
@@ -38,7 +38,7 @@ const equipmentsSelectionStyles = {
38
38
  marginBottom: theme.spacing(2)
39
39
  }),
40
40
  choice: (theme) => ({
41
- marginTop: theme.spacing(4)
41
+ marginTop: theme.spacing(2)
42
42
  }),
43
43
  choiceContainer: {
44
44
  paddingLeft: 1
@@ -56,7 +56,11 @@ const initialEquipmentsSelectionType = {
56
56
  };
57
57
  function EquipmentSelectionParameters() {
58
58
  return /* @__PURE__ */ jsxs(Stack, { children: [
59
- /* @__PURE__ */ jsx(Alert, { sx: equipmentsSelectionStyles.alert, severity: "info", variant: "outlined", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "VoltageInitParametersEquipmentsSelectionAlert" }) }),
59
+ /* @__PURE__ */ jsxs(Alert, { sx: equipmentsSelectionStyles.alert, severity: "info", variant: "outlined", children: [
60
+ /* @__PURE__ */ jsx(FormattedMessage, { id: "VoltageInitParametersEquipmentsSelectionAlert" }),
61
+ /* @__PURE__ */ jsx("br", {}),
62
+ /* @__PURE__ */ jsx(FormattedMessage, { id: "VoltageInitParametersBatteriesAlert" })
63
+ ] }),
60
64
  /* @__PURE__ */ jsx(Grid, { container: true, justifyContent: "flex-end", sx: equipmentsSelectionStyles.choiceContainer, children: /* @__PURE__ */ jsx(Grid, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
61
65
  RadioInput,
62
66
  {
@@ -90,6 +90,7 @@ export declare const businessErrorsEn: {
90
90
  'modification.container.badType': string;
91
91
  'modification.container.type.notFound': string;
92
92
  'modification.badType': string;
93
+ 'modification.containsShared': string;
93
94
  'modification.notFound': string;
94
95
  'modifications.notFound': string;
95
96
  'modification.infos.error': string;
@@ -84,6 +84,7 @@ const businessErrorsEn = {
84
84
  "modification.container.badType": "Modification container type of {containerId} is invalid : actual type {containerType} -> expected type {expectedContainerType}",
85
85
  "modification.container.type.notFound": "Modification container type of {modificationId} not found",
86
86
  "modification.badType": "Modification type of {modificationId} is invalid : actual type {modificationType} -> expected type {expectedModificationType}",
87
+ "modification.containsShared": "Modification {modificationId} contains a shared modification and cannot be shared",
87
88
  "modification.notFound": "Modification {modificationId} not found",
88
89
  "modifications.notFound": "Some of these modifications {ids} were not found",
89
90
  "modification.infos.error": "Modification infos error : {errorMessage}",
@@ -165,6 +165,7 @@ export declare const parametersEn: {
165
165
  VoltageInitParametersGeneralSaveInfo: string;
166
166
  VoltageInitParametersGeneralUpdateBusVoltageLabel: string;
167
167
  VoltageInitParametersEquipmentsSelectionAlert: string;
168
+ VoltageInitParametersBatteriesAlert: string;
168
169
  VoltageLimits: string;
169
170
  VoltageLevelFilter: string;
170
171
  LowVoltageLimitDefault: string;
@@ -112,7 +112,7 @@ const parametersEn = {
112
112
  ShortCircuitCharacteristics: "Features considered",
113
113
  ShortCircuitVoltageProfileMode: "Initial voltage profile",
114
114
  ShortCircuitStartedGeneratorsMode: "Generators started",
115
- ShortCircuitInClusterFilter: "In cluster filters",
115
+ ShortCircuitInClusterFilter: "Definition of calculation cluster filters",
116
116
  ShortCircuitInCluster: "In cluster",
117
117
  ShortCircuitOutCluster: "Out cluster",
118
118
  startedGeneratorsInCalculationClusterThreshold: "Threshold",
@@ -159,6 +159,7 @@ const parametersEn = {
159
159
  VoltageInitParametersGeneralSaveInfo: "This option won't be saved and will be set back to its default value when choosing settings from GridExplore",
160
160
  VoltageInitParametersGeneralUpdateBusVoltageLabel: "Update bus voltage",
161
161
  VoltageInitParametersEquipmentsSelectionAlert: "Static var compensators and VSC converter stations are always considered variable",
162
+ VoltageInitParametersBatteriesAlert: "Batteries are considered variable when their voltage control is activated",
162
163
  VoltageLimits: "Voltage limits",
163
164
  VoltageLevelFilter: "Voltage level filter",
164
165
  LowVoltageLimitDefault: "Low voltage limit default value",
@@ -90,6 +90,7 @@ export declare const businessErrorsFr: {
90
90
  'modification.container.badType': string;
91
91
  'modification.container.type.notFound': string;
92
92
  'modification.badType': string;
93
+ 'modification.containsShared': string;
93
94
  'modification.notFound': string;
94
95
  'modifications.notFound': string;
95
96
  'modification.infos.error': string;
@@ -84,6 +84,7 @@ const businessErrorsFr = {
84
84
  "modification.container.badType": "Le type du container {containerId} est invalide : type actuel {} -> type attendu {expectedContainerType}",
85
85
  "modification.container.type.notFound": "Le type de container pour la modification {modificationId} est introuvable",
86
86
  "modification.badType": "Le type de la modification {modificationId} est invalide : type actuel {modificationType} -> type attendu {expectedModificationType}",
87
+ "modification.containsShared": "La modification {modificationId} contient une modification partagée et ne peut pas être partagée",
87
88
  "modification.notFound": "La modification {modificationId} est introuvable",
88
89
  "modifications.notFound": "Certaines modifications parmi celles ci {ids} n'ont pas été trouvée",
89
90
  "modification.infos.error": "Infos de modification erronées : {errorMessage}",
@@ -165,6 +165,7 @@ export declare const parametersFr: {
165
165
  VoltageInitParametersGeneralSaveInfo: string;
166
166
  VoltageInitParametersGeneralUpdateBusVoltageLabel: string;
167
167
  VoltageInitParametersEquipmentsSelectionAlert: string;
168
+ VoltageInitParametersBatteriesAlert: string;
168
169
  VoltageLimits: string;
169
170
  VoltageLevelFilter: string;
170
171
  LowVoltageLimitDefault: string;
@@ -107,12 +107,12 @@ const parametersFr = {
107
107
  optionalServicesRetrievingError: "Une erreur est survenue lors de la récupération de l'état des services optionnels",
108
108
  defaultSensiResultsThresholdRetrievingError: "Une erreur est survenue lors de la récupération du seuil par défaut des résultats de l'analyse de sensibilité",
109
109
  fetchDefaultLimitReductionsError: "Une erreur est survenue lors de la récupération des abattements par défaut",
110
- descWithFeederResult: "Avec apports",
110
+ descWithFeederResult: "Résultats avec détails par départ",
111
111
  ShortCircuitPredefinedParameters: "Paramètres prédéfinis",
112
112
  ShortCircuitCharacteristics: "Caractéristiques prises en compte",
113
113
  ShortCircuitVoltageProfileMode: "Plan de tension initial",
114
114
  ShortCircuitStartedGeneratorsMode: "Démarrage des groupes",
115
- ShortCircuitInClusterFilter: "Regroupements de la zone intérieure",
115
+ ShortCircuitInClusterFilter: "Définition de la zone intérieure",
116
116
  ShortCircuitInCluster: "Zone intérieure",
117
117
  ShortCircuitOutCluster: "Zone extérieure",
118
118
  startedGeneratorsInCalculationClusterThreshold: "Seuil",
@@ -159,6 +159,7 @@ const parametersFr = {
159
159
  VoltageInitParametersGeneralSaveInfo: "Cette option ne sera pas enregistrée et sera mise à la valeur par défaut en cas d'insertion de paramètres depuis GridExplore",
160
160
  VoltageInitParametersGeneralUpdateBusVoltageLabel: "Mettre à jour tension des nœuds électriques",
161
161
  VoltageInitParametersEquipmentsSelectionAlert: "Les consignes des CSPR et des stations VSC sont toujours considérées comme variables",
162
+ VoltageInitParametersBatteriesAlert: "Les consignes des batteries sont variables si leur réglage de tension est activé",
162
163
  VoltageLimits: "Limites de tension",
163
164
  VoltageLevelFilter: "Filtre poste",
164
165
  LowVoltageLimitDefault: "Valeur par défaut limite basse",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.291.0",
3
+ "version": "0.292.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",