@gridsuite/commons-ui 0.283.0 → 0.285.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.
- package/dist/components/ui/reactHookForm/utils/HelperPreviousValue.js +1 -1
- package/dist/features/index.js +51 -7
- package/dist/features/network-modification-table/index.js +3 -1
- package/dist/features/network-modification-table/network-modifications-table.d.ts +3 -5
- package/dist/features/network-modification-table/network-modifications-table.js +13 -7
- package/dist/features/network-modification-table/renderers/cell-renderers.js +3 -3
- package/dist/features/network-modification-table/renderers/name-cell.js +5 -2
- package/dist/features/network-modification-table/renderers/root-network-chip-cell.d.ts +3 -3
- package/dist/features/network-modification-table/renderers/root-network-chip-cell.js +24 -49
- package/dist/features/network-modification-table/row/drag-row-clone.js +5 -1
- package/dist/features/network-modification-table/utils.d.ts +12 -1
- package/dist/features/network-modification-table/utils.js +29 -0
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.d.ts +2 -2
- package/dist/features/network-modifications/common/index.js +2 -5
- package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.js +3 -9
- package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.d.ts +4 -17
- package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +0 -8
- package/dist/features/network-modifications/common/measurements/index.js +1 -2
- package/dist/features/network-modifications/common/measurements/injectionActiveReactivePowerForm.utils.d.ts +6 -9
- package/dist/features/network-modifications/common/measurements/measurement.type.d.ts +7 -1
- package/dist/features/network-modifications/common/measurements/powerWithValidity.utils.d.ts +3 -3
- package/dist/features/network-modifications/common/reactiveLimits/index.js +1 -3
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/index.js +1 -3
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.d.ts +0 -4
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +0 -8
- package/dist/features/network-modifications/common/reactiveLimits/reactiveLimits.type.d.ts +1 -0
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.d.ts +2 -2
- package/dist/features/network-modifications/hvdcLine/index.d.ts +7 -0
- package/dist/features/network-modifications/hvdcLine/index.js +47 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/VscHvdcLineCharacteristicsPane.d.ts +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/VscHvdcLineCharacteristicsPane.js +235 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/index.d.ts +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/index.js +11 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/vscHvdcLineCharacteristicsPane.utils.d.ts +67 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/vscHvdcLineCharacteristicsPane.utils.js +106 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/VscConverterStationPane.d.ts +12 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/VscConverterStationPane.js +198 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/index.d.ts +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/index.js +13 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/vscConverterStationPane.utils.d.ts +156 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/vscConverterStationPane.utils.js +199 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogHeader.d.ts +6 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogHeader.js +106 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabs.d.ts +9 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabs.js +129 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabsContent.d.ts +10 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabsContent.js +139 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineForm.d.ts +11 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineForm.js +43 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/index.d.ts +11 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/index.js +13 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/vscHvdcLine.utils.d.ts +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/form/vscHvdcLine.utils.js +34 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/index.d.ts +10 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/index.js +36 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/vscHvdcLine.types.d.ts +52 -0
- package/dist/features/network-modifications/hvdcLine/vsc/common/vscHvdcLine.types.js +25 -0
- package/dist/features/network-modifications/hvdcLine/vsc/creation/index.d.ts +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/creation/index.js +7 -0
- package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.types.d.ts +45 -0
- package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.types.js +1 -0
- package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.utils.d.ts +159 -0
- package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.utils.js +88 -0
- package/dist/features/network-modifications/hvdcLine/vsc/index.d.ts +9 -0
- package/dist/features/network-modifications/hvdcLine/vsc/index.js +47 -0
- package/dist/features/network-modifications/hvdcLine/vsc/modification/index.d.ts +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/modification/index.js +8 -0
- package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.types.d.ts +49 -0
- package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.types.js +1 -0
- package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.utils.d.ts +230 -0
- package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.utils.js +145 -0
- package/dist/features/network-modifications/index.d.ts +1 -0
- package/dist/features/network-modifications/index.js +48 -6
- package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-dialog-tabs.js +3 -3
- package/dist/features/topBar/UserInformationDialog.js +15 -15
- package/dist/hooks/useModificationLabelComputer.js +7 -5
- package/dist/index.js +51 -7
- package/dist/services/networkModification.d.ts +1 -1
- package/dist/services/networkModification.js +2 -2
- package/dist/translations/en/networkModificationsEn.d.ts +23 -4
- package/dist/translations/en/networkModificationsEn.js +23 -4
- package/dist/translations/en/topBarEn.d.ts +13 -13
- package/dist/translations/en/topBarEn.js +13 -13
- package/dist/translations/fr/networkModificationsFr.d.ts +23 -4
- package/dist/translations/fr/networkModificationsFr.js +23 -4
- package/dist/translations/fr/topBarFr.d.ts +13 -13
- package/dist/translations/fr/topBarFr.js +13 -13
- package/dist/utils/constants/fieldConstants.d.ts +15 -0
- package/dist/utils/constants/fieldConstants.js +15 -0
- package/dist/utils/types/network-modification-metadata.d.ts +1 -0
- package/dist/utils/types/network-modification-types.d.ts +5 -4
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
3
3
|
FieldConstants2["ADDED"] = "added";
|
|
4
4
|
FieldConstants2["ADDITIONAL_PROPERTIES"] = "AdditionalProperties";
|
|
5
5
|
FieldConstants2["AG_GRID_ROW_UUID"] = "agGridRowUuid";
|
|
6
|
+
FieldConstants2["ANGLE_DROOP_ACTIVE_POWER_CONTROL"] = "angleDroopActivePowerControl";
|
|
6
7
|
FieldConstants2["API_CALL"] = "apiCall";
|
|
7
8
|
FieldConstants2["APPLY_SEGMENTS_LIMITS"] = "applySegmentsLimits";
|
|
8
9
|
FieldConstants2["APPLICABILITY_FIELD"] = "applicability";
|
|
@@ -27,6 +28,11 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
27
28
|
FieldConstants2["CONNECTIVITY_2"] = "connectivity2";
|
|
28
29
|
FieldConstants2["CONTINGENCY_LIST_TYPE"] = "contingencyListType";
|
|
29
30
|
FieldConstants2["CONTINGENCY_NAME"] = "contingencyName";
|
|
31
|
+
FieldConstants2["CONVERTERS_MODE"] = "convertersMode";
|
|
32
|
+
FieldConstants2["CONVERTER_STATION_1"] = "converterStation1";
|
|
33
|
+
FieldConstants2["CONVERTER_STATION_2"] = "converterStation2";
|
|
34
|
+
FieldConstants2["CONVERTER_STATION_ID"] = "converterStationId";
|
|
35
|
+
FieldConstants2["CONVERTER_STATION_NAME"] = "converterStationName";
|
|
30
36
|
FieldConstants2["COUNTRIES_1"] = "countries1";
|
|
31
37
|
FieldConstants2["COUNTRIES_2"] = "countries2";
|
|
32
38
|
FieldConstants2["COUNTRIES"] = "countries";
|
|
@@ -61,6 +67,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
61
67
|
FieldConstants2["G1"] = "g1";
|
|
62
68
|
FieldConstants2["G2"] = "g2";
|
|
63
69
|
FieldConstants2["HIGH_TAP_POSITION"] = "highTapPosition";
|
|
70
|
+
FieldConstants2["HVDC_LINE"] = "hvdcLine";
|
|
64
71
|
FieldConstants2["HVDC_LINE_LCC_DELETION_SPECIFIC_TYPE"] = "HVDC_LINE_WITH_LCC";
|
|
65
72
|
FieldConstants2["ID"] = "id";
|
|
66
73
|
FieldConstants2["REGULATING"] = "isRegulating";
|
|
@@ -68,9 +75,11 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
68
75
|
FieldConstants2["SHORTCIRCUIT_PARAMETERS"] = "shortcircuitParameters";
|
|
69
76
|
FieldConstants2["LOAD_TYPE"] = "loadType";
|
|
70
77
|
FieldConstants2["LOAD_TAP_CHANGING_CAPABILITIES"] = "hasLoadTapChangingCapabilities";
|
|
78
|
+
FieldConstants2["LOSS_FACTOR"] = "lossFactor";
|
|
71
79
|
FieldConstants2["LOW_TAP_POSITION"] = "lowTapPosition";
|
|
72
80
|
FieldConstants2["MARGINAL_COST"] = "marginalCost";
|
|
73
81
|
FieldConstants2["MIN_Q_AT_NOMINAL_V"] = "minQAtNominalV";
|
|
82
|
+
FieldConstants2["MAX_P"] = "maxP";
|
|
74
83
|
FieldConstants2["MAX_Q_AT_NOMINAL_V"] = "maxQAtNominalV";
|
|
75
84
|
FieldConstants2["MIN_SUSCEPTANCE"] = "minSusceptance";
|
|
76
85
|
FieldConstants2["MAX_SUSCEPTANCE"] = "maxSusceptance";
|
|
@@ -90,6 +99,9 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
90
99
|
FieldConstants2["NOMINAL_VOLTAGE_3"] = "nominalVoltage3";
|
|
91
100
|
FieldConstants2["NOMINAL_VOLTAGE"] = "nominalVoltage";
|
|
92
101
|
FieldConstants2["OPERATION_TYPE"] = "type";
|
|
102
|
+
FieldConstants2["OPERATOR_ACTIVE_POWER_LIMIT_SIDE1"] = "operatorActivePowerLimitSide1";
|
|
103
|
+
FieldConstants2["OPERATOR_ACTIVE_POWER_LIMIT_SIDE2"] = "operatorActivePowerLimitSide2";
|
|
104
|
+
FieldConstants2["P0"] = "p0";
|
|
93
105
|
FieldConstants2["PERMANENT_LIMIT"] = "permanentLimit";
|
|
94
106
|
FieldConstants2["PHASE_TAP_CHANGER"] = "phaseTapChanger";
|
|
95
107
|
FieldConstants2["PHASE_TAP_CHANGER_STATUS"] = "phaseTapChangerStatus";
|
|
@@ -106,6 +118,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
106
118
|
FieldConstants2["RATED_NOMINAL_POWER"] = "ratedNominalPower";
|
|
107
119
|
FieldConstants2["RATIO_TAP_CHANGER"] = "ratioTapChanger";
|
|
108
120
|
FieldConstants2["RATIO_TAP_CHANGER_STATUS"] = "ratioTapChangerStatus";
|
|
121
|
+
FieldConstants2["REACTIVE_POWER"] = "reactivePower";
|
|
109
122
|
FieldConstants2["REACTIVE_POWER_SET_POINT"] = "reactivePowerSetpoint";
|
|
110
123
|
FieldConstants2["REGULATION_MODE"] = "regulationMode";
|
|
111
124
|
FieldConstants2["REGULATION_SIDE"] = "regulationSide";
|
|
@@ -140,9 +153,11 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
140
153
|
FieldConstants2["VALUE"] = "value";
|
|
141
154
|
FieldConstants2["VALUE_1"] = "value1";
|
|
142
155
|
FieldConstants2["VALUE_2"] = "value2";
|
|
156
|
+
FieldConstants2["VOLTAGE"] = "voltage";
|
|
143
157
|
FieldConstants2["VOLTAGE_LEVEL"] = "voltageLevel";
|
|
144
158
|
FieldConstants2["VOLTAGE_LEVEL_ID"] = "voltageLevelId";
|
|
145
159
|
FieldConstants2["VOLTAGE_REGULATION"] = "voltageRegulation";
|
|
160
|
+
FieldConstants2["VOLTAGE_REGULATION_ON"] = "voltageRegulationOn";
|
|
146
161
|
FieldConstants2["SWITCH_KINDS"] = "switchKinds";
|
|
147
162
|
FieldConstants2["SWITCH_KIND"] = "switchKind";
|
|
148
163
|
FieldConstants2["ADD_SUBSTATION_CREATION"] = "addSubstationCreationId";
|
|
@@ -9,6 +9,7 @@ export interface NetworkModificationMetadata {
|
|
|
9
9
|
description: string;
|
|
10
10
|
messageType: string;
|
|
11
11
|
messageValues: string;
|
|
12
|
+
applicabilityByRootNetworkTag?: Record<string, boolean>;
|
|
12
13
|
}
|
|
13
14
|
export interface BasicComposedModificationMetadata extends NetworkModificationMetadata {
|
|
14
15
|
subModifications: ComposedModificationMetadata[];
|
|
@@ -7,10 +7,11 @@ export type AttributeModification<T> = {
|
|
|
7
7
|
value?: T;
|
|
8
8
|
op: OperationType;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Applicability of each network modification per root network, keyed by root network uuid: a root network
|
|
12
|
+
* without an entry is applicable. The modifications carry it keyed by tag, which is resolved to the root network uuid.
|
|
13
|
+
*/
|
|
14
|
+
export type NetworkModificationApplicabilities = Record<UUID, Record<UUID, boolean>>;
|
|
14
15
|
export interface RootNetworkRowInfo {
|
|
15
16
|
rootNetworkUuid: UUID;
|
|
16
17
|
name: string;
|