@gridsuite/commons-ui 0.181.0 → 0.182.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/index.js +28 -1
- package/dist/components/inputs/index.js +4 -0
- package/dist/components/inputs/reactHookForm/index.d.ts +1 -0
- package/dist/components/inputs/reactHookForm/index.js +4 -0
- package/dist/components/inputs/reactHookForm/readOnly/ButtonReadOnlyInput.d.ts +7 -0
- package/dist/components/inputs/reactHookForm/readOnly/ButtonReadOnlyInput.js +50 -0
- package/dist/components/inputs/reactHookForm/readOnly/ReadOnlyInput.d.ts +12 -0
- package/dist/components/inputs/reactHookForm/readOnly/ReadOnlyInput.js +35 -0
- package/dist/components/inputs/reactHookForm/readOnly/index.d.ts +8 -0
- package/dist/components/inputs/reactHookForm/readOnly/index.js +6 -0
- package/dist/components/network-modifications/equipmentDeletion/EquipmentDeletionForm.d.ts +9 -0
- package/dist/components/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +173 -0
- package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.types.d.ts +17 -0
- package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.types.js +1 -0
- package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.utils.d.ts +33 -0
- package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +78 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.d.ts +7 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.js +43 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.d.ts +13 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +58 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.d.ts +21 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.js +22 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/index.d.ts +10 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/index.js +10 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/useHvdcLccDeletion.d.ts +8 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/useHvdcLccDeletion.js +85 -0
- package/dist/components/network-modifications/equipmentDeletion/index.d.ts +10 -0
- package/dist/components/network-modifications/equipmentDeletion/index.js +18 -0
- package/dist/components/network-modifications/index.d.ts +1 -0
- package/dist/components/network-modifications/index.js +24 -1
- package/dist/components/network-modifications/voltage-level/index.d.ts +1 -0
- package/dist/components/network-modifications/voltage-level/index.js +8 -1
- package/dist/components/network-modifications/voltage-level/modification/VoltageLevelModificationForm.d.ts +5 -0
- package/dist/components/network-modifications/voltage-level/modification/VoltageLevelModificationForm.js +159 -0
- package/dist/components/network-modifications/voltage-level/modification/index.d.ts +9 -0
- package/dist/components/network-modifications/voltage-level/modification/index.js +9 -0
- package/dist/components/network-modifications/voltage-level/modification/voltageLevelModification.types.d.ts +35 -0
- package/dist/components/network-modifications/voltage-level/modification/voltageLevelModification.types.js +1 -0
- package/dist/components/network-modifications/voltage-level/modification/voltageLevelModification.utils.d.ts +36 -0
- package/dist/components/network-modifications/voltage-level/modification/voltageLevelModification.utils.js +75 -0
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +11 -10
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/useGetLabelEquipmentTypes.d.ts +2 -0
- package/dist/hooks/useGetLabelEquipmentTypes.js +20 -0
- package/dist/index.js +37 -1
- package/dist/translations/en/equipmentTypesEn.d.ts +30 -0
- package/dist/translations/en/equipmentTypesEn.js +27 -0
- package/dist/translations/en/index.d.ts +1 -0
- package/dist/translations/en/index.js +2 -0
- package/dist/translations/en/networkModificationsEn.d.ts +7 -0
- package/dist/translations/en/networkModificationsEn.js +10 -3
- package/dist/translations/fr/equipmentTypesFr.d.ts +30 -0
- package/dist/translations/fr/equipmentTypesFr.js +27 -0
- package/dist/translations/fr/index.d.ts +1 -0
- package/dist/translations/fr/index.js +2 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +7 -0
- package/dist/translations/fr/networkModificationsFr.js +12 -5
- package/dist/utils/constants/fieldConstants.d.ts +7 -0
- package/dist/utils/constants/fieldConstants.js +7 -0
- package/dist/utils/index.js +4 -1
- package/dist/utils/ts-utils.d.ts +3 -0
- package/dist/utils/ts-utils.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UUID } from 'node:crypto';
|
|
2
|
+
import { AttributeModification, ModificationType } from '../../../../utils';
|
|
3
|
+
import { Property } from '../../common';
|
|
4
|
+
import { SwitchKind } from '../creation/voltageLevelCreation.types';
|
|
5
|
+
export interface IdentifiableShortCircuitDto {
|
|
6
|
+
ipMin: number | null;
|
|
7
|
+
ipMax: number | null;
|
|
8
|
+
}
|
|
9
|
+
export interface VoltageLevelDto {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string | null;
|
|
12
|
+
topologyKind: string | null;
|
|
13
|
+
substationId: string | null;
|
|
14
|
+
nominalV: number;
|
|
15
|
+
lowVoltageLimit: number | null;
|
|
16
|
+
highVoltageLimit: number | null;
|
|
17
|
+
busbarCount: number | null;
|
|
18
|
+
sectionCount: number | null;
|
|
19
|
+
switchKinds: SwitchKind[] | null;
|
|
20
|
+
isSymmetrical: boolean | null;
|
|
21
|
+
identifiableShortCircuit: IdentifiableShortCircuitDto | null;
|
|
22
|
+
properties: Record<string, string> | null;
|
|
23
|
+
}
|
|
24
|
+
export interface VoltageLevelModificationDto {
|
|
25
|
+
uuid?: UUID;
|
|
26
|
+
equipmentId: string;
|
|
27
|
+
equipmentName?: AttributeModification<string> | null;
|
|
28
|
+
nominalV?: AttributeModification<number> | null;
|
|
29
|
+
lowVoltageLimit?: AttributeModification<number> | null;
|
|
30
|
+
highVoltageLimit?: AttributeModification<number> | null;
|
|
31
|
+
ipMin?: AttributeModification<number> | null;
|
|
32
|
+
ipMax?: AttributeModification<number> | null;
|
|
33
|
+
properties?: Property[] | null;
|
|
34
|
+
type?: ModificationType;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { VoltageLevelModificationDto } from './voltageLevelModification.types';
|
|
3
|
+
export declare const voltageLevelModificationFormSchema: import('yup').ObjectSchema<{
|
|
4
|
+
equipmentID: string;
|
|
5
|
+
equipmentName: string | null | undefined;
|
|
6
|
+
hideSubstationField: NonNullable<boolean | undefined>;
|
|
7
|
+
substationId: string | null | undefined;
|
|
8
|
+
nominalV: number | null | undefined;
|
|
9
|
+
lowVoltageLimit: number | null | undefined;
|
|
10
|
+
highVoltageLimit: number | null | undefined;
|
|
11
|
+
lowShortCircuitCurrentLimit: number | null | undefined;
|
|
12
|
+
highShortCircuitCurrentLimit: number | null | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
AdditionalProperties: {
|
|
15
|
+
previousValue?: string | null | undefined;
|
|
16
|
+
value?: string | null | undefined;
|
|
17
|
+
added: NonNullable<boolean | undefined>;
|
|
18
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
19
|
+
name: string;
|
|
20
|
+
}[] | undefined;
|
|
21
|
+
}, import('yup').AnyObject, {
|
|
22
|
+
equipmentID: undefined;
|
|
23
|
+
equipmentName: undefined;
|
|
24
|
+
hideSubstationField: undefined;
|
|
25
|
+
substationId: undefined;
|
|
26
|
+
nominalV: undefined;
|
|
27
|
+
lowVoltageLimit: undefined;
|
|
28
|
+
highVoltageLimit: undefined;
|
|
29
|
+
lowShortCircuitCurrentLimit: undefined;
|
|
30
|
+
highShortCircuitCurrentLimit: undefined;
|
|
31
|
+
AdditionalProperties: "";
|
|
32
|
+
}, "">;
|
|
33
|
+
export type VoltageLevelModificationFormData = InferType<typeof voltageLevelModificationFormSchema>;
|
|
34
|
+
export declare const voltageLevelModificationEmptyFormData: VoltageLevelModificationFormData;
|
|
35
|
+
export declare const voltageLevelModificationFormToDto: (formData: VoltageLevelModificationFormData) => VoltageLevelModificationDto;
|
|
36
|
+
export declare const voltageLevelModificationDtoToForm: (voltageLevelDto: VoltageLevelModificationDto, includePreviousValues?: boolean) => VoltageLevelModificationFormData;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { object, number, string, boolean, ref } from "yup";
|
|
2
|
+
import { modificationPropertiesSchema, toModificationProperties, getPropertiesFromModification } from "../../common/properties/propertyUtils.js";
|
|
3
|
+
import { toModificationOperation, convertInputValue, convertOutputValue } from "../../../../utils/conversionUtils.js";
|
|
4
|
+
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
5
|
+
import { YUP_REQUIRED } from "../../../../utils/constants/translationKeys.js";
|
|
6
|
+
import "../../../../utils/types/equipmentType.js";
|
|
7
|
+
import { ModificationType } from "../../../../utils/types/modificationType.js";
|
|
8
|
+
import { FieldType } from "../../../../utils/types/fieldType.js";
|
|
9
|
+
import "react/jsx-runtime";
|
|
10
|
+
import "@mui/icons-material";
|
|
11
|
+
import { sanitizeString } from "../../../../utils/ts-utils.js";
|
|
12
|
+
import "../../../../utils/yupConfig.js";
|
|
13
|
+
const voltageLevelModificationFormSchema = object().shape({
|
|
14
|
+
[FieldConstants.EQUIPMENT_ID]: string().required(YUP_REQUIRED),
|
|
15
|
+
[FieldConstants.EQUIPMENT_NAME]: string().nullable(),
|
|
16
|
+
[FieldConstants.HIDE_SUBSTATION_FIELD]: boolean().required(YUP_REQUIRED),
|
|
17
|
+
[FieldConstants.SUBSTATION_ID]: string().nullable(),
|
|
18
|
+
[FieldConstants.NOMINAL_V]: number().nullable().min(0, "mustBeGreaterOrEqualToZero"),
|
|
19
|
+
[FieldConstants.LOW_VOLTAGE_LIMIT]: number().nullable().min(0, "mustBeGreaterOrEqualToZero").when([FieldConstants.HIGH_VOLTAGE_LIMIT], {
|
|
20
|
+
is: (highVoltageLimit) => highVoltageLimit != null,
|
|
21
|
+
then: (schema) => schema.max(ref(FieldConstants.HIGH_VOLTAGE_LIMIT), "voltageLevelNominalVoltageMaxValueError")
|
|
22
|
+
}),
|
|
23
|
+
[FieldConstants.HIGH_VOLTAGE_LIMIT]: number().nullable().min(0, "mustBeGreaterOrEqualToZero"),
|
|
24
|
+
[FieldConstants.LOW_SHORT_CIRCUIT_CURRENT_LIMIT]: number().nullable().min(0, "ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero").when([FieldConstants.HIGH_SHORT_CIRCUIT_CURRENT_LIMIT], {
|
|
25
|
+
is: (highShortCircuitCurrentLimit) => highShortCircuitCurrentLimit != null,
|
|
26
|
+
then: (schema) => schema.max(
|
|
27
|
+
ref(FieldConstants.HIGH_SHORT_CIRCUIT_CURRENT_LIMIT),
|
|
28
|
+
"ShortCircuitCurrentLimitMinMaxError"
|
|
29
|
+
)
|
|
30
|
+
}),
|
|
31
|
+
[FieldConstants.HIGH_SHORT_CIRCUIT_CURRENT_LIMIT]: number().nullable().min(0, "ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero")
|
|
32
|
+
}).concat(modificationPropertiesSchema);
|
|
33
|
+
const voltageLevelModificationEmptyFormData = {
|
|
34
|
+
equipmentID: "",
|
|
35
|
+
equipmentName: "",
|
|
36
|
+
hideSubstationField: true,
|
|
37
|
+
nominalV: null,
|
|
38
|
+
lowVoltageLimit: null,
|
|
39
|
+
highVoltageLimit: null,
|
|
40
|
+
lowShortCircuitCurrentLimit: null,
|
|
41
|
+
highShortCircuitCurrentLimit: null,
|
|
42
|
+
AdditionalProperties: []
|
|
43
|
+
};
|
|
44
|
+
const voltageLevelModificationFormToDto = (formData) => ({
|
|
45
|
+
type: ModificationType.VOLTAGE_LEVEL_MODIFICATION,
|
|
46
|
+
equipmentId: formData.equipmentID,
|
|
47
|
+
equipmentName: toModificationOperation(sanitizeString(formData.equipmentName)),
|
|
48
|
+
nominalV: toModificationOperation(formData.nominalV ?? null),
|
|
49
|
+
lowVoltageLimit: toModificationOperation(formData.lowVoltageLimit ?? null),
|
|
50
|
+
highVoltageLimit: toModificationOperation(formData.highVoltageLimit ?? null),
|
|
51
|
+
ipMin: toModificationOperation(
|
|
52
|
+
convertOutputValue(FieldType.LOW_SHORT_CIRCUIT_CURRENT_LIMIT, formData.lowShortCircuitCurrentLimit)
|
|
53
|
+
),
|
|
54
|
+
ipMax: toModificationOperation(
|
|
55
|
+
convertOutputValue(FieldType.HIGH_SHORT_CIRCUIT_CURRENT_LIMIT, formData.highShortCircuitCurrentLimit)
|
|
56
|
+
),
|
|
57
|
+
properties: toModificationProperties(formData)
|
|
58
|
+
});
|
|
59
|
+
const voltageLevelModificationDtoToForm = (voltageLevelDto, includePreviousValues = true) => ({
|
|
60
|
+
equipmentID: voltageLevelDto.equipmentId,
|
|
61
|
+
equipmentName: voltageLevelDto.equipmentName?.value ?? "",
|
|
62
|
+
hideSubstationField: true,
|
|
63
|
+
nominalV: voltageLevelDto.nominalV?.value ?? null,
|
|
64
|
+
lowVoltageLimit: voltageLevelDto.lowVoltageLimit?.value ?? null,
|
|
65
|
+
highVoltageLimit: voltageLevelDto.highVoltageLimit?.value ?? null,
|
|
66
|
+
lowShortCircuitCurrentLimit: convertInputValue(FieldType.LOW_SHORT_CIRCUIT_CURRENT_LIMIT, voltageLevelDto.ipMin?.value) ?? null,
|
|
67
|
+
highShortCircuitCurrentLimit: convertInputValue(FieldType.HIGH_SHORT_CIRCUIT_CURRENT_LIMIT, voltageLevelDto.ipMax?.value) ?? null,
|
|
68
|
+
...getPropertiesFromModification(voltageLevelDto.properties, includePreviousValues)
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
voltageLevelModificationDtoToForm,
|
|
72
|
+
voltageLevelModificationEmptyFormData,
|
|
73
|
+
voltageLevelModificationFormSchema,
|
|
74
|
+
voltageLevelModificationFormToDto
|
|
75
|
+
};
|
|
@@ -203,6 +203,13 @@ const useLoadFlowParametersForm = (parametersBackend, isDeveloperMode, parameter
|
|
|
203
203
|
[parametersUuid, formatNewParams, snackError]
|
|
204
204
|
);
|
|
205
205
|
const resetForm = useEffectEvent((_params) => {
|
|
206
|
+
previousWatchProviderRef.current = _params.provider;
|
|
207
|
+
setSpecificParametersDescriptionForProvider(specificParamsDescription?.[_params.provider] ?? []);
|
|
208
|
+
if (_params.provider === PARAM_PROVIDER_OPENLOADFLOW) {
|
|
209
|
+
setLimitReductionNumber(_params.limitReductions?.at(0)?.temporaryLimitReductions?.length ?? 0);
|
|
210
|
+
} else {
|
|
211
|
+
setLimitReductionNumber(0);
|
|
212
|
+
}
|
|
206
213
|
reset(toLoadFlowFormValues(_params));
|
|
207
214
|
});
|
|
208
215
|
useEffect(() => {
|
|
@@ -215,21 +222,15 @@ const useLoadFlowParametersForm = (parametersBackend, isDeveloperMode, parameter
|
|
|
215
222
|
if (!watchProvider || watchProvider === previousWatchProviderRef.current) {
|
|
216
223
|
return;
|
|
217
224
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
setLimitReductions(watchProvider, defaultLimitReductions, formMethods);
|
|
221
|
-
}
|
|
225
|
+
setSpecificParameters(watchProvider, specificParamsDescription, formMethods);
|
|
226
|
+
setLimitReductions(watchProvider, defaultLimitReductions, formMethods);
|
|
222
227
|
if (watchProvider === PARAM_PROVIDER_OPENLOADFLOW) {
|
|
223
|
-
|
|
224
|
-
setLimitReductionNumber(defaultLimitReductions?.at(0)?.temporaryLimitReductions?.length ?? 0);
|
|
225
|
-
} else {
|
|
226
|
-
setLimitReductionNumber(params?.limitReductions?.at(0)?.temporaryLimitReductions?.length ?? 0);
|
|
227
|
-
}
|
|
228
|
+
setLimitReductionNumber(defaultLimitReductions?.at(0)?.temporaryLimitReductions?.length ?? 0);
|
|
228
229
|
} else {
|
|
229
230
|
setLimitReductionNumber(0);
|
|
230
231
|
}
|
|
231
232
|
previousWatchProviderRef.current = watchProvider;
|
|
232
|
-
}, [defaultLimitReductions, formMethods,
|
|
233
|
+
}, [defaultLimitReductions, formMethods, specificParamsDescription, watchProvider]);
|
|
233
234
|
return {
|
|
234
235
|
formMethods,
|
|
235
236
|
formSchema,
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.js
CHANGED
|
@@ -12,6 +12,7 @@ import { useFormatLabelWithUnit } from "./useFormatLabelWithUnit.js";
|
|
|
12
12
|
import { useSelectAppearance } from "./useSelectAppearance.js";
|
|
13
13
|
import { OptionalServicesStatus, useParametersBackend } from "./use-parameters-backend.js";
|
|
14
14
|
import { useCreateRowData } from "./use-create-row-data.js";
|
|
15
|
+
import { useGetLabelEquipmentTypes } from "./useGetLabelEquipmentTypes.js";
|
|
15
16
|
export {
|
|
16
17
|
OptionalServicesStatus,
|
|
17
18
|
getComputedLanguage,
|
|
@@ -20,6 +21,7 @@ export {
|
|
|
20
21
|
useCreateRowData,
|
|
21
22
|
useDebounce,
|
|
22
23
|
useFormatLabelWithUnit,
|
|
24
|
+
useGetLabelEquipmentTypes,
|
|
23
25
|
useIntlRef,
|
|
24
26
|
useLocalizedCountries,
|
|
25
27
|
useModificationLabelComputer,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useMemo } from "react";
|
|
2
|
+
import { useIntl } from "react-intl";
|
|
3
|
+
import "../utils/conversionUtils.js";
|
|
4
|
+
import { EquipmentType } from "../utils/types/equipmentType.js";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "@mui/icons-material";
|
|
7
|
+
import { getIdOrValue } from "../utils/ts-utils.js";
|
|
8
|
+
import "../utils/yupConfig.js";
|
|
9
|
+
function useGetLabelEquipmentTypes() {
|
|
10
|
+
const intl = useIntl();
|
|
11
|
+
return useMemo(
|
|
12
|
+
() => (equipmentType) => intl.formatMessage({
|
|
13
|
+
id: equipmentType === EquipmentType.HVDC_LINE ? "Hvdc" : getIdOrValue(equipmentType)
|
|
14
|
+
}),
|
|
15
|
+
[intl]
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
useGetLabelEquipmentTypes
|
|
20
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -82,6 +82,8 @@ import { SliderInput } from "./components/inputs/reactHookForm/numbers/SliderInp
|
|
|
82
82
|
import { isFloatNumber, isIntegerNumber } from "./components/inputs/reactHookForm/numbers/utils.js";
|
|
83
83
|
import { CustomFormContext, CustomFormProvider } from "./components/inputs/reactHookForm/provider/CustomFormProvider.js";
|
|
84
84
|
import { useCustomFormContext } from "./components/inputs/reactHookForm/provider/useCustomFormContext.js";
|
|
85
|
+
import { ReadOnlyInput } from "./components/inputs/reactHookForm/readOnly/ReadOnlyInput.js";
|
|
86
|
+
import { ButtonReadOnlyInput } from "./components/inputs/reactHookForm/readOnly/ButtonReadOnlyInput.js";
|
|
85
87
|
import { CountriesInput } from "./components/inputs/reactHookForm/selectInputs/CountriesInput.js";
|
|
86
88
|
import { InputWithPopupConfirmation } from "./components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js";
|
|
87
89
|
import { MuiSelectInput } from "./components/inputs/reactHookForm/selectInputs/MuiSelectInput.js";
|
|
@@ -202,6 +204,12 @@ import { SetPointsForm } from "./components/network-modifications/common/setpoin
|
|
|
202
204
|
import { createConnectivityData, getCon1andCon2WithPositionValidationSchema, getConnectivityBusBarSectionData, getConnectivityData, getConnectivityFormData, getConnectivityFormDataProps, getConnectivityPropertiesData, getConnectivityPropertiesEmptyFormData, getConnectivityPropertiesValidationSchema, getConnectivityVoltageLevelData, getConnectivityWithPositionEmptyFormData, getConnectivityWithPositionEmptyFormDataProps, getConnectivityWithPositionSchema, getConnectivityWithPositionValidationSchema, getConnectivityWithoutPositionEmptyFormData, getConnectivityWithoutPositionValidationSchema, getCont1Cont2WithPositionEmptyFormData, getNewVoltageLevelData } from "./components/network-modifications/common/connectivity/connectivityForm.utils.js";
|
|
203
205
|
import { ConnectivityForm } from "./components/network-modifications/common/connectivity/ConnectivityForm.js";
|
|
204
206
|
import { BranchConnectivityForm } from "./components/network-modifications/common/connectivity/BranchConnectivityForm.js";
|
|
207
|
+
import { getHvdcLccDeletionSchema } from "./components/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.js";
|
|
208
|
+
import { ShuntCompensatorSelectionForm } from "./components/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js";
|
|
209
|
+
import { useHvdcLccDeletion } from "./components/network-modifications/equipmentDeletion/hvdcLccDeletion/useHvdcLccDeletion.js";
|
|
210
|
+
import { HvdcLccDeletionSpecificForm } from "./components/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.js";
|
|
211
|
+
import { equipmentDeletionDtoToForm, equipmentDeletionEmptyFormData, equipmentDeletionFormSchema, equipmentDeletionFormToDto, newEquipmentDeletionDto } from "./components/network-modifications/equipmentDeletion/equipmentDeletion.utils.js";
|
|
212
|
+
import { EquipmentDeletionForm } from "./components/network-modifications/equipmentDeletion/EquipmentDeletionForm.js";
|
|
205
213
|
import { SubstationCreationForm } from "./components/network-modifications/substation/creation/SubstationCreationForm.js";
|
|
206
214
|
import { substationCreationDtoToForm, substationCreationEmptyFormData, substationCreationFormSchema, substationCreationFormToDto } from "./components/network-modifications/substation/creation/substationCreation.utils.js";
|
|
207
215
|
import { SubstationModificationForm } from "./components/network-modifications/substation/modification/SubstationModificationForm.js";
|
|
@@ -213,6 +221,8 @@ import { CouplingOmnibusCreation } from "./components/network-modifications/volt
|
|
|
213
221
|
import { VoltageLevelCreationForm } from "./components/network-modifications/voltage-level/creation/VoltageLevelCreationForm.js";
|
|
214
222
|
import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, getCreateSwitchesValidationSchema, translateSwitchKinds, voltageLevelCreationDtoToForm, voltageLevelCreationEmptyFormData, voltageLevelCreationFormSchema, voltageLevelCreationFormToDto } from "./components/network-modifications/voltage-level/creation/voltageLevelCreation.utils.js";
|
|
215
223
|
import { SwitchKind } from "./components/network-modifications/voltage-level/creation/voltageLevelCreation.types.js";
|
|
224
|
+
import { VoltageLevelModificationForm } from "./components/network-modifications/voltage-level/modification/VoltageLevelModificationForm.js";
|
|
225
|
+
import { voltageLevelModificationDtoToForm, voltageLevelModificationEmptyFormData, voltageLevelModificationFormSchema, voltageLevelModificationFormToDto } from "./components/network-modifications/voltage-level/modification/voltageLevelModification.utils.js";
|
|
216
226
|
import { LoadDialogTab } from "./components/network-modifications/load/common/load.utils.js";
|
|
217
227
|
import { LoadDialogTabs } from "./components/network-modifications/load/common/LoadDialogTabs.js";
|
|
218
228
|
import { LoadDialogTabsContent } from "./components/network-modifications/load/common/LoadDialogTabsContent.js";
|
|
@@ -234,6 +244,7 @@ import { useFormatLabelWithUnit } from "./hooks/useFormatLabelWithUnit.js";
|
|
|
234
244
|
import { useSelectAppearance } from "./hooks/useSelectAppearance.js";
|
|
235
245
|
import { OptionalServicesStatus, useParametersBackend } from "./hooks/use-parameters-backend.js";
|
|
236
246
|
import { useCreateRowData } from "./hooks/use-create-row-data.js";
|
|
247
|
+
import { useGetLabelEquipmentTypes } from "./hooks/useGetLabelEquipmentTypes.js";
|
|
237
248
|
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, resetAuthenticationRouterError, setLoggedUser, setLogoutError, setShowAuthenticationRouterLogin, setSignInCallbackError, setUnauthorizedUserInfo, setUserValidationError } from "./redux/actions/authActions.js";
|
|
238
249
|
import { getUserToken, setCommonStore } from "./redux/commonStore.js";
|
|
239
250
|
import { fetchAppsMetadata, fetchBaseVoltages, fetchDefaultCountry, fetchEnv, fetchFavoriteAndDefaultCountries, fetchStudyMetadata, isExploreMetadata, isStudyMetadata } from "./services/appsMetadata.js";
|
|
@@ -285,7 +296,7 @@ import { SolverTypeInfos } from "./utils/types/dynamic-simulation.type.js";
|
|
|
285
296
|
import { DistributionType, SensitivityType } from "./utils/types/sensitivity-analysis.type.js";
|
|
286
297
|
import { CalculationType, LoadModelsRule } from "./utils/types/dynamic-margin-calculation.type.js";
|
|
287
298
|
import { OperationType } from "./utils/types/network-modification-types.js";
|
|
288
|
-
import { areIdsEqual, getIdOrSelf, getObjectId, notNull, notUndefined, parseIntData, removeNullFields, sanitizeString } from "./utils/ts-utils.js";
|
|
299
|
+
import { areIdsEqual, getIdOrSelf, getIdOrValue, getLabelOrValue, getObjectId, notNull, notUndefined, parseIntData, removeNullFields, richTypeEquals, sanitizeString } from "./utils/ts-utils.js";
|
|
289
300
|
import { toNumber, validateValueIsANumber } from "./utils/validation-functions.js";
|
|
290
301
|
import "./utils/yupConfig.js";
|
|
291
302
|
import { cardErrorBoundaryEn } from "./translations/en/cardErrorBoundaryEn.js";
|
|
@@ -300,6 +311,7 @@ import { equipmentSearchEn } from "./translations/en/equipmentSearchEn.js";
|
|
|
300
311
|
import { equipmentTagEn } from "./translations/en/equipmentTagEn.js";
|
|
301
312
|
import { equipmentShortEn } from "./translations/en/equipmentShortEn.js";
|
|
302
313
|
import { equipmentsEn } from "./translations/en/equipmentsEn.js";
|
|
314
|
+
import { equipmentTypesEn } from "./translations/en/equipmentTypesEn.js";
|
|
303
315
|
import { errorsEn } from "./translations/en/errorsEn.js";
|
|
304
316
|
import { filterEn } from "./translations/en/filterEn.js";
|
|
305
317
|
import { filterExpertEn } from "./translations/en/filterExpertEn.js";
|
|
@@ -329,6 +341,7 @@ import { equipmentSearchFr } from "./translations/fr/equipmentSearchFr.js";
|
|
|
329
341
|
import { equipmentTagFr } from "./translations/fr/equipmentTagFr.js";
|
|
330
342
|
import { equipmentShortFr } from "./translations/fr/equipmentShortFr.js";
|
|
331
343
|
import { equipmentsFr } from "./translations/fr/equipmentsFr.js";
|
|
344
|
+
import { equipmentTypesFr } from "./translations/fr/equipmentTypesFr.js";
|
|
332
345
|
import { errorsFr } from "./translations/fr/errorsFr.js";
|
|
333
346
|
import { filterExpertFr } from "./translations/fr/filterExpertFr.js";
|
|
334
347
|
import { filterFr } from "./translations/fr/filterFr.js";
|
|
@@ -376,6 +389,7 @@ export {
|
|
|
376
389
|
BranchActiveReactivePowerMeasurementsForm,
|
|
377
390
|
BranchConnectivityForm,
|
|
378
391
|
BusBar,
|
|
392
|
+
ButtonReadOnlyInput,
|
|
379
393
|
CALCULATION_TYPE,
|
|
380
394
|
CENTER_LABEL,
|
|
381
395
|
COLUMNS_DEFINITIONS_CONTINGENCY_LISTS_INFOS,
|
|
@@ -481,6 +495,7 @@ export {
|
|
|
481
495
|
ElementType,
|
|
482
496
|
ElementValueEditor,
|
|
483
497
|
EnumInput,
|
|
498
|
+
EquipmentDeletionForm,
|
|
484
499
|
EquipmentItem,
|
|
485
500
|
EquipmentType,
|
|
486
501
|
EquipmentsSelectionType,
|
|
@@ -524,6 +539,7 @@ export {
|
|
|
524
539
|
HVDC_EQUIPMENT_TYPES,
|
|
525
540
|
HelperPreviousValue,
|
|
526
541
|
Hvdc,
|
|
542
|
+
HvdcLccDeletionSpecificForm,
|
|
527
543
|
HvdcType,
|
|
528
544
|
ID,
|
|
529
545
|
IGNORE_SIGNAL,
|
|
@@ -700,6 +716,7 @@ export {
|
|
|
700
716
|
RangeType,
|
|
701
717
|
RawReadOnlyInput,
|
|
702
718
|
ReactivePowerAdornment,
|
|
719
|
+
ReadOnlyInput,
|
|
703
720
|
RemoveButton,
|
|
704
721
|
ResizeHandle,
|
|
705
722
|
RuleValueEditor,
|
|
@@ -756,6 +773,7 @@ export {
|
|
|
756
773
|
ShortCircuitParametersEditionDialog,
|
|
757
774
|
ShortCircuitParametersInLine,
|
|
758
775
|
ShuntCompensator,
|
|
776
|
+
ShuntCompensatorSelectionForm,
|
|
759
777
|
SignInCallbackHandler,
|
|
760
778
|
SilentRenewCallbackHandler,
|
|
761
779
|
SliderInput,
|
|
@@ -818,6 +836,7 @@ export {
|
|
|
818
836
|
VoltageInitTabValues,
|
|
819
837
|
VoltageLevel,
|
|
820
838
|
VoltageLevelCreationForm,
|
|
839
|
+
VoltageLevelModificationForm,
|
|
821
840
|
WRITE_SLACK_BUS,
|
|
822
841
|
YUP_REQUIRED,
|
|
823
842
|
alertThresholdMarks,
|
|
@@ -863,6 +882,10 @@ export {
|
|
|
863
882
|
elementSearchFr,
|
|
864
883
|
emptyProperties,
|
|
865
884
|
equalsArray,
|
|
885
|
+
equipmentDeletionDtoToForm,
|
|
886
|
+
equipmentDeletionEmptyFormData,
|
|
887
|
+
equipmentDeletionFormSchema,
|
|
888
|
+
equipmentDeletionFormToDto,
|
|
866
889
|
equipmentSearchEn,
|
|
867
890
|
equipmentSearchFr,
|
|
868
891
|
equipmentShortEn,
|
|
@@ -870,7 +893,9 @@ export {
|
|
|
870
893
|
equipmentStyles,
|
|
871
894
|
equipmentTagEn,
|
|
872
895
|
equipmentTagFr,
|
|
896
|
+
equipmentTypesEn,
|
|
873
897
|
equipmentTypesForPredefinedPropertiesMapper,
|
|
898
|
+
equipmentTypesFr,
|
|
874
899
|
equipmentsEn,
|
|
875
900
|
equipmentsFr,
|
|
876
901
|
errorsEn,
|
|
@@ -957,13 +982,16 @@ export {
|
|
|
957
982
|
getExplicitNamingFilterEmptyFormData,
|
|
958
983
|
getFileIcon,
|
|
959
984
|
getFilledPropertiesFromModification,
|
|
985
|
+
getHvdcLccDeletionSchema,
|
|
960
986
|
getIdOrSelf,
|
|
987
|
+
getIdOrValue,
|
|
961
988
|
getInjectionActiveReactivePowerEditData,
|
|
962
989
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
963
990
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
964
991
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
965
992
|
getInjectionActiveReactivePowerValidationSchema,
|
|
966
993
|
getInjectionActiveReactivePowerValidationSchemaProperties,
|
|
994
|
+
getLabelOrValue,
|
|
967
995
|
getLimitReductionsFormSchema,
|
|
968
996
|
getLoadFlowDefaultLimitReductions,
|
|
969
997
|
getLoadFlowProviders,
|
|
@@ -1047,6 +1075,7 @@ export {
|
|
|
1047
1075
|
multipleSelectionDialogFr,
|
|
1048
1076
|
networkModificationsEn,
|
|
1049
1077
|
networkModificationsFr,
|
|
1078
|
+
newEquipmentDeletionDto,
|
|
1050
1079
|
notNull,
|
|
1051
1080
|
notUndefined,
|
|
1052
1081
|
onlyStartedGeneratorsOptions,
|
|
@@ -1060,6 +1089,7 @@ export {
|
|
|
1060
1089
|
reportViewerEn,
|
|
1061
1090
|
reportViewerFr,
|
|
1062
1091
|
resetAuthenticationRouterError,
|
|
1092
|
+
richTypeEquals,
|
|
1063
1093
|
roundToDefaultPrecision,
|
|
1064
1094
|
roundToPrecision,
|
|
1065
1095
|
safeEncodeURIComponent,
|
|
@@ -1125,7 +1155,9 @@ export {
|
|
|
1125
1155
|
useDebounce,
|
|
1126
1156
|
useElementSearch,
|
|
1127
1157
|
useFormatLabelWithUnit,
|
|
1158
|
+
useGetLabelEquipmentTypes,
|
|
1128
1159
|
useGlobalAnnouncement,
|
|
1160
|
+
useHvdcLccDeletion,
|
|
1129
1161
|
useIntlRef,
|
|
1130
1162
|
useListenerManager,
|
|
1131
1163
|
useLocalizedCountries,
|
|
@@ -1146,5 +1178,9 @@ export {
|
|
|
1146
1178
|
voltageLevelCreationEmptyFormData,
|
|
1147
1179
|
voltageLevelCreationFormSchema,
|
|
1148
1180
|
voltageLevelCreationFormToDto,
|
|
1181
|
+
voltageLevelModificationDtoToForm,
|
|
1182
|
+
voltageLevelModificationEmptyFormData,
|
|
1183
|
+
voltageLevelModificationFormSchema,
|
|
1184
|
+
voltageLevelModificationFormToDto,
|
|
1149
1185
|
yup as yupConfig
|
|
1150
1186
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export declare const equipmentTypesEn: {
|
|
8
|
+
Type: string;
|
|
9
|
+
SUBSTATION: string;
|
|
10
|
+
VOLTAGE_LEVEL: string;
|
|
11
|
+
BUS: string;
|
|
12
|
+
BUSBAR_SECTION: string;
|
|
13
|
+
SWITCH: string;
|
|
14
|
+
LINE: string;
|
|
15
|
+
TWO_WINDINGS_TRANSFORMER: string;
|
|
16
|
+
THREE_WINDINGS_TRANSFORMER: string;
|
|
17
|
+
GENERATOR: string;
|
|
18
|
+
BATTERY: string;
|
|
19
|
+
LOAD: string;
|
|
20
|
+
SHUNT_COMPENSATOR: string;
|
|
21
|
+
STATIC_VAR_COMPENSATOR: string;
|
|
22
|
+
HVDC_LINE: string;
|
|
23
|
+
HVDC_CONVERTER_STATION: string;
|
|
24
|
+
VSC_CONVERTER_STATION: string;
|
|
25
|
+
LCC_CONVERTER_STATION: string;
|
|
26
|
+
DANGLING_LINE: string;
|
|
27
|
+
TIE_LINE: string;
|
|
28
|
+
DISCONNECTOR: string;
|
|
29
|
+
BREAKER: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const equipmentTypesEn = {
|
|
2
|
+
Type: "Type",
|
|
3
|
+
SUBSTATION: "Substation",
|
|
4
|
+
VOLTAGE_LEVEL: "Voltage Level",
|
|
5
|
+
BUS: "Bus",
|
|
6
|
+
BUSBAR_SECTION: "Bus bar section",
|
|
7
|
+
SWITCH: "Switch",
|
|
8
|
+
LINE: "Line",
|
|
9
|
+
TWO_WINDINGS_TRANSFORMER: "Two Windings Transformer",
|
|
10
|
+
THREE_WINDINGS_TRANSFORMER: "Three Windings Transformer",
|
|
11
|
+
GENERATOR: "Generator",
|
|
12
|
+
BATTERY: "Battery",
|
|
13
|
+
LOAD: "Load",
|
|
14
|
+
SHUNT_COMPENSATOR: "Shunt Compensator",
|
|
15
|
+
STATIC_VAR_COMPENSATOR: "Static Var Compensator",
|
|
16
|
+
HVDC_LINE: "HVDC Line",
|
|
17
|
+
HVDC_CONVERTER_STATION: "HVDC Converter Station",
|
|
18
|
+
VSC_CONVERTER_STATION: "Vsc Converter Station",
|
|
19
|
+
LCC_CONVERTER_STATION: "Lcc Converter Station",
|
|
20
|
+
DANGLING_LINE: "Dangling Line",
|
|
21
|
+
TIE_LINE: "Tie line",
|
|
22
|
+
DISCONNECTOR: "Disconnector",
|
|
23
|
+
BREAKER: "Breaker"
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
equipmentTypesEn
|
|
27
|
+
};
|
|
@@ -16,6 +16,7 @@ export * from './equipmentSearchEn';
|
|
|
16
16
|
export * from './equipmentTagEn';
|
|
17
17
|
export * from './equipmentShortEn';
|
|
18
18
|
export * from './equipmentsEn';
|
|
19
|
+
export * from './equipmentTypesEn';
|
|
19
20
|
export * from './errorsEn';
|
|
20
21
|
export * from './filterEn';
|
|
21
22
|
export * from './filterExpertEn';
|
|
@@ -10,6 +10,7 @@ import { equipmentSearchEn } from "./equipmentSearchEn.js";
|
|
|
10
10
|
import { equipmentTagEn } from "./equipmentTagEn.js";
|
|
11
11
|
import { equipmentShortEn } from "./equipmentShortEn.js";
|
|
12
12
|
import { equipmentsEn } from "./equipmentsEn.js";
|
|
13
|
+
import { equipmentTypesEn } from "./equipmentTypesEn.js";
|
|
13
14
|
import { errorsEn } from "./errorsEn.js";
|
|
14
15
|
import { filterEn } from "./filterEn.js";
|
|
15
16
|
import { filterExpertEn } from "./filterExpertEn.js";
|
|
@@ -40,6 +41,7 @@ export {
|
|
|
40
41
|
equipmentSearchEn,
|
|
41
42
|
equipmentShortEn,
|
|
42
43
|
equipmentTagEn,
|
|
44
|
+
equipmentTypesEn,
|
|
43
45
|
equipmentsEn,
|
|
44
46
|
errorsEn,
|
|
45
47
|
exportParamsEn,
|
|
@@ -78,6 +78,8 @@ export declare const networkModificationsEn: {
|
|
|
78
78
|
Country: string;
|
|
79
79
|
CreateVoltageLevel: string;
|
|
80
80
|
VoltageLevelCreationError: string;
|
|
81
|
+
ModifyVoltageLevel: string;
|
|
82
|
+
VoltageLevelModificationError: string;
|
|
81
83
|
SUBSTATION: string;
|
|
82
84
|
VoltageText: string;
|
|
83
85
|
NominalVoltage: string;
|
|
@@ -135,4 +137,9 @@ export declare const networkModificationsEn: {
|
|
|
135
137
|
MeasurementsSection: string;
|
|
136
138
|
ValidMeasurement: string;
|
|
137
139
|
InvalidMeasurement: string;
|
|
140
|
+
DeleteEquipment: string;
|
|
141
|
+
UnableToDeleteEquipment: string;
|
|
142
|
+
LCCConverterStationShuntCompensators: string;
|
|
143
|
+
Side1: string;
|
|
144
|
+
Side2: string;
|
|
138
145
|
};
|
|
@@ -84,14 +84,16 @@ const networkModificationsEn = {
|
|
|
84
84
|
Country: "Country",
|
|
85
85
|
CreateVoltageLevel: "Create voltage level",
|
|
86
86
|
VoltageLevelCreationError: "Error while creating voltage level",
|
|
87
|
+
ModifyVoltageLevel: "Modify a voltage level",
|
|
88
|
+
VoltageLevelModificationError: "Error while modifying a voltage level",
|
|
87
89
|
SUBSTATION: "Substation",
|
|
88
90
|
VoltageText: "Voltage",
|
|
89
91
|
NominalVoltage: "Nominal voltage",
|
|
90
92
|
LowVoltageLimit: "Low voltage limit",
|
|
91
93
|
HighVoltageLimit: "High voltage limit",
|
|
92
94
|
ShortCircuit: "Short-circuit",
|
|
93
|
-
LowShortCircuitCurrentLimit: "
|
|
94
|
-
HighShortCircuitCurrentLimit: "
|
|
95
|
+
LowShortCircuitCurrentLimit: "Low short-circuit current limit",
|
|
96
|
+
HighShortCircuitCurrentLimit: "High short-circuit current limit",
|
|
95
97
|
BusBarSections: "Busbar section",
|
|
96
98
|
BusBarCount: "Busbar Count",
|
|
97
99
|
numberOfSections: "Section Count",
|
|
@@ -140,7 +142,12 @@ const networkModificationsEn = {
|
|
|
140
142
|
StateEstimationTab: "State estimation",
|
|
141
143
|
MeasurementsSection: "Measurements",
|
|
142
144
|
ValidMeasurement: "Valid",
|
|
143
|
-
InvalidMeasurement: "Invalid"
|
|
145
|
+
InvalidMeasurement: "Invalid",
|
|
146
|
+
DeleteEquipment: "Delete equipment",
|
|
147
|
+
UnableToDeleteEquipment: "Unable to delete the equipment",
|
|
148
|
+
LCCConverterStationShuntCompensators: "Shunt compensators related to the LCC",
|
|
149
|
+
Side1: "Side 1",
|
|
150
|
+
Side2: "Side 2"
|
|
144
151
|
};
|
|
145
152
|
export {
|
|
146
153
|
networkModificationsEn
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export declare const equipmentTypesFr: {
|
|
8
|
+
Type: string;
|
|
9
|
+
SUBSTATION: string;
|
|
10
|
+
VOLTAGE_LEVEL: string;
|
|
11
|
+
BUS: string;
|
|
12
|
+
BUSBAR_SECTION: string;
|
|
13
|
+
SWITCH: string;
|
|
14
|
+
LINE: string;
|
|
15
|
+
TWO_WINDINGS_TRANSFORMER: string;
|
|
16
|
+
THREE_WINDINGS_TRANSFORMER: string;
|
|
17
|
+
GENERATOR: string;
|
|
18
|
+
BATTERY: string;
|
|
19
|
+
LOAD: string;
|
|
20
|
+
SHUNT_COMPENSATOR: string;
|
|
21
|
+
STATIC_VAR_COMPENSATOR: string;
|
|
22
|
+
HVDC_LINE: string;
|
|
23
|
+
HVDC_CONVERTER_STATION: string;
|
|
24
|
+
VSC_CONVERTER_STATION: string;
|
|
25
|
+
LCC_CONVERTER_STATION: string;
|
|
26
|
+
DANGLING_LINE: string;
|
|
27
|
+
TIE_LINE: string;
|
|
28
|
+
DISCONNECTOR: string;
|
|
29
|
+
BREAKER: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const equipmentTypesFr = {
|
|
2
|
+
Type: "Type",
|
|
3
|
+
SUBSTATION: "Site",
|
|
4
|
+
VOLTAGE_LEVEL: "Poste",
|
|
5
|
+
BUS: "Noeud électrique",
|
|
6
|
+
BUSBAR_SECTION: "Section de jeux de barres",
|
|
7
|
+
SWITCH: "Disjoncteur",
|
|
8
|
+
LINE: "Ligne",
|
|
9
|
+
TWO_WINDINGS_TRANSFORMER: "Transformateur à 2 enroulements",
|
|
10
|
+
THREE_WINDINGS_TRANSFORMER: "Transformateur à 3 enroulements",
|
|
11
|
+
GENERATOR: "Groupe",
|
|
12
|
+
BATTERY: "Batterie",
|
|
13
|
+
LOAD: "Consommation",
|
|
14
|
+
SHUNT_COMPENSATOR: "MCS",
|
|
15
|
+
STATIC_VAR_COMPENSATOR: "CSPR",
|
|
16
|
+
HVDC_LINE: "Ligne HVDC",
|
|
17
|
+
HVDC_CONVERTER_STATION: "Station de conversion HVDC",
|
|
18
|
+
VSC_CONVERTER_STATION: "Station de conversion VSC",
|
|
19
|
+
LCC_CONVERTER_STATION: "Station de conversion LCC",
|
|
20
|
+
DANGLING_LINE: "Ligne frontière",
|
|
21
|
+
TIE_LINE: "Ligne d'interconnexion",
|
|
22
|
+
DISCONNECTOR: "Sectionneur",
|
|
23
|
+
BREAKER: "Disjoncteur"
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
equipmentTypesFr
|
|
27
|
+
};
|
|
@@ -16,6 +16,7 @@ export * from './equipmentSearchFr';
|
|
|
16
16
|
export * from './equipmentTagFr';
|
|
17
17
|
export * from './equipmentShortFr';
|
|
18
18
|
export * from './equipmentsFr';
|
|
19
|
+
export * from './equipmentTypesFr';
|
|
19
20
|
export * from './errorsFr';
|
|
20
21
|
export * from './filterExpertFr';
|
|
21
22
|
export * from './filterFr';
|
|
@@ -10,6 +10,7 @@ import { equipmentSearchFr } from "./equipmentSearchFr.js";
|
|
|
10
10
|
import { equipmentTagFr } from "./equipmentTagFr.js";
|
|
11
11
|
import { equipmentShortFr } from "./equipmentShortFr.js";
|
|
12
12
|
import { equipmentsFr } from "./equipmentsFr.js";
|
|
13
|
+
import { equipmentTypesFr } from "./equipmentTypesFr.js";
|
|
13
14
|
import { errorsFr } from "./errorsFr.js";
|
|
14
15
|
import { filterExpertFr } from "./filterExpertFr.js";
|
|
15
16
|
import { filterFr } from "./filterFr.js";
|
|
@@ -40,6 +41,7 @@ export {
|
|
|
40
41
|
equipmentSearchFr,
|
|
41
42
|
equipmentShortFr,
|
|
42
43
|
equipmentTagFr,
|
|
44
|
+
equipmentTypesFr,
|
|
43
45
|
equipmentsFr,
|
|
44
46
|
errorsFr,
|
|
45
47
|
exportParamsFr,
|