@gridsuite/commons-ui 0.241.1 → 0.242.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.
Files changed (140) hide show
  1. package/README.md +4 -0
  2. package/dist/components/composite/grid/grid-item.d.ts +2 -1
  3. package/dist/components/composite/grid/grid-item.js +9 -2
  4. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.d.ts +1 -2
  5. package/dist/features/index.js +87 -3
  6. package/dist/features/network-modification-table/index.js +2 -1
  7. package/dist/features/network-modification-table/use-modifications-drag-and-drop.js +2 -1
  8. package/dist/features/network-modification-table/utils.d.ts +1 -0
  9. package/dist/features/network-modification-table/utils.js +5 -1
  10. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +3 -0
  11. package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +3 -0
  12. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +3 -0
  13. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +3 -0
  14. package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +3 -0
  15. package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.d.ts +71 -2
  16. package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.js +26 -8
  17. package/dist/features/network-modifications/common/connectivity/index.js +3 -1
  18. package/dist/features/network-modifications/common/currentLimits/LimitsPane.d.ts +7 -0
  19. package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +243 -0
  20. package/dist/features/network-modifications/common/currentLimits/LimitsTagChip.d.ts +9 -0
  21. package/dist/features/network-modifications/common/currentLimits/LimitsTagChip.js +29 -0
  22. package/dist/features/network-modifications/common/currentLimits/SelectedOperationalLimitGroup.d.ts +9 -0
  23. package/dist/features/network-modifications/common/currentLimits/SelectedOperationalLimitGroup.js +100 -0
  24. package/dist/features/network-modifications/common/currentLimits/index.d.ts +12 -0
  25. package/dist/features/network-modifications/common/currentLimits/index.js +47 -0
  26. package/dist/features/network-modifications/common/currentLimits/limits.types.d.ts +52 -0
  27. package/dist/features/network-modifications/common/currentLimits/limits.types.js +17 -0
  28. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.d.ts +10 -0
  29. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js +285 -0
  30. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.d.ts +5 -0
  31. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js +184 -0
  32. package/dist/features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.d.ts +14 -0
  33. package/dist/features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.js +166 -0
  34. package/dist/features/network-modifications/common/currentLimits/limitsEditor/index.d.ts +10 -0
  35. package/dist/features/network-modifications/common/currentLimits/limitsEditor/index.js +10 -0
  36. package/dist/features/network-modifications/common/currentLimits/limitsEditor/limitsChart.d.ts +11 -0
  37. package/dist/features/network-modifications/common/currentLimits/limitsEditor/limitsChart.js +177 -0
  38. package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +213 -0
  39. package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +337 -0
  40. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsGroupsContextualMenu.d.ts +25 -0
  41. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsGroupsContextualMenu.js +92 -0
  42. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsPropertiesStack.d.ts +10 -0
  43. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsPropertiesStack.js +25 -0
  44. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroupTabLabel.d.ts +10 -0
  45. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroupTabLabel.js +73 -0
  46. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroups.d.ts +16 -0
  47. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroups.js +121 -0
  48. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/index.d.ts +11 -0
  49. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/index.js +12 -0
  50. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types.d.ts +71 -0
  51. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types.js +15 -0
  52. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroupsStyles.d.ts +46 -0
  53. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroupsStyles.js +45 -0
  54. package/dist/features/network-modifications/common/index.d.ts +1 -0
  55. package/dist/features/network-modifications/common/index.js +50 -2
  56. package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.d.ts +11 -0
  57. package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +6 -4
  58. package/dist/features/network-modifications/common/measurements/index.js +2 -1
  59. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -1
  60. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +3 -7
  61. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +3 -0
  62. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +9 -6
  63. package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +3 -0
  64. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +3 -0
  65. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +9 -6
  66. package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +3 -0
  67. package/dist/features/network-modifications/index.d.ts +1 -0
  68. package/dist/features/network-modifications/index.js +85 -2
  69. package/dist/features/network-modifications/line/catalog/index.d.ts +8 -0
  70. package/dist/features/network-modifications/line/catalog/index.js +14 -0
  71. package/dist/features/network-modifications/line/catalog/lineCatalog.type.d.ts +66 -0
  72. package/dist/features/network-modifications/line/catalog/lineCatalog.type.js +7 -0
  73. package/dist/features/network-modifications/line/catalog/segment.utils.d.ts +90 -0
  74. package/dist/features/network-modifications/line/catalog/segment.utils.js +100 -0
  75. package/dist/features/network-modifications/line/characteristics/LineCharacteristicsPane.d.ts +8 -0
  76. package/dist/features/network-modifications/line/characteristics/LineCharacteristicsPane.js +152 -0
  77. package/dist/features/network-modifications/line/characteristics/index.d.ts +9 -0
  78. package/dist/features/network-modifications/line/characteristics/index.js +9 -0
  79. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.types.d.ts +14 -0
  80. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.types.js +1 -0
  81. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.d.ts +52 -0
  82. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +53 -0
  83. package/dist/features/network-modifications/line/common/LineDialogHeader.d.ts +6 -0
  84. package/dist/features/network-modifications/line/common/LineDialogHeader.js +103 -0
  85. package/dist/features/network-modifications/line/common/LineDialogTabs.d.ts +9 -0
  86. package/dist/features/network-modifications/line/common/LineDialogTabs.js +61 -0
  87. package/dist/features/network-modifications/line/common/LineDialogTabsContent.d.ts +8 -0
  88. package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +96 -0
  89. package/dist/features/network-modifications/line/common/LineForm.d.ts +6 -0
  90. package/dist/features/network-modifications/line/common/LineForm.js +50 -0
  91. package/dist/features/network-modifications/line/common/index.d.ts +12 -0
  92. package/dist/features/network-modifications/line/common/index.js +13 -0
  93. package/dist/features/network-modifications/line/common/line.types.d.ts +47 -0
  94. package/dist/features/network-modifications/line/common/line.types.js +1 -0
  95. package/dist/features/network-modifications/line/common/line.utils.d.ts +13 -0
  96. package/dist/features/network-modifications/line/common/line.utils.js +34 -0
  97. package/dist/features/network-modifications/line/creation/index.d.ts +8 -0
  98. package/dist/features/network-modifications/line/creation/index.js +7 -0
  99. package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +39 -0
  100. package/dist/features/network-modifications/line/creation/lineCreation.types.js +1 -0
  101. package/dist/features/network-modifications/line/creation/lineCreation.utils.d.ts +151 -0
  102. package/dist/features/network-modifications/line/creation/lineCreation.utils.js +172 -0
  103. package/dist/features/network-modifications/line/index.d.ts +10 -0
  104. package/dist/features/network-modifications/line/index.js +37 -0
  105. package/dist/features/network-modifications/load/common/LoadDialogHeader.js +3 -0
  106. package/dist/features/network-modifications/load/modification/loadModification.utils.js +3 -0
  107. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +7 -6
  108. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +3 -0
  109. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +3 -0
  110. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +3 -0
  111. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +3 -0
  112. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +3 -0
  113. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +3 -0
  114. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +3 -0
  115. package/dist/features/network-modifications/voltageLevel/creation/index.js +3 -0
  116. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +3 -0
  117. package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +3 -0
  118. package/dist/features/network-modifications/voltageLevel/index.js +3 -0
  119. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +4 -1
  120. package/dist/features/parameters/common/contingency-table/contingency-table.js +22 -10
  121. package/dist/features/parameters/common/contingency-table/types.d.ts +7 -8
  122. package/dist/features/parameters/common/contingency-table/utils.d.ts +13 -0
  123. package/dist/features/parameters/common/contingency-table/utils.js +31 -0
  124. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +5 -1
  125. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +19 -31
  126. package/dist/hooks/useModificationLabelComputer.js +1 -0
  127. package/dist/index.js +87 -3
  128. package/dist/translations/en/networkModificationsEn.d.ts +28 -0
  129. package/dist/translations/en/networkModificationsEn.js +28 -0
  130. package/dist/translations/en/parameters.d.ts +3 -1
  131. package/dist/translations/en/parameters.js +3 -1
  132. package/dist/translations/fr/networkModificationsFr.d.ts +28 -0
  133. package/dist/translations/fr/networkModificationsFr.js +28 -0
  134. package/dist/translations/fr/parameters.d.ts +3 -1
  135. package/dist/translations/fr/parameters.js +3 -1
  136. package/dist/utils/constants/fieldConstants.d.ts +47 -1
  137. package/dist/utils/constants/fieldConstants.js +46 -0
  138. package/dist/utils/types/modificationType.d.ts +4 -0
  139. package/dist/utils/types/modificationType.js +5 -0
  140. package/package.json +11 -4
