@gridsuite/commons-ui 0.136.1 → 0.138.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/README.md +1 -1
- package/dist/components/dialogs/elementSaveDialog/ElementSaveDialog.js +4 -4
- package/dist/components/dnd-table/dnd-table-add-rows-dialog.js +4 -4
- package/dist/components/dnd-table/dnd-table.js +1 -0
- package/dist/components/elementSearch/elementItem/EquipmentItem.js +2 -2
- package/dist/components/elementSearch/tagRenderer/TagRenderer.js +2 -2
- package/dist/components/filter/HeaderFilterForm.js +4 -4
- package/dist/components/filter/expert/expertFilterConstants.d.ts +2 -51
- package/dist/components/filter/utils/filterFormUtils.d.ts +2 -5
- package/dist/components/filter/utils/filterFormUtils.js +2 -5
- package/dist/components/index.js +7 -5
- package/dist/components/inputs/index.js +4 -0
- package/dist/components/inputs/reactHookForm/DirectoryItemsInput.d.ts +7 -4
- package/dist/components/inputs/reactHookForm/DirectoryItemsInput.js +28 -45
- package/dist/components/inputs/reactHookForm/OverflowableChip.d.ts +4 -0
- package/dist/components/inputs/reactHookForm/OverflowableChip.js +25 -0
- package/dist/components/inputs/reactHookForm/OverflowableChipWithHelperText.d.ts +5 -0
- package/dist/components/inputs/reactHookForm/OverflowableChipWithHelperText.js +15 -0
- package/dist/components/inputs/reactHookForm/index.d.ts +2 -0
- package/dist/components/inputs/reactHookForm/index.js +4 -0
- package/dist/components/menus/custom-nested-menu.js +25 -1
- package/dist/components/overflowableText/OverflowableText.d.ts +1 -1
- package/dist/components/overflowableText/OverflowableText.js +8 -10
- package/dist/components/parameters/common/ProviderParam.js +4 -4
- package/dist/components/parameters/common/limitreductions/limit-reduction-table-cell.js +4 -4
- package/dist/components/parameters/common/limitreductions/limit-reductions-table-form.js +4 -4
- package/dist/components/parameters/common/name-element-editor/name-element-editor-utils.js +4 -4
- package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +4 -4
- package/dist/components/parameters/common/widget/parameter-float.js +4 -4
- package/dist/components/parameters/common/widget/parameter-line-directory-items-input.d.ts +2 -1
- package/dist/components/parameters/common/widget/parameter-line-directory-items-input.js +5 -3
- package/dist/components/parameters/common/widget/parameter-line-slider.js +4 -4
- package/dist/components/parameters/index.d.ts +1 -0
- package/dist/components/parameters/index.js +3 -5
- package/dist/components/parameters/loadflow/load-flow-general-parameters.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameter-field.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameters-content.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameters-form.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameters-header.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameters-inline.js +4 -4
- package/dist/components/parameters/loadflow/load-flow-parameters-utils.js +4 -4
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +4 -4
- package/dist/components/parameters/network-visualizations/map-parameters.js +4 -4
- package/dist/components/parameters/network-visualizations/network-area-diagram-parameters.js +4 -4
- package/dist/components/parameters/network-visualizations/network-visualizations-form.js +4 -4
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.js +4 -4
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-inline.js +4 -4
- package/dist/components/parameters/network-visualizations/single-line-diagram-parameters.js +4 -4
- package/dist/components/parameters/network-visualizations/use-network-visualizations-parameters-form.js +4 -4
- package/dist/components/parameters/pcc-min/index.d.ts +7 -0
- package/dist/components/parameters/pcc-min/index.js +4 -0
- package/dist/components/parameters/pcc-min/pcc-min-form-utils.d.ts +4 -0
- package/dist/components/parameters/pcc-min/pcc-min-form-utils.js +54 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-form.d.ts +29 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-form.js +114 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-inline.d.ts +7 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-inline.js +98 -0
- package/dist/components/parameters/pcc-min/use-pcc-min-parameters-form.d.ts +19 -0
- package/dist/components/parameters/pcc-min/use-pcc-min-parameters-form.js +104 -0
- package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +4 -4
- package/dist/components/parameters/security-analysis/security-analysis-parameters-form.js +4 -4
- package/dist/components/parameters/security-analysis/security-analysis-parameters-inline.js +4 -4
- package/dist/components/parameters/security-analysis/security-analysis-parameters-selector.js +4 -4
- package/dist/components/parameters/security-analysis/security-analysis-violations-hiding.js +4 -4
- package/dist/components/parameters/security-analysis/use-security-analysis-parameters-form.js +4 -4
- package/dist/components/parameters/sensi/sensitivity-Flow-parameters.js +4 -4
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +4 -4
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +4 -4
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.js +4 -4
- package/dist/components/parameters/sensi/sensitivity-parameters-selector.js +4 -4
- package/dist/components/parameters/sensi/sensitivity-table.js +4 -4
- package/dist/components/parameters/sensi/table-cell.js +1 -1
- package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.js +4 -4
- package/dist/components/parameters/sensi/utils.d.ts +1 -1
- package/dist/components/parameters/sensi/utils.js +5 -7
- package/dist/components/parameters/short-circuit/short-circuit-fields.js +4 -4
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +4 -4
- package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +4 -4
- package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.js +4 -4
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +4 -4
- package/dist/components/parameters/voltage-init/constants.d.ts +0 -4
- package/dist/components/parameters/voltage-init/constants.js +0 -8
- package/dist/components/parameters/voltage-init/equipment-selection-parameters.js +4 -4
- package/dist/components/parameters/voltage-init/general-parameters.js +4 -4
- package/dist/components/parameters/voltage-init/index.js +1 -5
- package/dist/components/parameters/voltage-init/use-voltage-init-parameters-form.js +6 -5
- package/dist/components/parameters/voltage-init/voltage-init-form-utils.js +6 -5
- package/dist/components/parameters/voltage-init/voltage-init-parameters-dialog.js +4 -4
- package/dist/components/parameters/voltage-init/voltage-init-parameters-form.js +4 -4
- package/dist/components/parameters/voltage-init/voltage-init-parameters-inline.js +4 -4
- package/dist/components/parameters/voltage-init/voltage-init.type.d.ts +2 -6
- package/dist/components/parameters/voltage-init/voltage-limits-parameters.js +6 -5
- package/dist/index.js +20 -3
- package/dist/services/index.d.ts +1 -0
- package/dist/services/index.js +3 -0
- package/dist/services/pcc-min.d.ts +7 -0
- package/dist/services/pcc-min.js +25 -0
- package/dist/translations/en/equipmentSearchEn.d.ts +0 -17
- package/dist/translations/en/equipmentSearchEn.js +1 -18
- package/dist/translations/en/equipmentShortEn.d.ts +28 -0
- package/dist/translations/en/equipmentShortEn.js +25 -0
- package/dist/translations/en/equipmentTagEn.d.ts +28 -0
- package/dist/translations/en/equipmentTagEn.js +25 -0
- package/dist/translations/en/index.d.ts +2 -0
- package/dist/translations/en/index.js +4 -0
- package/dist/translations/en/parameters.d.ts +3 -0
- package/dist/translations/en/parameters.js +4 -1
- package/dist/translations/fr/equipmentSearchFr.d.ts +0 -17
- package/dist/translations/fr/equipmentSearchFr.js +1 -18
- package/dist/translations/fr/equipmentShortFr.d.ts +28 -0
- package/dist/translations/fr/equipmentShortFr.js +25 -0
- package/dist/translations/fr/equipmentTagFr.d.ts +28 -0
- package/dist/translations/fr/equipmentTagFr.js +25 -0
- package/dist/translations/fr/index.d.ts +2 -0
- package/dist/translations/fr/index.js +4 -0
- package/dist/translations/fr/parameters.d.ts +3 -0
- package/dist/translations/fr/parameters.js +4 -1
- package/dist/utils/constants/filterConstant.d.ts +9 -0
- package/dist/utils/constants/filterConstant.js +10 -0
- package/dist/utils/constants/index.d.ts +1 -0
- package/dist/utils/constants/index.js +5 -0
- package/dist/utils/index.js +6 -2
- package/dist/utils/types/equipmentType.d.ts +7 -165
- package/dist/utils/types/equipmentType.js +90 -151
- package/dist/utils/types/index.js +1 -2
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 equipmentTagEn: {
|
|
8
|
+
'equipment_tag/substation': string;
|
|
9
|
+
'equipment_tag/voltageLevel': string;
|
|
10
|
+
'equipment_tag/line': string;
|
|
11
|
+
'equipment_tag/2wt': string;
|
|
12
|
+
'equipment_tag/3wt': string;
|
|
13
|
+
'equipment_tag/generator': string;
|
|
14
|
+
'equipment_tag/battery': string;
|
|
15
|
+
'equipment_tag/load': string;
|
|
16
|
+
'equipment_tag/shunt': string;
|
|
17
|
+
'equipment_tag/svc': string;
|
|
18
|
+
'equipment_tag/hvdcLine': string;
|
|
19
|
+
'equipment_tag/hvdcLineVsc': string;
|
|
20
|
+
'equipment_tag/hvdcLineLcc': string;
|
|
21
|
+
'equipment_tag/hvdcStation': string;
|
|
22
|
+
'equipment_tag/vscConverterStation': string;
|
|
23
|
+
'equipment_tag/lccConverterStation': string;
|
|
24
|
+
'equipment_tag/danglingLine': string;
|
|
25
|
+
'equipment_tag/busbarSection': string;
|
|
26
|
+
'equipment_tag/bus': string;
|
|
27
|
+
'equipment_tag/switch': string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const equipmentTagEn = {
|
|
2
|
+
"equipment_tag/substation": "SUBSTATION",
|
|
3
|
+
"equipment_tag/voltageLevel": "VOLTAGE LEVEL",
|
|
4
|
+
"equipment_tag/line": "LINE",
|
|
5
|
+
"equipment_tag/2wt": "2W TRANSFO",
|
|
6
|
+
"equipment_tag/3wt": "3W TRANSFO",
|
|
7
|
+
"equipment_tag/generator": "GENERATOR",
|
|
8
|
+
"equipment_tag/battery": "BATTERY",
|
|
9
|
+
"equipment_tag/load": "LOAD",
|
|
10
|
+
"equipment_tag/shunt": "SHUNT",
|
|
11
|
+
"equipment_tag/svc": "SVC",
|
|
12
|
+
"equipment_tag/hvdcLine": "HVDC LINE",
|
|
13
|
+
"equipment_tag/hvdcLineVsc": "HVDC LINE (VSC)",
|
|
14
|
+
"equipment_tag/hvdcLineLcc": "HVDC LINE (LCC)",
|
|
15
|
+
"equipment_tag/hvdcStation": "HVDC STATION",
|
|
16
|
+
"equipment_tag/vscConverterStation": "VSC CONVERTER STATION",
|
|
17
|
+
"equipment_tag/lccConverterStation": "LCC CONVERTER STATION",
|
|
18
|
+
"equipment_tag/danglingLine": "DANGLING LINE",
|
|
19
|
+
"equipment_tag/busbarSection": "BBS",
|
|
20
|
+
"equipment_tag/bus": "BUS",
|
|
21
|
+
"equipment_tag/switch": "SWITCH"
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
equipmentTagEn
|
|
25
|
+
};
|
|
@@ -13,6 +13,8 @@ export * from './directoryItemsInputEn';
|
|
|
13
13
|
export * from './dndTableEn';
|
|
14
14
|
export * from './elementSearchEn';
|
|
15
15
|
export * from './equipmentSearchEn';
|
|
16
|
+
export * from './equipmentTagEn';
|
|
17
|
+
export * from './equipmentShortEn';
|
|
16
18
|
export * from './equipmentsEn';
|
|
17
19
|
export * from './errorsEn';
|
|
18
20
|
export * from './filterEn';
|
|
@@ -7,6 +7,8 @@ import { directoryItemsInputEn } from "./directoryItemsInputEn.js";
|
|
|
7
7
|
import { dndTableEn } from "./dndTableEn.js";
|
|
8
8
|
import { elementSearchEn } from "./elementSearchEn.js";
|
|
9
9
|
import { equipmentSearchEn } from "./equipmentSearchEn.js";
|
|
10
|
+
import { equipmentTagEn } from "./equipmentTagEn.js";
|
|
11
|
+
import { equipmentShortEn } from "./equipmentShortEn.js";
|
|
10
12
|
import { equipmentsEn } from "./equipmentsEn.js";
|
|
11
13
|
import { errorsEn } from "./errorsEn.js";
|
|
12
14
|
import { filterEn } from "./filterEn.js";
|
|
@@ -36,6 +38,8 @@ export {
|
|
|
36
38
|
dndTableEn,
|
|
37
39
|
elementSearchEn,
|
|
38
40
|
equipmentSearchEn,
|
|
41
|
+
equipmentShortEn,
|
|
42
|
+
equipmentTagEn,
|
|
39
43
|
equipmentsEn,
|
|
40
44
|
errorsEn,
|
|
41
45
|
exportParamsEn,
|
|
@@ -226,4 +226,7 @@ export declare const parametersEn: {
|
|
|
226
226
|
updateSensitivityAnalysisProviderError: string;
|
|
227
227
|
getSensitivityAnalysisFactorsCountError: string;
|
|
228
228
|
resetLoadFlowParametersWarning: string;
|
|
229
|
+
PccMinParametersError: string;
|
|
230
|
+
updatePccMinParametersError: string;
|
|
231
|
+
pccMinParamFilter: string;
|
|
229
232
|
};
|
|
@@ -224,7 +224,10 @@ const parametersEn = {
|
|
|
224
224
|
updateSensitivityAnalysisProviderError: "An error occured when updating sensitivity analysis provider",
|
|
225
225
|
getSensitivityAnalysisFactorsCountError: "An error occured while estimating sensitivity analysis computations",
|
|
226
226
|
// Other
|
|
227
|
-
resetLoadFlowParametersWarning: "Impossible to retrieve the load flow parameters defined in the user profile (default values are used)"
|
|
227
|
+
resetLoadFlowParametersWarning: "Impossible to retrieve the load flow parameters defined in the user profile (default values are used)",
|
|
228
|
+
PccMinParametersError: "An error occurred while updating the pcc min parameters",
|
|
229
|
+
updatePccMinParametersError: "An error occurred while updating the pcc min parameters",
|
|
230
|
+
pccMinParamFilter: "Definition of contingencies on voltage levels"
|
|
228
231
|
};
|
|
229
232
|
export {
|
|
230
233
|
parametersEn
|
|
@@ -6,21 +6,4 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const equipmentSearchFr: {
|
|
8
8
|
'equipment_search/label': string;
|
|
9
|
-
'equipment_search/switchTag': string;
|
|
10
|
-
'equipment_search/busbarSectionTag': string;
|
|
11
|
-
'equipment_search/lineTag': string;
|
|
12
|
-
'equipment_search/2wtTag': string;
|
|
13
|
-
'equipment_search/3wtTag': string;
|
|
14
|
-
'equipment_search/generatorTag': string;
|
|
15
|
-
'equipment_search/batteryTag': string;
|
|
16
|
-
'equipment_search/loadTag': string;
|
|
17
|
-
'equipment_search/shuntTag': string;
|
|
18
|
-
'equipment_search/svcTag': string;
|
|
19
|
-
'equipment_search/hvdcLineTag': string;
|
|
20
|
-
'equipment_search/hvdcLineVscTag': string;
|
|
21
|
-
'equipment_search/hvdcLineLccTag': string;
|
|
22
|
-
'equipment_search/hvdcStationTag': string;
|
|
23
|
-
'equipment_search/voltageLevelTag': string;
|
|
24
|
-
'equipment_search/substationTag': string;
|
|
25
|
-
'equipment_search/busTag': string;
|
|
26
9
|
};
|
|
@@ -1,22 +1,5 @@
|
|
|
1
1
|
const equipmentSearchFr = {
|
|
2
|
-
"equipment_search/label": "Rechercher un ouvrage"
|
|
3
|
-
"equipment_search/switchTag": "SWITCH",
|
|
4
|
-
"equipment_search/busbarSectionTag": "SJB",
|
|
5
|
-
"equipment_search/lineTag": "LIGNE",
|
|
6
|
-
"equipment_search/2wtTag": "TRANSFO 2E",
|
|
7
|
-
"equipment_search/3wtTag": "TRANSFO 3E",
|
|
8
|
-
"equipment_search/generatorTag": "GROUPE",
|
|
9
|
-
"equipment_search/batteryTag": "BATTERIE",
|
|
10
|
-
"equipment_search/loadTag": "CONSO",
|
|
11
|
-
"equipment_search/shuntTag": "MCS",
|
|
12
|
-
"equipment_search/svcTag": "CSPR",
|
|
13
|
-
"equipment_search/hvdcLineTag": "LIGNE HVDC",
|
|
14
|
-
"equipment_search/hvdcLineVscTag": "LIGNE HVDC (VSC)",
|
|
15
|
-
"equipment_search/hvdcLineLccTag": "LIGNE HVDC (LCC)",
|
|
16
|
-
"equipment_search/hvdcStationTag": "STATION HVDC",
|
|
17
|
-
"equipment_search/voltageLevelTag": "POSTE",
|
|
18
|
-
"equipment_search/substationTag": "SITE",
|
|
19
|
-
"equipment_search/busTag": "NOEUD"
|
|
2
|
+
"equipment_search/label": "Rechercher un ouvrage"
|
|
20
3
|
};
|
|
21
4
|
export {
|
|
22
5
|
equipmentSearchFr
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 equipmentShortFr: {
|
|
8
|
+
'equipment_short/substation': string;
|
|
9
|
+
'equipment_short/voltageLevel': string;
|
|
10
|
+
'equipment_short/line': string;
|
|
11
|
+
'equipment_short/2wt': string;
|
|
12
|
+
'equipment_short/3wt': string;
|
|
13
|
+
'equipment_short/generator': string;
|
|
14
|
+
'equipment_short/battery': string;
|
|
15
|
+
'equipment_short/load': string;
|
|
16
|
+
'equipment_short/shunt': string;
|
|
17
|
+
'equipment_short/svc': string;
|
|
18
|
+
'equipment_short/hvdcLine': string;
|
|
19
|
+
'equipment_short/hvdcStation': string;
|
|
20
|
+
'equipment_short/vscConverterStation': string;
|
|
21
|
+
'equipment_short/lccConverterStation': string;
|
|
22
|
+
'equipment_short/busbarSection': string;
|
|
23
|
+
'equipment_short/bus': string;
|
|
24
|
+
'equipment_short/switch': string;
|
|
25
|
+
'equipment_short/danglingLine': string;
|
|
26
|
+
'equipment_short/hvdcLineLcc': string;
|
|
27
|
+
'equipment_short/hvdcLineVsc': string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const equipmentShortFr = {
|
|
2
|
+
"equipment_short/substation": "Sites",
|
|
3
|
+
"equipment_short/voltageLevel": "Postes",
|
|
4
|
+
"equipment_short/line": "Lignes",
|
|
5
|
+
"equipment_short/2wt": "Transfos",
|
|
6
|
+
"equipment_short/3wt": "Transfos",
|
|
7
|
+
"equipment_short/generator": "Groupes",
|
|
8
|
+
"equipment_short/battery": "Batteries",
|
|
9
|
+
"equipment_short/load": "Consos",
|
|
10
|
+
"equipment_short/shunt": "MCS",
|
|
11
|
+
"equipment_short/svc": "CSPR",
|
|
12
|
+
"equipment_short/hvdcLine": "HVDC",
|
|
13
|
+
"equipment_short/hvdcStation": "Stations HVDC",
|
|
14
|
+
"equipment_short/vscConverterStation": "VSC",
|
|
15
|
+
"equipment_short/lccConverterStation": "LCC",
|
|
16
|
+
"equipment_short/busbarSection": "SJB",
|
|
17
|
+
"equipment_short/bus": "Noeud",
|
|
18
|
+
"equipment_short/switch": "Switch",
|
|
19
|
+
"equipment_short/danglingLine": "Frontières",
|
|
20
|
+
"equipment_short/hvdcLineLcc": "HVDC LCC",
|
|
21
|
+
"equipment_short/hvdcLineVsc": "HVDC VSC"
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
equipmentShortFr
|
|
25
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 equipmentTagFr: {
|
|
8
|
+
'equipment_tag/substation': string;
|
|
9
|
+
'equipment_tag/voltageLevel': string;
|
|
10
|
+
'equipment_tag/line': string;
|
|
11
|
+
'equipment_tag/2wt': string;
|
|
12
|
+
'equipment_tag/3wt': string;
|
|
13
|
+
'equipment_tag/generator': string;
|
|
14
|
+
'equipment_tag/battery': string;
|
|
15
|
+
'equipment_tag/load': string;
|
|
16
|
+
'equipment_tag/shunt': string;
|
|
17
|
+
'equipment_tag/svc': string;
|
|
18
|
+
'equipment_tag/hvdcLine': string;
|
|
19
|
+
'equipment_tag/hvdcLineVsc': string;
|
|
20
|
+
'equipment_tag/hvdcLineLcc': string;
|
|
21
|
+
'equipment_tag/hvdcStation': string;
|
|
22
|
+
'equipment_tag/vscConverterStation': string;
|
|
23
|
+
'equipment_tag/lccConverterStation': string;
|
|
24
|
+
'equipment_tag/busbarSection': string;
|
|
25
|
+
'equipment_tag/bus': string;
|
|
26
|
+
'equipment_tag/switch': string;
|
|
27
|
+
'equipment_tag/danglingLine': string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const equipmentTagFr = {
|
|
2
|
+
"equipment_tag/substation": "SITE",
|
|
3
|
+
"equipment_tag/voltageLevel": "POSTE",
|
|
4
|
+
"equipment_tag/line": "LIGNE",
|
|
5
|
+
"equipment_tag/2wt": "TRANSFO 2E",
|
|
6
|
+
"equipment_tag/3wt": "TRANSFO 3E",
|
|
7
|
+
"equipment_tag/generator": "GROUPE",
|
|
8
|
+
"equipment_tag/battery": "BATTERIE",
|
|
9
|
+
"equipment_tag/load": "CONSO",
|
|
10
|
+
"equipment_tag/shunt": "MCS",
|
|
11
|
+
"equipment_tag/svc": "CSPR",
|
|
12
|
+
"equipment_tag/hvdcLine": "LIGNE HVDC",
|
|
13
|
+
"equipment_tag/hvdcLineVsc": "LIGNE HVDC (VSC)",
|
|
14
|
+
"equipment_tag/hvdcLineLcc": "LIGNE HVDC (LCC)",
|
|
15
|
+
"equipment_tag/hvdcStation": "STATION HVDC",
|
|
16
|
+
"equipment_tag/vscConverterStation": "STATION VSC",
|
|
17
|
+
"equipment_tag/lccConverterStation": "STATION LCC",
|
|
18
|
+
"equipment_tag/busbarSection": "SJB",
|
|
19
|
+
"equipment_tag/bus": "NOEUD",
|
|
20
|
+
"equipment_tag/switch": "SWITCH",
|
|
21
|
+
"equipment_tag/danglingLine": "FRONTIERE"
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
equipmentTagFr
|
|
25
|
+
};
|
|
@@ -13,6 +13,8 @@ export * from './directoryItemsInputFr';
|
|
|
13
13
|
export * from './dndTableFr';
|
|
14
14
|
export * from './elementSearchFr';
|
|
15
15
|
export * from './equipmentSearchFr';
|
|
16
|
+
export * from './equipmentTagFr';
|
|
17
|
+
export * from './equipmentShortFr';
|
|
16
18
|
export * from './equipmentsFr';
|
|
17
19
|
export * from './errorsFr';
|
|
18
20
|
export * from './filterExpertFr';
|
|
@@ -7,6 +7,8 @@ import { directoryItemsInputFr } from "./directoryItemsInputFr.js";
|
|
|
7
7
|
import { dndTableFr } from "./dndTableFr.js";
|
|
8
8
|
import { elementSearchFr } from "./elementSearchFr.js";
|
|
9
9
|
import { equipmentSearchFr } from "./equipmentSearchFr.js";
|
|
10
|
+
import { equipmentTagFr } from "./equipmentTagFr.js";
|
|
11
|
+
import { equipmentShortFr } from "./equipmentShortFr.js";
|
|
10
12
|
import { equipmentsFr } from "./equipmentsFr.js";
|
|
11
13
|
import { errorsFr } from "./errorsFr.js";
|
|
12
14
|
import { filterExpertFr } from "./filterExpertFr.js";
|
|
@@ -36,6 +38,8 @@ export {
|
|
|
36
38
|
dndTableFr,
|
|
37
39
|
elementSearchFr,
|
|
38
40
|
equipmentSearchFr,
|
|
41
|
+
equipmentShortFr,
|
|
42
|
+
equipmentTagFr,
|
|
39
43
|
equipmentsFr,
|
|
40
44
|
errorsFr,
|
|
41
45
|
exportParamsFr,
|
|
@@ -227,4 +227,7 @@ export declare const parametersFr: {
|
|
|
227
227
|
updateSensitivityAnalysisProviderError: string;
|
|
228
228
|
getSensitivityAnalysisFactorsCountError: string;
|
|
229
229
|
resetLoadFlowParametersWarning: string;
|
|
230
|
+
PccMinParametersError: string;
|
|
231
|
+
updatePccMinParametersError: string;
|
|
232
|
+
pccMinParamFilter: string;
|
|
230
233
|
};
|
|
@@ -225,7 +225,10 @@ const parametersFr = {
|
|
|
225
225
|
updateSensitivityAnalysisProviderError: "Une erreur est survenue lors de la mise a jour du fournisseur courant d'analyse de sensibilité",
|
|
226
226
|
getSensitivityAnalysisFactorsCountError: "Une erreur est survenue lors de l'estimation du nombre de calculs",
|
|
227
227
|
// Other
|
|
228
|
-
resetLoadFlowParametersWarning: "Impossible de récupérer les paramètres de calcul de répartition définis dans le profil utilisateur (les valeurs par défaut sont appliquées)"
|
|
228
|
+
resetLoadFlowParametersWarning: "Impossible de récupérer les paramètres de calcul de répartition définis dans le profil utilisateur (les valeurs par défaut sont appliquées)",
|
|
229
|
+
PccMinParametersError: "Erreur lors de la mise à jour des paramètres de pcc du min",
|
|
230
|
+
updatePccMinParametersError: "Une erreur est survenue lors de la mise a jour des paramètres de pcc min",
|
|
231
|
+
pccMinParamFilter: "Définition des postes en défaut"
|
|
229
232
|
};
|
|
230
233
|
export {
|
|
231
234
|
parametersFr
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UUID } from 'node:crypto';
|
|
2
|
+
export declare const FILTER_ID = "filterId";
|
|
3
|
+
export declare const FILTER_NAME = "filterName";
|
|
4
|
+
export declare const FILTERS = "filters";
|
|
5
|
+
export declare const ID = "id";
|
|
6
|
+
export type FilterIdentifier = {
|
|
7
|
+
[FILTER_ID]: UUID;
|
|
8
|
+
[FILTER_NAME]: string;
|
|
9
|
+
};
|
|
@@ -3,13 +3,18 @@ import { FieldConstants } from "./fieldConstants.js";
|
|
|
3
3
|
import { MAX_CHAR_DESCRIPTION } from "./uiConstants.js";
|
|
4
4
|
import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./unitsConstants.js";
|
|
5
5
|
import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./configConstants.js";
|
|
6
|
+
import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./filterConstant.js";
|
|
6
7
|
export {
|
|
7
8
|
AMPERE,
|
|
8
9
|
COMMON_APP_NAME,
|
|
9
10
|
COMMON_CONFIG_PARAMS_NAMES,
|
|
10
11
|
DEGREE,
|
|
12
|
+
FILTERS,
|
|
13
|
+
FILTER_ID,
|
|
14
|
+
FILTER_NAME,
|
|
11
15
|
FetchStatus,
|
|
12
16
|
FieldConstants,
|
|
17
|
+
ID,
|
|
13
18
|
KILO_AMPERE,
|
|
14
19
|
KILO_METER,
|
|
15
20
|
KILO_VOLT,
|
package/dist/utils/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import { FieldConstants } from "./constants/fieldConstants.js";
|
|
|
4
4
|
import { MAX_CHAR_DESCRIPTION } from "./constants/uiConstants.js";
|
|
5
5
|
import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./constants/unitsConstants.js";
|
|
6
6
|
import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./constants/configConstants.js";
|
|
7
|
+
import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./constants/filterConstant.js";
|
|
7
8
|
import { GRIDSUITE_DEFAULT_PRECISION, convertInputValue, convertOutputValue, isBlankOrEmpty, kiloUnitToUnit, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToKiloUnit, unitToMicroUnit } from "./conversionUtils.js";
|
|
8
9
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./functions.js";
|
|
9
10
|
import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM } from "./langs.js";
|
|
@@ -12,7 +13,7 @@ import { equipmentTypesForPredefinedPropertiesMapper } from "./mapper/equipmentT
|
|
|
12
13
|
import { NotificationsUrlKeys, PREFIX_CONFIG_NOTIFICATION_WS, PREFIX_DIRECTORY_NOTIFICATION_WS, PREFIX_STUDY_NOTIFICATION_WS } from "./constants/notificationsProvider.js";
|
|
13
14
|
import { DARK_THEME, LIGHT_THEME, makeComposeClasses, mergeSx, toNestedGlobalSelectors } from "./styles.js";
|
|
14
15
|
import { ElementType } from "./types/elementType.js";
|
|
15
|
-
import { ALL_EQUIPMENTS, BASE_EQUIPMENTS,
|
|
16
|
+
import { ALL_EQUIPMENTS, BASE_EQUIPMENTS, EquipmentType, ExtendedEquipmentType, HvdcType, OperatingStatus, SEARCH_EQUIPMENTS, TYPE_TAG_MAX_SIZE, VL_TAG_MAX_SIZE, equipmentStyles, getEquipmentsInfosForSearchBar } from "./types/equipmentType.js";
|
|
16
17
|
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel } from "./types/equipmentTypes.js";
|
|
17
18
|
import { AnnouncementSeverity, ArrayAction } from "./types/types.js";
|
|
18
19
|
import { MODIFICATION_TYPES, ModificationType } from "./types/modificationType.js";
|
|
@@ -37,10 +38,12 @@ export {
|
|
|
37
38
|
DEGREE,
|
|
38
39
|
DanglingLine,
|
|
39
40
|
DistributionType,
|
|
40
|
-
EQUIPMENT_TYPE,
|
|
41
41
|
ElementType,
|
|
42
42
|
EquipmentType,
|
|
43
43
|
ExtendedEquipmentType,
|
|
44
|
+
FILTERS,
|
|
45
|
+
FILTER_ID,
|
|
46
|
+
FILTER_NAME,
|
|
44
47
|
FetchStatus,
|
|
45
48
|
FieldConstants,
|
|
46
49
|
FieldType,
|
|
@@ -48,6 +51,7 @@ export {
|
|
|
48
51
|
Generator,
|
|
49
52
|
Hvdc,
|
|
50
53
|
HvdcType,
|
|
54
|
+
ID,
|
|
51
55
|
KILO_AMPERE,
|
|
52
56
|
KILO_METER,
|
|
53
57
|
KILO_VOLT,
|
|
@@ -71,172 +71,14 @@ export declare enum ExtendedEquipmentType {
|
|
|
71
71
|
HVDC_LINE_LCC = "HVDC_LINE_LCC",
|
|
72
72
|
HVDC_LINE_VSC = "HVDC_LINE_VSC"
|
|
73
73
|
}
|
|
74
|
-
export declare const ALL_EQUIPMENTS: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
label: string;
|
|
78
|
-
};
|
|
79
|
-
VOLTAGE_LEVEL: {
|
|
80
|
-
id: EquipmentType;
|
|
81
|
-
label: string;
|
|
82
|
-
};
|
|
83
|
-
LINE: {
|
|
84
|
-
id: EquipmentType;
|
|
85
|
-
label: string;
|
|
86
|
-
};
|
|
87
|
-
TWO_WINDINGS_TRANSFORMER: {
|
|
88
|
-
id: EquipmentType;
|
|
89
|
-
label: string;
|
|
90
|
-
};
|
|
91
|
-
THREE_WINDINGS_TRANSFORMER: {
|
|
92
|
-
id: EquipmentType;
|
|
93
|
-
label: string;
|
|
94
|
-
};
|
|
95
|
-
GENERATOR: {
|
|
96
|
-
id: EquipmentType;
|
|
97
|
-
label: string;
|
|
98
|
-
};
|
|
99
|
-
BATTERY: {
|
|
100
|
-
id: EquipmentType;
|
|
101
|
-
label: string;
|
|
102
|
-
};
|
|
103
|
-
LOAD: {
|
|
104
|
-
id: EquipmentType;
|
|
105
|
-
label: string;
|
|
106
|
-
};
|
|
107
|
-
SHUNT_COMPENSATOR: {
|
|
108
|
-
id: EquipmentType;
|
|
109
|
-
label: string;
|
|
110
|
-
};
|
|
111
|
-
STATIC_VAR_COMPENSATOR: {
|
|
112
|
-
id: EquipmentType;
|
|
113
|
-
label: string;
|
|
114
|
-
};
|
|
115
|
-
DANGLING_LINE: {
|
|
116
|
-
id: EquipmentType;
|
|
117
|
-
label: string;
|
|
118
|
-
};
|
|
119
|
-
BUSBAR_SECTION: {
|
|
120
|
-
id: EquipmentType;
|
|
121
|
-
label: string;
|
|
122
|
-
};
|
|
123
|
-
HVDC_LINE: {
|
|
124
|
-
id: EquipmentType;
|
|
125
|
-
label: string;
|
|
126
|
-
};
|
|
127
|
-
HVDC_LINE_LCC: {
|
|
128
|
-
id: ExtendedEquipmentType;
|
|
129
|
-
label: string;
|
|
130
|
-
};
|
|
131
|
-
HVDC_LINE_VSC: {
|
|
132
|
-
id: ExtendedEquipmentType;
|
|
133
|
-
label: string;
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
export declare const BASE_EQUIPMENTS: {
|
|
137
|
-
SUBSTATION: {
|
|
138
|
-
id: EquipmentType;
|
|
139
|
-
label: string;
|
|
140
|
-
};
|
|
141
|
-
VOLTAGE_LEVEL: {
|
|
142
|
-
id: EquipmentType;
|
|
143
|
-
label: string;
|
|
144
|
-
};
|
|
145
|
-
LINE: {
|
|
146
|
-
id: EquipmentType;
|
|
147
|
-
label: string;
|
|
148
|
-
};
|
|
149
|
-
TWO_WINDINGS_TRANSFORMER: {
|
|
150
|
-
id: EquipmentType;
|
|
151
|
-
label: string;
|
|
152
|
-
};
|
|
153
|
-
THREE_WINDINGS_TRANSFORMER: {
|
|
154
|
-
id: EquipmentType;
|
|
155
|
-
label: string;
|
|
156
|
-
};
|
|
157
|
-
GENERATOR: {
|
|
158
|
-
id: EquipmentType;
|
|
159
|
-
label: string;
|
|
160
|
-
};
|
|
161
|
-
BATTERY: {
|
|
162
|
-
id: EquipmentType;
|
|
163
|
-
label: string;
|
|
164
|
-
};
|
|
165
|
-
LOAD: {
|
|
166
|
-
id: EquipmentType;
|
|
167
|
-
label: string;
|
|
168
|
-
};
|
|
169
|
-
SHUNT_COMPENSATOR: {
|
|
170
|
-
id: EquipmentType;
|
|
171
|
-
label: string;
|
|
172
|
-
};
|
|
173
|
-
STATIC_VAR_COMPENSATOR: {
|
|
174
|
-
id: EquipmentType;
|
|
175
|
-
label: string;
|
|
176
|
-
};
|
|
177
|
-
DANGLING_LINE: {
|
|
178
|
-
id: EquipmentType;
|
|
179
|
-
label: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
export declare const EQUIPMENT_TYPE: Partial<Record<EquipmentType | ExtendedEquipmentType, {
|
|
183
|
-
name: EquipmentType | ExtendedEquipmentType;
|
|
74
|
+
export declare const ALL_EQUIPMENTS: Partial<Record<EquipmentType | ExtendedEquipmentType, {
|
|
75
|
+
id: EquipmentType | ExtendedEquipmentType;
|
|
76
|
+
label: string;
|
|
184
77
|
tagLabel: string;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
label: string;
|
|
190
|
-
};
|
|
191
|
-
HVDC_LINE_VSC: {
|
|
192
|
-
id: ExtendedEquipmentType;
|
|
193
|
-
label: string;
|
|
194
|
-
};
|
|
195
|
-
SUBSTATION: {
|
|
196
|
-
id: EquipmentType;
|
|
197
|
-
label: string;
|
|
198
|
-
};
|
|
199
|
-
VOLTAGE_LEVEL: {
|
|
200
|
-
id: EquipmentType;
|
|
201
|
-
label: string;
|
|
202
|
-
};
|
|
203
|
-
LINE: {
|
|
204
|
-
id: EquipmentType;
|
|
205
|
-
label: string;
|
|
206
|
-
};
|
|
207
|
-
TWO_WINDINGS_TRANSFORMER: {
|
|
208
|
-
id: EquipmentType;
|
|
209
|
-
label: string;
|
|
210
|
-
};
|
|
211
|
-
THREE_WINDINGS_TRANSFORMER: {
|
|
212
|
-
id: EquipmentType;
|
|
213
|
-
label: string;
|
|
214
|
-
};
|
|
215
|
-
GENERATOR: {
|
|
216
|
-
id: EquipmentType;
|
|
217
|
-
label: string;
|
|
218
|
-
};
|
|
219
|
-
BATTERY: {
|
|
220
|
-
id: EquipmentType;
|
|
221
|
-
label: string;
|
|
222
|
-
};
|
|
223
|
-
LOAD: {
|
|
224
|
-
id: EquipmentType;
|
|
225
|
-
label: string;
|
|
226
|
-
};
|
|
227
|
-
SHUNT_COMPENSATOR: {
|
|
228
|
-
id: EquipmentType;
|
|
229
|
-
label: string;
|
|
230
|
-
};
|
|
231
|
-
STATIC_VAR_COMPENSATOR: {
|
|
232
|
-
id: EquipmentType;
|
|
233
|
-
label: string;
|
|
234
|
-
};
|
|
235
|
-
DANGLING_LINE: {
|
|
236
|
-
id: EquipmentType;
|
|
237
|
-
label: string;
|
|
238
|
-
};
|
|
239
|
-
};
|
|
78
|
+
shortLabel: string;
|
|
79
|
+
}>>;
|
|
80
|
+
export declare const BASE_EQUIPMENTS: typeof ALL_EQUIPMENTS;
|
|
81
|
+
export declare const SEARCH_EQUIPMENTS: typeof ALL_EQUIPMENTS;
|
|
240
82
|
export interface Identifiable {
|
|
241
83
|
id: string;
|
|
242
84
|
name?: string;
|