@gridsuite/commons-ui 0.105.0 → 0.105.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.
@@ -51,7 +51,7 @@ const useModificationLabelComputer = () => {
51
51
  return intl.formatMessage({
52
52
  id: `network_modifications.tabular.${modificationMetadata.tabularCreationType}`
53
53
  });
54
- case MODIFICATION_TYPES.COUPLING_DEVICE_CREATION.type:
54
+ case MODIFICATION_TYPES.CREATE_COUPLING_DEVICE.type:
55
55
  return modificationMetadata.voltageLevelId;
56
56
  default:
57
57
  return modificationMetadata.equipmentId || "";
@@ -62,6 +62,6 @@ export declare const networkModificationsEn: {
62
62
  'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': string;
63
63
  'network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION': string;
64
64
  'network_modifications.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION': string;
65
- 'network_modifications.COUPLING_DEVICE_CREATION': string;
65
+ 'network_modifications.CREATE_COUPLING_DEVICE': string;
66
66
  'network_modifications.BALANCES_ADJUSTMENT_MODIFICATION': string;
67
67
  };
@@ -56,7 +56,7 @@ const networkModificationsEn = {
56
56
  "network_modifications.STATIC_VAR_COMPENSATOR_CREATION": "Creating static var compensator {computedLabel}",
57
57
  "network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION": "Creating voltage level {voltageLevelEquipmentId} and substation {substationEquipmentId}",
58
58
  "network_modifications.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION": "Modifying voltage level topology {computedLabel}",
59
- "network_modifications.COUPLING_DEVICE_CREATION": "Creating a coupling device in voltage level {computedLabel}",
59
+ "network_modifications.CREATE_COUPLING_DEVICE": "Creating a coupling device in voltage level {computedLabel}",
60
60
  "network_modifications.BALANCES_ADJUSTMENT_MODIFICATION": "Balances adjustment modification"
61
61
  };
62
62
  export {
@@ -62,6 +62,6 @@ export declare const networkModificationsFr: {
62
62
  'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': string;
63
63
  'network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION': string;
64
64
  'network_modifications.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION': string;
65
- 'network_modifications.COUPLING_DEVICE_CREATION': string;
65
+ 'network_modifications.CREATE_COUPLING_DEVICE': string;
66
66
  'network_modifications.BALANCES_ADJUSTMENT_MODIFICATION': string;
67
67
  };
@@ -56,7 +56,7 @@ const networkModificationsFr = {
56
56
  "network_modifications.STATIC_VAR_COMPENSATOR_CREATION": "Création de CSPR {computedLabel}",
57
57
  "network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION": "Création du poste {voltageLevelEquipmentId} et du site {substationEquipmentId}",
58
58
  "network_modifications.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION": "Modification de la topologie du poste {computedLabel}",
59
- "network_modifications.COUPLING_DEVICE_CREATION": "Création de couplage / omnibus dans le poste {computedLabel}",
59
+ "network_modifications.CREATE_COUPLING_DEVICE": "Création de couplage / omnibus dans le poste {computedLabel}",
60
60
  "network_modifications.BALANCES_ADJUSTMENT_MODIFICATION": "Modification d'équilibrage bilan"
61
61
  };
62
62
  export {
@@ -50,7 +50,7 @@ export declare enum ModificationType {
50
50
  LCC_CREATION = "LCC_CREATION",
51
51
  LCC_MODIFICATION = "LCC_MODIFICATION",
52
52
  VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION = "VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION",
53
- COUPLING_DEVICE_CREATION = "COUPLING_DEVICE_CREATION",
53
+ CREATE_COUPLING_DEVICE = "CREATE_COUPLING_DEVICE",
54
54
  BALANCES_ADJUSTMENT = "BALANCES_ADJUSTMENT_MODIFICATION"
55
55
  }
56
56
  export declare const MODIFICATION_TYPES: {
@@ -192,7 +192,7 @@ export declare const MODIFICATION_TYPES: {
192
192
  VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION: {
193
193
  type: ModificationType;
194
194
  };
195
- COUPLING_DEVICE_CREATION: {
195
+ CREATE_COUPLING_DEVICE: {
196
196
  type: ModificationType;
197
197
  };
198
198
  BALANCES_ADJUSTMENT: {
@@ -44,7 +44,7 @@ var ModificationType = /* @__PURE__ */ ((ModificationType2) => {
44
44
  ModificationType2["LCC_CREATION"] = "LCC_CREATION";
45
45
  ModificationType2["LCC_MODIFICATION"] = "LCC_MODIFICATION";
46
46
  ModificationType2["VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION"] = "VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION";
47
- ModificationType2["COUPLING_DEVICE_CREATION"] = "COUPLING_DEVICE_CREATION";
47
+ ModificationType2["CREATE_COUPLING_DEVICE"] = "CREATE_COUPLING_DEVICE";
48
48
  ModificationType2["BALANCES_ADJUSTMENT"] = "BALANCES_ADJUSTMENT_MODIFICATION";
49
49
  return ModificationType2;
50
50
  })(ModificationType || {});
@@ -231,9 +231,9 @@ const MODIFICATION_TYPES = {
231
231
  type: "VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION"
232
232
  /* VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION */
233
233
  },
234
- COUPLING_DEVICE_CREATION: {
235
- type: "COUPLING_DEVICE_CREATION"
236
- /* COUPLING_DEVICE_CREATION */
234
+ CREATE_COUPLING_DEVICE: {
235
+ type: "CREATE_COUPLING_DEVICE"
236
+ /* CREATE_COUPLING_DEVICE */
237
237
  },
238
238
  BALANCES_ADJUSTMENT: {
239
239
  type: "BALANCES_ADJUSTMENT_MODIFICATION"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.105.0",
3
+ "version": "0.105.1",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",