@gridsuite/commons-ui 0.241.0 → 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 (147) 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/{parameters/dynamic-simulation/curve/curve-parameters.type.d.ts → network-modifications/line/catalog/index.d.ts} +3 -1
  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.utils.d.ts +52 -0
  81. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +53 -0
  82. package/dist/features/network-modifications/line/common/LineDialogHeader.d.ts +6 -0
  83. package/dist/features/network-modifications/line/common/LineDialogHeader.js +103 -0
  84. package/dist/features/network-modifications/line/common/LineDialogTabs.d.ts +9 -0
  85. package/dist/features/network-modifications/line/common/LineDialogTabs.js +61 -0
  86. package/dist/features/network-modifications/line/common/LineDialogTabsContent.d.ts +8 -0
  87. package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +96 -0
  88. package/dist/features/network-modifications/line/common/LineForm.d.ts +6 -0
  89. package/dist/features/network-modifications/line/common/LineForm.js +50 -0
  90. package/dist/features/network-modifications/line/common/index.d.ts +12 -0
  91. package/dist/features/network-modifications/line/common/index.js +13 -0
  92. package/dist/features/network-modifications/line/common/line.types.d.ts +47 -0
  93. package/dist/features/network-modifications/line/common/line.types.js +1 -0
  94. package/dist/features/network-modifications/line/common/line.utils.d.ts +13 -0
  95. package/dist/features/network-modifications/line/common/line.utils.js +34 -0
  96. package/dist/features/network-modifications/line/creation/index.d.ts +8 -0
  97. package/dist/features/network-modifications/line/creation/index.js +7 -0
  98. package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +39 -0
  99. package/dist/features/network-modifications/line/creation/lineCreation.types.js +1 -0
  100. package/dist/features/network-modifications/line/creation/lineCreation.utils.d.ts +151 -0
  101. package/dist/features/network-modifications/line/creation/lineCreation.utils.js +172 -0
  102. package/dist/features/network-modifications/line/index.d.ts +10 -0
  103. package/dist/features/network-modifications/line/index.js +37 -0
  104. package/dist/features/network-modifications/load/common/LoadDialogHeader.js +3 -0
  105. package/dist/features/network-modifications/load/modification/loadModification.utils.js +3 -0
  106. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +7 -6
  107. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +3 -0
  108. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +3 -0
  109. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +3 -0
  110. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +3 -0
  111. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +3 -0
  112. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +3 -0
  113. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +3 -0
  114. package/dist/features/network-modifications/voltageLevel/creation/index.js +3 -0
  115. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +3 -0
  116. package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +3 -0
  117. package/dist/features/network-modifications/voltageLevel/index.js +3 -0
  118. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +4 -1
  119. package/dist/features/parameters/common/contingency-table/contingency-table.js +22 -10
  120. package/dist/features/parameters/common/contingency-table/types.d.ts +7 -8
  121. package/dist/features/parameters/common/contingency-table/utils.d.ts +13 -0
  122. package/dist/features/parameters/common/contingency-table/utils.js +31 -0
  123. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +5 -1
  124. package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +2 -2
  125. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +2 -2
  126. package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +2 -2
  127. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +3 -3
  128. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +19 -31
  129. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +3 -3
  130. package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +2 -2
  131. package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +2 -2
  132. package/dist/hooks/useModificationLabelComputer.js +1 -0
  133. package/dist/index.js +87 -3
  134. package/dist/translations/en/networkModificationsEn.d.ts +28 -0
  135. package/dist/translations/en/networkModificationsEn.js +28 -0
  136. package/dist/translations/en/parameters.d.ts +3 -1
  137. package/dist/translations/en/parameters.js +3 -1
  138. package/dist/translations/fr/networkModificationsFr.d.ts +28 -0
  139. package/dist/translations/fr/networkModificationsFr.js +28 -0
  140. package/dist/translations/fr/parameters.d.ts +3 -1
  141. package/dist/translations/fr/parameters.js +3 -1
  142. package/dist/utils/constants/fieldConstants.d.ts +47 -1
  143. package/dist/utils/constants/fieldConstants.js +46 -0
  144. package/dist/utils/types/modificationType.d.ts +4 -0
  145. package/dist/utils/types/modificationType.js +5 -0
  146. package/package.json +11 -4
  147. /package/dist/features/{parameters/dynamic-simulation/curve/curve-parameters.type.js → network-modifications/line/characteristics/lineCharacteristicsPane.types.js} +0 -0
@@ -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.0",
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",