@@ -21,6 +21,7 @@ export declare const networkModificationsEn: {
21
21
  'network_modifications.LINE_CREATION': string;
22
22
  'network_modifications.LINE_MODIFICATION': string;
23
23
  'network_modifications.COMPOSITE_MODIFICATION': string;
24
+ 'network_modifications.MODIFICATION_REFERENCE': string;
24
25
  'network_modifications.TWO_WINDINGS_TRANSFORMER_CREATION': string;
25
26
  'network_modifications.TWO_WINDINGS_TRANSFORMER_MODIFICATION': string;
26
27
  'network_modifications.OPERATING_STATUS_MODIFICATION': string;
@@ -273,9 +274,36 @@ export declare const networkModificationsEn: {
273
274
  ModifyGenerator: string;
274
275
  GeneratorModificationError: string;
275
276
  NoBusbarSectionFound: string;
277
+ CreateLine: string;
278
+ LineCreationError: string;
279
+ SelectedOperationalLimitGroups: string;
280
+ LimitSets: string;
281
+ DeleteFromMenu: string;
282
+ Duplicate: string;
283
+ BothSides: string;
284
+ TemporaryLimitDuration: string;
285
+ TemporaryLimitName: string;
286
+ TemporaryLimitValue: string;
287
+ permanentLimit: string;
288
+ PermanentCurrentLimitText: string;
289
+ unlimited: string;
290
+ forbidden: string;
291
+ Applicability: string;
292
+ disableOLGedition: string;
293
+ Edit: string;
294
+ View: string;
295
+ TemporaryLimitNameUnicityError: string;
296
+ TemporaryLimitDurationUnicityError: string;
297
+ LimitSetApplicabilityError: string;
298
+ permanentCurrentLimitMustBeGreaterThanZero: string;
299
+ UniqueName: string;
300
+ FieldNotEmpty: string;
301
+ TemporaryCurrentLimitsText: string;
302
+ SelectedOperationalLimitGroup: string;
276
303
  SubstationTab: string;
277
304
  ConnectivityTab: string;
278
305
  CharacteristicsTab: string;
306
+ LimitsTab: string;
279
307
  SetpointsAndLimitsTab: string;
280
308
  SpecificTab: string;
281
309
  StructureTab: string;
@@ -26,6 +26,7 @@ const networkModificationsEn = {
26
26
  "network_modifications.LINE_CREATION": "Creating line {computedLabel}",
27
27
  "network_modifications.LINE_MODIFICATION": "Modifying line {computedLabel}",
28
28
  "network_modifications.COMPOSITE_MODIFICATION": "{computedLabel}",
29
+ "network_modifications.MODIFICATION_REFERENCE": "{computedLabel}",
29
30
  "network_modifications.TWO_WINDINGS_TRANSFORMER_CREATION": "Creating 2 windings transformer {computedLabel}",
30
31
  "network_modifications.TWO_WINDINGS_TRANSFORMER_MODIFICATION": "Modifying 2 windings transformer {computedLabel}",
31
32
  "network_modifications.OPERATING_STATUS_MODIFICATION": "{action, select, TRIP {Trip {computedLabel}} LOCKOUT {Lock out {computedLabel}} ENERGISE_END_ONE {Energise {computedLabel} on {energizedEnd}} ENERGISE_END_TWO {Energise {computedLabel} on {energizedEnd}} SWITCH_ON {Switch on {computedLabel}} other {Equipment operating status modification {computedLabel}}}",
@@ -278,10 +279,37 @@ const networkModificationsEn = {
278
279
  ModifyGenerator: "Modify generator",
279
280
  GeneratorModificationError: "Error while modifying generator",
280
281
  NoBusbarSectionFound: "No busbar section found for this voltage level",
282
+ CreateLine: "Create line",
283
+ LineCreationError: "Error while creating line",
284
+ SelectedOperationalLimitGroups: "Active limit sets",
285
+ LimitSets: "Limit sets",
286
+ DeleteFromMenu: "Delete",
287
+ Duplicate: "Duplicate",
288
+ BothSides: "Both Sides",
289
+ TemporaryLimitDuration: "Duration (s)",
290
+ TemporaryLimitName: "Name",
291
+ TemporaryLimitValue: "Value (A)",
292
+ permanentLimit: "PATL",
293
+ PermanentCurrentLimitText: "PATL",
294
+ unlimited: "Unlimited",
295
+ forbidden: "Forbidden",
296
+ Applicability: "Applicability",
297
+ disableOLGedition: "Entered limit sets data will be lost. Do you wish to continue?",
298
+ Edit: "Edit",
299
+ View: "View",
300
+ TemporaryLimitNameUnicityError: "Temporary limit names must be unique in the table",
301
+ TemporaryLimitDurationUnicityError: "Temporary limit acceptable durations must be unique in the table",
302
+ LimitSetApplicabilityError: "2 limit sets with the same name must have different application sides.",
303
+ permanentCurrentLimitMustBeGreaterThanZero: "The permanent current limit value must be greater than 0",
304
+ UniqueName: "Name should be unique",
305
+ FieldNotEmpty: "Field should not be empty",
306
+ TemporaryCurrentLimitsText: "Temporary current limits",
307
+ SelectedOperationalLimitGroup: "Active limit set",
281
308
  // Tabs
282
309
  SubstationTab: "Substation",
283
310
  ConnectivityTab: "Connectivity",
284
311
  CharacteristicsTab: "Characteristics",
312
+ LimitsTab: "Limits",
285
313
  SetpointsAndLimitsTab: "Setpoints & Limits",
286
314
  SpecificTab: "Specific",
287
315
  StructureTab: "Structure",
@@ -33,7 +33,8 @@ export declare const parametersEn: {
33
33
  descLfWriteSlackBus: string;
34
34
  descLfDC: string;
35
35
  descLfConnectedComponentMode: string;
36
- descLfConnectedComponentModeMain: string;
36
+ descLfConnectedComponentModeMainSync: string;
37
+ descLfConnectedComponentModeMainConnected: string;
37
38
  descLfConnectedComponentModeAll: string;
38
39
  descLfHvdcAcEmulation: string;
39
40
  descLfDistributedSlack: string;
@@ -206,6 +207,7 @@ export declare const parametersEn: {
206
207
  DeleteContingencyList: string;
207
208
  getContingencyListError: string;
208
209
  xContingenciesWillBeSimulatedAndYNotFound: string;
210
+ contingenciesWillNotBeSimulated: string;
209
211
  contingencyCountImpossibleOnUnbuiltNode: string;
210
212
  noContingency: string;
211
213
  resultsThreshold: string;
@@ -27,7 +27,8 @@ const parametersEn = {
27
27
  descLfWriteSlackBus: "Write slack bus in the network",
28
28
  descLfDC: "Run a DC power flow",
29
29
  descLfConnectedComponentMode: "Select connected component for calculation",
30
- descLfConnectedComponentModeMain: "Main connected component",
30
+ descLfConnectedComponentModeMainSync: "Main synchronous component",
31
+ descLfConnectedComponentModeMainConnected: "Main connected component",
31
32
  descLfConnectedComponentModeAll: "All connected components",
32
33
  descLfHvdcAcEmulation: "Enable AC emulation on HVDC lines",
33
34
  descLfDistributedSlack: "Enable balancing",
@@ -200,6 +201,7 @@ const parametersEn = {
200
201
  DeleteContingencyList: "Delete",
201
202
  getContingencyListError: "Can't fetch contingencies lists",
202
203
  xContingenciesWillBeSimulatedAndYNotFound: "{x, plural, =0 {no contingency} =1 {1 contingency} other {{x} contingencies}} to be simulated {y, plural, =0 {} other {and {y} not found}}",
204
+ contingenciesWillNotBeSimulated: "{invalidContingencyErrorMessage}",
203
205
  contingencyCountImpossibleOnUnbuiltNode: "Can't estimate contingencies on an unbuilt node",
204
206
  noContingency: "No contingency",
205
207
  resultsThreshold: "Minimum sensitivity threshold",
@@ -21,6 +21,7 @@ export declare const networkModificationsFr: {
21
21
  'network_modifications.LINE_CREATION': string;
22
22
  'network_modifications.LINE_MODIFICATION': string;
23
23
  'network_modifications.COMPOSITE_MODIFICATION': string;
24
+ 'network_modifications.MODIFICATION_REFERENCE': string;
24
25
  'network_modifications.TWO_WINDINGS_TRANSFORMER_CREATION': string;
25
26
  'network_modifications.TWO_WINDINGS_TRANSFORMER_MODIFICATION': string;
26
27
  'network_modifications.OPERATING_STATUS_MODIFICATION': string;
@@ -273,9 +274,36 @@ export declare const networkModificationsFr: {
273
274
  ModifyGenerator: string;
274
275
  GeneratorModificationError: string;
275
276
  NoBusbarSectionFound: string;
277
+ CreateLine: string;
278
+ LineCreationError: string;
279
+ SelectedOperationalLimitGroups: string;
280
+ LimitSets: string;
281
+ DeleteFromMenu: string;
282
+ Duplicate: string;
283
+ BothSides: string;
284
+ TemporaryLimitDuration: string;
285
+ TemporaryLimitName: string;
286
+ TemporaryLimitValue: string;
287
+ permanentLimit: string;
288
+ PermanentCurrentLimitText: string;
289
+ unlimited: string;
290
+ forbidden: string;
291
+ Applicability: string;
292
+ disableOLGedition: string;
293
+ Edit: string;
294
+ View: string;
295
+ TemporaryLimitNameUnicityError: string;
296
+ TemporaryLimitDurationUnicityError: string;
297
+ LimitSetApplicabilityError: string;
298
+ permanentCurrentLimitMustBeGreaterThanZero: string;
299
+ UniqueName: string;
300
+ FieldNotEmpty: string;
301
+ TemporaryCurrentLimitsText: string;
302
+ SelectedOperationalLimitGroup: string;
276
303
  SubstationTab: string;
277
304
  ConnectivityTab: string;
278
305
  CharacteristicsTab: string;
306
+ LimitsTab: string;
279
307
  SetpointsAndLimitsTab: string;
280
308
  SpecificTab: string;
281
309
  StructureTab: string;
@@ -26,6 +26,7 @@ const networkModificationsFr = {
26
26
  "network_modifications.LINE_CREATION": "Création de la ligne {computedLabel}",
27
27
  "network_modifications.LINE_MODIFICATION": "Modification de la ligne {computedLabel}",
28
28
  "network_modifications.COMPOSITE_MODIFICATION": "{computedLabel}",
29
+ "network_modifications.MODIFICATION_REFERENCE": "{computedLabel}",
29
30
  "network_modifications.TWO_WINDINGS_TRANSFORMER_CREATION": "Création du transformateur à 2 enroulements {computedLabel}",
30
31
  "network_modifications.TWO_WINDINGS_TRANSFORMER_MODIFICATION": "Modification du transformateur à 2 enroulements {computedLabel}",
31
32
  "network_modifications.OPERATING_STATUS_MODIFICATION": "{action, select, TRIP {Déclenchement de {computedLabel}} LOCKOUT {Consignation de {computedLabel}} ENERGISE_END_ONE {Mise sous tension à vide de {computedLabel} depuis {energizedEnd}} ENERGISE_END_TWO {Mise sous tension à vide de {computedLabel} depuis {energizedEnd}} SWITCH_ON {Mise en service de {computedLabel}} other {Modification du statut opérationnel de l'équipement {computedLabel}}}",
@@ -278,10 +279,37 @@ const networkModificationsFr = {
278
279
  ModifyGenerator: "Modifier un groupe",
279
280
  GeneratorModificationError: "Erreur lors de la modification d'un générateur ",
280
281
  NoBusbarSectionFound: "Aucun jeu de barres trouvé pour ce poste",
282
+ CreateLine: "Créer une ligne",
283
+ LineCreationError: "Erreur lors de la création d'une ligne",
284
+ SelectedOperationalLimitGroups: "Jeux de limites actifs",
285
+ LimitSets: "Jeux de limites",
286
+ DeleteFromMenu: "Supprimer",
287
+ Duplicate: "Dupliquer",
288
+ BothSides: "Ouvrage",
289
+ TemporaryLimitDuration: "Tempo (s)",
290
+ TemporaryLimitName: "Nom",
291
+ TemporaryLimitValue: "Valeur (A)",
292
+ permanentLimit: "IST",
293
+ PermanentCurrentLimitText: "IST",
294
+ unlimited: "Illimité",
295
+ forbidden: "Interdit",
296
+ Applicability: "Applicable sur",
297
+ disableOLGedition: "Les données saisies pour les jeux de limites ne seront pas conservées. Voulez-vous continuer ?",
298
+ Edit: "Édition",
299
+ View: "Visualisation",
300
+ TemporaryLimitNameUnicityError: "Les noms des limites temporaires doivent être uniques dans la table",
301
+ TemporaryLimitDurationUnicityError: "Les tempos des limites temporaires doivent être uniques dans la table",
302
+ LimitSetApplicabilityError: "2 jeux de limites de même nom doivent s'appliquer sur des côtés différents.",
303
+ permanentCurrentLimitMustBeGreaterThanZero: "La valeur IST doit être supérieure à 0",
304
+ UniqueName: "Le nom doit être unique",
305
+ FieldNotEmpty: "le champs ne doit pas être vide",
306
+ TemporaryCurrentLimitsText: "Limites d'intensité temporaires",
307
+ SelectedOperationalLimitGroup: "Jeu de limites actif",
281
308
  // Tabs
282
309
  SubstationTab: "Site",
283
310
  ConnectivityTab: "Connectivité",
284
311
  CharacteristicsTab: "Caractéristiques",
312
+ LimitsTab: "Limites",
285
313
  SetpointsAndLimitsTab: "Consignes & Limites",
286
314
  SpecificTab: "Spécifique",
287
315
  StructureTab: "Structure",
@@ -33,7 +33,8 @@ export declare const parametersFr: {
33
33
  descLfWriteSlackBus: string;
34
34
  descLfDC: string;
35
35
  descLfConnectedComponentMode: string;
36
- descLfConnectedComponentModeMain: string;
36
+ descLfConnectedComponentModeMainSync: string;
37
+ descLfConnectedComponentModeMainConnected: string;
37
38
  descLfConnectedComponentModeAll: string;
38
39
  descLfHvdcAcEmulation: string;
39
40
  descLfDistributedSlack: string;
@@ -207,6 +208,7 @@ export declare const parametersFr: {
207
208
  DeleteContingencyList: string;
208
209
  getContingencyListError: string;
209
210
  xContingenciesWillBeSimulatedAndYNotFound: string;
211
+ contingenciesWillNotBeSimulated: string;
210
212
  contingencyCountImpossibleOnUnbuiltNode: string;
211
213
  noContingency: string;
212
214
  resultsThreshold: string;
@@ -27,7 +27,8 @@ const parametersFr = {
27
27
  descLfWriteSlackBus: "Écrire le nœud bilan calculé automatiquement dans le réseau",
28
28
  descLfDC: "Lancer le calcul en actif seul",
29
29
  descLfConnectedComponentMode: "Choix de la composante connexe de calcul",
30
- descLfConnectedComponentModeMain: "Composante connexe principale",
30
+ descLfConnectedComponentModeMainSync: "Composante synchrone principale",
31
+ descLfConnectedComponentModeMainConnected: "Composante connexe principale",
31
32
  descLfConnectedComponentModeAll: "Toutes les composantes connexes",
32
33
  descLfHvdcAcEmulation: "Permettre l'émulation AC des HVDC",
33
34
  descLfDistributedSlack: "Activer la compensation",
@@ -201,6 +202,7 @@ const parametersFr = {
201
202
  DeleteContingencyList: "Supprimer",
202
203
  getContingencyListError: "Impossible de récupérer les listes d'aléas",
203
204
  xContingenciesWillBeSimulatedAndYNotFound: "{x, plural, =0 {aucun défaut} =1 {1 défaut} other {{x} défauts}} à simuler {y, plural, =0 {} =1 {et 1 non trouvé} other {et {y} non trouvés}}",
205
+ contingenciesWillNotBeSimulated: "{invalidContingencyErrorMessage}",
204
206
  contingencyCountImpossibleOnUnbuiltNode: "Impossible d'estimer le nombre d'aléas sur un noeud non réalisé",
205
207
  noContingency: "Aucun défaut",
206
208
  resultsThreshold: "Seuil minimal de sensibilité",
@@ -10,12 +10,17 @@ export declare enum FieldConstants {
10
10
  ADDITIONAL_PROPERTIES = "AdditionalProperties",
11
11
  AG_GRID_ROW_UUID = "agGridRowUuid",
12
12
  API_CALL = "apiCall",
13
+ APPLY_SEGMENTS_LIMITS = "applySegmentsLimits",
14
+ APPLICABILITY_FIELD = "applicability",
13
15
  ASSIGNMENTS = "assignments",
16
+ B1 = "b1",
17
+ B2 = "b2",
14
18
  BUS_OR_BUSBAR_SECTION = "busOrBusbarSection",
15
19
  CASE_FILE = "caseFile",
16
20
  CASE_FORMAT = "caseFormat",
17
21
  CASE_NAME = "caseName",
18
22
  CASE_UUID = "caseUuid",
23
+ CHARACTERISTICS = "characteristics",
19
24
  CHARACTERISTICS_CHOICE = "characteristicsChoice",
20
25
  CONNECTED = "terminalConnected",
21
26
  CONNECTION_DIRECTION = "connectionDirection",
@@ -30,6 +35,7 @@ export declare enum FieldConstants {
30
35
  COUNTRIES_2 = "countries2",
31
36
  COUNTRIES = "countries",
32
37
  COUNTRY = "country",
38
+ CURRENT_LIMITS = "currentLimits",
33
39
  CURRENT_PARAMETERS = "currentParameters",
34
40
  DELETION_MARK = "deletionMark",
35
41
  DELETION_SPECIFIC_DATA = "equipmentInfos",
@@ -52,6 +58,8 @@ export declare enum FieldConstants {
52
58
  FORCED_OUTAGE_RATE = "forcedOutageRate",
53
59
  FORMATTED_CASE_PARAMETERS = "formattedCaseParameters",
54
60
  FREQUENCY_REGULATION = "frequencyRegulation",
61
+ G1 = "g1",
62
+ G2 = "g2",
55
63
  HVDC_LINE_LCC_DELETION_SPECIFIC_TYPE = "HVDC_LINE_WITH_LCC",
56
64
  ID = "id",
57
65
  LOADFLOW_PARAMETERS = "loadflowParameters",
@@ -75,6 +83,7 @@ export declare enum FieldConstants {
75
83
  NOMINAL_VOLTAGE_3 = "nominalVoltage3",
76
84
  NOMINAL_VOLTAGE = "nominalVoltage",
77
85
  OPERATION_TYPE = "type",
86
+ PERMANENT_LIMIT = "permanentLimit",
78
87
  PLANNED_ACTIVE_POWER_SET_POINT = "plannedActivePowerSetPoint",
79
88
  PLANNED_OUTAGE_RATE = "plannedOutageRate",
80
89
  PREVIOUS_VALUE = "previousValue",
@@ -108,11 +117,18 @@ export declare enum FieldConstants {
108
117
  BUS_BAR_SECTION_ID1 = "busbarSectionId1",
109
118
  BUS_BAR_SECTION_ID2 = "busbarSectionId2",
110
119
  COUPLING_OMNIBUS = "couplingOmnibus",
120
+ ENABLE_OLG_MODIFICATION = "enableOLGModification",
111
121
  HIDE_BUS_BAR_SECTION = "hideBusBarSection",
112
122
  HIDE_NOMINAL_VOLTAGE = "hideNominalVoltage",
113
123
  HIDE_SUBSTATION_FIELD = "hideSubstationField",
114
124
  HIGH_SHORT_CIRCUIT_CURRENT_LIMIT = "highShortCircuitCurrentLimit",
115
125
  HIGH_VOLTAGE_LIMIT = "highVoltageLimit",
126
+ LIMITS = "limits",
127
+ LIMITS_PROPERTIES = "limitsProperties",
128
+ LIMIT_SET_NAME = "limitSetName",
129
+ LIMIT_VALUE = "limitValue",
130
+ CATALOG_DATA = "catalogData",
131
+ LINE_SEGMENTS = "lineSegments",
116
132
  LOW_SHORT_CIRCUIT_CURRENT_LIMIT = "lowShortCircuitCurrentLimit",
117
133
  LOW_VOLTAGE_LIMIT = "lowVoltageLimit",
118
134
  MINIMUM_REACTIVE_POWER = "minimumReactivePower",
@@ -120,20 +136,50 @@ export declare enum FieldConstants {
120
136
  MIN_Q = "minQ",
121
137
  MAX_Q = "maxQ",
122
138
  NOMINAL_V = "nominalV",
139
+ OPERATIONAL_LIMITS_GROUPS = "operationalLimitsGroups",
140
+ OLG_IS_DUPLICATE = "operationalLimitsGroupsIsDuplicate",
123
141
  P = "p",
124
142
  Q_PERCENT = "qPercent",
143
+ R = "r",
125
144
  REACTIVE_CAPABILITY_CURVE_CHOICE = "reactiveCapabilityCurveChoice",
126
145
  REACTIVE_CAPABILITY_CURVE_TABLE = "reactiveCapabilityCurveTable",
127
146
  REACTIVE_LIMITS = "reactiveLimits",
128
147
  SECTION_COUNT = "sectionCount",
148
+ SEGMENT_DISTANCE_VALUE = "segmentDistanceValue",
149
+ SEGMENT_TYPE_VALUE = "segmentTypeValue",
150
+ SEGMENT_TYPE_ID = "segmentTypeId",
151
+ SEGMENT_RESISTANCE = "segmentResistance",
152
+ SEGMENT_REACTANCE = "segmentReactance",
153
+ SEGMENT_SUSCEPTANCE = "segmentSusceptance",
154
+ SEGMENT_CURRENT_LIMITS = "segmentCurrentLimits",
155
+ TOTAL_RESISTANCE = "totalResistance",
156
+ TOTAL_REACTANCE = "totalReactance",
157
+ TOTAL_SUSCEPTANCE = "totalSusceptance",
158
+ SEGMENTS = "segments",
159
+ AERIAL_AREAS = "aerialAreas",
160
+ AERIAL_TEMPERATURES = "aerialTemperatures",
161
+ UNDERGROUND_AREAS = "undergroundAreas",
162
+ UNDERGROUND_SHAPE_FACTORS = "undergroundShapeFactors",
163
+ FINAL_CURRENT_LIMITS = "finalCurrentLimits",
164
+ SELECTED_CATEGORIES_TAB = "selectedCategoryTab",
165
+ AREA = "area",
166
+ TEMPERATURE = "temperature",
167
+ SHAPE_FACTOR = "shapeFactor",
168
+ SELECTED_OPERATIONAL_LIMITS_GROUP_ID1 = "selectedOperationalLimitsGroupId1",
169
+ SELECTED_OPERATIONAL_LIMITS_GROUP_ID2 = "selectedOperationalLimitsGroupId2",
129
170
  SUBSTATION_CREATION = "substationCreation",
130
171
  SUBSTATION_CREATION_ID = "substationCreationId",
131
172
  SUBSTATION_ID = "substationId",
132
173
  SUBSTATION_NAME = "substationName",
133
174
  SWITCHES_BETWEEN_SECTIONS = "switchesBetweenSections",
175
+ TEMPORARY_LIMITS = "temporaryLimits",
176
+ TEMPORARY_LIMIT_NAME = "name",
177
+ TEMPORARY_LIMIT_DURATION = "acceptableDuration",
178
+ TEMPORARY_LIMIT_VALUE = "value",
134
179
  TOPOLOGY_KIND = "topologyKind",
135
180
  TRANSFORMER_REACTANCE = "transformerReactance",
136
181
  TRANSIENT_REACTANCE = "directTransX",
137
182
  VOLTAGE_REGULATION_TYPE = "voltageRegulationType",
138
- VOLTAGE_SET_POINT = "voltageSetpoint"
183
+ VOLTAGE_SET_POINT = "voltageSetpoint",
184
+ X = "x"
139
185
  }
@@ -4,12 +4,17 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
4
4
  FieldConstants2["ADDITIONAL_PROPERTIES"] = "AdditionalProperties";
5
5
  FieldConstants2["AG_GRID_ROW_UUID"] = "agGridRowUuid";
6
6
  FieldConstants2["API_CALL"] = "apiCall";
7
+ FieldConstants2["APPLY_SEGMENTS_LIMITS"] = "applySegmentsLimits";
8
+ FieldConstants2["APPLICABILITY_FIELD"] = "applicability";
7
9
  FieldConstants2["ASSIGNMENTS"] = "assignments";
10
+ FieldConstants2["B1"] = "b1";
11
+ FieldConstants2["B2"] = "b2";
8
12
  FieldConstants2["BUS_OR_BUSBAR_SECTION"] = "busOrBusbarSection";
9
13
  FieldConstants2["CASE_FILE"] = "caseFile";
10
14
  FieldConstants2["CASE_FORMAT"] = "caseFormat";
11
15
  FieldConstants2["CASE_NAME"] = "caseName";
12
16
  FieldConstants2["CASE_UUID"] = "caseUuid";
17
+ FieldConstants2["CHARACTERISTICS"] = "characteristics";
13
18
  FieldConstants2["CHARACTERISTICS_CHOICE"] = "characteristicsChoice";
14
19
  FieldConstants2["CONNECTED"] = "terminalConnected";
15
20
  FieldConstants2["CONNECTION_DIRECTION"] = "connectionDirection";
@@ -24,6 +29,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
24
29
  FieldConstants2["COUNTRIES_2"] = "countries2";
25
30
  FieldConstants2["COUNTRIES"] = "countries";
26
31
  FieldConstants2["COUNTRY"] = "country";
32
+ FieldConstants2["CURRENT_LIMITS"] = "currentLimits";
27
33
  FieldConstants2["CURRENT_PARAMETERS"] = "currentParameters";
28
34
  FieldConstants2["DELETION_MARK"] = "deletionMark";
29
35
  FieldConstants2["DELETION_SPECIFIC_DATA"] = "equipmentInfos";
@@ -46,6 +52,8 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
46
52
  FieldConstants2["FORCED_OUTAGE_RATE"] = "forcedOutageRate";
47
53
  FieldConstants2["FORMATTED_CASE_PARAMETERS"] = "formattedCaseParameters";
48
54
  FieldConstants2["FREQUENCY_REGULATION"] = "frequencyRegulation";
55
+ FieldConstants2["G1"] = "g1";
56
+ FieldConstants2["G2"] = "g2";
49
57
  FieldConstants2["HVDC_LINE_LCC_DELETION_SPECIFIC_TYPE"] = "HVDC_LINE_WITH_LCC";
50
58
  FieldConstants2["ID"] = "id";
51
59
  FieldConstants2["LOADFLOW_PARAMETERS"] = "loadflowParameters";
@@ -69,6 +77,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
69
77
  FieldConstants2["NOMINAL_VOLTAGE_3"] = "nominalVoltage3";
70
78
  FieldConstants2["NOMINAL_VOLTAGE"] = "nominalVoltage";
71
79
  FieldConstants2["OPERATION_TYPE"] = "type";
80
+ FieldConstants2["PERMANENT_LIMIT"] = "permanentLimit";
72
81
  FieldConstants2["PLANNED_ACTIVE_POWER_SET_POINT"] = "plannedActivePowerSetPoint";
73
82
  FieldConstants2["PLANNED_OUTAGE_RATE"] = "plannedOutageRate";
74
83
  FieldConstants2["PREVIOUS_VALUE"] = "previousValue";
@@ -102,11 +111,18 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
102
111
  FieldConstants2["BUS_BAR_SECTION_ID1"] = "busbarSectionId1";
103
112
  FieldConstants2["BUS_BAR_SECTION_ID2"] = "busbarSectionId2";
104
113
  FieldConstants2["COUPLING_OMNIBUS"] = "couplingOmnibus";
114
+ FieldConstants2["ENABLE_OLG_MODIFICATION"] = "enableOLGModification";
105
115
  FieldConstants2["HIDE_BUS_BAR_SECTION"] = "hideBusBarSection";
106
116
  FieldConstants2["HIDE_NOMINAL_VOLTAGE"] = "hideNominalVoltage";
107
117
  FieldConstants2["HIDE_SUBSTATION_FIELD"] = "hideSubstationField";
108
118
  FieldConstants2["HIGH_SHORT_CIRCUIT_CURRENT_LIMIT"] = "highShortCircuitCurrentLimit";
109
119
  FieldConstants2["HIGH_VOLTAGE_LIMIT"] = "highVoltageLimit";
120
+ FieldConstants2["LIMITS"] = "limits";
121
+ FieldConstants2["LIMITS_PROPERTIES"] = "limitsProperties";
122
+ FieldConstants2["LIMIT_SET_NAME"] = "limitSetName";
123
+ FieldConstants2["LIMIT_VALUE"] = "limitValue";
124
+ FieldConstants2["CATALOG_DATA"] = "catalogData";
125
+ FieldConstants2["LINE_SEGMENTS"] = "lineSegments";
110
126
  FieldConstants2["LOW_SHORT_CIRCUIT_CURRENT_LIMIT"] = "lowShortCircuitCurrentLimit";
111
127
  FieldConstants2["LOW_VOLTAGE_LIMIT"] = "lowVoltageLimit";
112
128
  FieldConstants2["MINIMUM_REACTIVE_POWER"] = "minimumReactivePower";
@@ -114,22 +130,52 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
114
130
  FieldConstants2["MIN_Q"] = "minQ";
115
131
  FieldConstants2["MAX_Q"] = "maxQ";
116
132
  FieldConstants2["NOMINAL_V"] = "nominalV";
133
+ FieldConstants2["OPERATIONAL_LIMITS_GROUPS"] = "operationalLimitsGroups";
134
+ FieldConstants2["OLG_IS_DUPLICATE"] = "operationalLimitsGroupsIsDuplicate";
117
135
  FieldConstants2["P"] = "p";
118
136
  FieldConstants2["Q_PERCENT"] = "qPercent";
137
+ FieldConstants2["R"] = "r";
119
138
  FieldConstants2["REACTIVE_CAPABILITY_CURVE_CHOICE"] = "reactiveCapabilityCurveChoice";
120
139
  FieldConstants2["REACTIVE_CAPABILITY_CURVE_TABLE"] = "reactiveCapabilityCurveTable";
121
140
  FieldConstants2["REACTIVE_LIMITS"] = "reactiveLimits";
122
141
  FieldConstants2["SECTION_COUNT"] = "sectionCount";
142
+ FieldConstants2["SEGMENT_DISTANCE_VALUE"] = "segmentDistanceValue";
143
+ FieldConstants2["SEGMENT_TYPE_VALUE"] = "segmentTypeValue";
144
+ FieldConstants2["SEGMENT_TYPE_ID"] = "segmentTypeId";
145
+ FieldConstants2["SEGMENT_RESISTANCE"] = "segmentResistance";
146
+ FieldConstants2["SEGMENT_REACTANCE"] = "segmentReactance";
147
+ FieldConstants2["SEGMENT_SUSCEPTANCE"] = "segmentSusceptance";
148
+ FieldConstants2["SEGMENT_CURRENT_LIMITS"] = "segmentCurrentLimits";
149
+ FieldConstants2["TOTAL_RESISTANCE"] = "totalResistance";
150
+ FieldConstants2["TOTAL_REACTANCE"] = "totalReactance";
151
+ FieldConstants2["TOTAL_SUSCEPTANCE"] = "totalSusceptance";
152
+ FieldConstants2["SEGMENTS"] = "segments";
153
+ FieldConstants2["AERIAL_AREAS"] = "aerialAreas";
154
+ FieldConstants2["AERIAL_TEMPERATURES"] = "aerialTemperatures";
155
+ FieldConstants2["UNDERGROUND_AREAS"] = "undergroundAreas";
156
+ FieldConstants2["UNDERGROUND_SHAPE_FACTORS"] = "undergroundShapeFactors";
157
+ FieldConstants2["FINAL_CURRENT_LIMITS"] = "finalCurrentLimits";
158
+ FieldConstants2["SELECTED_CATEGORIES_TAB"] = "selectedCategoryTab";
159
+ FieldConstants2["AREA"] = "area";
160
+ FieldConstants2["TEMPERATURE"] = "temperature";
161
+ FieldConstants2["SHAPE_FACTOR"] = "shapeFactor";
162
+ FieldConstants2["SELECTED_OPERATIONAL_LIMITS_GROUP_ID1"] = "selectedOperationalLimitsGroupId1";
163
+ FieldConstants2["SELECTED_OPERATIONAL_LIMITS_GROUP_ID2"] = "selectedOperationalLimitsGroupId2";
123
164
  FieldConstants2["SUBSTATION_CREATION"] = "substationCreation";
124
165
  FieldConstants2["SUBSTATION_CREATION_ID"] = "substationCreationId";
125
166
  FieldConstants2["SUBSTATION_ID"] = "substationId";
126
167
  FieldConstants2["SUBSTATION_NAME"] = "substationName";
127
168
  FieldConstants2["SWITCHES_BETWEEN_SECTIONS"] = "switchesBetweenSections";
169
+ FieldConstants2["TEMPORARY_LIMITS"] = "temporaryLimits";
170
+ FieldConstants2["TEMPORARY_LIMIT_NAME"] = "name";
171
+ FieldConstants2["TEMPORARY_LIMIT_DURATION"] = "acceptableDuration";
172
+ FieldConstants2["TEMPORARY_LIMIT_VALUE"] = "value";
128
173
  FieldConstants2["TOPOLOGY_KIND"] = "topologyKind";
129
174
  FieldConstants2["TRANSFORMER_REACTANCE"] = "transformerReactance";
130
175
  FieldConstants2["TRANSIENT_REACTANCE"] = "directTransX";
131
176
  FieldConstants2["VOLTAGE_REGULATION_TYPE"] = "voltageRegulationType";
132
177
  FieldConstants2["VOLTAGE_SET_POINT"] = "voltageSetpoint";
178
+ FieldConstants2["X"] = "x";
133
179
  return FieldConstants2;
134
180
  })(FieldConstants || {});
135
181
  export {
@@ -46,6 +46,7 @@ export declare enum ModificationType {
46
46
  VSC_MODIFICATION = "VSC_MODIFICATION",
47
47
  CONVERTER_STATION_MODIFICATION = "CONVERTER_STATION_MODIFICATION",
48
48
  COMPOSITE_MODIFICATION = "COMPOSITE_MODIFICATION",
49
+ MODIFICATION_REFERENCE = "MODIFICATION_REFERENCE",
49
50
  LCC_CONVERTER_STATION_CREATION = "LCC_CONVERTER_STATION_CREATION",
50
51
  LCC_CONVERTER_STATION_MODIFICATION = "LCC_CONVERTER_STATION_MODIFICATION",
51
52
  LCC_CREATION = "LCC_CREATION",
@@ -181,6 +182,9 @@ export declare const MODIFICATION_TYPES: {
181
182
  COMPOSITE_MODIFICATION: {
182
183
  type: ModificationType;
183
184
  };
185
+ MODIFICATION_REFERENCE: {
186
+ type: ModificationType;
187
+ };
184
188
  LCC_CONVERTER_STATION_CREATION: {
185
189
  type: ModificationType;
186
190
  };
@@ -40,6 +40,7 @@ var ModificationType = /* @__PURE__ */ ((ModificationType2) => {
40
40
  ModificationType2["VSC_MODIFICATION"] = "VSC_MODIFICATION";
41
41
  ModificationType2["CONVERTER_STATION_MODIFICATION"] = "CONVERTER_STATION_MODIFICATION";
42
42
  ModificationType2["COMPOSITE_MODIFICATION"] = "COMPOSITE_MODIFICATION";
43
+ ModificationType2["MODIFICATION_REFERENCE"] = "MODIFICATION_REFERENCE";
43
44
  ModificationType2["LCC_CONVERTER_STATION_CREATION"] = "LCC_CONVERTER_STATION_CREATION";
44
45
  ModificationType2["LCC_CONVERTER_STATION_MODIFICATION"] = "LCC_CONVERTER_STATION_MODIFICATION";
45
46
  ModificationType2["LCC_CREATION"] = "LCC_CREATION";
@@ -216,6 +217,10 @@ const MODIFICATION_TYPES = {
216
217
  type: "COMPOSITE_MODIFICATION"
217
218
  /* COMPOSITE_MODIFICATION */
218
219
  },
220
+ MODIFICATION_REFERENCE: {
221
+ type: "MODIFICATION_REFERENCE"
222
+ /* MODIFICATION_REFERENCE */
223
+ },
219
224
  LCC_CONVERTER_STATION_CREATION: {
220
225
  type: "LCC_CONVERTER_STATION_CREATION"
221
226
  /* LCC_CONVERTER_STATION_CREATION */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.241.1",
3
+ "version": "0.242.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",
@@ -33,6 +33,8 @@
33
33
  "start": "vite demo/ --config vite.config.ts",
34
34
  "start:checks": "VITE_CHECKER_ENABLED=true vite demo/ --config vite.config.ts",
35
35
  "start:open": "vite demo/ --config vite.config.ts --open",
36
+ "storybook": "storybook dev -p 6006",
37
+ "build-storybook": "storybook build",
36
38
  "build": "vite build",
37
39
  "build:pack": "tsc && vite build && npm pack",
38
40
  "prepublishOnly": "npm run build",
@@ -53,6 +55,8 @@
53
55
  "@material-symbols/svg-400": "^0.31.9",
54
56
  "@react-querybuilder/dnd": "^8.11.0",
55
57
  "@react-querybuilder/material": "^8.11.0",
58
+ "@tanstack/react-table": "^8.21.3",
59
+ "@tanstack/react-virtual": "^3.13.18",
56
60
  "autosuggest-highlight": "^3.3.4",
57
61
  "clsx": "^2.1.1",
58
62
  "jwt-decode": "^4.0.0",
@@ -68,8 +72,6 @@
68
72
  "react-window": "^2.2.1",
69
73
  "reconnecting-websocket": "^4.4.0",
70
74
  "type-fest": "^4.41.0",
71
- "@tanstack/react-table": "^8.21.3",
72
- "@tanstack/react-virtual": "^3.13.18",
73
75
  "uuid": "^13.0.0"
74
76
  },
75
77
  "peerDependencies": {
@@ -79,13 +81,14 @@
79
81
  "@mui/icons-material": "^6.5.0",
80
82
  "@mui/lab": "6.0.1-beta.36",
81
83
  "@mui/material": "^6.5.0",
84
+ "@mui/x-charts": "^8.21.0",
82
85
  "@mui/x-tree-view": "^8.21.0",
83
86
  "ag-grid-community": "^35.3.1",
84
87
  "ag-grid-react": "^35.3.1",
85
88
  "notistack": "^3.0.2",
86
89
  "react": "^19.2.0",
87
90
  "react-dom": "^19.2.0",
88
- "react-hook-form": "^7.54.2",
91
+ "react-hook-form": "^7.62.0",
89
92
  "react-intl": "^7.1.6",
90
93
  "react-papaparse": "^4.4.0",
91
94
  "react-router": "^7.4.1",
@@ -105,7 +108,10 @@
105
108
  "@mui/icons-material": "^6.5.0",
106
109
  "@mui/lab": "6.0.1-beta.36",
107
110
  "@mui/material": "^6.5.0",
111
+ "@mui/x-charts": "^8.21.0",
108
112
  "@react-hook/window-size": "^3.1.1",
113
+ "@storybook/addon-docs": "^10.4.2",
114
+ "@storybook/react-vite": "^10.4.2",
109
115
  "@stylistic/eslint-plugin": "^3.1.0",
110
116
  "@testing-library/jest-dom": "^6.8.0",
111
117
  "@testing-library/react": "^16.3.0",
@@ -152,6 +158,7 @@
152
158
  "react-papaparse": "^4.4.0",
153
159
  "react-resizable": "^3.0.5",
154
160
  "react-router": "^7.8.2",
161
+ "storybook": "^10.4.2",
155
162
  "ts-node": "^10.9.2",
156
163
  "typescript": "~5.9.3",
157
164
  "typescript-eslint": "^8.46.2",